/frameworks/base/core/java/android/os/ |
D | UserManager.java | 19 import android.Manifest; 1696 @RequiresPermission(allOf = {Manifest.permission.READ_PHONE_STATE, 1697 android.Manifest.permission.MANAGE_USERS, 1698 android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional = true) 1714 @RequiresPermission(allOf = {Manifest.permission.READ_PHONE_STATE, 1715 android.Manifest.permission.MANAGE_USERS, 1716 android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional = true) 1762 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 1763 android.Manifest.permission.GET_ACCOUNTS_PRIVILEGED}, conditional = true) 1785 @RequiresPermission(anyOf = {Manifest.permission.MANAGE_USERS, [all …]
|
D | BatteryStatsManager.java | 168 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 180 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 192 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 207 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 222 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 236 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 251 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 266 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 280 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) 295 @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) [all …]
|
D | Vibrator.java | 213 @RequiresPermission(android.Manifest.permission.VIBRATE_ALWAYS_ON) 222 @RequiresPermission(android.Manifest.permission.VIBRATE_ALWAYS_ON) 236 @RequiresPermission(android.Manifest.permission.VIBRATE) 252 @RequiresPermission(android.Manifest.permission.VIBRATE) 284 @RequiresPermission(android.Manifest.permission.VIBRATE) 313 @RequiresPermission(android.Manifest.permission.VIBRATE) 330 @RequiresPermission(android.Manifest.permission.VIBRATE) 335 @RequiresPermission(android.Manifest.permission.VIBRATE) 346 @RequiresPermission(android.Manifest.permission.VIBRATE) 446 @RequiresPermission(android.Manifest.permission.VIBRATE) [all …]
|
/frameworks/base/core/java/android/os/image/ |
D | DynamicSystemManager.java | 65 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 81 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 97 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 112 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 126 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 145 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 161 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 177 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 194 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) 204 @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) [all …]
|
/frameworks/base/apex/statsd/framework/api/ |
D | system-current.txt | 5 …method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PA… 6 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.p… 7 …method @RequiresPermission(android.Manifest.permission.REGISTER_STATS_PULL_ATOM) public void clear… 8 …eprecated @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.… 9 …eprecated @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.… 10 …method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PA… 11 …method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PA… 12 …method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PA… 13 …method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PA… 14 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.p… [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkScoreManager.java | 19 import android.Manifest.permission; 247 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 248 android.Manifest.permission.REQUEST_NETWORK_SCORES}) 265 @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) 282 @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES) 302 @RequiresPermission(android.Manifest.permission.SCORE_NETWORKS) 324 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 325 android.Manifest.permission.REQUEST_NETWORK_SCORES}) 346 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 347 android.Manifest.permission.REQUEST_NETWORK_SCORES}) [all …]
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTest.java | 29 import android.Manifest; 90 InstallUtils.adoptShellPermissionIdentity(Manifest.permission.TEST_MANAGE_ROLLBACKS); in cleanUp() 123 Manifest.permission.INSTALL_PACKAGES, in testBasic() 124 Manifest.permission.DELETE_PACKAGES, in testBasic() 125 Manifest.permission.TEST_MANAGE_ROLLBACKS, in testBasic() 126 Manifest.permission.MANAGE_ROLLBACKS, in testBasic() 127 Manifest.permission.MANAGE_USERS, in testBasic() 128 Manifest.permission.CREATE_USERS, in testBasic() 129 Manifest.permission.INTERACT_ACROSS_USERS); in testBasic() 213 Manifest.permission.INSTALL_PACKAGES, in testAvailableRollbackPersistence() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubManager.java | 205 android.Manifest.permission.LOCATION_HARDWARE, 206 android.Manifest.permission.ACCESS_CONTEXT_HUB 229 android.Manifest.permission.LOCATION_HARDWARE, 230 android.Manifest.permission.ACCESS_CONTEXT_HUB 263 android.Manifest.permission.LOCATION_HARDWARE, 264 android.Manifest.permission.ACCESS_CONTEXT_HUB 293 android.Manifest.permission.LOCATION_HARDWARE, 294 android.Manifest.permission.ACCESS_CONTEXT_HUB 336 android.Manifest.permission.LOCATION_HARDWARE, 337 android.Manifest.permission.ACCESS_CONTEXT_HUB [all …]
|
D | GeofenceHardwareService.java | 19 import android.Manifest; 80 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 88 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 99 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 107 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 116 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 125 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 135 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 146 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
|
/frameworks/base/core/java/android/app/ |
D | VrManager.java | 71 android.Manifest.permission.RESTRICTED_VR_ACCESS, 72 android.Manifest.permission.ACCESS_VR_STATE 100 android.Manifest.permission.RESTRICTED_VR_ACCESS, 101 android.Manifest.permission.ACCESS_VR_STATE 124 android.Manifest.permission.RESTRICTED_VR_ACCESS, 125 android.Manifest.permission.ACCESS_VR_STATE 140 android.Manifest.permission.RESTRICTED_VR_ACCESS, 141 android.Manifest.permission.ACCESS_VR_STATE 160 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) 177 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS) [all …]
|
D | ActivityTaskManager.java | 171 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 198 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 212 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 222 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 235 @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) 298 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 311 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 323 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 338 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 352 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsMmTelManager.java | 20 import android.Manifest; 237 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 238 android.Manifest.permission.READ_PRECISE_PHONE_STATE 283 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 326 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 327 android.Manifest.permission.READ_PRECISE_PHONE_STATE}) 369 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 399 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 400 android.Manifest.permission.READ_PRECISE_PHONE_STATE}) 425 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) [all …]
|
/frameworks/base/core/java/android/content/rollback/ |
D | RollbackManager.java | 82 android.Manifest.permission.MANAGE_ROLLBACKS, 83 android.Manifest.permission.TEST_MANAGE_ROLLBACKS 112 android.Manifest.permission.MANAGE_ROLLBACKS, 113 android.Manifest.permission.TEST_MANAGE_ROLLBACKS 200 android.Manifest.permission.MANAGE_ROLLBACKS, 201 android.Manifest.permission.TEST_MANAGE_ROLLBACKS 227 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) 248 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) 269 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS)
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 334 @RequiresPermission(android.Manifest.permission.BACKUP) 363 @RequiresPermission(android.Manifest.permission.BACKUP) 381 @RequiresPermission(android.Manifest.permission.BACKUP) 402 @RequiresPermission(android.Manifest.permission.BACKUP) 404 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.BACKUP, in isBackupServiceActive() 426 @RequiresPermission(android.Manifest.permission.BACKUP) 446 @RequiresPermission(android.Manifest.permission.BACKUP) 466 @RequiresPermission(android.Manifest.permission.BACKUP) 486 @RequiresPermission(android.Manifest.permission.BACKUP) 528 @RequiresPermission(android.Manifest.permission.BACKUP) [all …]
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 35 import android.Manifest; 166 final String permissionName = Manifest.permission.INTERACT_ACROSS_PROFILES; in mockCrossProfileAppRequestsInteractAcrossProfiles() 218 Manifest.permission.MANAGE_APP_OPS_MODES, in grantPermissions() 219 Manifest.permission.UPDATE_APP_OPS_STATS, in grantPermissions() 220 Manifest.permission.CONFIGURE_INTERACT_ACROSS_PROFILES, in grantPermissions() 221 Manifest.permission.INTERACT_ACROSS_USERS, in grantPermissions() 222 Manifest.permission.INTERACT_ACROSS_USERS_FULL); in grantPermissions() 247 Manifest.permission.MANAGE_APP_OPS_MODES, in setInteractAcrossProfilesAppOp_noPermissions_throwsSecurityException() 248 Manifest.permission.UPDATE_APP_OPS_STATS, in setInteractAcrossProfilesAppOp_noPermissions_throwsSecurityException() 249 Manifest.permission.CONFIGURE_INTERACT_ACROSS_PROFILES, in setInteractAcrossProfilesAppOp_noPermissions_throwsSecurityException() [all …]
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryController.java | 284 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 298 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 331 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 362 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 387 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 409 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 424 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 447 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 472 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) 497 @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | TelecomManager.java | 17 import static android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE; 19 import android.Manifest; 971 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 997 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 1018 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) 1125 android.Manifest.permission.READ_PHONE_STATE 1150 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 1169 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 1460 android.Manifest.permission.MODIFY_PHONE_STATE, 1461 android.Manifest.permission.WRITE_SECURE_SETTINGS}) [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 25 import android.Manifest; 580 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 1348 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 1402 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 1851 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) 1869 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 1923 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 1978 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 2002 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 2043 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) [all …]
|
/frameworks/base/core/java/android/service/persistentdata/ |
D | PersistentDataBlockManager.java | 119 @RequiresPermission(android.Manifest.permission.ACCESS_PDB_STATE) 148 @RequiresPermission(android.Manifest.permission.OEM_UNLOCK_STATE) 162 @RequiresPermission(android.Manifest.permission.OEM_UNLOCK_STATE) 177 android.Manifest.permission.READ_OEM_UNLOCK_STATE, 178 android.Manifest.permission.OEM_UNLOCK_STATE 196 android.Manifest.permission.READ_OEM_UNLOCK_STATE, 197 android.Manifest.permission.OEM_UNLOCK_STATE
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 19 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 20 import static android.Manifest.permission.ACCESS_WIFI_STATE; 21 import static android.Manifest.permission.READ_WIFI_CREDENTIAL; 826 @RequiresPermission(android.Manifest.permission.NETWORK_CARRIER_PROVISIONING) 1425 android.Manifest.permission.NETWORK_SETTINGS, 1426 android.Manifest.permission.NETWORK_SETUP_WIZARD 1472 android.Manifest.permission.NETWORK_SETTINGS, 1473 android.Manifest.permission.NETWORK_SETUP_WIZARD 1497 android.Manifest.permission.NETWORK_SETTINGS, 1498 android.Manifest.permission.NETWORK_SETUP_WIZARD [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDevice.java | 19 import android.Manifest; 1024 @RequiresPermission(Manifest.permission.BLUETOOTH) 1049 @RequiresPermission(Manifest.permission.BLUETOOTH) 1072 @RequiresPermission(Manifest.permission.BLUETOOTH) 1102 @RequiresPermission(Manifest.permission.BLUETOOTH) 1126 @RequiresPermission(Manifest.permission.BLUETOOTH) 1151 @RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN) 1217 @RequiresPermission(Manifest.permission.BLUETOOTH) 1260 @RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED) 1288 @RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED) [all …]
|
/frameworks/base/core/java/android/window/ |
D | TaskOrganizer.java | 43 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 53 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 81 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 92 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 102 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 114 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 126 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 140 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) 153 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
|
/frameworks/base/wifi/api/ |
D | system-current.txt | 20 …method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void … 21 …method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void … 23 …method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public andro… 24 …method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void … 25 …method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void … 420 …method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public v… 421 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin… 422 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin… 423 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin… 424 …method @RequiresPermission(android.Manifest.permission.WIFI_UPDATE_USABILITY_STATS_SCORE) public v… [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 172 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testDestinationString() 188 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testDestinationString_whenTransportNotRegistered() 204 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testDestinationString_withoutPermission() 220 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testIsAppEligibleForBackup_whenAppNotEligible() 236 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testIsAppEligibleForBackup_whenAppEligible() 255 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testIsAppEligibleForBackup_withoutPermission() 273 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testFilterAppsEligibleForBackup() 294 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testFilterAppsEligibleForBackup_whenNoneIsEligible() 311 mShadowContext.denyPermissions(android.Manifest.permission.BACKUP); in testFilterAppsEligibleForBackup_withoutPermission() 351 mShadowContext.grantPermissions(android.Manifest.permission.BACKUP); in testSelectBackupTransport() [all …]
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerManager.java | 85 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 100 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 119 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 141 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 302 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 345 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 365 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 382 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 400 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) 435 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) [all …]
|