/frameworks/base/core/java/android/content/pm/ |
D | ServiceInfo.java | 19 import android.Manifest; 169 value = Manifest.permission.FOREGROUND_SERVICE_DATA_SYNC, 184 value = Manifest.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK, 203 Manifest.permission.FOREGROUND_SERVICE_PHONE_CALL, 206 Manifest.permission.MANAGE_OWN_CALLS, 226 Manifest.permission.FOREGROUND_SERVICE_LOCATION, 229 Manifest.permission.ACCESS_COARSE_LOCATION, 230 Manifest.permission.ACCESS_FINE_LOCATION, 258 Manifest.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE, 261 Manifest.permission.BLUETOOTH_ADVERTISE, [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 24 import android.Manifest; 2142 @RequiresPermission(Manifest.permission.MANAGE_USERS) 2664 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 2665 android.Manifest.permission.INTERACT_ACROSS_USERS}) 2688 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 2689 android.Manifest.permission.INTERACT_ACROSS_USERS}) 2706 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 2707 android.Manifest.permission.INTERACT_ACROSS_USERS}) 2755 android.Manifest.permission.MANAGE_USERS, 2756 android.Manifest.permission.CREATE_USERS, [all …]
|
D | BatteryStatsManager.java | 175 @RequiresPermission(android.Manifest.permission.BATTERY_STATS) 187 @RequiresPermission(android.Manifest.permission.BATTERY_STATS) 199 @RequiresPermission(android.Manifest.permission.BATTERY_STATS) 214 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 226 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 238 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 253 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 268 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 282 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 297 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) [all …]
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | AppIdPermissionUpgrade.kt | 19 import android.Manifest in <lambda>() 106 Manifest.permission.ACCESS_BACKGROUND_LOCATION in in <lambda>() 112 getPermissionFlags(appId, userId, Manifest.permission.ACCESS_FINE_LOCATION) in <lambda>() 116 getPermissionFlags(appId, userId, Manifest.permission.ACCESS_COARSE_LOCATION) in <lambda>() 125 Manifest.permission.ACCESS_BACKGROUND_LOCATION in <lambda>() 136 Manifest.permission.ACCESS_MEDIA_LOCATION in in <lambda>() 144 Manifest.permission.READ_EXTERNAL_STORAGE in <lambda>() 151 Manifest.permission.ACCESS_MEDIA_LOCATION in <lambda>() 190 Manifest.permission.BODY_SENSORS_BACKGROUND !in in <lambda>() 200 getPermissionFlags(appId, userId, Manifest.permission.BODY_SENSORS_BACKGROUND) in <lambda>() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioTuner.java | 19 import android.Manifest; 59 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 82 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 104 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 129 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 139 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 166 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 196 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 224 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) 256 @RequiresPermission(Manifest.permission.ACCESS_BROADCAST_RADIO) [all …]
|
/frameworks/base/tests/EnforcePermission/service-app/src/android/tests/enforcepermission/service/ |
D | TestService.java | 92 @EnforcePermission(android.Manifest.permission.INTERNET) 98 @EnforcePermission(android.Manifest.permission.VIBRATE) 104 @EnforcePermission(android.Manifest.permission.INTERNET) 112 @EnforcePermission(android.Manifest.permission.INTERNET) 120 @EnforcePermission(android.Manifest.permission.INTERNET) 128 @EnforcePermission(android.Manifest.permission.TURN_SCREEN_ON) 134 @EnforcePermission(android.Manifest.permission.READ_CONTACTS) 140 @EnforcePermission(android.Manifest.permission.READ_CALENDAR) 147 android.Manifest.permission.INTERNET, 148 android.Manifest.permission.VIBRATE}) [all …]
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyCallback.java | 19 import android.Manifest; 148 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 162 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 178 @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) 246 Manifest.permission.READ_PHONE_STATE, 247 Manifest.permission.ACCESS_FINE_LOCATION 262 @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) 276 @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) 288 @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) 298 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) [all …]
|
D | PhoneStateListener.java | 19 import android.Manifest; 115 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 129 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 148 @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) 207 Manifest.permission.READ_PHONE_STATE, 208 Manifest.permission.ACCESS_FINE_LOCATION 224 @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) 239 @RequiresPermission(android.Manifest.permission.READ_PRECISE_PHONE_STATE) 266 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 309 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) [all …]
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemManager.java | 68 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 84 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 100 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 115 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 129 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 147 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 166 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 178 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 194 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 211 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 19 import android.Manifest; 73 mContext.enforcePermission(android.Manifest.permission.DUMP, in assertApprovedQuerent() 80 mContext.enforcePermission(android.Manifest.permission.QUERY_ALL_PACKAGES, in assertApprovedQuerent() 83 + android.Manifest.permission.QUERY_ALL_PACKAGES); in assertApprovedQuerent() 104 android.Manifest.permission.DOMAIN_VERIFICATION_AGENT, callingPid, in assertApprovedVerifier() 107 android.Manifest.permission.INTENT_FILTER_VERIFICATION_AGENT, in assertApprovedVerifier() 111 + android.Manifest.permission.DOMAIN_VERIFICATION_AGENT); in assertApprovedVerifier() 117 mContext.enforcePermission(android.Manifest.permission.QUERY_ALL_PACKAGES, in assertApprovedVerifier() 119 + android.Manifest.permission.QUERY_ALL_PACKAGES); in assertApprovedVerifier() 139 Manifest.permission.INTERACT_ACROSS_USERS, in assertApprovedUserStateQuerent() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkScoreManager.java | 19 import android.Manifest.permission; 251 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 252 android.Manifest.permission.REQUEST_NETWORK_SCORES}) 269 @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) 286 @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) 306 @RequiresPermission(android.Manifest.permission.SCORE_NETWORKS) 328 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 329 android.Manifest.permission.REQUEST_NETWORK_SCORES}) 350 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 351 android.Manifest.permission.REQUEST_NETWORK_SCORES}) [all …]
|
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/service/ |
D | SharedConnectivityService.java | 19 import static android.Manifest.permission.NETWORK_SETTINGS; 20 import static android.Manifest.permission.NETWORK_SETUP_WIZARD; 93 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 94 android.Manifest.permission.NETWORK_SETUP_WIZARD}) in onBind() 106 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 107 android.Manifest.permission.NETWORK_SETUP_WIZARD}) in onBind() 119 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 120 android.Manifest.permission.NETWORK_SETUP_WIZARD}) in onBind() 132 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 133 android.Manifest.permission.NETWORK_SETUP_WIZARD}) in onBind() [all …]
|
/frameworks/base/nfc/api/ |
D | system-current.txt | 5 …method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean addNf… 6 …method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean disab… 7 …method @FlaggedApi("android.nfc.enable_nfc_reader_option") @RequiresPermission(android.Manifest.pe… 8 …method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean enabl… 11 …method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public java… 12 …method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public boolea… 13 …method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public boolea… 14 …method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean isTag… 15 …method @RequiresPermission(android.Manifest.permission.NFC_SET_CONTROLLER_ALWAYS_ON) public void r… 16 …method @FlaggedApi("android.nfc.nfc_vendor_cmd") @RequiresPermission(android.Manifest.permission.W… [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PermissionHelperTest.java | 38 import android.Manifest; 86 testPkgInfo.requestedPermissions = new String[]{ Manifest.permission.POST_NOTIFICATIONS }; in setUp() 117 new String[] {"something else", Manifest.permission.POST_NOTIFICATIONS}; in testGetAppsRequestingPermission() 123 second.requestedPermissions = new String[] {Manifest.permission.POST_NOTIFICATIONS}; in testGetAppsRequestingPermission() 208 eq(new String[] {Manifest.permission.POST_NOTIFICATIONS}), anyLong(), eq(userId))) in testGetAppsGrantedPermission_noApps() 219 new String[] {"something else", Manifest.permission.POST_NOTIFICATIONS}; in testGetAppsGrantedPermission() 225 second.requestedPermissions = new String[] {Manifest.permission.POST_NOTIFICATIONS}; in testGetAppsGrantedPermission() 233 eq(new String[] {Manifest.permission.POST_NOTIFICATIONS}), anyLong(), eq(userId))) in testGetAppsGrantedPermission() 250 "pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_grantUserSet() 252 verify(mPermManager).updatePermissionFlags("pkg", Manifest.permission.POST_NOTIFICATIONS, in testSetNotificationPermission_grantUserSet() [all …]
|
/frameworks/base/core/java/android/app/ |
D | VrManager.java | 72 android.Manifest.permission.RESTRICTED_VR_ACCESS, 73 android.Manifest.permission.ACCESS_VR_STATE 101 android.Manifest.permission.RESTRICTED_VR_ACCESS, 102 android.Manifest.permission.ACCESS_VR_STATE 125 android.Manifest.permission.RESTRICTED_VR_ACCESS, 126 android.Manifest.permission.ACCESS_VR_STATE 141 android.Manifest.permission.RESTRICTED_VR_ACCESS, 142 android.Manifest.permission.ACCESS_VR_STATE 161 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) 178 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupAndRestoreFeatureFlags.java | 19 import android.Manifest; 39 @RequiresPermission(Manifest.permission.READ_DEVICE_CONFIG) 48 @RequiresPermission(Manifest.permission.READ_DEVICE_CONFIG) 60 @RequiresPermission(Manifest.permission.READ_DEVICE_CONFIG) 73 @RequiresPermission(Manifest.permission.READ_DEVICE_CONFIG) 87 @RequiresPermission(Manifest.permission.READ_DEVICE_CONFIG)
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceVolumeManager.java | 19 import android.Manifest; 149 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 150 android.Manifest.permission.BLUETOOTH_PRIVILEGED }) 206 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 207 android.Manifest.permission.BLUETOOTH_PRIVILEGED }) 232 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 233 android.Manifest.permission.BLUETOOTH_PRIVILEGED }) 257 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 258 android.Manifest.permission.BLUETOOTH_PRIVILEGED }) 284 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsMmTelManager.java | 20 import android.Manifest; 258 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 259 android.Manifest.permission.READ_PRECISE_PHONE_STATE 315 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 358 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 359 android.Manifest.permission.READ_PRECISE_PHONE_STATE}) 401 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 431 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 432 android.Manifest.permission.READ_PRECISE_PHONE_STATE}) 565 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) [all …]
|
/frameworks/base/core/java/android/provider/ |
D | BlockedNumbersManager.java | 36 import android.Manifest; 144 android.Manifest.permission.READ_BLOCKED_NUMBERS, 145 android.Manifest.permission.WRITE_BLOCKED_NUMBERS 168 android.Manifest.permission.READ_BLOCKED_NUMBERS, 169 android.Manifest.permission.WRITE_BLOCKED_NUMBERS 199 android.Manifest.permission.READ_BLOCKED_NUMBERS, 200 android.Manifest.permission.WRITE_BLOCKED_NUMBERS 233 android.Manifest.permission.READ_BLOCKED_NUMBERS, 234 android.Manifest.permission.WRITE_BLOCKED_NUMBERS 257 android.Manifest.permission.READ_BLOCKED_NUMBERS, [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | SystemConfigService.java | 21 import android.Manifest; 50 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_CARRIER_APP_INFO, 58 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_CARRIER_APP_INFO, 71 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_CARRIER_APP_INFO, 80 mContext.enforceCallingOrSelfPermission(Manifest.permission.GET_RUNTIME_PERMISSIONS, 111 getContext().enforceCallingOrSelfPermission(Manifest.permission.QUERY_ALL_PACKAGES, 112 "Caller must hold " + Manifest.permission.QUERY_ALL_PACKAGES); 128 Manifest.permission.MANAGE_ENHANCED_CONFIRMATION_STATES, 129 "Caller must hold " + Manifest.permission.MANAGE_ENHANCED_CONFIRMATION_STATES); 138 Manifest.permission.MANAGE_ENHANCED_CONFIRMATION_STATES, [all …]
|
/frameworks/base/core/java/android/content/rollback/ |
D | RollbackManager.java | 81 android.Manifest.permission.MANAGE_ROLLBACKS, 82 android.Manifest.permission.TEST_MANAGE_ROLLBACKS 111 android.Manifest.permission.MANAGE_ROLLBACKS, 112 android.Manifest.permission.TEST_MANAGE_ROLLBACKS 199 android.Manifest.permission.MANAGE_ROLLBACKS, 200 android.Manifest.permission.TEST_MANAGE_ROLLBACKS 226 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) 247 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) 268 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS)
|
/frameworks/base/core/java/android/hardware/ |
D | SensorPrivacyManager.java | 19 import android.Manifest; 484 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 502 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 521 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 554 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 571 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 606 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 629 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 663 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) 676 @RequiresPermission(Manifest.permission.OBSERVE_SENSOR_PRIVACY) [all …]
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTest.java | 28 import android.Manifest; 81 InstallUtils.adoptShellPermissionIdentity(Manifest.permission.TEST_MANAGE_ROLLBACKS); in cleanUp() 114 Manifest.permission.INSTALL_PACKAGES, in testBasic() 115 Manifest.permission.DELETE_PACKAGES, in testBasic() 116 Manifest.permission.TEST_MANAGE_ROLLBACKS, in testBasic() 117 Manifest.permission.MANAGE_ROLLBACKS, in testBasic() 118 Manifest.permission.MANAGE_USERS, in testBasic() 119 Manifest.permission.CREATE_USERS, in testBasic() 120 Manifest.permission.INTERACT_ACROSS_USERS); in testBasic() 208 Manifest.permission.INSTALL_PACKAGES, in testSameVersionUpdate() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 377 @RequiresPermission(android.Manifest.permission.BACKUP) 406 @RequiresPermission(android.Manifest.permission.BACKUP) 432 @RequiresPermission(allOf = {android.Manifest.permission.BACKUP, 433 android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional = true) 454 @RequiresPermission(android.Manifest.permission.BACKUP) 486 @RequiresPermission(android.Manifest.permission.BACKUP) 490 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.BACKUP, in isBackupServiceActive() 513 @RequiresPermission(android.Manifest.permission.BACKUP) 533 @RequiresPermission(android.Manifest.permission.BACKUP) 553 @RequiresPermission(android.Manifest.permission.BACKUP) [all …]
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccManager.java | 18 import android.Manifest; 106 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE) 126 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE) 142 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) 993 Manifest.permission.READ_PHONE_STATE, 994 Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 1022 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) 1087 Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS, 1088 Manifest.permission.MANAGE_DEVICE_POLICY_MANAGED_SUBSCRIPTIONS}) 1154 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) [all …]
|