public final class SystemPermission extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
ACCELEROMETER |
Allows an application to read data from an acceleration sensor, uncalibrated acceleration sensor,
or linear acceleration sensor.
|
static String |
ACCESS_BIOMETRIC |
Allows an application to use biometric recognition for identity authentication.
|
static String |
ACCESS_BIOMETRIC_INTERNAL |
Allows a system application to apply for or release biometric recognition resources.
|
static String |
ACCESS_DISTRIBUTED_ABILITY |
已过时。
This change is effective since API version 4. This permission is no longer used.
|
static String |
ACCESS_FM_AM |
Allows an application to access radio services.
|
static String |
ACCESS_HW_ASSETSTORE_SERVICE |
Allows a system application to call some privileged APIs of Asset.
|
static String |
ACCESS_HW_KEYSTORE |
Allows an application to manage the lifecycle of keys and use keys for encryption and decryption.
|
static String |
ACCESS_MISSIONS |
Allows a system application to obtain information about running processes and tasks in a task stack.
|
static String |
ACCESS_MISSIONS_EXTRA |
Allows the application to access the extended information of a task stack.
|
static String |
ACCESS_NOTIFICATION_POLICY |
Allows the application to access the notification policy on the device, for example,
to mute the mobile phone.
|
static String |
ACCESS_UDID |
Allows a system application to obtain the Unified Device ID (UDID).
|
static String |
ACTIVITY_MOTION |
Allows an application to read the current workout status of the user,
such as detecting whether the user is working out and recording the number of steps the user has taken.
|
static String |
ANSWER_CALL |
Allows an application to answer incoming calls.
|
static String |
BIND_DISTRIBUTED_DATA_SERVICE |
Allows system services to access the Distributed Data Management Process (DDMP) service.
|
static String |
BUNDLE_ACTIVE_INFO |
Allows a system application to obtain how long other applications
have been running in the foreground or background.
|
static String |
CAMERA |
Allows an application to use the camera.
|
static String |
CAPTURE_SCREEN |
Allows the app to take screenshots.
|
static String |
CHANGE_ABILITY_ENABLED_STATE |
Allows a system application to enable or disable an application or component.
|
static String |
CLEAN_BACKGROUND_PROCESSES |
Allows an application to clear background processes based on their bundle names.
|
static String |
COMMONEVENT_STICKY |
Allows an application to publish a sticky common event.
|
static String |
CONNECT_ACCESSIBILITY_ABILITY |
Allows an auxiliary service of the accessibility service to be bound with the accessibility service.
|
static String |
CONNECT_IME_ABILITY |
Allows a system application or service to bind the
InputMethodAbility. |
static String |
CONNECT_SCREEN_SAVER_ABILITY |
Allows a system application or service to bind the
ScreenSaverAbility. |
static String |
CONNECT_WALLPAPER |
已过时。
This change is effective since API version 4. Please do not use any more.
|
static String |
CONTROL_TASK_SYNC_ANIMATOR |
Allows applications to use sync task animations
|
static String |
CONTROL_VEHICLE_HMI_INFO |
已过时。
This change is effective since API version 4. Please do not use any more.
|
static String |
DELETE_MISSIONS |
Allows the application to delete tasks.
|
static String |
DISCOVER_BLUETOOTH |
Allows an application to configure Bluetooth on a device
(such as setting the Bluetooth nameand enabling or disabling Bluetooth),
initiate or cancel a scan for Bluetooth devices, and pair with Bluetooth devices.
|
static String |
DISTRIBUTE_SERVICE |
Allows an application to start a specified HarmonyOS ability on the current device or any other trusted device,
no matter whether the service is installed on the device.
|
static String |
DISTRIBUTED_DATA |
Allows an application to access distributed features, such as distributed databases and files.
|
static String |
DISTRIBUTED_DATASYNC |
Allows an application to exchange user data (such as images, music, videos,
and application data) with another device.
|
static String |
DISTRIBUTED_IOT_DATASYNC |
Allows an application on the current device to collaborate with a smart IoT device
|
static String |
DISTRIBUTED_VIRTUALDEVICE |
Allows an application to discover and access other devices for multi-device collaboration.
|
static String |
DOWNLOAD_SESSION_MANAGER |
Allows a system application to manage download sessions.
|
static String |
ENROLL_BIOMETRIC |
Allows a system application to add or remove biometric data.
|
static String |
FORMAT_USER_STORAGE |
Allows a system application to format and partition user storage.
|
static String |
GET_ALL_APP_ACCOUNTS |
Obtains all account information of the specified account owner.
|
static String |
GET_BUNDLE_INFO |
Allows a non-system application to query information about other applications.
|
static String |
GET_BUNDLE_INFO_PRIVILEGED |
Allows a privileged application to query information about other applications using the same signature.
|
static String |
GET_MPLINK_INFO |
Allows an application to obtain information about an MpLink that consists of a Wi-Fi network
and a cellular network.
|
static String |
GET_NETWORK_INFO |
Allows an application to obtain network information.
|
static String |
GET_SENSITIVE_PERMISSIONS |
Allows a system application to obtain the sensitive permissions that have been granted to other applications.
|
static String |
GET_TELEPHONY_STATE |
Allows an application to read telephony information.
|
static String |
GET_WALLPAPER |
Allows a system application to read wallpaper files.
|
static String |
GET_WIFI_CONFIG |
Allows an application to obtain the Wi-Fi configuration.
|
static String |
GET_WIFI_INFO |
Allows an application to obtain Wi-Fi information.
|
static String |
GET_WIFI_LOCAL_MAC |
Allows an application to obtain the MAC address of the local Wi-Fi or Bluetooth device.
|
static String |
GET_WIFI_PEERS_MAC |
Allows an application to obtain the MAC address of the peer Wi-Fi or Bluetooth device.
|
static String |
GRANT_SENSITIVE_PERMISSIONS |
Allows a system application to grant sensitive permissions to other applications.
|
static String |
GYROSCOPE |
Allows an application to read data from a gyroscope sensor or uncalibrated gyroscope sensor.
|
static String |
INPUT_MONITORING |
Allows the application to listen for input events.
|
static String |
INSTALL_BUNDLE |
Allows a system application to install and uninstall other applications.
|
static String |
INTERACT_ACROSS_LOCAL_ACCOUNTS |
Allows a system application to access accounts of other applications.
|
static String |
INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION |
Allows a system application to set the attributes of applications of other users.
|
static String |
INTERNET |
Allows an application to access the Internet.
|
static String |
KEEP_BACKGROUND_RUNNING |
Allows a service ability to keep running in the background.
|
static String |
LAUNCH_DATA_PRIVACY_CENTER |
Allows an application to switch from its privacy statement page to the Data & privacy page.
|
static String |
LISTEN_BUNDLE_CHANGE |
Allows a system application to listen for changes in other applications, when they are installed,
updated, or uninstalled.
|
static String |
LISTEN_PERMISSION_CHANGE |
Allows a system application to listen for permission changes of other applications.
|
static String |
LISTEN_PERMISSIONS_CHANGE |
已过时。
This change is effective since API version 4. Replaced by
LISTEN_PERMISSION_CHANGE. |
static String |
LOCATION |
Allows an application to obtain the device location.
|
static String |
LOCATION_IN_BACKGROUND |
Allows a background application to obtain the device location.
|
static String |
MANAGE_APP_POLICY |
Allows an application to manage policies of other applications.
|
static String |
MANAGE_BLUETOOTH |
Allows an application to pair with a Bluetooth device and access contacts or messages of the device.
|
static String |
MANAGE_DISTRIBUTED_PERMISSION |
Allows a system application to access capabilities provided
by the Distributed Permission Management System (DPMS).
|
static String |
MANAGE_ENHANCER_WIFI |
Allows an application to manage enhanced Wi-Fi functions.
|
static String |
MANAGE_LOCAL_ACCOUNTS |
Allows a system application to manage local user accounts.
|
static String |
MANAGE_MEDIA_RESOURCES |
Allows an application to obtain and manage the media resources that are being played on the device.
|
static String |
MANAGE_MISSIONS |
Allows the application to manage a task stack.
|
static String |
MANAGE_SECURE_SETTINGS |
Allows a system application to modify security settings.
|
static String |
MANAGE_SHORTCUTS |
Allows a system application to query and start shortcuts of other applications.
|
static String |
MANAGE_USER_STORAGE |
Allows a system application to mount and unmount user storage.
|
static String |
MANAGE_VOICEMAIL |
Allows an application to add messages in the voice mailbox.
|
static String |
MANAGE_WIFI_CONNECTION |
Allows an application to manage Wi-Fi connections, such as enabling and disabling Wi-Fi,
and connecting to and disconnecting from a Wi-Fi connection.
|
static String |
MANAGE_WIFI_HOTSPOT |
Allows an application to enable and disable a Wi-Fi hotspot.
|
static String |
MEDIA_LOCATION |
Allows an application to access location information (such as longitude and latitude) in a user media file.
|
static String |
MICROPHONE |
Allows an application to access the microphone.
|
static String |
MODIFY_AUDIO_SETTINGS |
Allows an application to modify audio settings.
|
static String |
MODIFY_SETTINGS |
Allows an application to modify common system settings by calling APIs.
|
static String |
MULTIMODAL_INPUT_ABILITY |
Allows a system application or service (such as a voice assistant) to access multimodal input
and to be controlled using a voice or gesture.
|
static String |
MULTIMODAL_INTERACTIVE |
Allows an application to subscribe to voice or gesture events.
|
static String |
NFC_CARD_EMULATION |
Allows an application to implement card emulation.
|
static String |
NFC_TAG |
Allows an application to read and write NFC tags.
|
static String |
NOTIFY_PERMISSION_CHANGE |
Allows a system application to notify permission changes of other applications.
|
static String |
PARENTCONTROL_HOME |
Allows an application to access the Digital Balance home screen.
|
static String |
PARENTCONTROL_PROVIDER |
Allows an application to access the Digital Balance primary database to obtain
whether Digital Balance is enabled, restricted applications, and how lon
these applications can be used each day.
|
static String |
PARENTCONTROL_USAGESTATS_READ |
Allows an application to access the Digital Balance statistics database to obtain
the usage of applications over the last seven days.
|
static String |
PERMISSION_USED_STATS |
Allows a system application to query permission access records.
|
static String |
PERMISSION_USING_REMIND |
Allows a system application to register or unregister a listener for permission use
with/from the distributed permission management service.
|
static String |
PLACE_CALL |
Allows an application to make regular and emergency calls without starting the dialer.
|
static String |
POWER_MANAGER |
Allows an application to hibernate or wake up the device by calling APIs.
|
static String |
POWER_OPTIMIZATION |
Allows a system application to set power saving mode, obtain configuration of the power saving mode,
and receive notifications of the configuration changes.
|
static String |
PREVENT_IMMEDIATE_LAUNCH |
Allows an application to prevent immediate switches between other applications.
|
static String |
PUBLISH_AGENT_REMINDER |
Allows an application to use the background agent to publish reminders for it.
|
static String |
RCV_NFC_TRANSACTION_EVENT |
Allows an application to register and listen for NFC card emulation transaction events.
|
static String |
READ_CALENDAR |
Allows an application to read calendar information.
|
static String |
READ_CALL_LOG |
Allows an application to read call logs.
|
static String |
READ_CELL_MESSAGES |
Allows an application to read cell broadcast messages received by the device.
|
static String |
READ_CONTACTS |
Allows an application to read contacts.
|
static String |
READ_HEALTH_DATA |
Allows an application to read the health data of the user, for example, the heart rate.
|
static String |
READ_MEDIA |
Allows an application to read media files (such as videos, audio, and images) from the device's external storage.
|
static String |
READ_MESSAGES |
Allows an application to read SMS messages.
|
static String |
READ_SCREEN_SAVER |
Allows an application to read the screen saver information,
such as the list of screen savers that have been installed and the activated one.
|
static String |
READ_USER_STORAGE |
已过时。
This change is effective since API version 5. Replaced by
READ_MEDIA. |
static String |
READ_VEHICLE_CHASSIS_INFO |
Allows an application to read the parking brake status and autonomous driving status of a vehicle.
|
static String |
READ_VEHICLE_EXTERIOR_ENVIRONMENT |
Allows an application to read the temperature of the vehicle's exterior environment.
|
static String |
READ_VEHICLE_FUEL_INFO |
Allows an application to read the location of the fuel cap or charge port.
|
static String |
READ_VEHICLE_HMI_INFO |
Allows an application to read the Human Machine Interface (HMI) information of a head unit.
|
static String |
READ_VEHICLE_IDENTIFICATION |
Allows an application to read basic vehicle information.
|
static String |
READ_VEHICLE_SPEED_INFO |
Allows an application to read the real-time speed of a vehicle.
|
static String |
READ_VEHICLE_STEERING_WHEEL |
Allows an application to read the configuration attributes on the steering wheel.
|
static String |
READ_VEHICLE_TRANSMISSION_INFO |
Allows an application to read the gear status (such as P, D, and N) of a vehicle.
|
static String |
REARRANGE_MISSIONS |
Allows an application to adjust the position of its task in the task stack,
for example, to the top of the task stack.
|
static String |
REBOOT |
Allows an application to restart the device.
|
static String |
REBOOT_RECOVERY |
Allows a system application to restart the device and enter Recovery mode.
|
static String |
RECEIVE_MMS |
Allows an application to receive and process MMS messages.
|
static String |
RECEIVE_SMS |
Allows an application to receive and process SMS messages.
|
static String |
RECEIVE_WAP_MESSAGES |
Allows an application to receive and process WAP messages.
|
static String |
RECEIVER_STARTUP_COMPLETED |
Allows an application to receive a broadcast indicating that the device is started successfully.
|
static String |
REFRESH_USER_ACTION |
Allows an application to reset the screen timeout counter when a user input event occurs,
such as pressing a key or tapping the screen.
|
static String |
REMOVE_CACHE_FILES |
Allows a system application to remove cache files from both internal and external storage.
|
static String |
REQUIRE_FORM |
Allows a system application to obtain an {code AbilityForm}.
|
static String |
RESET_BIOMETRIC_LOCKOUT |
Allows a system application to reset the maximum number of failures allowed
before biometric authentication is locked.
|
static String |
REVOKE_SENSITIVE_PERMISSIONS |
Allows a system application to revoke sensitive permissions granted to other applications.
|
static String |
RUNNING_LOCK |
Allows an application to obtain a running lock.
|
static String |
SEND_MESSAGES |
Allows an application to send SMS messages.
|
static String |
SET_LIVEWALLPAPER |
已过时。
This change is effective since API version 4. Please do not use any more.
|
static String |
SET_NETWORK_INFO |
Allows an application to set network information.
|
static String |
SET_TELEPHONY_STATE |
Allows an application to set the telephony state.
|
static String |
SET_TIME |
Allows an application to set the system time.
|
static String |
SET_TIME_ZONE |
Allows an application to set the system time zone.
|
static String |
SET_WALLPAPER |
Allows an application to set a static wallpaper.
|
static String |
SET_WALLPAPER_DIMENSION |
Allows an application to set the wallpaper size by specifying the display size or margins.
|
static String |
SET_WIFI_CONFIG |
Allows an application to add or remove a hotspot, and modify its Wi-Fi configuration.
|
static String |
SET_WIFI_INFO |
Allows an application to set Wi-Fi information on a device.
|
static String |
SPREAD_STATUS_BAR |
Allows an application to be displayed in the form of a thumbnail in the status bar.
|
static String |
START_ABILIIES_FROM_BACKGROUND |
Allows a system application to start Feature Abilities (FAs) in the background.
|
static String |
START_INVISIBLE_ABILITY |
Allows a system application to start an invisible ability.
|
static String |
SYSTEM_FLOAT_WINDOW |
Allows an application to be displayed in a floating window on top of other applications.
|
static String |
UPDATE_CONFIGURATION |
Allows a system application to modify system settings, such as the language and resolution.
|
static String |
USE_BLUETOOTH |
Allows an application to access Bluetooth configurations.
|
static String |
USE_TRUSTCIRCLE_MANAGER |
Allows an application to use the cross-device authentication capability
to establish a trusted connection between devices with the same ID.
|
static String |
USE_WHOLE_SCREEN |
Allows an application to deliver notifications that carry a full-screen
IntentAgent. |
static String |
VIBRATE |
Allows an application to control motor vibration.
|
static String |
WRITE_CALENDAR |
Allows an application to add, remove, and modify calendar events.
|
static String |
WRITE_CALL_LOG |
Allows an application to add, remove, and modify call logs.
|
static String |
WRITE_CONTACTS |
Allows an application to add, remove, and modify contacts.
|
static String |
WRITE_EXTERNAL_MEDIA_MEMORY |
Allows an application to read and write files in the shared storage.
|
static String |
WRITE_MEDIA |
Allows an application to read and write media files (such as videos, audio, and images)
in the device's external storage.
|
static String |
WRITE_SCREEN_SAVER |
Allows an application to modify the screen saver information, such as activating and previewing a screen saver.
|
static String |
WRITE_USER_STORAGE |
已过时。
This change is effective since API version 5. Replaced by
WRITE_MEDIA. |
public static final String ACCELEROMETER
Value: ohos.permission.ACCELEROMETER
Grant Mode: system_grant
Available Scope:all
public static final String ACCESS_BIOMETRIC
This permission allows the following operations: check the biometric recognition capability of the device, customize the authentication dialog box, start biometric recognition, and obtain biometric recognition prompts.
Value: ohos.permission.ACCESS_BIOMETRIC
Grant Mode: system_grant
Available Scope:all
public static final String ACCESS_BIOMETRIC_INTERNAL
Value: ohos.permission.ACCESS_BIOMETRIC_INTERNAL
Grant Mode: system_grant
Available Scope:signature
@Deprecated public static final String ACCESS_DISTRIBUTED_ABILITY
public static final String ACCESS_FM_AM
With this permission, an application can perform operations such as setting the radio mode, adjusting the radio frequency by a fixed step, and searching for a radio frequency.
Value: ohos.permission.radio.ACCESS_FM_AM
Grant Mode: system_grant
Available Scope:all
public static final String ACCESS_HW_ASSETSTORE_SERVICE
This permission allows the following operations: adding, deleting, modifying, and querying Asset keys, and importing, exporting, cloning and backing up Asset data with less than 64 bytes (such as the user password, credit card number, and application service token).
Value: ohos.permission.ACCESS_HW_ASSETSTORE_SERVICE
Grant Mode: system_grant
Available Scope:all
public static final String ACCESS_HW_KEYSTORE
Value: ohos.permission.ACCESS_HW_KEYSTORE
Grant Mode: system_grant
Available Scope:all
public static final String ACCESS_MISSIONS
Value: ohos.permission.ACCESS_MISSIONS
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String ACCESS_MISSIONS_EXTRA
Allows the application to access the extended information of a task stack. This permission is intended for system applications only.
Value: ohos.permission.ACCESS_MISSIONS_EXTRA
Grant Mode: system_grant
Available Scope:signature
public static final String ACCESS_NOTIFICATION_POLICY
Allows the application to access the notification policy on the device, for example, to mute the mobile phone.
Value: ohos.permission.ACCESS_NOTIFICATION_POLICY
Grant Mode: system_grant
Available Scope:all
public static final String ACCESS_UDID
The UDID uniquely identifies a device. This permission is intended for system applications only.
Value: ohos.permission.sec.ACCESS_UDID
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String ACTIVITY_MOTION
Value: ohos.permission.ACTIVITY_MOTION
Grant Mode: user_grant
Available Scope:all
public static final String ANSWER_CALL
Value: ohos.permission.ANSWER_CALL
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String BIND_DISTRIBUTED_DATA_SERVICE
Allows system services to access the Distributed Data Management Process (DDMP) service.
Value: ohos.permission.BIND_DISTRIBUTED_DATA_SERVICE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String BUNDLE_ACTIVE_INFO
Value: ohos.permission.BUNDLE_ACTIVE_INFO
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String CAMERA
Value: ohos.permission.CAMERA
Grant Mode: user_grant
Available Scope:all
public static final String CAPTURE_SCREEN
This permission is required if the app needs to take screenshots.
Value: ohos.permission.CAPTURE_SCREEN
Grant Mode: system_grant
Available Scope:signature
public static final String CHANGE_ABILITY_ENABLED_STATE
Value: ohos.permission.CHANGE_ABILITY_ENABLED_STATE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String CLEAN_BACKGROUND_PROCESSES
Value: ohos.permission.CLEAN_BACKGROUND_PROCESSES
Grant Mode: system_grant
Available Scope:all
public static final String COMMONEVENT_STICKY
Value: ohos.permission.COMMONEVENT_STICKY
Grant Mode: system_grant
Available Scope:all
public static final String CONNECT_ACCESSIBILITY_ABILITY
An auxiliary service that is not bound with the accessibility service is not displayed in settings.
Value: ohos.permission.CONNECT_ACCESSIBILITY_ABILITY
Grant Mode: system_grant
Available Scope:signature
public static final String CONNECT_IME_ABILITY
InputMethodAbility.
After binding the InputMethodAbility, the application or service can manage functions
such as starting and stopping input, and displaying and hiding the keyboard.
Value: ohos.permission.CONNECT_IME_ABILITY
Grant Mode: system_grant
Available Scope:signature
public static final String CONNECT_SCREEN_SAVER_ABILITY
ScreenSaverAbility.
After binding the ScreenSaverAbility,
the application or service can manage functions such as entering and exiting the screen saver mode.
Value: ohos.permission.CONNECT_SCREEN_SAVER_ABILITY
Grant Mode: system_grant
Available Scope:signature
@Deprecated public static final String CONNECT_WALLPAPER
public static final String CONTROL_TASK_SYNC_ANIMATOR
Allows applications to use sync task animations
Value: ohos.permission.CONTROL_TASK_SYNC_ANIMATOR
Grant Mode: system_grant
Available Scope:signature, privileged
@Deprecated public static final String CONTROL_VEHICLE_HMI_INFO
public static final String DELETE_MISSIONS
Allows the application to delete tasks. This permission is intended for system applications only.
Value: ohos.permission.DELETE_MISSIONS
Grant Mode: system_grant
Available Scope:signature
public static final String DISCOVER_BLUETOOTH
Value: ohos.permission.DISCOVER_BLUETOOTH
Grant Mode: system_grant
Available Scope:all
public static final String DISTRIBUTED_DATA
Value: ohos.permission.DISTRIBUTED_DATA
Grant Mode: user_grant
Available Scope:all
public static final String DISTRIBUTED_DATASYNC
Value: ohos.permission.DISTRIBUTED_DATASYNC
Grant Mode: user_grant
Available Scope:all
public static final String DISTRIBUTED_IOT_DATASYNC
Allows an application on the current device to collaborate with a smart IoT device, for example, cross-device application startup and data interaction.
Value: ohos.permission.DISTRIBUTED_IOT_DATASYNC
Grant Mode: user_grant
Available Scope:all
public static final String DISTRIBUTED_VIRTUALDEVICE
With this permission and the permission required for accessing corresponding components, an application can leverage the capabilities of other devices, such as the microphone, speaker, and display.
Value: ohos.permission.DISTRIBUTED_VIRTUALDEVICE
Grant Mode: user_grant
Available Scope:all
public static final String DISTRIBUTE_SERVICE
Value: ohos.permission.DISTRIBUTE_SERVICE
Grant Mode: system_grant
Available Scope:signature, privileged, restricted
public static final String DOWNLOAD_SESSION_MANAGER
This permission allows the following operations: querying, creating, and removing a download session, and modifying attributes of a download session.
Value: ohos.permission.DOWNLOAD_SESSION_MANAGER
Grant Mode: system_grant
Available Scope:signature
public static final String ENROLL_BIOMETRIC
Value: ohos.permission.ENROLL_BIOMETRIC
Grant Mode: system_grant
Available Scope:signature
public static final String FORMAT_USER_STORAGE
Value: ohos.permission.FORMAT_USER_STORAGE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_ALL_APP_ACCOUNTS
Value: ohos.permission.GET_ALL_APP_ACCOUNTS
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_BUNDLE_INFO
Value: ohos.permission.GET_BUNDLE_INFO
Grant Mode: system_grant
Available Scope:all
public static final String GET_BUNDLE_INFO_PRIVILEGED
Value: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_MPLINK_INFO
Value: ohos.permission.GET_MPLINK_INFO
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_NETWORK_INFO
Value: ohos.permission.GET_NETWORK_INFO
Grant Mode: system_grant
Available Scope:all
public static final String GET_SENSITIVE_PERMISSIONS
Value: ohos.permission.GET_SENSITIVE_PERMISSIONS
Grant Mode: system_grant
Available Scope:signature
public static final String GET_TELEPHONY_STATE
Telephony information includes the phone number, device ID, voice mailbox, international mobile equipment identity (IMEI), and integrated circuit card identifier (ICCID).
Value: ohos.permission.GET_TELEPHONY_STATE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_WALLPAPER
Value: ohos.permission.GET_WALLPAPER
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_WIFI_CONFIG
Value: ohos.permission.GET_WIFI_CONFIG
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_WIFI_INFO
The Wi-Fi information includes whether Wi-Fi is enabled, scan results, connection information, connection state, device capability, and peer-to-peer (P2P) state.
Value: ohos.permission.GET_WIFI_INFO
Grant Mode: system_grant
Available Scope:all
public static final String GET_WIFI_LOCAL_MAC
Value: ohos.permission.GET_WIFI_LOCAL_MAC
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String GET_WIFI_PEERS_MAC
Value: ohos.permission.GET_WIFI_PEERS_MAC
Grant Mode: system_grant
Available Scope:signature
public static final String GRANT_SENSITIVE_PERMISSIONS
Value: ohos.permission.GRANT_SENSITIVE_PERMISSIONS
Grant Mode: system_grant
Available Scope:signature
public static final String GYROSCOPE
Value: ohos.permission.GYROSCOPE
Grant Mode: system_grant
Available Scope:all
public static final String INPUT_MONITORING
An application with this permission can call related APIs to listen for input events in the system. Generally, this permission is used to implement the full screen gesture feature.
Value: ohos.permission.INPUT_MONITORING
Grant Mode: system_grant
Available Scope:signature
public static final String INSTALL_BUNDLE
Value: ohos.permission.INSTALL_BUNDLE
Grant Mode: system_grant
Available Scope:signature
public static final String INTERACT_ACROSS_LOCAL_ACCOUNTS
Value: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION
Value: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION
Grant Mode: system_grant
Available Scope:signature
public static final String INTERNET
Value: ohos.permission.INTERNET
Grant Mode: system_grant
Available Scope:all
public static final String KEEP_BACKGROUND_RUNNING
This permission also allows the service ability to push messages.
Value: ohos.permission.KEEP_BACKGROUND_RUNNING
Grant Mode: system_grant
Available Scope:all
public static final String LAUNCH_DATA_PRIVACY_CENTER
Value: ohos.permission.LAUNCH_DATA_PRIVACY_CENTER
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String LISTEN_BUNDLE_CHANGE
Value: ohos.permission.LISTEN_BUNDLE_CHANGE
Grant Mode: system_grant
Available Scope:signature, privileged
@Deprecated public static final String LISTEN_PERMISSIONS_CHANGE
LISTEN_PERMISSION_CHANGE.public static final String LISTEN_PERMISSION_CHANGE
Value: ohos.permission.LISTEN_PERMISSION_CHANGE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String LOCATION
Value: ohos.permission.LOCATION
Grant Mode: user_grant
Available Scope:all
public static final String LOCATION_IN_BACKGROUND
To obtain this permission, an application must obtain the ohos.permission.LOCATION permission.
Value: ohos.permission.LOCATION_IN_BACKGROUND
Grant Mode: user_grant
Available Scope:all
public static final String MANAGE_APP_POLICY
Currently, this permission is used to refresh some special permissions of applications.
Value: ohos.permission.MANAGE_APP_POLICY
Grant Mode: system_grant
Available Scope:signature
public static final String MANAGE_BLUETOOTH
Value: ohos.permission.MANAGE_BLUETOOTH
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String MANAGE_DISTRIBUTED_PERMISSION
The DPMS provides capabilities such as Distributed User ID (DUID) allocation, permission access recording, and permission use notification.
Value: ohos.permission.MANAGE_DISTRIBUTED_PERMISSION
Grant Mode: system_grant
Available Scope:signature, system
public static final String MANAGE_ENHANCER_WIFI
With this permission, an application can use Wi-Fi and mobile data simultaneously, or multiple Wi-Fi networks simultaneously.
Value: ohos.permission.MANAGE_ENHANCER_WIFI
Grant Mode: system_grant
Available Scope:signature
public static final String MANAGE_LOCAL_ACCOUNTS
Value: ohos.permission.MANAGE_LOCAL_ACCOUNTS
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String MANAGE_MEDIA_RESOURCES
Allows an application to obtain and manage the media resources that are being played on the device. This permission is intended for system applications only.
Value: ohos.permission.MANAGE_MEDIA_RESOURCES
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String MANAGE_MISSIONS
Allows the application to manage a task stack. This permission is intended for system applications only.
Value: ohos.permission.MANAGE_MISSIONS
Grant Mode: system_grant
Available Scope:signature
public static final String MANAGE_SECURE_SETTINGS
This permission is not required if the application only needs to read security settings.
Value: ohos.permission.MANAGE_SECURE_SETTINGS
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String MANAGE_SHORTCUTS
Value: ohos.permission.MANAGE_SHORTCUTS
Grant Mode: system_grant
Available Scope:signature
public static final String MANAGE_USER_STORAGE
Value: ohos.permission.MANAGE_USER_STORAGE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String MANAGE_VOICEMAIL
Value: ohos.permission.MANAGE_VOICEMAIL
Grant Mode: user_grant
Available Scope:signature, privileged
public static final String MANAGE_WIFI_CONNECTION
Value: ohos.permission.MANAGE_WIFI_CONNECTION
Grant Mode: system_grant
Available Scope:signature
public static final String MANAGE_WIFI_HOTSPOT
Value: ohos.permission.MANAGE_WIFI_HOTSPOT
Grant Mode: system_grant
Available Scope:signature
public static final String MEDIA_LOCATION
Value: ohos.permission.MEDIA_LOCATION
Grant Mode: user_grant
Available Scope:all
public static final String MICROPHONE
Value: ohos.permission.MICROPHONE
Grant Mode: user_grant
Available Scope:all
public static final String MODIFY_AUDIO_SETTINGS
This permission allows the following operations: enabling or disabling the speaker or Bluetooth audio, and changing the audio mode (such as to VoIP).
Value: ohos.permission.MODIFY_AUDIO_SETTINGS
Grant Mode: system_grant
Available Scope:all
public static final String MODIFY_SETTINGS
This permission is not required if the application only needs to read system settings.
Value: ohos.permission.MODIFY_SETTINGS
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String MULTIMODAL_INPUT_ABILITY
Value: ohos.permission.MULTIMODAL_INPUT_ABILITY
Grant Mode: system_grant
Available Scope:signature
public static final String MULTIMODAL_INTERACTIVE
Voice or gesture events can be used to control the UI.
Value: ohos.permission.MULTIMODAL_INTERACTIVE
Grant Mode: system_grant
Available Scope:all
public static final String NFC_CARD_EMULATION
With this permission, an application can register the card emulation service and perform card emulation transactions.
Value: ohos.permission.NFC_CARD_EMULATION
Grant Mode: system_grant
Available Scope:all
public static final String NFC_TAG
With this permission, an application can receive a tag, and read data from and write data to a tag.
Value: ohos.permission.NFC_TAG
Grant Mode: system_grant
Available Scope:all
public static final String NOTIFY_PERMISSION_CHANGE
Value: ohos.permission.NOTIFY_PERMISSION_CHANGE
Grant Mode: system_grant
Available Scope:signature
public static final String PARENTCONTROL_HOME
Value: ohos.permission.PARENTCONTROL_HOME
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String PARENTCONTROL_PROVIDER
Value: ohos.permission.PARENTCONTROL_PROVIDER
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String PARENTCONTROL_USAGESTATS_READ
Value: ohos.permission.PARENTCONTROL_USAGESTATS_READ
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String PERMISSION_USED_STATS
The distributed permission module records an event when an application permission is allowed or denied and provides APIs for system applications to query such events.
Value: ohos.permission.PERMISSION_USED_STATS
Grant Mode: system_grant
Available Scope:signature, system
public static final String PERMISSION_USING_REMIND
After a system application registers a listener for permission use, the application will receive messages if other applications start or stop using permissions.
Value: ohos.permission.PERMISSION_USING_REMIND
Grant Mode: system_grant
Available Scope:signature
public static final String PLACE_CALL
Value: ohos.permission.PLACE_CALL
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String POWER_MANAGER
Value: ohos.permission.POWER_MANAGER
Grant Mode: system_grant
Available Scope:signature
public static final String POWER_OPTIMIZATION
Value: ohos.permission.POWER_OPTIMIZATION
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String PREVENT_IMMEDIATE_LAUNCH
Allows an application to prevent immediate switches between other applications. Applications that also have this permission will not be prevented from such switches.
Value: ohos.permission.PREVENT_IMMEDIATE_LAUNCH
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String PUBLISH_AGENT_REMINDER
After a third-party application uses the background agent to publish reminders for it, the reminders of the application can be properly triggered even when its process is frozen or killed in the background.
Value: ohos.permission.PUBLISH_AGENT_REMINDER
Grant Mode: system_grant
Available Scope:all
public static final String RCV_NFC_TRANSACTION_EVENT
Value: ohos.permission.RCV_NFC_TRANSACTION_EVENT
Grant Mode: system_grant
Available Scope:all
public static final String READ_CALENDAR
Value: ohos.permission.READ_CALENDAR
Grant Mode: user_grant
Available Scope:all
public static final String READ_CALL_LOG
Value: ohos.permission.READ_CALL_LOG
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String READ_CELL_MESSAGES
Cell broadcast messages are sent to phone users in a specified area, and are primarily used for emergency messages.
Value: ohos.permission.READ_CELL_MESSAGES
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String READ_CONTACTS
Value: ohos.permission.READ_CONTACTS
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String READ_HEALTH_DATA
Value: ohos.permission.READ_HEALTH_DATA
Grant Mode: user_grant
Available Scope:all
public static final String READ_MEDIA
Value: ohos.permission.READ_MEDIA
Grant Mode: user_grant
Available Scope:all
public static final String READ_MESSAGES
Value: ohos.permission.READ_MESSAGES
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String READ_SCREEN_SAVER
Value: ohos.permission.READ_SCREEN_SAVER
Grant Mode: system_grant
Available Scope:signature, privileged
@Deprecated public static final String READ_USER_STORAGE
READ_MEDIA.Value: ohos.permission.READ_USER_STORAGE
Grant Mode: user_grant
Available Scope:signature, privileged
public static final String READ_VEHICLE_CHASSIS_INFO
Value: ohos.permission.vehicle.READ_VEHICLE_CHASSIS_INFO
Grant Mode: system_grant
Available Scope:signature
public static final String READ_VEHICLE_EXTERIOR_ENVIRONMENT
Value: ohos.permission.vehicle.READ_VEHICLE_EXTERIOR_ENVIRONMENT
Grant Mode: system_grant
Available Scope:all
public static final String READ_VEHICLE_FUEL_INFO
Value: ohos.permission.vehicle.READ_VEHICLE_FUEL_INFO
Grant Mode: system_grant
Available Scope:all
public static final String READ_VEHICLE_HMI_INFO
With this permission, an application can read vehicle body type codes defined by ISO 3779 and the following information used in the HMI: date format, time format, distance unit, fuel economy unit, electric vehicle (EV) economy unit, temperature unit, display theme (day/night), and language.
Value: ohos.permission.vehicle.READ_VEHICLE_HMI_INFO
Grant Mode: system_grant
Available Scope:all
public static final String READ_VEHICLE_IDENTIFICATION
The basic vehicle information includes the vehicle brand, model, production date, and emission standard.
Value: ohos.permission.vehicle.READ_VEHICLE_IDENTIFICATION
Grant Mode: system_grant
Available Scope:signature
public static final String READ_VEHICLE_SPEED_INFO
Value: ohos.permission.vehicle.READ_VEHICLE_SPEED_INFO
Grant Mode: system_grant
Available Scope:signature
public static final String READ_VEHICLE_STEERING_WHEEL
Value: ohos.permission.vehicle.READ_VEHICLE_STEERING_WHEEL
Grant Mode: system_grant
Available Scope:signature
public static final String READ_VEHICLE_TRANSMISSION_INFO
Value: ohos.permission.vehicle.READ_VEHICLE_TRANSMISSION_INFO
Grant Mode: system_grant
Available Scope:signature
public static final String REARRANGE_MISSIONS
Value: ohos.permission.REARRANGE_MISSIONS
Grant Mode: system_grant
Available Scope:all
public static final String REBOOT
This permission is applicable only to scenarios where the device must be restarted to reset factory settings, upgrade the system, or perform other necessary operations.
Value: ohos.permission.REBOOT
Grant Mode: system_grant
Available Scope:signature, system
public static final String REBOOT_RECOVERY
This permission must be used together with ohos.permission.REBOOT.
Value: ohos.permission.REBOOT_RECOVERY
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String RECEIVER_STARTUP_COMPLETED
After receiving the broadcast, the application can perform necessary operations.
Value: ohos.permission.RECEIVER_STARTUP_COMPLETED
Grant Mode: system_grant
Available Scope:all
public static final String RECEIVE_MMS
Value: ohos.permission.RECEIVE_MMS
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String RECEIVE_SMS
Value: ohos.permission.RECEIVE_SMS
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String RECEIVE_WAP_MESSAGES
Value: ohos.permission.RECEIVE_WAP_MESSAGES
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String REFRESH_USER_ACTION
Value: ohos.permission.REFRESH_USER_ACTION
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String REMOVE_CACHE_FILES
Value: ohos.permission.REMOVE_CACHE_FILES
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String REQUIRE_FORM
Value: ohos.permission.REQUIRE_FORM
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String RESET_BIOMETRIC_LOCKOUT
Value: ohos.permission.RESET_BIOMETRIC_LOCKOUT
Grant Mode: system_grant
Available Scope:signature
public static final String REVOKE_SENSITIVE_PERMISSIONS
Value: ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
Grant Mode: system_grant
Available Scope:signature
public static final String RUNNING_LOCK
The running lock prevents the system from hibernating so that the application running in the background will not be interrupted.
Value: ohos.permission.RUNNING_LOCK
Grant Mode: system_grant
Available Scope:all
public static final String SEND_MESSAGES
Value: ohos.permission.SEND_MESSAGES
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
@Deprecated public static final String SET_LIVEWALLPAPER
public static final String SET_NETWORK_INFO
This permission allows the following operations: activating or deactivating a network, obtaining information about a specified network, and listening to a specified network.
Value: ohos.permission.SET_NETWORK_INFO
Grant Mode: system_grant
Available Scope:all
public static final String SET_TELEPHONY_STATE
With this permission, an application can enable or disable the airplane mode, and change the network mode.
Value: ohos.permission.SET_TELEPHONY_STATE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String SET_TIME
Value: ohos.permission.SET_TIME
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String SET_TIME_ZONE
Value: ohos.permission.SET_TIME_ZONE
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String SET_WALLPAPER
Value: ohos.permission.SET_WALLPAPER
Grant Mode: system_grant
Available Scope:all
public static final String SET_WALLPAPER_DIMENSION
Value: ohos.permission.SET_WALLPAPER_DIMENSION
Grant Mode: system_grant
Available Scope:all
public static final String SET_WIFI_CONFIG
Value: ohos.permission.SET_WIFI_CONFIG
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String SET_WIFI_INFO
This permission allows the following operations: starting a scan, enabling or disabling Wi-Fi, setting up or disconnecting a Wi-Fi connection, modifying Wi-Fi configuration, and enabling Wi-Fi P2P.
Value: ohos.permission.SET_WIFI_INFO
Grant Mode: system_grant
Available Scope:all
public static final String SPREAD_STATUS_BAR
Value: ohos.permission.SPREAD_STATUS_BAR
Grant Mode: system_grant
Available Scope:all
public static final String START_ABILIIES_FROM_BACKGROUND
Value: ohos.permission.START_ABILIIES_FROM_BACKGROUND
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String START_INVISIBLE_ABILITY
With this permission, an application can start an invisible ability, that is,
the ability whose visible attribute is false.
Value: ohos.permission.START_INVISIBLE_ABILITY
Grant Mode: system_grant
Available Scope:signature
public static final String SYSTEM_FLOAT_WINDOW
Value: ohos.permission.SYSTEM_FLOAT_WINDOW
Grant Mode: system_grant
Available Scope:all
public static final String UPDATE_CONFIGURATION
Value: ohos.permission.UPDATE_CONFIGURATION
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String USE_BLUETOOTH
Bluetooth configurations include the Bluetooth name, Bluetooth device type, and whether Bluetooth is enabled.
Value: ohos.permission.USE_BLUETOOTH
Grant Mode: system_grant
Available Scope:all
public static final String USE_TRUSTCIRCLE_MANAGER
Value: ohos.permission.USE_TRUSTCIRCLE_MANAGER
Grant Mode: system_grant
Available Scope:all
public static final String USE_WHOLE_SCREEN
IntentAgent.
When the device screen is off, such notifications start the Ability
in the IntentAgent to display the full screen.
Value: ohos.permission.USE_WHOLE_SCREEN
Grant Mode: system_grant
Available Scope:all
public static final String VIBRATE
The vibration effect can be one-shot, preset, or custom.
Value: ohos.permission.VIBRATE
Grant Mode: system_grant
Available Scope:all
public static final String WRITE_CALENDAR
Value: ohos.permission.WRITE_CALENDAR
Grant Mode: user_grant
Available Scope:all
public static final String WRITE_CALL_LOG
Value: ohos.permission.WRITE_CALL_LOG
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String WRITE_CONTACTS
Value: ohos.permission.WRITE_CONTACTS
Grant Mode: user_grant
Available Scope:signature, privileged, restricted
public static final String WRITE_EXTERNAL_MEDIA_MEMORY
Value: ohos.permission.WRITE_EXTERNAL_MEDIA_MEMORY
Grant Mode: system_grant
Available Scope:signature, privileged
public static final String WRITE_MEDIA
Value: ohos.permission.WRITE_MEDIA
Grant Mode: user_grant
Available Scope:all
public static final String WRITE_SCREEN_SAVER
Value: ohos.permission.WRITE_SCREEN_SAVER
Grant Mode: system_grant
Available Scope:signature, privileged
@Deprecated public static final String WRITE_USER_STORAGE
WRITE_MEDIA.Value: ohos.permission.WRITE_USER_STORAGE
Grant Mode: user_grant
Available Scope:signature, privileged