Home
last modified time | relevance | path

Searched refs:RequiresPermission (Results 1 – 25 of 184) sorted by relevance

12345678

/frameworks/base/api/
Dlint-baseline.txt545 RequiresPermission: android.accounts.AccountManager#getAccountsByTypeAndFeatures(String, String[], …
547 RequiresPermission: android.accounts.AccountManager#hasFeatures(android.accounts.Account, String[],…
549 RequiresPermission: android.app.AlarmManager#setTime(long):
551 RequiresPermission: android.app.DownloadManager.Request#setDestinationInExternalPublicDir(String, S…
553 RequiresPermission: android.app.DownloadManager.Request#setDestinationUri(android.net.Uri):
555 RequiresPermission: android.app.DownloadManager.Request#setNotificationVisibility(int):
557 RequiresPermission: android.app.DownloadManager.Request#setShowRunningNotification(boolean):
559 RequiresPermission: android.app.Notification.Builder#setFullScreenIntent(android.app.PendingIntent,…
561 RequiresPermission: android.app.Service#startForeground(int, android.app.Notification):
563 RequiresPermission: android.app.WallpaperInfo#getSettingsSliceUri():
[all …]
/frameworks/base/core/java/android/os/image/
DDynamicSystemManager.java19 import android.annotation.RequiresPermission;
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)
[all …]
/frameworks/base/core/java/android/app/
DActivityTaskManager.java19 import android.annotation.RequiresPermission;
167 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
193 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
209 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
223 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
233 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
246 @RequiresPermission(android.Manifest.permission.REMOVE_TASKS)
309 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
322 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
334 @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS)
[all …]
DStatsManager.java23 import android.annotation.RequiresPermission;
109 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
130 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
146 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
166 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
205 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
235 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
260 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
298 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
329 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
[all …]
DVrManager.java6 import android.annotation.RequiresPermission;
70 @RequiresPermission(anyOf = {
99 @RequiresPermission(anyOf = {
123 @RequiresPermission(anyOf = {
139 @RequiresPermission(anyOf = {
160 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS)
177 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS)
193 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS)
209 @RequiresPermission(android.Manifest.permission.ACCESS_VR_MANAGER)
223 @RequiresPermission(android.Manifest.permission.RESTRICTED_VR_ACCESS)
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupManager.java21 import android.annotation.RequiresPermission;
332 @RequiresPermission(android.Manifest.permission.BACKUP)
361 @RequiresPermission(android.Manifest.permission.BACKUP)
379 @RequiresPermission(android.Manifest.permission.BACKUP)
400 @RequiresPermission(android.Manifest.permission.BACKUP)
424 @RequiresPermission(android.Manifest.permission.BACKUP)
444 @RequiresPermission(android.Manifest.permission.BACKUP)
464 @RequiresPermission(android.Manifest.permission.BACKUP)
484 @RequiresPermission(android.Manifest.permission.BACKUP)
526 @RequiresPermission(android.Manifest.permission.BACKUP)
[all …]
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryController.java21 import android.annotation.RequiresPermission;
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)
[all …]
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java23 import android.annotation.RequiresPermission;
105 @RequiresPermission(USE_BIOMETRIC)
113 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
136 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
155 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
172 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
191 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
208 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
225 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
242 @RequiresPermission(USE_BIOMETRIC_INTERNAL)
/frameworks/base/core/java/android/content/
DContext.java28 import android.annotation.RequiresPermission;
1775 public abstract void startActivity(@RequiresPermission Intent intent); in startActivity()
1786 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL)
1788 public void startActivityAsUser(@RequiresPermission @NonNull Intent intent, in startActivityAsUser()
1818 public abstract void startActivity(@RequiresPermission Intent intent, in startActivity()
1834 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL)
1836 public void startActivityAsUser(@RequiresPermission Intent intent, @Nullable Bundle options, in startActivityAsUser()
1882 public abstract void startActivities(@RequiresPermission Intent[] intents); in startActivities()
1908 public abstract void startActivities(@RequiresPermission Intent[] intents, Bundle options); in startActivities()
1940 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL)
[all …]
/frameworks/base/core/java/android/os/
DVibrator.java21 import android.annotation.RequiresPermission;
166 @RequiresPermission(android.Manifest.permission.VIBRATE_ALWAYS_ON)
175 @RequiresPermission(android.Manifest.permission.VIBRATE_ALWAYS_ON)
190 @RequiresPermission(android.Manifest.permission.VIBRATE)
207 @RequiresPermission(android.Manifest.permission.VIBRATE)
240 @RequiresPermission(android.Manifest.permission.VIBRATE)
270 @RequiresPermission(android.Manifest.permission.VIBRATE)
287 @RequiresPermission(android.Manifest.permission.VIBRATE)
292 @RequiresPermission(android.Manifest.permission.VIBRATE)
302 @RequiresPermission(android.Manifest.permission.VIBRATE)
[all …]
/frameworks/base/core/java/android/net/
DNetworkScoreManager.java24 import android.annotation.RequiresPermission;
247 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS,
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,
346 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS,
364 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS,
390 @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES)
410 @RequiresPermission(android.Manifest.permission.REQUEST_NETWORK_SCORES)
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java23 import android.annotation.RequiresPermission;
1023 @RequiresPermission(Manifest.permission.BLUETOOTH)
1052 @RequiresPermission(Manifest.permission.BLUETOOTH)
1075 @RequiresPermission(Manifest.permission.BLUETOOTH)
1105 @RequiresPermission(Manifest.permission.BLUETOOTH)
1147 @RequiresPermission(Manifest.permission.BLUETOOTH)
1172 @RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN)
1238 @RequiresPermission(Manifest.permission.BLUETOOTH)
1281 @RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
1309 @RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
[all …]
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java23 import android.annotation.RequiresPermission;
969 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
995 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
1016 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
1121 @RequiresPermission(anyOf = {
1148 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
1167 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
1191 @RequiresPermission(READ_PRIVILEGED_PHONE_STATE)
1422 @RequiresPermission(READ_PRIVILEGED_PHONE_STATE)
1456 @RequiresPermission(allOf = {
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java24 import android.annotation.RequiresPermission;
237 @RequiresPermission(anyOf = {
284 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
326 @RequiresPermission(anyOf = {
370 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
399 @RequiresPermission(anyOf = {
426 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
463 @RequiresPermission(anyOf = {
528 @RequiresPermission(anyOf = {
582 @RequiresPermission(anyOf = {
[all …]
DProvisioningManager.java23 import android.annotation.RequiresPermission;
963 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
986 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1006 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1026 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1047 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1067 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1090 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1117 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1141 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
[all …]
/frameworks/base/core/java/android/service/oemlock/
DOemLockManager.java20 import android.annotation.RequiresPermission;
53 @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE)
79 @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE)
94 @RequiresPermission(android.Manifest.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE)
113 @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE)
128 @RequiresPermission(android.Manifest.permission.MANAGE_USER_OEM_UNLOCK_STATE)
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java31 import android.annotation.RequiresPermission;
544 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
1312 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
1366 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1771 @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
1789 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1832 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1876 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1900 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
1936 @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
[all …]
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java22 import android.annotation.RequiresPermission;
86 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
881 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
915 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
978 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
1014 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
1045 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
1089 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
1129 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
1154 @RequiresPermission(Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS)
[all …]
/frameworks/base/core/java/android/annotation/
DRequiresPermission.java81 public @interface RequiresPermission { annotation
121 RequiresPermission value() default @RequiresPermission; in value() field
134 RequiresPermission value() default @RequiresPermission; in value() field
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java23 import android.annotation.RequiresPermission;
82 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
95 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
108 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
130 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
241 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
284 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
304 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
321 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
339 @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER)
[all …]
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java21 import android.annotation.RequiresPermission;
81 @RequiresPermission(anyOf = {
111 @RequiresPermission(anyOf = {
199 @RequiresPermission(anyOf = {
223 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS)
244 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS)
265 @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS)
/frameworks/base/core/java/android/service/persistentdata/
DPersistentDataBlockManager.java20 import android.annotation.RequiresPermission;
119 @RequiresPermission(android.Manifest.permission.ACCESS_PDB_STATE)
148 @RequiresPermission(android.Manifest.permission.OEM_UNLOCK_STATE)
162 @RequiresPermission(android.Manifest.permission.OEM_UNLOCK_STATE)
176 @RequiresPermission(anyOf = {
195 @RequiresPermission(anyOf = {
/frameworks/base/location/java/android/location/
DLocationManager.java28 import android.annotation.RequiresPermission;
550 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
582 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
615 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
643 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
750 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
780 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
811 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
837 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
861 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
[all …]
/frameworks/base/core/java/android/hardware/display/
DColorDisplayManager.java23 import android.annotation.RequiresPermission;
194 @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
213 @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
235 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
261 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
297 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
329 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
364 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
377 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
388 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
[all …]
/frameworks/base/core/java/android/hardware/lights/
DLightsManager.java22 import android.annotation.RequiresPermission;
96 @RequiresPermission(Manifest.permission.CONTROL_DEVICE_LIGHTS)
110 @RequiresPermission(Manifest.permission.CONTROL_DEVICE_LIGHTS)
124 @RequiresPermission(Manifest.permission.CONTROL_DEVICE_LIGHTS)
149 @RequiresPermission(Manifest.permission.CONTROL_DEVICE_LIGHTS)
163 @RequiresPermission(Manifest.permission.CONTROL_DEVICE_LIGHTS)
178 @RequiresPermission(Manifest.permission.CONTROL_DEVICE_LIGHTS)

12345678