/frameworks/base/services/java/com/android/server/ |
SerialService.java | 38 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null); 53 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null);
|
UpdateLockService.java | 94 mContext.enforceCallingOrSelfPermission(PERMISSION, "acquireUpdateLock"); 104 mContext.enforceCallingOrSelfPermission(PERMISSION, "releaseUpdateLock");
|
DiskStatsService.java | 47 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
SamplingProfilerService.java | 99 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
CountryDetectorService.java | 211 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
AppWidgetService.java | 316 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
LockSettingsService.java | 157 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); 161 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead");
|
NsdService.java | 563 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.INTERNET, 569 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.CONNECTIVITY_INTERNAL, [all...] |
StatusBarManagerService.java | 412 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.STATUS_BAR, 417 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.EXPAND_STATUS_BAR, 422 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.STATUS_BAR_SERVICE,
|
TelephonyRegistry.java | 754 mContext.enforceCallingOrSelfPermission( 760 mContext.enforceCallingOrSelfPermission( 766 mContext.enforceCallingOrSelfPermission(
|
VibratorService.java | 288 mContext.enforceCallingOrSelfPermission(
|
/frameworks/base/services/java/com/android/server/search/ |
SearchManagerService.java | 267 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneSubInfo.java | 67 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 77 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 86 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 94 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 103 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 112 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 121 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 130 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 139 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, "Requires READ_PHONE_STATE"); 152 mContext.enforceCallingOrSelfPermission(CALL_PRIVILEGED [all...] |
IccSmsInterfaceManager.java | 281 mContext.enforceCallingOrSelfPermission(
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpService.java | 115 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 133 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 146 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 151 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 156 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 161 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 171 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 197 enforceCallingOrSelfPermission(BLUETOOTH_PERM,
|
/frameworks/base/core/java/android/content/ |
ContextWrapper.java | 570 public void enforceCallingOrSelfPermission( 572 mBase.enforceCallingOrSelfPermission(permission, message);
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbService.java | 164 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 170 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 201 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 208 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 215 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 221 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 227 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 237 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 247 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null); 253 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.MANAGE_USB, null) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetService.java | 318 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 336 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 349 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 354 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 359 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 364 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 374 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 383 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 394 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 409 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission") [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockContext.java | 488 public void enforceCallingOrSelfPermission(String permission, String message) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 382 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 398 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 412 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 428 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 438 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 448 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 462 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 474 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 488 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM, 506 enforceCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 342 public void enforceCallingOrSelfPermission(String permission, String message) {
|
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 477 mContext.enforceCallingOrSelfPermission( 483 mContext.enforceCallingOrSelfPermission(
|
/frameworks/base/services/java/com/android/server/content/ |
ContentService.java | 85 mContext.enforceCallingOrSelfPermission(Manifest.permission.DUMP, 176 mContext.enforceCallingOrSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL, 232 mContext.enforceCallingOrSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL, 367 mContext.enforceCallingOrSelfPermission( 442 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 464 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 490 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 521 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS, 551 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS, 565 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 402 enforceCallingOrSelfPermission(BLUETOOTH_PERM, 415 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 427 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 433 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 439 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 452 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 467 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 472 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); 479 enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); [all...] |