2019-09-09 12:46:15 +02:00
|
|
|
# Properties used only in /system
|
2020-03-04 09:20:35 +01:00
|
|
|
#
|
|
|
|
# DO NOT ADD system_internal_prop here.
|
|
|
|
# Instead, add to private/property.te.
|
|
|
|
# TODO(b/150331497): move these to private/property.te
|
2019-09-09 12:46:15 +02:00
|
|
|
system_internal_prop(apexd_prop)
|
|
|
|
system_internal_prop(bootloader_boot_reason_prop)
|
|
|
|
system_internal_prop(device_config_activity_manager_native_boot_prop)
|
|
|
|
system_internal_prop(device_config_boot_count_prop)
|
|
|
|
system_internal_prop(device_config_input_native_boot_prop)
|
|
|
|
system_internal_prop(device_config_media_native_prop)
|
|
|
|
system_internal_prop(device_config_netd_native_prop)
|
|
|
|
system_internal_prop(device_config_reset_performed_prop)
|
|
|
|
system_internal_prop(device_config_runtime_native_boot_prop)
|
|
|
|
system_internal_prop(device_config_runtime_native_prop)
|
|
|
|
system_internal_prop(firstboot_prop)
|
2019-10-17 06:42:42 +02:00
|
|
|
|
|
|
|
compatible_property_only(`
|
|
|
|
# DO NOT ADD ANY PROPERTIES HERE
|
|
|
|
system_internal_prop(boottime_prop)
|
|
|
|
system_internal_prop(bpf_progs_loaded_prop)
|
|
|
|
system_internal_prop(charger_prop)
|
|
|
|
system_internal_prop(cold_boot_done_prop)
|
|
|
|
system_internal_prop(ctl_adbd_prop)
|
|
|
|
system_internal_prop(ctl_apexd_prop)
|
|
|
|
system_internal_prop(ctl_bootanim_prop)
|
|
|
|
system_internal_prop(ctl_bugreport_prop)
|
|
|
|
system_internal_prop(ctl_console_prop)
|
|
|
|
system_internal_prop(ctl_dumpstate_prop)
|
|
|
|
system_internal_prop(ctl_fuse_prop)
|
|
|
|
system_internal_prop(ctl_gsid_prop)
|
|
|
|
system_internal_prop(ctl_interface_restart_prop)
|
|
|
|
system_internal_prop(ctl_interface_stop_prop)
|
|
|
|
system_internal_prop(ctl_mdnsd_prop)
|
|
|
|
system_internal_prop(ctl_restart_prop)
|
|
|
|
system_internal_prop(ctl_rildaemon_prop)
|
|
|
|
system_internal_prop(ctl_sigstop_prop)
|
|
|
|
system_internal_prop(dynamic_system_prop)
|
|
|
|
system_internal_prop(heapprofd_enabled_prop)
|
|
|
|
system_internal_prop(llkd_prop)
|
|
|
|
system_internal_prop(lpdumpd_prop)
|
|
|
|
system_internal_prop(mmc_prop)
|
|
|
|
system_internal_prop(mock_ota_prop)
|
|
|
|
system_internal_prop(net_dns_prop)
|
|
|
|
system_internal_prop(overlay_prop)
|
|
|
|
system_internal_prop(persistent_properties_ready_prop)
|
|
|
|
system_internal_prop(safemode_prop)
|
|
|
|
system_internal_prop(system_lmk_prop)
|
|
|
|
system_internal_prop(system_trace_prop)
|
|
|
|
system_internal_prop(test_boot_reason_prop)
|
|
|
|
system_internal_prop(time_prop)
|
|
|
|
system_internal_prop(traced_enabled_prop)
|
|
|
|
system_internal_prop(traced_lazy_prop)
|
|
|
|
')
|
2019-09-09 12:46:15 +02:00
|
|
|
|
|
|
|
# Properties which can't be written outside system
|
2020-05-06 11:30:20 +02:00
|
|
|
system_restricted_prop(aac_drc_prop)
|
2020-01-28 06:43:57 +01:00
|
|
|
system_restricted_prop(binder_cache_bluetooth_server_prop)
|
|
|
|
system_restricted_prop(binder_cache_system_server_prop)
|
2020-01-28 22:08:28 +01:00
|
|
|
system_restricted_prop(binder_cache_telephony_server_prop)
|
2020-04-24 08:03:01 +02:00
|
|
|
system_restricted_prop(boot_status_prop)
|
2020-01-20 06:11:07 +01:00
|
|
|
system_restricted_prop(bq_config_prop)
|
2020-05-06 13:07:33 +02:00
|
|
|
system_restricted_prop(build_prop)
|
|
|
|
system_restricted_prop(fingerprint_prop)
|
2020-05-06 15:20:35 +02:00
|
|
|
system_restricted_prop(libc_debug_prop)
|
2020-01-06 18:29:13 +01:00
|
|
|
system_restricted_prop(module_sdkextensions_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
system_restricted_prop(nnapi_ext_deny_product_prop)
|
|
|
|
system_restricted_prop(restorecon_prop)
|
2020-02-10 10:43:15 +01:00
|
|
|
system_restricted_prop(socket_hook_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
system_restricted_prop(system_boot_reason_prop)
|
2019-11-25 23:03:59 +01:00
|
|
|
system_restricted_prop(system_jvmti_agent_prop)
|
2019-11-14 13:59:15 +01:00
|
|
|
system_restricted_prop(userspace_reboot_exported_prop)
|
2020-04-06 13:49:17 +02:00
|
|
|
system_restricted_prop(vold_status_prop)
|
2019-10-17 06:42:42 +02:00
|
|
|
|
|
|
|
compatible_property_only(`
|
|
|
|
# DO NOT ADD ANY PROPERTIES HERE
|
|
|
|
system_restricted_prop(config_prop)
|
|
|
|
system_restricted_prop(cppreopt_prop)
|
|
|
|
system_restricted_prop(dalvik_prop)
|
|
|
|
system_restricted_prop(debuggerd_prop)
|
|
|
|
system_restricted_prop(default_prop)
|
|
|
|
system_restricted_prop(device_logging_prop)
|
|
|
|
system_restricted_prop(dhcp_prop)
|
|
|
|
system_restricted_prop(dumpstate_prop)
|
|
|
|
system_restricted_prop(exported2_default_prop)
|
|
|
|
system_restricted_prop(exported3_system_prop)
|
|
|
|
system_restricted_prop(exported_dumpstate_prop)
|
|
|
|
system_restricted_prop(exported_secure_prop)
|
|
|
|
system_restricted_prop(heapprofd_prop)
|
|
|
|
system_restricted_prop(net_radio_prop)
|
|
|
|
system_restricted_prop(pan_result_prop)
|
|
|
|
system_restricted_prop(persist_debug_prop)
|
|
|
|
system_restricted_prop(shell_prop)
|
|
|
|
system_restricted_prop(system_radio_prop)
|
|
|
|
system_restricted_prop(test_harness_prop)
|
|
|
|
system_restricted_prop(theme_prop)
|
|
|
|
system_restricted_prop(use_memfd_prop)
|
|
|
|
system_restricted_prop(vold_prop)
|
|
|
|
')
|
2019-09-09 12:46:15 +02:00
|
|
|
|
2020-02-08 00:34:17 +01:00
|
|
|
# Properties which can be written only by vendor_init
|
|
|
|
system_vendor_config_prop(apk_verity_prop)
|
2020-05-06 12:17:42 +02:00
|
|
|
system_vendor_config_prop(audio_config_prop)
|
2020-05-06 17:36:05 +02:00
|
|
|
system_vendor_config_prop(camera_config_prop)
|
2020-02-08 00:34:17 +01:00
|
|
|
system_vendor_config_prop(cpu_variant_prop)
|
2020-04-20 12:36:33 +02:00
|
|
|
system_vendor_config_prop(dalvik_config_prop)
|
2020-02-08 00:34:17 +01:00
|
|
|
system_vendor_config_prop(exported_camera_prop)
|
|
|
|
system_vendor_config_prop(exported_config_prop)
|
|
|
|
system_vendor_config_prop(exported_default_prop)
|
|
|
|
system_vendor_config_prop(exported3_default_prop)
|
2020-04-27 16:49:15 +02:00
|
|
|
system_vendor_config_prop(ffs_config_prop)
|
2020-05-12 13:53:06 +02:00
|
|
|
system_vendor_config_prop(hdmi_config_prop)
|
2020-04-28 22:24:54 +02:00
|
|
|
system_vendor_config_prop(incremental_prop)
|
2020-05-06 10:11:46 +02:00
|
|
|
system_vendor_config_prop(lmkd_config_prop)
|
2020-05-11 10:33:27 +02:00
|
|
|
system_vendor_config_prop(media_config_prop)
|
2020-03-07 13:15:38 +01:00
|
|
|
system_vendor_config_prop(media_variant_prop)
|
2020-04-10 14:11:49 +02:00
|
|
|
system_vendor_config_prop(storage_config_prop)
|
2020-04-02 08:55:07 +02:00
|
|
|
system_vendor_config_prop(surfaceflinger_prop)
|
2020-04-01 03:01:16 +02:00
|
|
|
system_vendor_config_prop(systemsound_config_prop)
|
2020-02-08 00:34:17 +01:00
|
|
|
system_vendor_config_prop(userspace_reboot_config_prop)
|
|
|
|
system_vendor_config_prop(vehicle_hal_prop)
|
|
|
|
system_vendor_config_prop(vendor_security_patch_level_prop)
|
2020-02-10 10:43:15 +01:00
|
|
|
system_vendor_config_prop(vendor_socket_hook_prop)
|
2020-02-08 00:34:17 +01:00
|
|
|
system_vendor_config_prop(virtual_ab_prop)
|
2020-04-06 13:49:17 +02:00
|
|
|
system_vendor_config_prop(vndk_prop)
|
|
|
|
system_vendor_config_prop(vold_config_prop)
|
2020-05-08 13:42:25 +02:00
|
|
|
system_vendor_config_prop(zram_config_prop)
|
2020-02-08 00:34:17 +01:00
|
|
|
|
2019-09-09 12:46:15 +02:00
|
|
|
# Properties with no restrictions
|
|
|
|
system_public_prop(audio_prop)
|
|
|
|
system_public_prop(bluetooth_a2dp_offload_prop)
|
|
|
|
system_public_prop(bluetooth_audio_hal_prop)
|
|
|
|
system_public_prop(bluetooth_prop)
|
|
|
|
system_public_prop(ctl_default_prop)
|
|
|
|
system_public_prop(ctl_interface_start_prop)
|
|
|
|
system_public_prop(ctl_start_prop)
|
|
|
|
system_public_prop(ctl_stop_prop)
|
|
|
|
system_public_prop(debug_prop)
|
|
|
|
system_public_prop(dumpstate_options_prop)
|
|
|
|
system_public_prop(exported_system_prop)
|
|
|
|
system_public_prop(exported2_radio_prop)
|
|
|
|
system_public_prop(exported2_system_prop)
|
|
|
|
system_public_prop(exported3_radio_prop)
|
|
|
|
system_public_prop(exported_bluetooth_prop)
|
|
|
|
system_public_prop(exported_overlay_prop)
|
|
|
|
system_public_prop(exported_pm_prop)
|
|
|
|
system_public_prop(exported_radio_prop)
|
|
|
|
system_public_prop(exported_system_radio_prop)
|
|
|
|
system_public_prop(exported_wifi_prop)
|
2020-04-27 16:49:15 +02:00
|
|
|
system_public_prop(ffs_control_prop)
|
2019-12-06 08:59:58 +01:00
|
|
|
system_public_prop(sota_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
system_public_prop(hwservicemanager_prop)
|
2020-05-05 21:41:02 +02:00
|
|
|
system_public_prop(lmkd_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
system_public_prop(logd_prop)
|
|
|
|
system_public_prop(logpersistd_logging_prop)
|
|
|
|
system_public_prop(log_prop)
|
|
|
|
system_public_prop(log_tag_prop)
|
|
|
|
system_public_prop(lowpan_prop)
|
|
|
|
system_public_prop(nfc_prop)
|
2019-11-14 23:18:40 +01:00
|
|
|
system_public_prop(ota_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
system_public_prop(powerctl_prop)
|
|
|
|
system_public_prop(radio_prop)
|
|
|
|
system_public_prop(serialno_prop)
|
2020-04-24 14:25:17 +02:00
|
|
|
system_public_prop(surfaceflinger_color_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
system_public_prop(system_prop)
|
|
|
|
system_public_prop(wifi_log_prop)
|
|
|
|
system_public_prop(wifi_prop)
|
2020-05-08 13:42:25 +02:00
|
|
|
system_public_prop(zram_control_prop)
|
2019-09-09 12:46:15 +02:00
|
|
|
|
2020-01-25 01:31:58 +01:00
|
|
|
# Properties used in default HAL implementations
|
|
|
|
vendor_internal_prop(rebootescrow_hal_prop)
|
|
|
|
|
2019-10-17 06:42:42 +02:00
|
|
|
# Properties which are public for devices launching with Android O or earlier
|
|
|
|
# This should not be used for any new properties.
|
|
|
|
not_compatible_property(`
|
|
|
|
# DO NOT ADD ANY PROPERTIES HERE
|
|
|
|
system_public_prop(boottime_prop)
|
|
|
|
system_public_prop(bpf_progs_loaded_prop)
|
|
|
|
system_public_prop(charger_prop)
|
|
|
|
system_public_prop(cold_boot_done_prop)
|
|
|
|
system_public_prop(ctl_adbd_prop)
|
|
|
|
system_public_prop(ctl_apexd_prop)
|
|
|
|
system_public_prop(ctl_bootanim_prop)
|
|
|
|
system_public_prop(ctl_bugreport_prop)
|
|
|
|
system_public_prop(ctl_console_prop)
|
|
|
|
system_public_prop(ctl_dumpstate_prop)
|
|
|
|
system_public_prop(ctl_fuse_prop)
|
|
|
|
system_public_prop(ctl_gsid_prop)
|
|
|
|
system_public_prop(ctl_interface_restart_prop)
|
|
|
|
system_public_prop(ctl_interface_stop_prop)
|
|
|
|
system_public_prop(ctl_mdnsd_prop)
|
|
|
|
system_public_prop(ctl_restart_prop)
|
|
|
|
system_public_prop(ctl_rildaemon_prop)
|
|
|
|
system_public_prop(ctl_sigstop_prop)
|
|
|
|
system_public_prop(dynamic_system_prop)
|
|
|
|
system_public_prop(heapprofd_enabled_prop)
|
|
|
|
system_public_prop(llkd_prop)
|
|
|
|
system_public_prop(lpdumpd_prop)
|
|
|
|
system_public_prop(mmc_prop)
|
|
|
|
system_public_prop(mock_ota_prop)
|
|
|
|
system_public_prop(net_dns_prop)
|
|
|
|
system_public_prop(overlay_prop)
|
|
|
|
system_public_prop(persistent_properties_ready_prop)
|
|
|
|
system_public_prop(safemode_prop)
|
|
|
|
system_public_prop(system_lmk_prop)
|
|
|
|
system_public_prop(system_trace_prop)
|
|
|
|
system_public_prop(test_boot_reason_prop)
|
|
|
|
system_public_prop(time_prop)
|
|
|
|
system_public_prop(traced_enabled_prop)
|
|
|
|
system_public_prop(traced_lazy_prop)
|
|
|
|
|
|
|
|
system_public_prop(config_prop)
|
|
|
|
system_public_prop(cppreopt_prop)
|
|
|
|
system_public_prop(dalvik_prop)
|
|
|
|
system_public_prop(debuggerd_prop)
|
|
|
|
system_public_prop(default_prop)
|
|
|
|
system_public_prop(device_logging_prop)
|
|
|
|
system_public_prop(dhcp_prop)
|
|
|
|
system_public_prop(dumpstate_prop)
|
|
|
|
system_public_prop(exported2_default_prop)
|
|
|
|
system_public_prop(exported3_system_prop)
|
|
|
|
system_public_prop(exported_dumpstate_prop)
|
|
|
|
system_public_prop(exported_secure_prop)
|
|
|
|
system_public_prop(heapprofd_prop)
|
|
|
|
system_public_prop(net_radio_prop)
|
|
|
|
system_public_prop(pan_result_prop)
|
|
|
|
system_public_prop(persist_debug_prop)
|
|
|
|
system_public_prop(shell_prop)
|
|
|
|
system_public_prop(system_radio_prop)
|
|
|
|
system_public_prop(test_harness_prop)
|
|
|
|
system_public_prop(theme_prop)
|
|
|
|
system_public_prop(use_memfd_prop)
|
|
|
|
system_public_prop(vold_prop)
|
|
|
|
')
|
|
|
|
|
2017-10-19 09:54:49 +02:00
|
|
|
type vendor_default_prop, property_type;
|
|
|
|
|
2019-09-09 12:46:15 +02:00
|
|
|
typeattribute log_prop log_property_type;
|
|
|
|
typeattribute log_tag_prop log_property_type;
|
|
|
|
typeattribute wifi_log_prop log_property_type;
|
|
|
|
|
2015-12-02 01:58:27 +01:00
|
|
|
allow property_type tmpfs:filesystem associate;
|
2016-12-14 00:59:33 +01:00
|
|
|
|
|
|
|
# core_property_type should not be used for new properties or
|
|
|
|
# device specific properties. Properties with this attribute
|
|
|
|
# are readable to everyone, which is overly broad and should
|
|
|
|
# be avoided.
|
|
|
|
# New properties should have appropriate read / write access
|
|
|
|
# control rules written.
|
|
|
|
|
2019-09-09 12:46:15 +02:00
|
|
|
typeattribute audio_prop core_property_type;
|
|
|
|
typeattribute config_prop core_property_type;
|
|
|
|
typeattribute cppreopt_prop core_property_type;
|
|
|
|
typeattribute dalvik_prop core_property_type;
|
|
|
|
typeattribute debuggerd_prop core_property_type;
|
|
|
|
typeattribute debug_prop core_property_type;
|
|
|
|
typeattribute default_prop core_property_type;
|
|
|
|
typeattribute dhcp_prop core_property_type;
|
|
|
|
typeattribute dumpstate_prop core_property_type;
|
|
|
|
typeattribute logd_prop core_property_type;
|
|
|
|
typeattribute net_radio_prop core_property_type;
|
|
|
|
typeattribute nfc_prop core_property_type;
|
2019-11-14 23:18:40 +01:00
|
|
|
typeattribute ota_prop core_property_type;
|
2019-09-09 12:46:15 +02:00
|
|
|
typeattribute pan_result_prop core_property_type;
|
|
|
|
typeattribute persist_debug_prop core_property_type;
|
|
|
|
typeattribute powerctl_prop core_property_type;
|
|
|
|
typeattribute radio_prop core_property_type;
|
|
|
|
typeattribute restorecon_prop core_property_type;
|
|
|
|
typeattribute shell_prop core_property_type;
|
|
|
|
typeattribute system_prop core_property_type;
|
|
|
|
typeattribute system_radio_prop core_property_type;
|
|
|
|
typeattribute vold_prop core_property_type;
|