10fed37d5Sopenharmony_ci{ 20fed37d5Sopenharmony_ci "permissions" : [ 30fed37d5Sopenharmony_ci { 40fed37d5Sopenharmony_ci "name" : "ohos.permission.MANAGE_HAP_TOKENID", 50fed37d5Sopenharmony_ci "said" : "3503", 60fed37d5Sopenharmony_ci "description" : "Invoke AccessToken::AccessTokenKit::AllocHapToken interface should have own this permission." 70fed37d5Sopenharmony_ci }, 80fed37d5Sopenharmony_ci { 90fed37d5Sopenharmony_ci "name" : "ohos.permission.PERMISSION_USED_STATS", 100fed37d5Sopenharmony_ci "said" : "3299", 110fed37d5Sopenharmony_ci "description" : "Invoke AccessToken::PrivacyKit::AddPermissionUsedRecord interface should have own this permission." 120fed37d5Sopenharmony_ci }, 130fed37d5Sopenharmony_ci { 140fed37d5Sopenharmony_ci "name" : "ohos.permission.MANAGE_AUDIO_CONFIG", 150fed37d5Sopenharmony_ci "said" : "4005", 160fed37d5Sopenharmony_ci "description" : "permission required for telephony to set microphone mute." 170fed37d5Sopenharmony_ci }, 180fed37d5Sopenharmony_ci { 190fed37d5Sopenharmony_ci "name" : "ohos.permission.WRITE_CALL_LOG", 200fed37d5Sopenharmony_ci "said" : "4005", 210fed37d5Sopenharmony_ci "description" : "permission required for telephony to write call log." 220fed37d5Sopenharmony_ci }, 230fed37d5Sopenharmony_ci { 240fed37d5Sopenharmony_ci "name" : "ohos.permission.READ_CONTACTS", 250fed37d5Sopenharmony_ci "said" : "4005", 260fed37d5Sopenharmony_ci "description" : "permission required for telephony to read contacts info." 270fed37d5Sopenharmony_ci }, 280fed37d5Sopenharmony_ci { 290fed37d5Sopenharmony_ci "name" : "ohos.permission.START_ABILITIES_FROM_BACKGROUND", 300fed37d5Sopenharmony_ci "said" : "4005", 310fed37d5Sopenharmony_ci "description" : "Permission required for telephony to access AbillityManagerService." 320fed37d5Sopenharmony_ci }, 330fed37d5Sopenharmony_ci { 340fed37d5Sopenharmony_ci "name" : "ohos.permission.START_SYSTEM_DIALOG", 350fed37d5Sopenharmony_ci "said" : "4005", 360fed37d5Sopenharmony_ci "description" : "permission required for telephony to start system dialog." 370fed37d5Sopenharmony_ci }, 380fed37d5Sopenharmony_ci { 390fed37d5Sopenharmony_ci "name" : "ohos.permission.MODIFY_AUDIO_SETTINGS", 400fed37d5Sopenharmony_ci "said" : "4005", 410fed37d5Sopenharmony_ci "description" : "permission required for telephony to set audio mode." 420fed37d5Sopenharmony_ci }, 430fed37d5Sopenharmony_ci { 440fed37d5Sopenharmony_ci "name" : "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", 450fed37d5Sopenharmony_ci "said" : "401", 460fed37d5Sopenharmony_ci "description" : "Permission required for BMS to grant sensitive permissions." 470fed37d5Sopenharmony_ci }, 480fed37d5Sopenharmony_ci { 490fed37d5Sopenharmony_ci "name" : "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS", 500fed37d5Sopenharmony_ci "said" : "401", 510fed37d5Sopenharmony_ci "description" : "Permission required for BMS to revoke sensitive permissions." 520fed37d5Sopenharmony_ci }, 530fed37d5Sopenharmony_ci { 540fed37d5Sopenharmony_ci "name" : "ohos.permission.STORAGE_MANAGER", 550fed37d5Sopenharmony_ci "said" : ["183"], 560fed37d5Sopenharmony_ci "description" : "Permission required for UPMS to create or delete files shared between applications." 570fed37d5Sopenharmony_ci }, 580fed37d5Sopenharmony_ci { 590fed37d5Sopenharmony_ci "name" : "ohos.permission.PROXY_AUTHORIZATION_URI", 600fed37d5Sopenharmony_ci "said" : ["180"], 610fed37d5Sopenharmony_ci "description" : "Permission required for Grant Uri permission between applications." 620fed37d5Sopenharmony_ci }, 630fed37d5Sopenharmony_ci { 640fed37d5Sopenharmony_ci "name" : "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION", 650fed37d5Sopenharmony_ci "said" : "403", 660fed37d5Sopenharmony_ci "description" : "Permission required for FMS to communicate in the background." 670fed37d5Sopenharmony_ci }, 680fed37d5Sopenharmony_ci { 690fed37d5Sopenharmony_ci "name" : "ohos.permission.MANAGE_LOCAL_ACCOUNTS", 700fed37d5Sopenharmony_ci "said" : "403", 710fed37d5Sopenharmony_ci "description" : "Permission required for FMS to manage local accounts." 720fed37d5Sopenharmony_ci }, 730fed37d5Sopenharmony_ci { 740fed37d5Sopenharmony_ci "name" : "ohos.permission.LISTEN_BUNDLE_CHANGE", 750fed37d5Sopenharmony_ci "said" : "403", 760fed37d5Sopenharmony_ci "description" : "Permission required for FMS to listen bundle change." 770fed37d5Sopenharmony_ci }, 780fed37d5Sopenharmony_ci { 790fed37d5Sopenharmony_ci "name" : "ohos.permission.INSTALL_SANDBOX_BUNDLE", 800fed37d5Sopenharmony_ci "said" : "403", 810fed37d5Sopenharmony_ci "description" : "Permission required for FMS to install sandbox bundle." 820fed37d5Sopenharmony_ci }, 830fed37d5Sopenharmony_ci { 840fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_TELEPHONY_STATE", 850fed37d5Sopenharmony_ci "said" : "4005", 860fed37d5Sopenharmony_ci "description" : "Permission required for telephony to get lock state of sim card." 870fed37d5Sopenharmony_ci }, 880fed37d5Sopenharmony_ci { 890fed37d5Sopenharmony_ci "name" : "ohos.permission.CONNECT_CELLULAR_CALL_SERVICE", 900fed37d5Sopenharmony_ci "said" : "4005", 910fed37d5Sopenharmony_ci "description" : "Permission required for telephony to connect cellular call service." 920fed37d5Sopenharmony_ci }, 930fed37d5Sopenharmony_ci { 940fed37d5Sopenharmony_ci "name" : "ohos.permission.SEND_MESSAGES", 950fed37d5Sopenharmony_ci "said" : "4005", 960fed37d5Sopenharmony_ci "description" : "Permission required for telephony to send reject call sms." 970fed37d5Sopenharmony_ci }, 980fed37d5Sopenharmony_ci { 990fed37d5Sopenharmony_ci "name" : "ohos.permission.SET_TELEPHONY_STATE", 1000fed37d5Sopenharmony_ci "said" : "4005", 1010fed37d5Sopenharmony_ci "description" : "Permission required for telephony to update call state." 1020fed37d5Sopenharmony_ci }, 1030fed37d5Sopenharmony_ci { 1040fed37d5Sopenharmony_ci "name" : "ohos.permission.VIBRATE", 1050fed37d5Sopenharmony_ci "said" : "4005", 1060fed37d5Sopenharmony_ci "description" : "Permission required for telephony to vibrate." 1070fed37d5Sopenharmony_ci }, 1080fed37d5Sopenharmony_ci { 1090fed37d5Sopenharmony_ci "name" : "ohos.permission.UPDATE_CONFIGURATION", 1100fed37d5Sopenharmony_ci "said" : "501", 1110fed37d5Sopenharmony_ci "description" : "Permission required for APPMS to update configuration when pointer device status change." 1120fed37d5Sopenharmony_ci }, 1130fed37d5Sopenharmony_ci { 1140fed37d5Sopenharmony_ci "name" : "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT", 1150fed37d5Sopenharmony_ci "said" : "1901", 1160fed37d5Sopenharmony_ci "description" : "Permission required for AMS to report resource schedule event to RSS." 1170fed37d5Sopenharmony_ci }, 1180fed37d5Sopenharmony_ci { 1190fed37d5Sopenharmony_ci "name" : "ohos.permission.START_INVISIBLE_ABILITY", 1200fed37d5Sopenharmony_ci "said" : "180", 1210fed37d5Sopenharmony_ci "description" : "Permission required for AMS to start LAUNCHER." 1220fed37d5Sopenharmony_ci }, 1230fed37d5Sopenharmony_ci { 1240fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_BUNDLE_INFO", 1250fed37d5Sopenharmony_ci "said" : "3203", 1260fed37d5Sopenharmony_ci "description" : "Permission required for ReminderRequest to update the database." 1270fed37d5Sopenharmony_ci }, 1280fed37d5Sopenharmony_ci { 1290fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_SUSPEND_STATE", 1300fed37d5Sopenharmony_ci "said" : "1910", 1310fed37d5Sopenharmony_ci "description" : "Permission required for AMS to register suspend state observer." 1320fed37d5Sopenharmony_ci }, 1330fed37d5Sopenharmony_ci { 1340fed37d5Sopenharmony_ci "name" : "ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT", 1350fed37d5Sopenharmony_ci "said" : "3704", 1360fed37d5Sopenharmony_ci "description" : "Permission required for ScreenLock to publish a common event." 1370fed37d5Sopenharmony_ci }, 1380fed37d5Sopenharmony_ci { 1390fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 1400fed37d5Sopenharmony_ci "said" : "401", 1410fed37d5Sopenharmony_ci "description" : "Permission required for BMS to get bundle info privileged." 1420fed37d5Sopenharmony_ci }, 1430fed37d5Sopenharmony_ci { 1440fed37d5Sopenharmony_ci "name" : "ohos.permission.CLEAN_APPLICATION_DATA", 1450fed37d5Sopenharmony_ci "said" : "401", 1460fed37d5Sopenharmony_ci "description" : "Permission required for BMS to clean application data." 1470fed37d5Sopenharmony_ci }, 1480fed37d5Sopenharmony_ci { 1490fed37d5Sopenharmony_ci "name" : "ohos.permission.REMOVE_CACHE_FILES", 1500fed37d5Sopenharmony_ci "said" : "401", 1510fed37d5Sopenharmony_ci "description" : "Permission required for BMS to remove cache files." 1520fed37d5Sopenharmony_ci }, 1530fed37d5Sopenharmony_ci { 1540fed37d5Sopenharmony_ci "name" : "ohos.permission.USE_BLUETOOTH", 1550fed37d5Sopenharmony_ci "said" : "4005", 1560fed37d5Sopenharmony_ci "description" : "Permission required for telephony to use bluetooth." 1570fed37d5Sopenharmony_ci }, 1580fed37d5Sopenharmony_ci { 1590fed37d5Sopenharmony_ci "name" : "ohos.permission.CONNECTIVITY_INTERNAL", 1600fed37d5Sopenharmony_ci "said" : "1151", 1610fed37d5Sopenharmony_ci "description" : "Permission required for connectivity to netconnectmgr." 1620fed37d5Sopenharmony_ci }, 1630fed37d5Sopenharmony_ci { 1640fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_RUNNING_INFO", 1650fed37d5Sopenharmony_ci "said" : "180", 1660fed37d5Sopenharmony_ci "description" : "Permission required for BMS to get running info." 1670fed37d5Sopenharmony_ci }, 1680fed37d5Sopenharmony_ci { 1690fed37d5Sopenharmony_ci "name" : "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", 1700fed37d5Sopenharmony_ci "said" : "180", 1710fed37d5Sopenharmony_ci "description" : "Permission required for foundation to interact across local accounts." 1720fed37d5Sopenharmony_ci }, 1730fed37d5Sopenharmony_ci { 1740fed37d5Sopenharmony_ci "name" : "ohos.permission.RUNNING_STATE_OBSERVER", 1750fed37d5Sopenharmony_ci "said" : "180", 1760fed37d5Sopenharmony_ci "description" : "Permission required for AMS to register application state observer." 1770fed37d5Sopenharmony_ci }, 1780fed37d5Sopenharmony_ci { 1790fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_INSTALLED_BUNDLE_LIST", 1800fed37d5Sopenharmony_ci "said" : "6105", 1810fed37d5Sopenharmony_ci "description" : "Permission required for ERMS to query installed bundle list." 1820fed37d5Sopenharmony_ci }, 1830fed37d5Sopenharmony_ci { 1840fed37d5Sopenharmony_ci "name" : "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION", 1850fed37d5Sopenharmony_ci "said" : "6105", 1860fed37d5Sopenharmony_ci "description" : "Permission required for ERMS to register account observer." 1870fed37d5Sopenharmony_ci }, 1880fed37d5Sopenharmony_ci { 1890fed37d5Sopenharmony_ci "name" : "ohos.permission.MANAGE_USER_ACCOUNT_INFO", 1900fed37d5Sopenharmony_ci "said" : "6105", 1910fed37d5Sopenharmony_ci "description" : "Permission required for ERMS to query huawei id state." 1920fed37d5Sopenharmony_ci }, 1930fed37d5Sopenharmony_ci { 1940fed37d5Sopenharmony_ci "name" : "ohos.permission.GET_NETWORK_INFO", 1950fed37d5Sopenharmony_ci "said" : "4005", 1960fed37d5Sopenharmony_ci "description" : "Permission required for telephony to get network info." 1970fed37d5Sopenharmony_ci }, 1980fed37d5Sopenharmony_ci { 1990fed37d5Sopenharmony_ci "name" : "ohos.permission.MANAGE_BLUETOOTH", 2000fed37d5Sopenharmony_ci "said" : "1130", 2010fed37d5Sopenharmony_ci "description" : "Native uses the Bluetooth interface" 2020fed37d5Sopenharmony_ci }, 2030fed37d5Sopenharmony_ci { 2040fed37d5Sopenharmony_ci "name" : "ohos.permission.REQUIRE_FORM", 2050fed37d5Sopenharmony_ci "said" : "403", 2060fed37d5Sopenharmony_ci "description" : "Permission required for FMS to access theme manager service." 2070fed37d5Sopenharmony_ci }, 2080fed37d5Sopenharmony_ci { 2090fed37d5Sopenharmony_ci "name" : "ohos.permission.ACCESS_SPAMSHIELD_SERVICE", 2100fed37d5Sopenharmony_ci "said" : "4005", 2110fed37d5Sopenharmony_ci "description" : "Permission required for telephony to access spamshield service." 2120fed37d5Sopenharmony_ci }, 2130fed37d5Sopenharmony_ci { 2140fed37d5Sopenharmony_ci "name" : "ohos.permission.APPROXIMATELY_LOCATION", 2150fed37d5Sopenharmony_ci "said" : "4005", 2160fed37d5Sopenharmony_ci "description" : "Permission required for location earthquake alarm." 2170fed37d5Sopenharmony_ci }, 2180fed37d5Sopenharmony_ci { 2190fed37d5Sopenharmony_ci "name" : "ohos.permission.LOCATION", 2200fed37d5Sopenharmony_ci "said" : "4005", 2210fed37d5Sopenharmony_ci "description" : "Permission required for location earthquake alarm." 2220fed37d5Sopenharmony_ci }, 2230fed37d5Sopenharmony_ci { 2240fed37d5Sopenharmony_ci "name" : "ohos.permission.LOCATION_IN_BACKGROUND", 2250fed37d5Sopenharmony_ci "said" : "4005", 2260fed37d5Sopenharmony_ci "description" : "Permission required for location earthquake alarm." 2270fed37d5Sopenharmony_ci }, 2280fed37d5Sopenharmony_ci { 2290fed37d5Sopenharmony_ci "name" : "ohos.permission.CAPTURE_SCREEN", 2300fed37d5Sopenharmony_ci "said" : "4607", 2310fed37d5Sopenharmony_ci "description" : "Permission required for DMS to access render service TakeSurfaceCapture." 2320fed37d5Sopenharmony_ci }, 2330fed37d5Sopenharmony_ci { 2340fed37d5Sopenharmony_ci "name" : "ohos.permission.MANAGE_MISSIONS", 2350fed37d5Sopenharmony_ci "said" : "180", 2360fed37d5Sopenharmony_ci "description" : "Permission required for ams to move scene_board to foreground or background." 2370fed37d5Sopenharmony_ci }, 2380fed37d5Sopenharmony_ci { 2390fed37d5Sopenharmony_ci "name" : "ohos.permission.CONNECT_FORM_EXTENSION", 2400fed37d5Sopenharmony_ci "said" : "180", 2410fed37d5Sopenharmony_ci "description" : "Permission required for FMS to connect form extension." 2420fed37d5Sopenharmony_ci }, 2430fed37d5Sopenharmony_ci { 2440fed37d5Sopenharmony_ci "name" : "ohos.permission.CONNECT_STATIC_SUBSCRIBER_EXTENSION", 2450fed37d5Sopenharmony_ci "said" : "180", 2460fed37d5Sopenharmony_ci "description" : "Permission required for CES to connect static subscriber extension." 2470fed37d5Sopenharmony_ci }, 2480fed37d5Sopenharmony_ci { 2490fed37d5Sopenharmony_ci "name" : "ohos.permission.ACCESS_USER_AUTH_INTERNAL", 2500fed37d5Sopenharmony_ci "said" : "3704", 2510fed37d5Sopenharmony_ci "description" : "Permission required for ScreenLock to observer user auth state." 2520fed37d5Sopenharmony_ci } 2530fed37d5Sopenharmony_ci ], 2540fed37d5Sopenharmony_ci "restart" : [ 2550fed37d5Sopenharmony_ci { 2560fed37d5Sopenharmony_ci "name" : "unset_bootevent bootevent.appfwk.ready", 2570fed37d5Sopenharmony_ci "said" : "180", 2580fed37d5Sopenharmony_ci "description" : "before restart foundation process, unset bootevent.appfwk.ready" 2590fed37d5Sopenharmony_ci }, 2600fed37d5Sopenharmony_ci { 2610fed37d5Sopenharmony_ci "name" : "unset_bootevent bootevent.lockscreen.ready", 2620fed37d5Sopenharmony_ci "said" : "180", 2630fed37d5Sopenharmony_ci "description" : "before restart foundation process, unset bootevent.lockscreen.ready" 2640fed37d5Sopenharmony_ci }, 2650fed37d5Sopenharmony_ci { 2660fed37d5Sopenharmony_ci "name" : "reset accountmgr", 2670fed37d5Sopenharmony_ci "said" : "180", 2680fed37d5Sopenharmony_ci "description" : "AMS requires accountmgr to restart" 2690fed37d5Sopenharmony_ci }, 2700fed37d5Sopenharmony_ci { 2710fed37d5Sopenharmony_ci "name" : "reset appspawn", 2720fed37d5Sopenharmony_ci "said" : "180", 2730fed37d5Sopenharmony_ci "description" : "AMS requires all application to restart" 2740fed37d5Sopenharmony_ci }, 2750fed37d5Sopenharmony_ci { 2760fed37d5Sopenharmony_ci "name" : "reset bgtaskmgr_service", 2770fed37d5Sopenharmony_ci "said" : "180", 2780fed37d5Sopenharmony_ci "description" : "bgtaskmgr_service rely on AMS, need to restart" 2790fed37d5Sopenharmony_ci }, 2800fed37d5Sopenharmony_ci { 2810fed37d5Sopenharmony_ci "name" : "reset inputmethod_service", 2820fed37d5Sopenharmony_ci "said" : "3703", 2830fed37d5Sopenharmony_ci "description" : "inputmethod_service rely on WMS, need to restart" 2840fed37d5Sopenharmony_ci }, 2850fed37d5Sopenharmony_ci { 2860fed37d5Sopenharmony_ci "name" : "reset resource_schedule_service", 2870fed37d5Sopenharmony_ci "said" : "180", 2880fed37d5Sopenharmony_ci "description" : "resource_schedule_service rely on AMS, need to restart" 2890fed37d5Sopenharmony_ci }, 2900fed37d5Sopenharmony_ci { 2910fed37d5Sopenharmony_ci "name" : "reset device_usage_stats_service", 2920fed37d5Sopenharmony_ci "said" : "180", 2930fed37d5Sopenharmony_ci "description" : "device_usage_stats_service rely on AMS, need to restart" 2940fed37d5Sopenharmony_ci } 2950fed37d5Sopenharmony_ci ], 2960fed37d5Sopenharmony_ci "mkdir" : [ 2970fed37d5Sopenharmony_ci { 2980fed37d5Sopenharmony_ci "name" : "mkdir notification", 2990fed37d5Sopenharmony_ci "said" : "3203", 3000fed37d5Sopenharmony_ci "description" : "Move notification db from /data/system_ce/ans_standard to /data/service/el1/public/notification/." 3010fed37d5Sopenharmony_ci }, 3020fed37d5Sopenharmony_ci { 3030fed37d5Sopenharmony_ci "name" : "mkdir window", 3040fed37d5Sopenharmony_ci "said" : "4606", 3050fed37d5Sopenharmony_ci "description" : "Create window directory for window_manager to save window params at /data/service/el1/public/window/" 3060fed37d5Sopenharmony_ci }, 3070fed37d5Sopenharmony_ci { 3080fed37d5Sopenharmony_ci "name" : "mkdir common_event_service", 3090fed37d5Sopenharmony_ci "said" : "3299", 3100fed37d5Sopenharmony_ci "description" : "Create common_event_service directory for common_event_service to save data file at /data/service/el1/public/database/common_event_service" 3110fed37d5Sopenharmony_ci }, 3120fed37d5Sopenharmony_ci { 3130fed37d5Sopenharmony_ci "name" : "mkdir auto_startup_service", 3140fed37d5Sopenharmony_ci "said" : "180", 3150fed37d5Sopenharmony_ci "description" : "Create auto_start_up_service directory for auto_startup_service to save data file at /data/service/el1/public/database/auto_startup_service" 3160fed37d5Sopenharmony_ci }, 3170fed37d5Sopenharmony_ci { 3180fed37d5Sopenharmony_ci "name" : "mkdir app_config_data", 3190fed37d5Sopenharmony_ci "said" : "501", 3200fed37d5Sopenharmony_ci "description" : "Create app_config_data directory for app_manager_service to save data file at /data/service/el1/public/database/app_config_data" 3210fed37d5Sopenharmony_ci }, 3220fed37d5Sopenharmony_ci { 3230fed37d5Sopenharmony_ci "name" : "mkdir app_exit_reason", 3240fed37d5Sopenharmony_ci "said" : "180", 3250fed37d5Sopenharmony_ci "description" : "Create app_exit_reason directory for ability_manager_service to save data file at /data/service/el1/public/database/app_exit_reason" 3260fed37d5Sopenharmony_ci }, 3270fed37d5Sopenharmony_ci { 3280fed37d5Sopenharmony_ci "name" : "mkdir ability_manager_service", 3290fed37d5Sopenharmony_ci "said" : "180", 3300fed37d5Sopenharmony_ci "description" : "Create ability_manager_service directory for ability_manager_service to save data file at /data/service/el1/public/database/ability_manager_service" 3310fed37d5Sopenharmony_ci } 3320fed37d5Sopenharmony_ci ], 3330fed37d5Sopenharmony_ci "bootevents" : [ 3340fed37d5Sopenharmony_ci { 3350fed37d5Sopenharmony_ci "name" : "bootevent.wms.fullscreen.ready", 3360fed37d5Sopenharmony_ci "said" : "4606", 3370fed37d5Sopenharmony_ci "description" : "WMS define fullscreen ready event" 3380fed37d5Sopenharmony_ci } 3390fed37d5Sopenharmony_ci ] 3400fed37d5Sopenharmony_ci} 341