[ALPS03860276] Rename MTKs system properties
[Detail] modify debug.factory.idle_state to vendor.debug.factory.idle_state MTK-Commit-Id: 725183500a96ad7d96bea72edfd5fd42643db833 Change-Id: I323b158642aec36604fe6d1dab2afe217ba09002 Signed-off-by: Morven-CF Yeh <morven-cf.yeh@mediatek.com> CR-Id: ALPS03860276 Feature: Power Management
This commit is contained in:
parent
06fbbbdb00
commit
a1cfcc550c
@ -69,7 +69,7 @@ allow factory shell_exec:file r_file_perms;
|
|||||||
|
|
||||||
# Date: WK15.44
|
# Date: WK15.44
|
||||||
# Purpose: factory idle current status
|
# Purpose: factory idle current status
|
||||||
allow factory factory_idle_state_prop:property_service set;
|
allow factory vendor_factory_idle_state_prop:property_service set;
|
||||||
|
|
||||||
# Date: WK15.46
|
# Date: WK15.46
|
||||||
# Purpose: gps factory mode
|
# Purpose: gps factory mode
|
||||||
|
@ -99,7 +99,7 @@ type bt_prop, property_type, mtk_core_property_type;
|
|||||||
type persist_bt_prop, property_type, mtk_core_property_type;
|
type persist_bt_prop, property_type, mtk_core_property_type;
|
||||||
|
|
||||||
#============= allow factory idle current prop ==============
|
#============= allow factory idle current prop ==============
|
||||||
type factory_idle_state_prop, property_type, mtk_core_property_type;
|
type vendor_factory_idle_state_prop, property_type, mtk_core_property_type;
|
||||||
|
|
||||||
#============= allow ftrace log property ===============
|
#============= allow ftrace log property ===============
|
||||||
type ftrace_log_prop, property_type, mtk_core_property_type;
|
type ftrace_log_prop, property_type, mtk_core_property_type;
|
||||||
|
@ -97,7 +97,7 @@ persist.bt. u:object_r:persist_bt_prop:s0
|
|||||||
#=============allow ccci_mdinit md status ==============
|
#=============allow ccci_mdinit md status ==============
|
||||||
mtk.md u:object_r:mtk_md_prop:s0
|
mtk.md u:object_r:mtk_md_prop:s0
|
||||||
#============= allow factory idle current prop ==============
|
#============= allow factory idle current prop ==============
|
||||||
debug.factory.idle_state u:object_r:factory_idle_state_prop:s0
|
vendor.debug.factory.idle_state u:object_r:vendor_factory_idle_state_prop:s0
|
||||||
|
|
||||||
#=============allow ftrace log property================
|
#=============allow ftrace log property================
|
||||||
ftrace.buffer.log u:object_r:ftrace_log_prop:s0
|
ftrace.buffer.log u:object_r:ftrace_log_prop:s0
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
(typeattributeset node_type (node_26_0))
|
(typeattributeset node_type (node_26_0))
|
||||||
(typeattributeset netif_type (netif_26_0))
|
(typeattributeset netif_type (netif_26_0))
|
||||||
(typeattributeset port_type (port_26_0))
|
(typeattributeset port_type (port_26_0))
|
||||||
(typeattributeset property_type (asan_reboot_prop_26_0 audio_prop_26_0 boottime_prop_26_0 bluetooth_prop_26_0 config_prop_26_0 cppreopt_prop_26_0 ctl_bootanim_prop_26_0 ctl_bugreport_prop_26_0 ctl_console_prop_26_0 ctl_default_prop_26_0 ctl_dumpstate_prop_26_0 ctl_fuse_prop_26_0 ctl_mdnsd_prop_26_0 ctl_rildaemon_prop_26_0 dalvik_prop_26_0 debuggerd_prop_26_0 debug_prop_26_0 default_prop_26_0 device_logging_prop_26_0 dhcp_prop_26_0 dumpstate_options_prop_26_0 dumpstate_prop_26_0 ffs_prop_26_0 fingerprint_prop_26_0 firstboot_prop_26_0 hwservicemanager_prop_26_0 logd_prop_26_0 logpersistd_logging_prop_26_0 log_prop_26_0 log_tag_prop_26_0 mmc_prop_26_0 net_dns_prop_26_0 net_radio_prop_26_0 nfc_prop_26_0 overlay_prop_26_0 pan_result_prop_26_0 persist_debug_prop_26_0 persistent_properties_ready_prop_26_0 powerctl_prop_26_0 radio_prop_26_0 restorecon_prop_26_0 safemode_prop_26_0 serialno_prop_26_0 shell_prop_26_0 system_prop_26_0 system_radio_prop_26_0 vold_prop_26_0 wifi_log_prop_26_0 wifi_prop_26_0 mtk_default_prop ctl_gsm0710muxd_prop ctl_gsm0710muxd-s_prop ctl_gsm0710muxd-d_prop ctl_mdlogger_prop ctl_emdlogger1_prop ctl_emdlogger2_prop ctl_emdlogger3_prop ctl_dualmdlogger_prop ctl_viarild_prop persist_ril_prop gsm0710muxd_prop debug_mtklog_prop persist_mtklog_prop debug_netlog_prop mtk_wifi_prop debug_mdlogger_prop persist_mtk_aee_prop persist_aee_prop debug_mtk_aee_prop debug_bq_dump_prop ctl_ril-daemon-mtk_prop ctl_fusion_ril_mtk_prop ctl_ril-daemon-s_prop ctl_ril-daemon-d_prop ctl_ril-proxy_prop ctl_ccci_fsd_prop ctl_ccci2_fsd_prop ctl_ccci3_fsd_prop ril_active_md_prop ril_mux_report_case_prop ril_cdma_report_prop mtk_md_prop ctl_muxreport-daemon_prop pppoe_ppp0_prop bootani_prop mnld_prop audiohal_prop wmt_prop ctl_emcsmdlogger_prop ctl_eemcs_fsd_prop net_cdma_mdmstat bt_prop persist_bt_prop factory_idle_state_prop ftrace_log_prop service_nvram_init_prop wifi_5g_prop mtk_em_prop mediatek_prop mtk_em_pdn_prop mtk_em_ims_simulate_prop mtk_em_auto_answer_prop mtk_em_bt_sspdebug_prop mtk_em_ril_apnchange_prop mtk_em_net_auto_tethering_prop ctl_mobile_log_d_prop ctl_mnld_prop ctl_mobicore_prop meta_connecttype_prop mtk_telephony_sensitive_prop mtk_thermal_config_prop graphics_config_prop mtkcam_prop atm_mdmode_prop mtk_wod_prop persist_wod_prop persist_mal_prop ctl_volte_imcb_prop ctl_volte_stack_prop ctl_volte_ua_prop volte_prop))
|
(typeattributeset property_type (asan_reboot_prop_26_0 audio_prop_26_0 boottime_prop_26_0 bluetooth_prop_26_0 config_prop_26_0 cppreopt_prop_26_0 ctl_bootanim_prop_26_0 ctl_bugreport_prop_26_0 ctl_console_prop_26_0 ctl_default_prop_26_0 ctl_dumpstate_prop_26_0 ctl_fuse_prop_26_0 ctl_mdnsd_prop_26_0 ctl_rildaemon_prop_26_0 dalvik_prop_26_0 debuggerd_prop_26_0 debug_prop_26_0 default_prop_26_0 device_logging_prop_26_0 dhcp_prop_26_0 dumpstate_options_prop_26_0 dumpstate_prop_26_0 ffs_prop_26_0 fingerprint_prop_26_0 firstboot_prop_26_0 hwservicemanager_prop_26_0 logd_prop_26_0 logpersistd_logging_prop_26_0 log_prop_26_0 log_tag_prop_26_0 mmc_prop_26_0 net_dns_prop_26_0 net_radio_prop_26_0 nfc_prop_26_0 overlay_prop_26_0 pan_result_prop_26_0 persist_debug_prop_26_0 persistent_properties_ready_prop_26_0 powerctl_prop_26_0 radio_prop_26_0 restorecon_prop_26_0 safemode_prop_26_0 serialno_prop_26_0 shell_prop_26_0 system_prop_26_0 system_radio_prop_26_0 vold_prop_26_0 wifi_log_prop_26_0 wifi_prop_26_0 mtk_default_prop ctl_gsm0710muxd_prop ctl_gsm0710muxd-s_prop ctl_gsm0710muxd-d_prop ctl_mdlogger_prop ctl_emdlogger1_prop ctl_emdlogger2_prop ctl_emdlogger3_prop ctl_dualmdlogger_prop ctl_viarild_prop persist_ril_prop gsm0710muxd_prop debug_mtklog_prop persist_mtklog_prop debug_netlog_prop mtk_wifi_prop debug_mdlogger_prop persist_mtk_aee_prop persist_aee_prop debug_mtk_aee_prop debug_bq_dump_prop ctl_ril-daemon-mtk_prop ctl_fusion_ril_mtk_prop ctl_ril-daemon-s_prop ctl_ril-daemon-d_prop ctl_ril-proxy_prop ctl_ccci_fsd_prop ctl_ccci2_fsd_prop ctl_ccci3_fsd_prop ril_active_md_prop ril_mux_report_case_prop ril_cdma_report_prop mtk_md_prop ctl_muxreport-daemon_prop pppoe_ppp0_prop bootani_prop mnld_prop audiohal_prop wmt_prop ctl_emcsmdlogger_prop ctl_eemcs_fsd_prop net_cdma_mdmstat bt_prop persist_bt_prop vendor_factory_idle_state_prop ftrace_log_prop service_nvram_init_prop wifi_5g_prop mtk_em_prop mediatek_prop mtk_em_pdn_prop mtk_em_ims_simulate_prop mtk_em_auto_answer_prop mtk_em_bt_sspdebug_prop mtk_em_ril_apnchange_prop mtk_em_net_auto_tethering_prop ctl_mobile_log_d_prop ctl_mnld_prop ctl_mobicore_prop meta_connecttype_prop mtk_telephony_sensitive_prop mtk_thermal_config_prop graphics_config_prop mtkcam_prop atm_mdmode_prop mtk_wod_prop persist_wod_prop persist_mal_prop ctl_volte_imcb_prop ctl_volte_stack_prop ctl_volte_ua_prop volte_prop))
|
||||||
(typeattributeset core_property_type (audio_prop_26_0 config_prop_26_0 cppreopt_prop_26_0 dalvik_prop_26_0 debuggerd_prop_26_0 debug_prop_26_0 default_prop_26_0 dhcp_prop_26_0 dumpstate_prop_26_0 ffs_prop_26_0 fingerprint_prop_26_0 logd_prop_26_0 net_radio_prop_26_0 nfc_prop_26_0 pan_result_prop_26_0 persist_debug_prop_26_0 powerctl_prop_26_0 radio_prop_26_0 restorecon_prop_26_0 shell_prop_26_0 system_prop_26_0 system_radio_prop_26_0 vold_prop_26_0))
|
(typeattributeset core_property_type (audio_prop_26_0 config_prop_26_0 cppreopt_prop_26_0 dalvik_prop_26_0 debuggerd_prop_26_0 debug_prop_26_0 default_prop_26_0 dhcp_prop_26_0 dumpstate_prop_26_0 ffs_prop_26_0 fingerprint_prop_26_0 logd_prop_26_0 net_radio_prop_26_0 nfc_prop_26_0 pan_result_prop_26_0 persist_debug_prop_26_0 powerctl_prop_26_0 radio_prop_26_0 restorecon_prop_26_0 shell_prop_26_0 system_prop_26_0 system_radio_prop_26_0 vold_prop_26_0))
|
||||||
(typeattributeset log_property_type (log_prop_26_0 log_tag_prop_26_0 wifi_log_prop_26_0))
|
(typeattributeset log_property_type (log_prop_26_0 log_tag_prop_26_0 wifi_log_prop_26_0))
|
||||||
(typeattributeset system_server_service (accessibility_service_26_0 account_service_26_0 activity_service_26_0 alarm_service_26_0 appops_service_26_0 appwidget_service_26_0 assetatlas_service_26_0 audio_service_26_0 autofill_service_26_0 backup_service_26_0 batterystats_service_26_0 battery_service_26_0 bluetooth_manager_service_26_0 cameraproxy_service_26_0 clipboard_service_26_0 contexthub_service_26_0 IProxyService_service_26_0 commontime_management_service_26_0 companion_device_service_26_0 connectivity_service_26_0 connmetrics_service_26_0 consumer_ir_service_26_0 content_service_26_0 country_detector_service_26_0 coverage_service_26_0 cpuinfo_service_26_0 dbinfo_service_26_0 device_policy_service_26_0 deviceidle_service_26_0 device_identifiers_service_26_0 devicestoragemonitor_service_26_0 diskstats_service_26_0 display_service_26_0 font_service_26_0 netd_listener_service_26_0 DockObserver_service_26_0 dreams_service_26_0 dropbox_service_26_0 ethernet_service_26_0 fingerprint_service_26_0 gfxinfo_service_26_0 graphicsstats_service_26_0 hardware_service_26_0 hardware_properties_service_26_0 hdmi_control_service_26_0 input_method_service_26_0 input_service_26_0 imms_service_26_0 ipsec_service_26_0 jobscheduler_service_26_0 launcherapps_service_26_0 location_service_26_0 lock_settings_service_26_0 media_projection_service_26_0 media_router_service_26_0 media_session_service_26_0 meminfo_service_26_0 midi_service_26_0 mount_service_26_0 netpolicy_service_26_0 netstats_service_26_0 network_management_service_26_0 network_score_service_26_0 network_time_update_service_26_0 notification_service_26_0 oem_lock_service_26_0 otadexopt_service_26_0 overlay_service_26_0 package_service_26_0 permission_service_26_0 persistent_data_block_service_26_0 pinner_service_26_0 power_service_26_0 print_service_26_0 processinfo_service_26_0 procstats_service_26_0 recovery_service_26_0 registry_service_26_0 restrictions_service_26_0 rttmanager_service_26_0 samplingprofiler_service_26_0 scheduling_policy_service_26_0 search_service_26_0 sec_key_att_app_id_provider_service_26_0 sensorservice_service_26_0 serial_service_26_0 servicediscovery_service_26_0 settings_service_26_0 shortcut_service_26_0 statusbar_service_26_0 storagestats_service_26_0 task_service_26_0 textclassification_service_26_0 textservices_service_26_0 telecom_service_26_0 trust_service_26_0 tv_input_service_26_0 uimode_service_26_0 updatelock_service_26_0 usagestats_service_26_0 usb_service_26_0 user_service_26_0 vibrator_service_26_0 voiceinteraction_service_26_0 vr_manager_service_26_0 wallpaper_service_26_0 webviewupdate_service_26_0 wifip2p_service_26_0 wifiscanner_service_26_0 wifi_service_26_0 wifiaware_service_26_0 window_service_26_0))
|
(typeattributeset system_server_service (accessibility_service_26_0 account_service_26_0 activity_service_26_0 alarm_service_26_0 appops_service_26_0 appwidget_service_26_0 assetatlas_service_26_0 audio_service_26_0 autofill_service_26_0 backup_service_26_0 batterystats_service_26_0 battery_service_26_0 bluetooth_manager_service_26_0 cameraproxy_service_26_0 clipboard_service_26_0 contexthub_service_26_0 IProxyService_service_26_0 commontime_management_service_26_0 companion_device_service_26_0 connectivity_service_26_0 connmetrics_service_26_0 consumer_ir_service_26_0 content_service_26_0 country_detector_service_26_0 coverage_service_26_0 cpuinfo_service_26_0 dbinfo_service_26_0 device_policy_service_26_0 deviceidle_service_26_0 device_identifiers_service_26_0 devicestoragemonitor_service_26_0 diskstats_service_26_0 display_service_26_0 font_service_26_0 netd_listener_service_26_0 DockObserver_service_26_0 dreams_service_26_0 dropbox_service_26_0 ethernet_service_26_0 fingerprint_service_26_0 gfxinfo_service_26_0 graphicsstats_service_26_0 hardware_service_26_0 hardware_properties_service_26_0 hdmi_control_service_26_0 input_method_service_26_0 input_service_26_0 imms_service_26_0 ipsec_service_26_0 jobscheduler_service_26_0 launcherapps_service_26_0 location_service_26_0 lock_settings_service_26_0 media_projection_service_26_0 media_router_service_26_0 media_session_service_26_0 meminfo_service_26_0 midi_service_26_0 mount_service_26_0 netpolicy_service_26_0 netstats_service_26_0 network_management_service_26_0 network_score_service_26_0 network_time_update_service_26_0 notification_service_26_0 oem_lock_service_26_0 otadexopt_service_26_0 overlay_service_26_0 package_service_26_0 permission_service_26_0 persistent_data_block_service_26_0 pinner_service_26_0 power_service_26_0 print_service_26_0 processinfo_service_26_0 procstats_service_26_0 recovery_service_26_0 registry_service_26_0 restrictions_service_26_0 rttmanager_service_26_0 samplingprofiler_service_26_0 scheduling_policy_service_26_0 search_service_26_0 sec_key_att_app_id_provider_service_26_0 sensorservice_service_26_0 serial_service_26_0 servicediscovery_service_26_0 settings_service_26_0 shortcut_service_26_0 statusbar_service_26_0 storagestats_service_26_0 task_service_26_0 textclassification_service_26_0 textservices_service_26_0 telecom_service_26_0 trust_service_26_0 tv_input_service_26_0 uimode_service_26_0 updatelock_service_26_0 usagestats_service_26_0 usb_service_26_0 user_service_26_0 vibrator_service_26_0 voiceinteraction_service_26_0 vr_manager_service_26_0 wallpaper_service_26_0 webviewupdate_service_26_0 wifip2p_service_26_0 wifiscanner_service_26_0 wifi_service_26_0 wifiaware_service_26_0 window_service_26_0))
|
||||||
@ -157,7 +157,7 @@
|
|||||||
(typeattributeset hal_wifi_supplicant (hal_wifi_supplicant_default hostapd))
|
(typeattributeset hal_wifi_supplicant (hal_wifi_supplicant_default hostapd))
|
||||||
(typeattributeset hal_wifi_supplicant_server (hal_wifi_supplicant_default hostapd))
|
(typeattributeset hal_wifi_supplicant_server (hal_wifi_supplicant_default hostapd))
|
||||||
(typeattribute mtk_core_property_type)
|
(typeattribute mtk_core_property_type)
|
||||||
(typeattributeset mtk_core_property_type (persist_ril_prop gsm0710muxd_prop debug_mtklog_prop persist_mtklog_prop debug_netlog_prop mtk_wifi_prop debug_mdlogger_prop persist_mtk_aee_prop persist_aee_prop debug_mtk_aee_prop debug_bq_dump_prop ril_active_md_prop ril_mux_report_case_prop ril_cdma_report_prop mtk_md_prop pppoe_ppp0_prop bootani_prop mnld_prop audiohal_prop wmt_prop net_cdma_mdmstat bt_prop persist_bt_prop factory_idle_state_prop ftrace_log_prop service_nvram_init_prop wifi_5g_prop mtk_em_prop mediatek_prop mtk_em_pdn_prop mtk_em_ims_simulate_prop mtk_em_auto_answer_prop mtk_em_bt_sspdebug_prop mtk_em_net_auto_tethering_prop mtk_wod_prop persist_wod_prop persist_mal_prop volte_prop))
|
(typeattributeset mtk_core_property_type (persist_ril_prop gsm0710muxd_prop debug_mtklog_prop persist_mtklog_prop debug_netlog_prop mtk_wifi_prop debug_mdlogger_prop persist_mtk_aee_prop persist_aee_prop debug_mtk_aee_prop debug_bq_dump_prop ril_active_md_prop ril_mux_report_case_prop ril_cdma_report_prop mtk_md_prop pppoe_ppp0_prop bootani_prop mnld_prop audiohal_prop wmt_prop net_cdma_mdmstat bt_prop persist_bt_prop vendor_factory_idle_state_prop ftrace_log_prop service_nvram_init_prop wifi_5g_prop mtk_em_prop mediatek_prop mtk_em_pdn_prop mtk_em_ims_simulate_prop mtk_em_auto_answer_prop mtk_em_bt_sspdebug_prop mtk_em_net_auto_tethering_prop mtk_wod_prop persist_wod_prop persist_mal_prop volte_prop))
|
||||||
(typeattribute mtk_hal_lbs)
|
(typeattribute mtk_hal_lbs)
|
||||||
(typeattributeset mtk_hal_lbs (lbs_hidl_service))
|
(typeattributeset mtk_hal_lbs (lbs_hidl_service))
|
||||||
(typeattribute mtk_hal_lbs_client)
|
(typeattribute mtk_hal_lbs_client)
|
||||||
@ -2841,8 +2841,8 @@
|
|||||||
(roletype object_r bt_prop)
|
(roletype object_r bt_prop)
|
||||||
(type persist_bt_prop)
|
(type persist_bt_prop)
|
||||||
(roletype object_r persist_bt_prop)
|
(roletype object_r persist_bt_prop)
|
||||||
(type factory_idle_state_prop)
|
(type vendor_factory_idle_state_prop)
|
||||||
(roletype object_r factory_idle_state_prop)
|
(roletype object_r vendor_factory_idle_state_prop)
|
||||||
(type ftrace_log_prop)
|
(type ftrace_log_prop)
|
||||||
(roletype object_r ftrace_log_prop)
|
(roletype object_r ftrace_log_prop)
|
||||||
(type service_nvram_init_prop)
|
(type service_nvram_init_prop)
|
||||||
@ -7866,7 +7866,7 @@
|
|||||||
(allow factory_26_0 storage_file_26_0 (dir (write create mounton add_name search)))
|
(allow factory_26_0 storage_file_26_0 (dir (write create mounton add_name search)))
|
||||||
(allow factory_26_0 factory_data_file (file (ioctl read write create getattr setattr lock append unlink rename open)))
|
(allow factory_26_0 factory_data_file (file (ioctl read write create getattr setattr lock append unlink rename open)))
|
||||||
(allow factory_26_0 shell_exec_26_0 (file (ioctl read getattr lock open)))
|
(allow factory_26_0 shell_exec_26_0 (file (ioctl read getattr lock open)))
|
||||||
(allow factory_26_0 factory_idle_state_prop (property_service (set)))
|
(allow factory_26_0 vendor_factory_idle_state_prop (property_service (set)))
|
||||||
(allow factory_26_0 agpsd_data_file (dir (search)))
|
(allow factory_26_0 agpsd_data_file (dir (search)))
|
||||||
(allow factory_26_0 apk_data_file_26_0 (dir (write)))
|
(allow factory_26_0 apk_data_file_26_0 (dir (write)))
|
||||||
(allow factory_26_0 gps_data_file (dir (write unlink add_name remove_name search)))
|
(allow factory_26_0 gps_data_file (dir (write unlink add_name remove_name search)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user