| # Copyright (C) 2020 The Android Open Source Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| # Properties used for integration testing of sysprop library. |
| owner: Platform |
| module: "android.sysprop.test.TestProperties" |
| |
| prop { |
| api_name: "test_bool_as_int" |
| type: Boolean |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.bool_as_int" |
| integer_as_bool: true |
| } |
| |
| prop { |
| api_name: "test_bool" |
| type: Boolean |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.bool" |
| } |
| |
| prop { |
| api_name: "test_int" |
| type: Integer |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.int" |
| } |
| |
| prop { |
| api_name: "test_uint" |
| type: UInt |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.uint" |
| } |
| |
| prop { |
| api_name: "test_long" |
| type: Long |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.long" |
| } |
| |
| prop { |
| api_name: "test_ulong" |
| type: ULong |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.ulong" |
| } |
| |
| prop { |
| api_name: "test_double" |
| type: Double |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.double" |
| } |
| |
| prop { |
| api_name: "test_string" |
| type: String |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.string" |
| } |
| |
| prop { |
| api_name: "test_enum" |
| type: Enum |
| enum_values: "a|b|c" |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.enum" |
| } |
| |
| prop { |
| api_name: "test_bool_as_int_list" |
| type: BooleanList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.bool_as_int_list" |
| integer_as_bool: true |
| } |
| |
| prop { |
| api_name: "test_bool_list" |
| type: BooleanList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.bool_list" |
| } |
| |
| prop { |
| api_name: "test_int_list" |
| type: IntegerList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.int_list" |
| } |
| |
| prop { |
| api_name: "test_uint_list" |
| type: UIntList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.uint_list" |
| } |
| |
| prop { |
| api_name: "test_long_list" |
| type: LongList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.long_list" |
| } |
| |
| prop { |
| api_name: "test_ulong_list" |
| type: ULongList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.ulong_list" |
| } |
| |
| prop { |
| api_name: "test_double_list" |
| type: DoubleList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.double_list" |
| } |
| |
| prop { |
| api_name: "test_string_list" |
| type: StringList |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.string_list" |
| } |
| |
| prop { |
| api_name: "test_enum_list" |
| type: EnumList |
| enum_values: "a|b|c" |
| scope: Internal |
| access: ReadWrite |
| prop_name: "test.enum_list" |
| } |