• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2020 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Properties used for integration testing of sysprop library.
16owner: Platform
17module: "android.sysprop.test.TestProperties"
18
19prop {
20    api_name: "test_bool_as_int"
21    type: Boolean
22    scope: Internal
23    access: ReadWrite
24    prop_name: "test.bool_as_int"
25    integer_as_bool: true
26}
27
28prop {
29    api_name: "test_bool"
30    type: Boolean
31    scope: Internal
32    access: ReadWrite
33    prop_name: "test.bool"
34}
35
36prop {
37    api_name: "test_int"
38    type: Integer
39    scope: Internal
40    access: ReadWrite
41    prop_name: "test.int"
42}
43
44prop {
45    api_name: "test_uint"
46    type: UInt
47    scope: Internal
48    access: ReadWrite
49    prop_name: "test.uint"
50}
51
52prop {
53    api_name: "test_long"
54    type: Long
55    scope: Internal
56    access: ReadWrite
57    prop_name: "test.long"
58}
59
60prop {
61    api_name: "test_ulong"
62    type: ULong
63    scope: Internal
64    access: ReadWrite
65    prop_name: "test.ulong"
66}
67
68prop {
69    api_name: "test_double"
70    type: Double
71    scope: Internal
72    access: ReadWrite
73    prop_name: "test.double"
74}
75
76prop {
77    api_name: "test_string"
78    type: String
79    scope: Internal
80    access: ReadWrite
81    prop_name: "test.string"
82}
83
84prop {
85    api_name: "test_enum"
86    type: Enum
87    enum_values: "a|b|c"
88    scope: Internal
89    access: ReadWrite
90    prop_name: "test.enum"
91}
92
93prop {
94    api_name: "test_bool_as_int_list"
95    type: BooleanList
96    scope: Internal
97    access: ReadWrite
98    prop_name: "test.bool_as_int_list"
99    integer_as_bool: true
100}
101
102prop {
103    api_name: "test_bool_list"
104    type: BooleanList
105    scope: Internal
106    access: ReadWrite
107    prop_name: "test.bool_list"
108}
109
110prop {
111    api_name: "test_int_list"
112    type: IntegerList
113    scope: Internal
114    access: ReadWrite
115    prop_name: "test.int_list"
116}
117
118prop {
119    api_name: "test_uint_list"
120    type: UIntList
121    scope: Internal
122    access: ReadWrite
123    prop_name: "test.uint_list"
124}
125
126prop {
127    api_name: "test_long_list"
128    type: LongList
129    scope: Internal
130    access: ReadWrite
131    prop_name: "test.long_list"
132}
133
134prop {
135    api_name: "test_ulong_list"
136    type: ULongList
137    scope: Internal
138    access: ReadWrite
139    prop_name: "test.ulong_list"
140}
141
142prop {
143    api_name: "test_double_list"
144    type: DoubleList
145    scope: Internal
146    access: ReadWrite
147    prop_name: "test.double_list"
148}
149
150prop {
151    api_name: "test_string_list"
152    type: StringList
153    scope: Internal
154    access: ReadWrite
155    prop_name: "test.string_list"
156}
157
158prop {
159    api_name: "test_enum_list"
160    type: EnumList
161    enum_values: "a|b|c"
162    scope: Internal
163    access: ReadWrite
164    prop_name: "test.enum_list"
165}
166