1 /*
2  * Copyright (C) 2020 The Android Open Source Project
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *  * Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  *  * Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in
12  *    the documentation and/or other materials provided with the
13  *    distribution.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
18  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
19  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
22  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26  * SUCH DAMAGE.
27  */
28 
29 #pragma once
30 
31 static char oreo_property_contexts[] = R"(
32 net.rmnet               u:object_r:net_radio_prop:s0
33 net.gprs                u:object_r:net_radio_prop:s0
34 net.ppp                 u:object_r:net_radio_prop:s0
35 net.qmi                 u:object_r:net_radio_prop:s0
36 net.lte                 u:object_r:net_radio_prop:s0
37 net.cdma                u:object_r:net_radio_prop:s0
38 net.dns                 u:object_r:net_dns_prop:s0
39 sys.usb.config          u:object_r:system_radio_prop:s0
40 ril.                    u:object_r:radio_prop:s0
41 ro.ril.                 u:object_r:radio_prop:s0
42 gsm.                    u:object_r:radio_prop:s0
43 persist.radio           u:object_r:radio_prop:s0
44 net.                    u:object_r:system_prop:s0
45 dev.                    u:object_r:system_prop:s0
46 ro.runtime.             u:object_r:system_prop:s0
47 ro.runtime.firstboot    u:object_r:firstboot_prop:s0
48 hw.                     u:object_r:system_prop:s0
49 ro.hw.                  u:object_r:system_prop:s0
50 sys.                    u:object_r:system_prop:s0
51 sys.cppreopt            u:object_r:cppreopt_prop:s0
52 sys.powerctl            u:object_r:powerctl_prop:s0
53 sys.usb.ffs.            u:object_r:ffs_prop:s0
54 service.                u:object_r:system_prop:s0
55 dhcp.                   u:object_r:dhcp_prop:s0
56 dhcp.bt-pan.result      u:object_r:pan_result_prop:s0
57 bluetooth.              u:object_r:bluetooth_prop:s0
58 debug.                  u:object_r:debug_prop:s0
59 debug.db.               u:object_r:debuggerd_prop:s0
60 dumpstate.              u:object_r:dumpstate_prop:s0
61 dumpstate.options       u:object_r:dumpstate_options_prop:s0
62 log.                    u:object_r:log_prop:s0
63 log.tag                 u:object_r:log_tag_prop:s0
64 log.tag.WifiHAL         u:object_r:wifi_log_prop:s0
65 security.perf_harden    u:object_r:shell_prop:s0
66 service.adb.root        u:object_r:shell_prop:s0
67 service.adb.tcp.port    u:object_r:shell_prop:s0
68 persist.audio.          u:object_r:audio_prop:s0
69 persist.bluetooth.      u:object_r:bluetooth_prop:s0
70 persist.debug.          u:object_r:persist_debug_prop:s0
71 persist.logd.           u:object_r:logd_prop:s0
72 persist.logd.security   u:object_r:device_logging_prop:s0
73 persist.logd.logpersistd        u:object_r:logpersistd_logging_prop:s0
74 logd.logpersistd        u:object_r:logpersistd_logging_prop:s0
75 persist.log.tag         u:object_r:log_tag_prop:s0
76 persist.mmc.            u:object_r:mmc_prop:s0
77 persist.sys.            u:object_r:system_prop:s0
78 persist.sys.safemode    u:object_r:safemode_prop:s0
79 ro.sys.safemode         u:object_r:safemode_prop:s0
80 persist.sys.audit_safemode      u:object_r:safemode_prop:s0
81 persist.service.        u:object_r:system_prop:s0
82 persist.service.bdroid. u:object_r:bluetooth_prop:s0
83 persist.security.       u:object_r:system_prop:s0
84 persist.vendor.overlay.  u:object_r:overlay_prop:s0
85 ro.boot.vendor.overlay.  u:object_r:overlay_prop:s0
86 ro.boottime.             u:object_r:boottime_prop:s0
87 ro.serialno             u:object_r:serialno_prop:s0
88 ro.boot.btmacaddr       u:object_r:bluetooth_prop:s0
89 ro.boot.serialno        u:object_r:serialno_prop:s0
90 ro.bt.                  u:object_r:bluetooth_prop:s0
91 # Boolean property set by system server upon boot indicating
92 # if device owner is provisioned.
93 ro.device_owner         u:object_r:device_logging_prop:s0
94 # selinux non-persistent properties
95 selinux.restorecon_recursive   u:object_r:restorecon_prop:s0
96 # default property context
97 *                       u:object_r:default_prop:s0
98 # data partition encryption properties
99 vold.                   u:object_r:vold_prop:s0
100 ro.crypto.              u:object_r:vold_prop:s0
101 # ro.build.fingerprint is either set in /system/build.prop, or is
102 # set at runtime by system_server.
103 ro.build.fingerprint    u:object_r:fingerprint_prop:s0
104 ro.persistent_properties.ready  u:object_r:persistent_properties_ready_prop:s0
105 # ctl properties
106 ctl.bootanim            u:object_r:ctl_bootanim_prop:s0
107 ctl.dumpstate           u:object_r:ctl_dumpstate_prop:s0
108 ctl.fuse_               u:object_r:ctl_fuse_prop:s0
109 ctl.mdnsd               u:object_r:ctl_mdnsd_prop:s0
110 ctl.ril-daemon          u:object_r:ctl_rildaemon_prop:s0
111 ctl.bugreport           u:object_r:ctl_bugreport_prop:s0
112 ctl.console             u:object_r:ctl_console_prop:s0
113 ctl.                    u:object_r:ctl_default_prop:s0
114 # NFC properties
115 nfc.                    u:object_r:nfc_prop:s0
116 # These properties are not normally set by processes other than init.
117 # They are only distinguished here for setting by qemu-props on the
118 # emulator/goldfish.
119 config.                 u:object_r:config_prop:s0
120 ro.config.              u:object_r:config_prop:s0
121 dalvik.                 u:object_r:dalvik_prop:s0
122 ro.dalvik.              u:object_r:dalvik_prop:s0
123 # Shared between system server and wificond
124 wlan.                   u:object_r:wifi_prop:s0
125 # hwservicemanager properties
126 hwservicemanager.       u:object_r:hwservicemanager_prop:s0
127 # ASAN install trigger
128 asan.restore_reboot  u:object_r:asan_reboot_prop:s0)";
129 
130 static char aosp_s_property_contexts[] = R"(
131 net.rmnet               u:object_r:net_radio_prop:s0
132 net.gprs                u:object_r:net_radio_prop:s0
133 net.ppp                 u:object_r:net_radio_prop:s0
134 net.qmi                 u:object_r:net_radio_prop:s0
135 net.lte                 u:object_r:net_radio_prop:s0
136 net.cdma                u:object_r:net_radio_prop:s0
137 net.dns                 u:object_r:net_dns_prop:s0
138 ril.                    u:object_r:radio_prop:s0
139 ro.ril.                 u:object_r:radio_prop:s0
140 gsm.                    u:object_r:radio_prop:s0
141 persist.radio           u:object_r:radio_prop:s0
142 
143 net.                    u:object_r:system_prop:s0
144 dev.                    u:object_r:system_prop:s0
145 ro.runtime.             u:object_r:system_prop:s0
146 ro.runtime.firstboot    u:object_r:firstboot_prop:s0
147 hw.                     u:object_r:system_prop:s0
148 ro.hw.                  u:object_r:system_prop:s0
149 sys.                    u:object_r:system_prop:s0
150 sys.audio.              u:object_r:audio_prop:s0
151 sys.init.perf_lsm_hooks u:object_r:init_perf_lsm_hooks_prop:s0
152 sys.cppreopt            u:object_r:cppreopt_prop:s0
153 sys.lpdumpd             u:object_r:lpdumpd_prop:s0
154 sys.powerctl            u:object_r:powerctl_prop:s0
155 service.                u:object_r:system_prop:s0
156 dhcp.                   u:object_r:dhcp_prop:s0
157 dhcp.bt-pan.result      u:object_r:pan_result_prop:s0
158 bluetooth.              u:object_r:bluetooth_prop:s0
159 
160 debug.                  u:object_r:debug_prop:s0
161 debug.db.               u:object_r:debuggerd_prop:s0
162 dumpstate.              u:object_r:dumpstate_prop:s0
163 dumpstate.options       u:object_r:dumpstate_options_prop:s0
164 init.svc_debug_pid.     u:object_r:init_svc_debug_prop:s0
165 llk.                    u:object_r:llkd_prop:s0
166 khungtask.              u:object_r:llkd_prop:s0
167 ro.llk.                 u:object_r:llkd_prop:s0
168 ro.khungtask.           u:object_r:llkd_prop:s0
169 log.                    u:object_r:log_prop:s0
170 log.tag                 u:object_r:log_tag_prop:s0
171 log.tag.WifiHAL         u:object_r:wifi_log_prop:s0
172 security.perf_harden    u:object_r:shell_prop:s0
173 service.adb.root        u:object_r:shell_prop:s0
174 service.adb.tls.port    u:object_r:adbd_prop:s0
175 persist.adb.wifi.       u:object_r:adbd_prop:s0
176 persist.adb.tls_server.enable  u:object_r:system_adbd_prop:s0
177 
178 persist.audio.          u:object_r:audio_prop:s0
179 persist.bluetooth.      u:object_r:bluetooth_prop:s0
180 persist.nfc_cfg.        u:object_r:nfc_prop:s0
181 persist.debug.          u:object_r:persist_debug_prop:s0
182 logd.                   u:object_r:logd_prop:s0
183 persist.logd.           u:object_r:logd_prop:s0
184 ro.logd.                u:object_r:logd_prop:s0
185 persist.logd.security   u:object_r:device_logging_prop:s0
186 persist.logd.logpersistd        u:object_r:logpersistd_logging_prop:s0
187 logd.logpersistd        u:object_r:logpersistd_logging_prop:s0
188 persist.log.tag         u:object_r:log_tag_prop:s0
189 persist.mmc.            u:object_r:mmc_prop:s0
190 persist.netd.stable_secret      u:object_r:netd_stable_secret_prop:s0
191 persist.pm.mock-upgrade u:object_r:mock_ota_prop:s0
192 persist.sys.            u:object_r:system_prop:s0
193 persist.sys.safemode    u:object_r:safemode_prop:s0
194 persist.sys.theme       u:object_r:theme_prop:s0
195 persist.sys.fflag.override.settings_dynamic_system    u:object_r:dynamic_system_prop:s0
196 ro.sys.safemode         u:object_r:safemode_prop:s0
197 persist.sys.audit_safemode      u:object_r:safemode_prop:s0
198 persist.sys.dalvik.jvmtiagent   u:object_r:system_jvmti_agent_prop:s0
199 persist.service.        u:object_r:system_prop:s0
200 persist.service.bdroid. u:object_r:bluetooth_prop:s0
201 persist.security.       u:object_r:system_prop:s0
202 persist.traced.enable   u:object_r:traced_enabled_prop:s0
203 traced.lazy.            u:object_r:traced_lazy_prop:s0
204 persist.heapprofd.enable u:object_r:heapprofd_enabled_prop:s0
205 persist.traced_perf.enable u:object_r:traced_perf_enabled_prop:s0
206 persist.vendor.overlay.  u:object_r:overlay_prop:s0
207 ro.boot.vendor.overlay.  u:object_r:overlay_prop:s0
208 ro.boottime.             u:object_r:boottime_prop:s0
209 ro.serialno             u:object_r:serialno_prop:s0
210 ro.boot.btmacaddr       u:object_r:bluetooth_prop:s0
211 ro.boot.serialno        u:object_r:serialno_prop:s0
212 ro.bt.                  u:object_r:bluetooth_prop:s0
213 ro.boot.bootreason      u:object_r:bootloader_boot_reason_prop:s0
214 persist.sys.boot.reason u:object_r:last_boot_reason_prop:s0
215 sys.boot.reason         u:object_r:system_boot_reason_prop:s0
216 sys.boot.reason.last    u:object_r:last_boot_reason_prop:s0
217 pm.                     u:object_r:pm_prop:s0
218 test.sys.boot.reason    u:object_r:test_boot_reason_prop:s0
219 test.userspace_reboot.requested u:object_r:userspace_reboot_test_prop:s0
220 sys.lmk.                u:object_r:system_lmk_prop:s0
221 sys.trace.              u:object_r:system_trace_prop:s0
222 
223 # Fastbootd protocol control property
224 fastbootd.protocol    u:object_r:fastbootd_protocol_prop:s0 exact enum usb tcp
225 
226 # adbd protoctl configuration property
227 service.adb.tcp.port    u:object_r:adbd_config_prop:s0 exact int
228 
229 # Boolean property set by system server upon boot indicating
230 # if device is fully owned by organization instead of being
231 # a personal device.
232 ro.organization_owned   u:object_r:device_logging_prop:s0
233 
234 # selinux non-persistent properties
235 selinux.restorecon_recursive   u:object_r:restorecon_prop:s0
236 
237 # default property context
238 *                       u:object_r:default_prop:s0
239 
240 # data partition encryption properties
241 vold.                   u:object_r:vold_prop:s0
242 ro.crypto.              u:object_r:vold_prop:s0
243 
244 # ro.build.fingerprint is either set in /system/build.prop, or is
245 # set at runtime by system_server.
246 ro.build.fingerprint    u:object_r:fingerprint_prop:s0 exact string
247 
248 ro.persistent_properties.ready  u:object_r:persistent_properties_ready_prop:s0
249 
250 # ctl properties
251 ctl.bootanim            u:object_r:ctl_bootanim_prop:s0
252 ctl.dumpstate           u:object_r:ctl_dumpstate_prop:s0
253 ctl.fuse_               u:object_r:ctl_fuse_prop:s0
254 ctl.mdnsd               u:object_r:ctl_mdnsd_prop:s0
255 ctl.ril-daemon          u:object_r:ctl_rildaemon_prop:s0
256 ctl.bugreport           u:object_r:ctl_bugreport_prop:s0
257 ctl.console             u:object_r:ctl_console_prop:s0
258 ctl.                    u:object_r:ctl_default_prop:s0
259 
260 # Don't allow uncontrolled access to all services
261 ctl.sigstop_on$         u:object_r:ctl_sigstop_prop:s0
262 ctl.sigstop_off$        u:object_r:ctl_sigstop_prop:s0
263 ctl.start$              u:object_r:ctl_start_prop:s0
264 ctl.stop$               u:object_r:ctl_stop_prop:s0
265 ctl.restart$            u:object_r:ctl_restart_prop:s0
266 ctl.interface_start$    u:object_r:ctl_interface_start_prop:s0
267 ctl.interface_stop$     u:object_r:ctl_interface_stop_prop:s0
268 ctl.interface_restart$  u:object_r:ctl_interface_restart_prop:s0
269 
270  # Restrict access to starting/stopping adbd
271 ctl.start$adbd             u:object_r:ctl_adbd_prop:s0
272 ctl.stop$adbd              u:object_r:ctl_adbd_prop:s0
273 ctl.restart$adbd           u:object_r:ctl_adbd_prop:s0
274 
275 # Restrict access to starting/stopping gsid.
276 ctl.start$gsid          u:object_r:ctl_gsid_prop:s0
277 ctl.stop$gsid           u:object_r:ctl_gsid_prop:s0
278 ctl.restart$gsid        u:object_r:ctl_gsid_prop:s0
279 
280 # Restrict access to stopping apexd.
281 ctl.stop$apexd          u:object_r:ctl_apexd_prop:s0
282 
283 # Restrict access to restart dumpstate
284 ctl.interface_restart$android.hardware.dumpstate u:object_r:ctl_dumpstate_prop:s0
285 
286 # NFC properties
287 nfc.                    u:object_r:nfc_prop:s0
288 
289 # These properties are not normally set by processes other than init.
290 # They are only distinguished here for setting by qemu-props on the
291 # emulator/goldfish.
292 config.                 u:object_r:config_prop:s0
293 ro.config.              u:object_r:config_prop:s0
294 dalvik.                 u:object_r:dalvik_prop:s0
295 ro.dalvik.              u:object_r:dalvik_prop:s0
296 
297 # Shared between system server and wificond
298 wifi.                   u:object_r:wifi_prop:s0
299 wlan.                   u:object_r:wifi_prop:s0
300 
301 # Lowpan properties
302 lowpan.                 u:object_r:lowpan_prop:s0
303 ro.lowpan.              u:object_r:lowpan_prop:s0
304 
305 # heapprofd properties
306 heapprofd.              u:object_r:heapprofd_prop:s0
307 
308 # hwservicemanager properties
309 hwservicemanager.       u:object_r:hwservicemanager_prop:s0
310 
311 # Common default properties for vendor, odm, vendor_dlkm, and odm_dlkm.
312 init.svc.odm.           u:object_r:vendor_default_prop:s0
313 init.svc.vendor.        u:object_r:vendor_default_prop:s0
314 ro.hardware.            u:object_r:vendor_default_prop:s0
315 ro.odm.                 u:object_r:vendor_default_prop:s0
316 ro.vendor.              u:object_r:vendor_default_prop:s0
317 ro.vendor_dlkm.         u:object_r:vendor_default_prop:s0
318 ro.odm_dlkm.            u:object_r:vendor_default_prop:s0
319 odm.                    u:object_r:vendor_default_prop:s0
320 persist.odm.            u:object_r:vendor_default_prop:s0
321 persist.vendor.         u:object_r:vendor_default_prop:s0
322 vendor.                 u:object_r:vendor_default_prop:s0
323 
324 # Properties that relate to time / timezone detection behavior.
325 persist.time.           u:object_r:time_prop:s0
326 
327 # Properties that relate to server configurable flags
328 device_config.reset_performed           u:object_r:device_config_reset_performed_prop:s0
329 persist.device_config.activity_manager_native_boot. u:object_r:device_config_activity_manager_native_boot_prop:s0
330 persist.device_config.attempted_boot_count        u:object_r:device_config_boot_count_prop:s0
331 persist.device_config.input_native_boot. u:object_r:device_config_input_native_boot_prop:s0
332 persist.device_config.netd_native.           u:object_r:device_config_netd_native_prop:s0
333 persist.device_config.runtime_native.        u:object_r:device_config_runtime_native_prop:s0
334 persist.device_config.runtime_native_boot.   u:object_r:device_config_runtime_native_boot_prop:s0
335 persist.device_config.media_native.          u:object_r:device_config_media_native_prop:s0
336 persist.device_config.storage_native_boot.   u:object_r:device_config_storage_native_boot_prop:s0
337 persist.device_config.window_manager_native_boot. u:object_r:device_config_window_manager_native_boot_prop:s0
338 persist.device_config.configuration. u:object_r:device_config_configuration_prop:s0
339 
340 # Properties that relate to legacy server configurable flags
341 persist.device_config.global_settings.sys_traced u:object_r:device_config_sys_traced_prop:s0
342 
343 apexd.                  u:object_r:apexd_prop:s0
344 persist.apexd.          u:object_r:apexd_prop:s0
345 
346 bpf.progs_loaded        u:object_r:bpf_progs_loaded_prop:s0
347 
348 gsid.                   u:object_r:gsid_prop:s0
349 ro.gsid.                u:object_r:gsid_prop:s0
350 
351 # Property for disabling NNAPI vendor extensions on product image (used on GSI /product image,
352 # which can't use NNAPI vendor extensions).
353 ro.nnapi.extensions.deny_on_product                u:object_r:nnapi_ext_deny_product_prop:s0
354 
355 # Property that is set once ueventd finishes cold boot.
356 ro.cold_boot_done       u:object_r:cold_boot_done_prop:s0
357 
358 # Charger properties
359 ro.charger.                 u:object_r:charger_prop:s0
360 sys.boot_from_charger_mode  u:object_r:charger_status_prop:s0 exact int
361 ro.enable_boot_charger_mode u:object_r:charger_config_prop:s0 exact bool
362 
363 # Virtual A/B properties
364 ro.virtual_ab.enabled   u:object_r:virtual_ab_prop:s0
365 ro.virtual_ab.retrofit  u:object_r:virtual_ab_prop:s0
366 
367 ro.product.ab_ota_partitions u:object_r:ota_prop:s0 exact string
368 # Property to set/clear the warm reset flag after an OTA update.
369 ota.warm_reset  u:object_r:ota_prop:s0
370 
371 # Module properties
372 com.android.sdkext.                  u:object_r:module_sdkextensions_prop:s0
373 persist.com.android.sdkext.          u:object_r:module_sdkextensions_prop:s0
374 
375 # Userspace reboot properties
376 sys.userspace_reboot.log.         u:object_r:userspace_reboot_log_prop:s0
377 persist.sys.userspace_reboot.log. u:object_r:userspace_reboot_log_prop:s0
378 
379 # Integer property which is used in libgui to configure the number of frames
380 # tracked by buffer queue's frame event timing history. The property is set
381 # by devices with video decoding pipelines long enough to overflow the default
382 # history size.
383 ro.lib_gui.frame_event_history_size u:object_r:bq_config_prop:s0
384 
385 af.fast_track_multiplier     u:object_r:audio_config_prop:s0 exact int
386 ro.af.client_heap_size_kbyte u:object_r:audio_config_prop:s0 exact int
387 
388 audio.camerasound.force         u:object_r:audio_config_prop:s0 exact bool
389 audio.deep_buffer.media         u:object_r:audio_config_prop:s0 exact bool
390 audio.offload.video             u:object_r:audio_config_prop:s0 exact bool
391 audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int
392 
393 ro.audio.ignore_effects  u:object_r:audio_config_prop:s0 exact bool
394 ro.audio.monitorRotation u:object_r:audio_config_prop:s0 exact bool
395 
396 persist.config.calibration_fac u:object_r:camera_calibration_prop:s0 exact string
397 
398 config.disable_cameraservice u:object_r:camera_config_prop:s0 exact bool
399 
400 camera.disable_zsl_mode u:object_r:camera_config_prop:s0 exact bool
401 camera.fifo.disable     u:object_r:camera_config_prop:s0 exact bool
402 ro.camera.notify_nfc    u:object_r:camera_config_prop:s0 exact bool
403 ro.camera.enableLazyHal u:object_r:camera_config_prop:s0 exact bool
404 
405 # Should always_debuggable be bool? It's checked against the string "1".
406 dalvik.vm.always_debuggable                   u:object_r:dalvik_config_prop:s0 exact int
407 dalvik.vm.appimageformat                      u:object_r:dalvik_config_prop:s0 exact string
408 dalvik.vm.backgroundgctype                    u:object_r:dalvik_config_prop:s0 exact string
409 dalvik.vm.boot-dex2oat-cpu-set                u:object_r:dalvik_config_prop:s0 exact string
410 dalvik.vm.boot-dex2oat-threads                u:object_r:dalvik_config_prop:s0 exact int
411 dalvik.vm.boot-image                          u:object_r:dalvik_config_prop:s0 exact string
412 dalvik.vm.checkjni                            u:object_r:dalvik_config_prop:s0 exact bool
413 dalvik.vm.dex2oat-Xms                         u:object_r:dalvik_config_prop:s0 exact string
414 dalvik.vm.dex2oat-Xmx                         u:object_r:dalvik_config_prop:s0 exact string
415 dalvik.vm.dex2oat-cpu-set                     u:object_r:dalvik_config_prop:s0 exact string
416 dalvik.vm.dex2oat-filter                      u:object_r:dalvik_config_prop:s0 exact string
417 dalvik.vm.dex2oat-flags                       u:object_r:dalvik_config_prop:s0 exact string
418 dalvik.vm.dex2oat-max-image-block-size        u:object_r:dalvik_config_prop:s0 exact int
419 dalvik.vm.dex2oat-minidebuginfo               u:object_r:dalvik_config_prop:s0 exact bool
420 dalvik.vm.dex2oat-resolve-startup-strings     u:object_r:dalvik_config_prop:s0 exact bool
421 dalvik.vm.dex2oat-threads                     u:object_r:dalvik_config_prop:s0 exact int
422 dalvik.vm.dex2oat-updatable-bcp-packages-file u:object_r:dalvik_config_prop:s0 exact string
423 dalvik.vm.dex2oat-very-large                  u:object_r:dalvik_config_prop:s0 exact int
424 dalvik.vm.dex2oat-swap                        u:object_r:dalvik_config_prop:s0 exact bool
425 dalvik.vm.dex2oat64.enabled                   u:object_r:dalvik_config_prop:s0 exact bool
426 dalvik.vm.dexopt.secondary                    u:object_r:dalvik_config_prop:s0 exact bool
427 dalvik.vm.execution-mode                      u:object_r:dalvik_config_prop:s0 exact string
428 dalvik.vm.extra-opts                          u:object_r:dalvik_config_prop:s0 exact string
429 dalvik.vm.foreground-heap-growth-multiplier   u:object_r:dalvik_config_prop:s0 exact string
430 dalvik.vm.gctype                              u:object_r:dalvik_config_prop:s0 exact string
431 dalvik.vm.heapgrowthlimit                     u:object_r:dalvik_config_prop:s0 exact string
432 dalvik.vm.heapmaxfree                         u:object_r:dalvik_config_prop:s0 exact string
433 dalvik.vm.heapminfree                         u:object_r:dalvik_config_prop:s0 exact string
434 dalvik.vm.heapsize                            u:object_r:dalvik_config_prop:s0 exact string
435 dalvik.vm.heapstartsize                       u:object_r:dalvik_config_prop:s0 exact string
436 dalvik.vm.heaptargetutilization               u:object_r:dalvik_config_prop:s0 exact string
437 dalvik.vm.hot-startup-method-samples          u:object_r:dalvik_config_prop:s0 exact int
438 dalvik.vm.image-dex2oat-Xms                   u:object_r:dalvik_config_prop:s0 exact string
439 dalvik.vm.image-dex2oat-Xmx                   u:object_r:dalvik_config_prop:s0 exact string
440 dalvik.vm.image-dex2oat-cpu-set               u:object_r:dalvik_config_prop:s0 exact string
441 dalvik.vm.image-dex2oat-filter                u:object_r:dalvik_config_prop:s0 exact string
442 dalvik.vm.image-dex2oat-flags                 u:object_r:dalvik_config_prop:s0 exact string
443 dalvik.vm.image-dex2oat-threads               u:object_r:dalvik_config_prop:s0 exact int
444 dalvik.vm.isa.arm.features                    u:object_r:dalvik_config_prop:s0 exact string
445 dalvik.vm.isa.arm.variant                     u:object_r:dalvik_config_prop:s0 exact string
446 dalvik.vm.isa.arm64.features                  u:object_r:dalvik_config_prop:s0 exact string
447 dalvik.vm.isa.arm64.variant                   u:object_r:dalvik_config_prop:s0 exact string
448 dalvik.vm.isa.mips.features                   u:object_r:dalvik_config_prop:s0 exact string
449 dalvik.vm.isa.mips.variant                    u:object_r:dalvik_config_prop:s0 exact string
450 dalvik.vm.isa.mips64.features                 u:object_r:dalvik_config_prop:s0 exact string
451 dalvik.vm.isa.mips64.variant                  u:object_r:dalvik_config_prop:s0 exact string
452 dalvik.vm.isa.unknown.features                u:object_r:dalvik_config_prop:s0 exact string
453 dalvik.vm.isa.unknown.variant                 u:object_r:dalvik_config_prop:s0 exact string
454 dalvik.vm.isa.x86.features                    u:object_r:dalvik_config_prop:s0 exact string
455 dalvik.vm.isa.x86.variant                     u:object_r:dalvik_config_prop:s0 exact string
456 dalvik.vm.isa.x86_64.features                 u:object_r:dalvik_config_prop:s0 exact string
457 dalvik.vm.isa.x86_64.variant                  u:object_r:dalvik_config_prop:s0 exact string
458 dalvik.vm.jitinitialsize                      u:object_r:dalvik_config_prop:s0 exact string
459 dalvik.vm.jitmaxsize                          u:object_r:dalvik_config_prop:s0 exact string
460 dalvik.vm.jitprithreadweight                  u:object_r:dalvik_config_prop:s0 exact int
461 dalvik.vm.jitthreshold                        u:object_r:dalvik_config_prop:s0 exact int
462 dalvik.vm.jittransitionweight                 u:object_r:dalvik_config_prop:s0 exact int
463 dalvik.vm.jniopts                             u:object_r:dalvik_config_prop:s0 exact string
464 dalvik.vm.lockprof.threshold                  u:object_r:dalvik_config_prop:s0 exact int
465 dalvik.vm.method-trace                        u:object_r:dalvik_config_prop:s0 exact bool
466 dalvik.vm.method-trace-file                   u:object_r:dalvik_config_prop:s0 exact string
467 dalvik.vm.method-trace-file-siz               u:object_r:dalvik_config_prop:s0 exact int
468 dalvik.vm.method-trace-stream                 u:object_r:dalvik_config_prop:s0 exact bool
469 dalvik.vm.profilesystemserver                 u:object_r:dalvik_config_prop:s0 exact bool
470 dalvik.vm.profilebootclasspath                u:object_r:dalvik_config_prop:s0 exact bool
471 dalvik.vm.restore-dex2oat-cpu-set             u:object_r:dalvik_config_prop:s0 exact string
472 dalvik.vm.restore-dex2oat-threads             u:object_r:dalvik_config_prop:s0 exact int
473 dalvik.vm.usejit                              u:object_r:dalvik_config_prop:s0 exact bool
474 dalvik.vm.usejitprofiles                      u:object_r:dalvik_config_prop:s0 exact bool
475 dalvik.vm.zygote.max-boot-retry               u:object_r:dalvik_config_prop:s0 exact int
476 ro.zygote                                     u:object_r:dalvik_config_prop:s0 exact string
477 
478 persist.sys.dalvik.vm.lib.2 u:object_r:dalvik_runtime_prop:s0 exact string
479 
480 keyguard.no_require_sim u:object_r:keyguard_config_prop:s0 exact bool
481 
482 media.recorder.show_manufacturer_and_model   u:object_r:media_config_prop:s0 exact bool
483 media.stagefright.cache-params               u:object_r:media_config_prop:s0 exact string
484 media.stagefright.thumbnail.prefer_hw_codecs u:object_r:media_config_prop:s0 exact bool
485 persist.sys.media.avsync                     u:object_r:media_config_prop:s0 exact bool
486 
487 persist.bluetooth.a2dp_offload.cap             u:object_r:bluetooth_a2dp_offload_prop:s0 exact string
488 persist.bluetooth.a2dp_offload.disabled        u:object_r:bluetooth_a2dp_offload_prop:s0 exact bool
489 persist.bluetooth.bluetooth_audio_hal.disabled u:object_r:bluetooth_audio_hal_prop:s0 exact bool
490 persist.bluetooth.btsnoopenable                u:object_r:exported_bluetooth_prop:s0 exact bool
491 
492 persist.radio.multisim.config u:object_r:radio_control_prop:s0 exact string
493 
494 persist.sys.hdmi.keep_awake              u:object_r:hdmi_config_prop:s0 exact bool
495 ro.hdmi.cec_device_types                 u:object_r:hdmi_config_prop:s0 exact string
496 ro.hdmi.device_type                      u:object_r:hdmi_config_prop:s0 exact string
497 ro.hdmi.wake_on_hotplug                  u:object_r:hdmi_config_prop:s0 exact bool
498 ro.hdmi.cec.source.send_standby_on_sleep u:object_r:hdmi_config_prop:s0 exact enum to_tv broadcast none
499 
500 pm.dexopt.ab-ota                        u:object_r:exported_pm_prop:s0 exact string
501 pm.dexopt.bg-dexopt                     u:object_r:exported_pm_prop:s0 exact string
502 pm.dexopt.boot                          u:object_r:exported_pm_prop:s0 exact string
503 pm.dexopt.disable_bg_dexopt             u:object_r:exported_pm_prop:s0 exact bool
504 pm.dexopt.downgrade_after_inactive_days u:object_r:exported_pm_prop:s0 exact int
505 pm.dexopt.first-boot                    u:object_r:exported_pm_prop:s0 exact string
506 pm.dexopt.inactive                      u:object_r:exported_pm_prop:s0 exact string
507 pm.dexopt.install                       u:object_r:exported_pm_prop:s0 exact string
508 pm.dexopt.shared                        u:object_r:exported_pm_prop:s0 exact string
509 
510 ro.apk_verity.mode u:object_r:apk_verity_prop:s0 exact int
511 
512 ro.bluetooth.a2dp_offload.supported u:object_r:bluetooth_a2dp_offload_prop:s0 exact bool
513 
514 ro.boot.vendor.overlay.theme u:object_r:exported_overlay_prop:s0 exact string
515 
516 ro.bt.bdaddr_path u:object_r:exported_bluetooth_prop:s0 exact string
517 
518 ro.config.alarm_alert         u:object_r:systemsound_config_prop:s0 exact string
519 ro.config.alarm_vol_default   u:object_r:systemsound_config_prop:s0 exact int
520 ro.config.alarm_vol_steps     u:object_r:systemsound_config_prop:s0 exact int
521 ro.config.media_vol_default   u:object_r:systemsound_config_prop:s0 exact int
522 ro.config.media_vol_steps     u:object_r:systemsound_config_prop:s0 exact int
523 ro.config.notification_sound  u:object_r:systemsound_config_prop:s0 exact string
524 ro.config.ringtone            u:object_r:systemsound_config_prop:s0 exact string
525 ro.config.system_vol_default  u:object_r:systemsound_config_prop:s0 exact int
526 ro.config.system_vol_steps    u:object_r:systemsound_config_prop:s0 exact int
527 ro.config.vc_call_vol_default u:object_r:systemsound_config_prop:s0 exact int
528 
529 ro.control_privapp_permissions u:object_r:packagemanager_config_prop:s0 exact enum disable enforce log
530 ro.cp_system_other_odex        u:object_r:packagemanager_config_prop:s0 exact bool
531 
532 ro.crypto.allow_encrypt_override                u:object_r:vold_config_prop:s0 exact bool
533 ro.crypto.dm_default_key.options_format.version u:object_r:vold_config_prop:s0 exact int
534 ro.crypto.fde_algorithm                         u:object_r:vold_config_prop:s0 exact string
535 ro.crypto.fde_sector_size                       u:object_r:vold_config_prop:s0 exact int
536 ro.crypto.scrypt_params                         u:object_r:vold_config_prop:s0 exact string
537 ro.crypto.set_dun                               u:object_r:vold_config_prop:s0 exact bool
538 ro.crypto.volume.contents_mode                  u:object_r:vold_config_prop:s0 exact string
539 ro.crypto.volume.filenames_mode                 u:object_r:vold_config_prop:s0 exact string
540 ro.crypto.volume.metadata.encryption            u:object_r:vold_config_prop:s0 exact string
541 ro.crypto.volume.metadata.method                u:object_r:vold_config_prop:s0 exact string
542 ro.crypto.volume.options                        u:object_r:vold_config_prop:s0 exact string
543 
544 ro.dalvik.vm.native.bridge u:object_r:dalvik_config_prop:s0 exact string
545 
546 external_storage.projid.enabled   u:object_r:storage_config_prop:s0 exact bool
547 external_storage.casefold.enabled u:object_r:storage_config_prop:s0 exact bool
548 external_storage.sdcardfs.enabled u:object_r:storage_config_prop:s0 exact bool
549 
550 ro.config.per_app_memcg         u:object_r:lmkd_config_prop:s0 exact bool
551 ro.lmk.critical                 u:object_r:lmkd_config_prop:s0 exact int
552 ro.lmk.critical_upgrade         u:object_r:lmkd_config_prop:s0 exact bool
553 ro.lmk.debug                    u:object_r:lmkd_config_prop:s0 exact bool
554 ro.lmk.downgrade_pressure       u:object_r:lmkd_config_prop:s0 exact int
555 ro.lmk.kill_heaviest_task       u:object_r:lmkd_config_prop:s0 exact bool
556 ro.lmk.kill_timeout_ms          u:object_r:lmkd_config_prop:s0 exact int
557 ro.lmk.low                      u:object_r:lmkd_config_prop:s0 exact int
558 ro.lmk.medium                   u:object_r:lmkd_config_prop:s0 exact int
559 ro.lmk.psi_partial_stall_ms     u:object_r:lmkd_config_prop:s0 exact int
560 ro.lmk.psi_complete_stall_ms    u:object_r:lmkd_config_prop:s0 exact int
561 ro.lmk.swap_free_low_percentage u:object_r:lmkd_config_prop:s0 exact int
562 ro.lmk.swap_util_max            u:object_r:lmkd_config_prop:s0 exact int
563 ro.lmk.thrashing_limit          u:object_r:lmkd_config_prop:s0 exact int
564 ro.lmk.thrashing_limit_decay    u:object_r:lmkd_config_prop:s0 exact int
565 ro.lmk.use_minfree_levels       u:object_r:lmkd_config_prop:s0 exact bool
566 ro.lmk.upgrade_pressure         u:object_r:lmkd_config_prop:s0 exact int
567 lmkd.reinit                     u:object_r:lmkd_prop:s0 exact int
568 
569 ro.media.xml_variant.codecs             u:object_r:media_variant_prop:s0 exact string
570 ro.media.xml_variant.codecs_performance u:object_r:media_variant_prop:s0 exact string
571 ro.media.xml_variant.profiles           u:object_r:media_variant_prop:s0 exact string
572 
573 ro.minui.default_rotation u:object_r:recovery_config_prop:s0 exact string
574 ro.minui.overscan_percent u:object_r:recovery_config_prop:s0 exact int
575 ro.minui.pixel_format     u:object_r:recovery_config_prop:s0 exact string
576 
577 ro.oem_unlock_supported u:object_r:oem_unlock_prop:s0 exact int
578 
579 ro.rebootescrow.device u:object_r:rebootescrow_hal_prop:s0 exact string
580 
581 ro.storage_manager.enabled u:object_r:storagemanager_config_prop:s0 exact bool
582 
583 ro.vehicle.hal u:object_r:vehicle_hal_prop:s0 exact string
584 
585 ro.vendor.build.security_patch u:object_r:vendor_security_patch_level_prop:s0 exact string
586 
587 ro.zram.mark_idle_delay_mins    u:object_r:zram_config_prop:s0 exact int
588 ro.zram.first_wb_delay_mins     u:object_r:zram_config_prop:s0 exact int
589 ro.zram.periodic_wb_delay_hours u:object_r:zram_config_prop:s0 exact int
590 zram.force_writeback            u:object_r:zram_config_prop:s0 exact bool
591 persist.sys.zram_enabled        u:object_r:zram_control_prop:s0 exact bool
592 
593 sendbug.preferred.domain u:object_r:sendbug_config_prop:s0 exact string
594 
595 persist.sys.usb.usbradio.config u:object_r:usb_control_prop:s0 exact string
596 
597 sys.usb.config     u:object_r:usb_control_prop:s0 exact string
598 sys.usb.configfs   u:object_r:usb_control_prop:s0 exact int
599 sys.usb.controller u:object_r:usb_control_prop:s0 exact string
600 sys.usb.state      u:object_r:usb_control_prop:s0 exact string
601 
602 sys.usb.mtp.device_type u:object_r:usb_config_prop:s0 exact int
603 
604 sys.usb.config. u:object_r:usb_prop:s0
605 
606 sys.usb.ffs.aio_compat u:object_r:ffs_config_prop:s0 exact bool
607 sys.usb.ffs.max_read   u:object_r:ffs_config_prop:s0 exact int
608 sys.usb.ffs.max_write  u:object_r:ffs_config_prop:s0 exact int
609 
610 sys.usb.ffs.ready     u:object_r:ffs_control_prop:s0 exact bool
611 sys.usb.ffs.mtp.ready u:object_r:ffs_control_prop:s0 exact bool
612 
613 tombstoned.max_tombstone_count u:object_r:tombstone_config_prop:s0 exact int
614 
615 vold.post_fs_data_done u:object_r:vold_config_prop:s0 exact int
616 
617 apexd.status u:object_r:apexd_prop:s0 exact enum starting activated ready
618 
619 dev.bootcomplete   u:object_r:boot_status_prop:s0 exact bool
620 sys.boot_completed u:object_r:boot_status_prop:s0 exact bool
621 
622 persist.sys.device_provisioned u:object_r:provisioned_prop:s0 exact string
623 
624 persist.sys.theme               u:object_r:theme_prop:s0 exact string
625 
626 sys.retaildemo.enabled u:object_r:retaildemo_prop:s0 exact int
627 
628 sys.user.0.ce_available u:object_r:exported3_system_prop:s0 exact bool
629 
630 aac_drc_boost            u:object_r:aac_drc_prop:s0 exact int
631 aac_drc_cut              u:object_r:aac_drc_prop:s0 exact int
632 aac_drc_enc_target_level u:object_r:aac_drc_prop:s0 exact int
633 aac_drc_heavy            u:object_r:aac_drc_prop:s0 exact int
634 aac_drc_reference_level  u:object_r:aac_drc_prop:s0 exact int
635 ro.aac_drc_effect_type   u:object_r:aac_drc_prop:s0 exact int
636 
637 build.version.extensions. u:object_r:module_sdkextensions_prop:s0 prefix int
638 
639 drm.64bit.enabled            u:object_r:mediadrm_config_prop:s0 exact bool
640 media.mediadrmservice.enable u:object_r:mediadrm_config_prop:s0 exact bool
641 
642 drm.service.enabled u:object_r:drm_service_config_prop:s0 exact bool
643 
644 dumpstate.dry_run u:object_r:exported_dumpstate_prop:s0 exact bool
645 dumpstate.unroot  u:object_r:exported_dumpstate_prop:s0 exact bool
646 persist.dumpstate.verbose_logging.enabled u:object_r:hal_dumpstate_config_prop:s0 exact bool
647 
648 hal.instrumentation.enable u:object_r:hal_instrumentation_prop:s0 exact bool
649 
650 # default contexts only accessible by coredomain
651 init.svc. u:object_r:init_service_status_private_prop:s0 prefix string
652 
653 # vendor-init-readable init service props
654 init.svc.bugreport      u:object_r:init_service_status_prop:s0 exact string
655 init.svc.bugreportd     u:object_r:init_service_status_prop:s0 exact string
656 init.svc.console        u:object_r:init_service_status_prop:s0 exact string
657 init.svc.dumpstatez     u:object_r:init_service_status_prop:s0 exact string
658 init.svc.mediadrm       u:object_r:init_service_status_prop:s0 exact string
659 init.svc.statsd         u:object_r:init_service_status_prop:s0 exact string
660 init.svc.surfaceflinger u:object_r:init_service_status_prop:s0 exact string
661 init.svc.tombstoned     u:object_r:init_service_status_prop:s0 exact string
662 init.svc.zygote         u:object_r:init_service_status_prop:s0 exact string
663 
664 libc.debug.malloc.options u:object_r:libc_debug_prop:s0 exact string
665 libc.debug.malloc.program u:object_r:libc_debug_prop:s0 exact string
666 libc.debug.hooks.enable   u:object_r:libc_debug_prop:s0 exact string
667 
668 net.redirect_socket_calls.hooked u:object_r:socket_hook_prop:s0 exact bool
669 
670 persist.sys.locale       u:object_r:exported_system_prop:s0 exact string
671 persist.sys.timezone     u:object_r:exported_system_prop:s0 exact string
672 persist.sys.test_harness u:object_r:test_harness_prop:s0 exact bool
673 
674 ro.arch u:object_r:build_prop:s0 exact string
675 
676 # ro.boot. properties are set based on kernel commandline arguments, which are vendor owned.
677 ro.boot.                   u:object_r:bootloader_prop:s0
678 ro.boot.avb_version        u:object_r:bootloader_prop:s0 exact string
679 ro.boot.baseband           u:object_r:bootloader_prop:s0 exact string
680 ro.boot.bootdevice         u:object_r:bootloader_prop:s0 exact string
681 ro.boot.bootloader         u:object_r:bootloader_prop:s0 exact string
682 ro.boot.boottime           u:object_r:bootloader_prop:s0 exact string
683 ro.boot.console            u:object_r:bootloader_prop:s0 exact string
684 ro.boot.hardware           u:object_r:bootloader_prop:s0 exact string
685 ro.boot.hardware.color     u:object_r:bootloader_prop:s0 exact string
686 ro.boot.hardware.sku       u:object_r:bootloader_prop:s0 exact string
687 ro.boot.keymaster          u:object_r:bootloader_prop:s0 exact string
688 ro.boot.mode               u:object_r:bootloader_prop:s0 exact string
689 ro.boot.revision           u:object_r:bootloader_prop:s0 exact string
690 ro.boot.vbmeta.avb_version u:object_r:bootloader_prop:s0 exact string
691 ro.boot.verifiedbootstate  u:object_r:bootloader_prop:s0 exact string
692 ro.boot.veritymode         u:object_r:bootloader_prop:s0 exact string
693 
694 # These ro.X properties are set to values of ro.boot.X by property_service.
695 ro.baseband   u:object_r:bootloader_prop:s0 exact string
696 ro.bootloader u:object_r:bootloader_prop:s0 exact string
697 ro.bootmode   u:object_r:bootloader_prop:s0 exact string
698 ro.hardware   u:object_r:bootloader_prop:s0 exact string
699 ro.revision   u:object_r:bootloader_prop:s0 exact string
700 
701 ro.boot.dynamic_partitions          u:object_r:exported_default_prop:s0 exact string
702 ro.boot.dynamic_partitions_retrofit u:object_r:exported_default_prop:s0 exact string
703 
704 ro.build.date                        u:object_r:build_prop:s0 exact string
705 ro.build.date.utc                    u:object_r:build_prop:s0 exact int
706 ro.build.description                 u:object_r:build_prop:s0 exact string
707 ro.build.display.id                  u:object_r:build_prop:s0 exact string
708 ro.build.host                        u:object_r:build_prop:s0 exact string
709 ro.build.id                          u:object_r:build_prop:s0 exact string
710 ro.build.product                     u:object_r:build_prop:s0 exact string
711 ro.build.system_root_image           u:object_r:build_prop:s0 exact bool
712 ro.build.tags                        u:object_r:build_prop:s0 exact string
713 ro.build.type                        u:object_r:build_prop:s0 exact string
714 ro.build.user                        u:object_r:build_prop:s0 exact string
715 ro.build.version.base_os             u:object_r:build_prop:s0 exact string
716 ro.build.version.codename            u:object_r:build_prop:s0 exact string
717 ro.build.version.incremental         u:object_r:build_prop:s0 exact string
718 ro.build.version.preview_sdk         u:object_r:build_prop:s0 exact int
719 ro.build.version.release             u:object_r:build_prop:s0 exact string
720 ro.build.version.release_or_codename u:object_r:build_prop:s0 exact string
721 ro.build.version.sdk                 u:object_r:build_prop:s0 exact int
722 ro.build.version.security_patch      u:object_r:build_prop:s0 exact string
723 
724 ro.debuggable u:object_r:build_prop:s0 exact bool
725 
726 ro.product.cpu.abi       u:object_r:build_prop:s0 exact string
727 ro.product.cpu.abilist   u:object_r:build_prop:s0 exact string
728 ro.product.cpu.abilist32 u:object_r:build_prop:s0 exact string
729 ro.product.cpu.abilist64 u:object_r:build_prop:s0 exact string
730 
731 ro.adb.secure u:object_r:build_prop:s0 exact bool
732 ro.secure     u:object_r:build_prop:s0 exact int
733 
734 # These 5 properties are set by property_service
735 ro.product.brand         u:object_r:build_prop:s0 exact string
736 ro.product.device        u:object_r:build_prop:s0 exact string
737 ro.product.manufacturer  u:object_r:build_prop:s0 exact string
738 ro.product.model         u:object_r:build_prop:s0 exact string
739 ro.product.name          u:object_r:build_prop:s0 exact string
740 
741 # Sanitizer properties
742 ro.sanitize.address          u:object_r:build_prop:s0 exact bool
743 ro.sanitize.cfi              u:object_r:build_prop:s0 exact bool
744 ro.sanitize.default-ub       u:object_r:build_prop:s0 exact bool
745 ro.sanitize.fuzzer           u:object_r:build_prop:s0 exact bool
746 ro.sanitize.hwaddress        u:object_r:build_prop:s0 exact bool
747 ro.sanitize.integer_overflow u:object_r:build_prop:s0 exact bool
748 ro.sanitize.safe-stack       u:object_r:build_prop:s0 exact bool
749 ro.sanitize.scudo            u:object_r:build_prop:s0 exact bool
750 ro.sanitize.thread           u:object_r:build_prop:s0 exact bool
751 ro.sanitize.undefined        u:object_r:build_prop:s0 exact bool
752 
753 # All odm build props are set by /odm/build.prop
754 ro.odm.build.date                u:object_r:build_odm_prop:s0 exact string
755 ro.odm.build.date.utc            u:object_r:build_odm_prop:s0 exact int
756 ro.odm.build.fingerprint         u:object_r:build_odm_prop:s0 exact string
757 ro.odm.build.version.incremental u:object_r:build_odm_prop:s0 exact string
758 
759 ro.product.odm.brand        u:object_r:build_odm_prop:s0 exact string
760 ro.product.odm.device       u:object_r:build_odm_prop:s0 exact string
761 ro.product.odm.manufacturer u:object_r:build_odm_prop:s0 exact string
762 ro.product.odm.model        u:object_r:build_odm_prop:s0 exact string
763 ro.product.odm.name         u:object_r:build_odm_prop:s0 exact string
764 
765 # All vendor_dlkm build props are set by /vendor_dlkm/etc/build.prop
766 ro.vendor_dlkm.build.date                u:object_r:build_vendor_prop:s0 exact string
767 ro.vendor_dlkm.build.date.utc            u:object_r:build_vendor_prop:s0 exact int
768 ro.vendor_dlkm.build.fingerprint         u:object_r:build_vendor_prop:s0 exact string
769 ro.vendor_dlkm.build.version.incremental u:object_r:build_vendor_prop:s0 exact string
770 
771 # All odm_dlkm build props are set by /odm_dlkm/etc/build.prop
772 ro.odm_dlkm.build.date                u:object_r:build_vendor_prop:s0 exact string
773 ro.odm_dlkm.build.date.utc            u:object_r:build_vendor_prop:s0 exact int
774 ro.odm_dlkm.build.fingerprint         u:object_r:build_vendor_prop:s0 exact string
775 ro.odm_dlkm.build.version.incremental u:object_r:build_vendor_prop:s0 exact string
776 
777 # All vendor build props are set by /vendor/build.prop
778 ro.vendor.build.date                u:object_r:build_vendor_prop:s0 exact string
779 ro.vendor.build.date.utc            u:object_r:build_vendor_prop:s0 exact int
780 ro.vendor.build.fingerprint         u:object_r:build_vendor_prop:s0 exact string
781 ro.vendor.build.version.incremental u:object_r:build_vendor_prop:s0 exact string
782 ro.vendor.build.version.sdk         u:object_r:build_vendor_prop:s0 exact int
783 
784 ro.product.board               u:object_r:build_vendor_prop:s0 exact string
785 ro.product.first_api_level     u:object_r:build_vendor_prop:s0 exact int
786 ro.product.vendor.brand        u:object_r:build_vendor_prop:s0 exact string
787 ro.product.vendor.device       u:object_r:build_vendor_prop:s0 exact string
788 ro.product.vendor.manufacturer u:object_r:build_vendor_prop:s0 exact string
789 ro.product.vendor.model        u:object_r:build_vendor_prop:s0 exact string
790 ro.product.vendor.name         u:object_r:build_vendor_prop:s0 exact string
791 
792 ro.crypto.state u:object_r:vold_status_prop:s0 exact enum encrypted unencrypted unsupported
793 ro.crypto.type  u:object_r:vold_status_prop:s0 exact enum block file none
794 
795 ro.property_service.version u:object_r:property_service_version_prop:s0 exact int
796 
797 ro.vendor.redirect_socket_calls u:object_r:vendor_socket_hook_prop:s0 exact bool
798 
799 service.bootanim.exit u:object_r:exported_system_prop:s0 exact int
800 
801 sys.init.userspace_reboot.in_progress u:object_r:userspace_reboot_exported_prop:s0 exact bool
802 sys.use_memfd                         u:object_r:use_memfd_prop:s0 exact bool
803 
804 vold.decrypt u:object_r:vold_status_prop:s0 exact string
805 
806 aaudio.hw_burst_min_usec     u:object_r:aaudio_config_prop:s0 exact int
807 aaudio.minimum_sleep_usec    u:object_r:aaudio_config_prop:s0 exact int
808 aaudio.mixer_bursts          u:object_r:aaudio_config_prop:s0 exact int
809 aaudio.mmap_exclusive_policy u:object_r:aaudio_config_prop:s0 exact int
810 aaudio.mmap_policy           u:object_r:aaudio_config_prop:s0 exact int
811 aaudio.wakeup_delay_usec     u:object_r:aaudio_config_prop:s0 exact int
812 
813 persist.rcs.supported u:object_r:exported_default_prop:s0 exact int
814 
815 ro.bionic.2nd_arch        u:object_r:cpu_variant_prop:s0 exact string
816 ro.bionic.2nd_cpu_variant u:object_r:cpu_variant_prop:s0 exact string
817 ro.bionic.arch            u:object_r:cpu_variant_prop:s0 exact string
818 ro.bionic.cpu_variant     u:object_r:cpu_variant_prop:s0 exact string
819 
820 ro.board.platform u:object_r:exported_default_prop:s0 exact string
821 
822 ro.boot.fake_battery         u:object_r:exported_default_prop:s0 exact int
823 ro.boot.fstab_suffix         u:object_r:exported_default_prop:s0 exact string
824 ro.boot.hardware.revision    u:object_r:exported_default_prop:s0 exact string
825 ro.boot.product.hardware.sku u:object_r:exported_default_prop:s0 exact string
826 ro.boot.product.vendor.sku   u:object_r:exported_default_prop:s0 exact string
827 ro.boot.slot_suffix          u:object_r:exported_default_prop:s0 exact string
828 
829 ro.boringcrypto.hwrand u:object_r:exported_default_prop:s0 exact bool
830 
831 ro.build.ab_update         u:object_r:exported_default_prop:s0 exact string
832 ro.build.expect.baseband   u:object_r:exported_default_prop:s0 exact string
833 ro.build.expect.bootloader u:object_r:exported_default_prop:s0 exact string
834 
835 ro.carrier u:object_r:exported_default_prop:s0 exact string
836 
837 ro.config.low_ram           u:object_r:exported_config_prop:s0 exact bool
838 ro.config.vc_call_vol_steps u:object_r:exported_config_prop:s0 exact int
839 
840 ro.frp.pst u:object_r:exported_default_prop:s0 exact string
841 
842 ro.hardware.activity_recognition u:object_r:exported_default_prop:s0 exact string
843 ro.hardware.audio                u:object_r:exported_default_prop:s0 exact string
844 ro.hardware.audio.a2dp           u:object_r:exported_default_prop:s0 exact string
845 ro.hardware.audio.hearing_aid    u:object_r:exported_default_prop:s0 exact string
846 ro.hardware.audio.primary        u:object_r:exported_default_prop:s0 exact string
847 ro.hardware.audio.usb            u:object_r:exported_default_prop:s0 exact string
848 ro.hardware.audio_policy         u:object_r:exported_default_prop:s0 exact string
849 ro.hardware.bootctrl             u:object_r:exported_default_prop:s0 exact string
850 ro.hardware.camera               u:object_r:exported_default_prop:s0 exact string
851 ro.hardware.consumerir           u:object_r:exported_default_prop:s0 exact string
852 ro.hardware.context_hub          u:object_r:exported_default_prop:s0 exact string
853 ro.hardware.egl                  u:object_r:exported_default_prop:s0 exact string
854 ro.hardware.fingerprint          u:object_r:exported_default_prop:s0 exact string
855 ro.hardware.flp                  u:object_r:exported_default_prop:s0 exact string
856 ro.hardware.gatekeeper           u:object_r:exported_default_prop:s0 exact string
857 ro.hardware.gps                  u:object_r:exported_default_prop:s0 exact string
858 ro.hardware.gralloc              u:object_r:exported_default_prop:s0 exact string
859 ro.hardware.hdmi_cec             u:object_r:exported_default_prop:s0 exact string
860 ro.hardware.hwcomposer           u:object_r:exported_default_prop:s0 exact string
861 ro.hardware.input                u:object_r:exported_default_prop:s0 exact string
862 ro.hardware.keystore             u:object_r:exported_default_prop:s0 exact string
863 ro.hardware.keystore_desede      u:object_r:exported_default_prop:s0 exact string
864 ro.hardware.lights               u:object_r:exported_default_prop:s0 exact string
865 ro.hardware.local_time           u:object_r:exported_default_prop:s0 exact string
866 ro.hardware.memtrack             u:object_r:exported_default_prop:s0 exact string
867 ro.hardware.nfc                  u:object_r:exported_default_prop:s0 exact string
868 ro.hardware.nfc_nci              u:object_r:exported_default_prop:s0 exact string
869 ro.hardware.nfc_tag              u:object_r:exported_default_prop:s0 exact string
870 ro.hardware.nvram                u:object_r:exported_default_prop:s0 exact string
871 ro.hardware.power                u:object_r:exported_default_prop:s0 exact string
872 ro.hardware.radio                u:object_r:exported_default_prop:s0 exact string
873 ro.hardware.sensors              u:object_r:exported_default_prop:s0 exact string
874 ro.hardware.sound_trigger        u:object_r:exported_default_prop:s0 exact string
875 ro.hardware.thermal              u:object_r:exported_default_prop:s0 exact string
876 ro.hardware.tv_input             u:object_r:exported_default_prop:s0 exact string
877 ro.hardware.type                 u:object_r:exported_default_prop:s0 exact string
878 ro.hardware.vehicle              u:object_r:exported_default_prop:s0 exact string
879 ro.hardware.vibrator             u:object_r:exported_default_prop:s0 exact string
880 ro.hardware.virtual_device       u:object_r:exported_default_prop:s0 exact string
881 ro.hardware.vulkan               u:object_r:exported_default_prop:s0 exact string
882 
883 ro.hwui.use_vulkan u:object_r:exported_default_prop:s0 exact bool
884 
885 ro.kernel.qemu             u:object_r:exported_default_prop:s0 exact bool
886 ro.kernel.qemu.            u:object_r:exported_default_prop:s0
887 ro.kernel.android.bootanim u:object_r:exported_default_prop:s0 exact int
888 
889 ro.oem.key1 u:object_r:exported_default_prop:s0 exact string
890 
891 ro.product.vndk.version u:object_r:vndk_prop:s0 exact string
892 
893 ro.vndk.lite    u:object_r:vndk_prop:s0 exact bool
894 ro.vndk.version u:object_r:vndk_prop:s0 exact string
895 
896 ro.vts.coverage u:object_r:vts_config_prop:s0 exact int
897 
898 vts.native_server.on u:object_r:vts_status_prop:s0 exact bool
899 
900 wifi.active.interface     u:object_r:wifi_hal_prop:s0 exact string
901 wifi.aware.interface      u:object_r:wifi_hal_prop:s0 exact string
902 wifi.concurrent.interface u:object_r:wifi_hal_prop:s0 exact string
903 wifi.direct.interface     u:object_r:wifi_hal_prop:s0 exact string
904 wifi.interface            u:object_r:wifi_hal_prop:s0 exact string
905 wlan.driver.status        u:object_r:wifi_hal_prop:s0 exact enum ok unloaded
906 
907 ro.boot.wificountrycode u:object_r:wifi_config_prop:s0 exact string
908 
909 ro.apex.updatable u:object_r:exported_default_prop:s0 exact bool
910 
911 # Property to enable incremental feature
912 ro.incremental.enable      u:object_r:incremental_prop:s0
913 
914 # Properties to configure userspace reboot.
915 init.userspace_reboot.is_supported u:object_r:userspace_reboot_config_prop:s0 exact bool
916 init.userspace_reboot.sigkill.timeoutmillis u:object_r:userspace_reboot_config_prop:s0 exact int
917 init.userspace_reboot.sigterm.timeoutmillis u:object_r:userspace_reboot_config_prop:s0 exact int
918 init.userspace_reboot.started.timeoutmillis u:object_r:userspace_reboot_config_prop:s0 exact int
919 init.userspace_reboot.userdata_remount.timeoutmillis u:object_r:userspace_reboot_config_prop:s0 exact int
920 init.userspace_reboot.watchdog.timeoutmillis u:object_r:userspace_reboot_config_prop:s0 exact int
921 
922 sys.shutdown.requested u:object_r:exported_system_prop:s0 exact string
923 
924 # surfaceflinger properties
925 ro.surface_flinger.default_composition_dataspace          u:object_r:surfaceflinger_prop:s0 exact int
926 ro.surface_flinger.default_composition_pixel_format       u:object_r:surfaceflinger_prop:s0 exact int
927 ro.surface_flinger.force_hwc_copy_for_virtual_displays    u:object_r:surfaceflinger_prop:s0 exact bool
928 ro.surface_flinger.has_HDR_display                        u:object_r:surfaceflinger_prop:s0 exact bool
929 ro.surface_flinger.has_wide_color_display                 u:object_r:surfaceflinger_prop:s0 exact bool
930 ro.surface_flinger.max_frame_buffer_acquired_buffers      u:object_r:surfaceflinger_prop:s0 exact int
931 ro.surface_flinger.max_graphics_height                    u:object_r:surfaceflinger_prop:s0 exact int
932 ro.surface_flinger.max_graphics_width                     u:object_r:surfaceflinger_prop:s0 exact int
933 ro.surface_flinger.max_virtual_display_dimension          u:object_r:surfaceflinger_prop:s0 exact int
934 ro.surface_flinger.primary_display_orientation            u:object_r:surfaceflinger_prop:s0 exact enum ORIENTATION_0 ORIENTATION_180 ORIENTATION_270 ORIENTATION_90
935 ro.surface_flinger.present_time_offset_from_vsync_ns      u:object_r:surfaceflinger_prop:s0 exact int
936 ro.surface_flinger.running_without_sync_framework         u:object_r:surfaceflinger_prop:s0 exact bool
937 ro.surface_flinger.start_graphics_allocator_service       u:object_r:surfaceflinger_prop:s0 exact bool
938 ro.surface_flinger.use_color_management                   u:object_r:surfaceflinger_prop:s0 exact bool
939 ro.surface_flinger.use_context_priority                   u:object_r:surfaceflinger_prop:s0 exact bool
940 ro.surface_flinger.use_vr_flinger                         u:object_r:surfaceflinger_prop:s0 exact bool
941 ro.surface_flinger.vsync_event_phase_offset_ns            u:object_r:surfaceflinger_prop:s0 exact int
942 ro.surface_flinger.vsync_sf_event_phase_offset_ns         u:object_r:surfaceflinger_prop:s0 exact int
943 ro.surface_flinger.wcg_composition_dataspace              u:object_r:surfaceflinger_prop:s0 exact int
944 ro.surface_flinger.wcg_composition_pixel_format           u:object_r:surfaceflinger_prop:s0 exact int
945 ro.surface_flinger.display_primary_red                    u:object_r:surfaceflinger_prop:s0 exact string
946 ro.surface_flinger.display_primary_green                  u:object_r:surfaceflinger_prop:s0 exact string
947 ro.surface_flinger.display_primary_blue                   u:object_r:surfaceflinger_prop:s0 exact string
948 ro.surface_flinger.display_primary_white                  u:object_r:surfaceflinger_prop:s0 exact string
949 ro.surface_flinger.protected_contents                     u:object_r:surfaceflinger_prop:s0 exact bool
950 ro.surface_flinger.set_idle_timer_ms                      u:object_r:surfaceflinger_prop:s0 exact int
951 ro.surface_flinger.set_touch_timer_ms                     u:object_r:surfaceflinger_prop:s0 exact int
952 ro.surface_flinger.set_display_power_timer_ms             u:object_r:surfaceflinger_prop:s0 exact int
953 ro.surface_flinger.support_kernel_idle_timer              u:object_r:surfaceflinger_prop:s0 exact bool
954 ro.surface_flinger.use_smart_90_for_video                 u:object_r:surfaceflinger_prop:s0 exact bool
955 ro.surface_flinger.use_content_detection_for_refresh_rate u:object_r:surfaceflinger_prop:s0 exact bool
956 ro.surface_flinger.color_space_agnostic_dataspace         u:object_r:surfaceflinger_prop:s0 exact int
957 ro.surface_flinger.refresh_rate_switching                 u:object_r:surfaceflinger_prop:s0 exact bool
958 
959 ro.sf.disable_triple_buffer u:object_r:surfaceflinger_prop:s0 exact bool
960 ro.sf.lcd_density           u:object_r:surfaceflinger_prop:s0 exact int
961 
962 persist.sys.sf.color_mode       u:object_r:surfaceflinger_color_prop:s0 exact int
963 persist.sys.sf.color_saturation u:object_r:surfaceflinger_color_prop:s0 exact string
964 persist.sys.sf.native_mode      u:object_r:surfaceflinger_color_prop:s0 exact int
965 
966 # Binder cache properties.  These are world-readable
967 cache_key.app_inactive                   u:object_r:binder_cache_system_server_prop:s0
968 cache_key.is_compat_change_enabled       u:object_r:binder_cache_system_server_prop:s0
969 cache_key.get_packages_for_uid           u:object_r:binder_cache_system_server_prop:s0
970 cache_key.has_system_feature             u:object_r:binder_cache_system_server_prop:s0
971 cache_key.is_interactive                 u:object_r:binder_cache_system_server_prop:s0
972 cache_key.is_power_save_mode             u:object_r:binder_cache_system_server_prop:s0
973 cache_key.is_user_unlocked               u:object_r:binder_cache_system_server_prop:s0
974 cache_key.volume_list                    u:object_r:binder_cache_system_server_prop:s0
975 cache_key.display_info                   u:object_r:binder_cache_system_server_prop:s0
976 cache_key.location_enabled               u:object_r:binder_cache_system_server_prop:s0
977 cache_key.package_info                   u:object_r:binder_cache_system_server_prop:s0
978 
979 cache_key.bluetooth.                     u:object_r:binder_cache_bluetooth_server_prop:s0 prefix string
980 cache_key.system_server.                 u:object_r:binder_cache_system_server_prop:s0 prefix string
981 cache_key.telephony.                     u:object_r:binder_cache_telephony_server_prop:s0 prefix string
982 
983 gsm.sim.operator.numeric       u:object_r:telephony_status_prop:s0 exact string
984 persist.radio.airplane_mode_on u:object_r:telephony_status_prop:s0 exact bool
985 
986 ro.com.android.dataroaming        u:object_r:telephony_config_prop:s0 exact bool
987 ro.com.android.prov_mobiledata    u:object_r:telephony_config_prop:s0 exact bool
988 ro.radio.noril                    u:object_r:telephony_config_prop:s0 exact string
989 ro.telephony.call_ring.multiple   u:object_r:telephony_config_prop:s0 exact bool
990 ro.telephony.default_cdma_sub     u:object_r:telephony_config_prop:s0 exact int
991 ro.telephony.default_network      u:object_r:telephony_config_prop:s0 exact string
992 ro.telephony.iwlan_operation_mode u:object_r:telephony_config_prop:s0 exact enum default legacy AP-assisted
993 telephony.active_modems.max_count u:object_r:telephony_config_prop:s0 exact int
994 telephony.lteOnCdmaDevice         u:object_r:telephony_config_prop:s0 exact int
995 persist.dbg.volte_avail_ovr       u:object_r:telephony_config_prop:s0 exact int
996 persist.dbg.vt_avail_ovr          u:object_r:telephony_config_prop:s0 exact int
997 persist.dbg.wfc_avail_ovr         u:object_r:telephony_config_prop:s0 exact int
998 
999 # System locale list filter configuration
1000 ro.localization.locale_filter u:object_r:localization_prop:s0 exact string
1001 
1002 # Graphics related properties
1003 ro.opengles.version u:object_r:graphics_config_prop:s0 exact int
1004 
1005 ro.gfx.driver.0        u:object_r:graphics_config_prop:s0 exact string
1006 ro.gfx.driver.1        u:object_r:graphics_config_prop:s0 exact string
1007 ro.gfx.angle.supported u:object_r:graphics_config_prop:s0 exact bool
1008 
1009 graphics.gpu.profiler.support          u:object_r:graphics_config_prop:s0 exact bool
1010 graphics.gpu.profiler.vulkan_layer_apk u:object_r:graphics_config_prop:s0 exact string
1011     )";
1012