Searched refs:enforceCallingPermission (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java80 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,
H A DActivityRecognitionHardware.java219 mContext.enforceCallingPermission(HARDWARE_PERMISSION, ENFORCE_HW_PERMISSION_MESSAGE);
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java373 mContext.enforceCallingPermission(
388 mContext.enforceCallingPermission(
428 enforceCallingPermission();
435 enforceCallingPermission();
444 enforceCallingPermission();
453 enforceCallingPermission();
463 enforceCallingPermission();
480 enforceCallingPermission();
487 enforceCallingPermission();
494 enforceCallingPermission();
1146 public void enforceCallingPermission() { method in class:BatteryStatsService
[all...]
H A DActivityManagerService.java3589 enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "setFocusedStack()");
3611 enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "setFocusedTask()");
4735 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY,
4752 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY,
4769 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY,
4789 enforceCallingPermission(android.Manifest.permission.PACKAGE_USAGE_STATS,
5293 enforceCallingPermission(BIND_VOICE_INTERACTION, "startVoiceActivity()");
5316 enforceCallingPermission(BIND_VOICE_INTERACTION, "startAssistantActivity()");
8623 enforceCallingPermission(Manifest.permission.GET_INTENT_SENDER_INTENT,
8677 enforceCallingPermission(androi
9161 void enforceCallingPermission(String permission, String func) { method in class:ActivityManagerService
[all...]
H A DActivityManagerShellCommand.java1769 mInternal.enforceCallingPermission(android.Manifest.permission.DUMP,
1781 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER,
1795 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER,
1810 mInternal.enforceCallingPermission(android.Manifest.permission.DUMP,
2728 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER,
2737 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER,
/frameworks/base/core/java/android/net/
H A DNetworkRecommendationProvider.java100 enforceCallingPermission();
119 private void enforceCallingPermission() { method in class:NetworkRecommendationProvider.ServiceWrapper
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DIccSmsInterfaceManagerTest.java100 .enforceCallingPermission(Manifest.permission.SEND_SMS, MESSAGE);
124 .enforceCallingPermission(Manifest.permission.MODIFY_PHONE_STATE, MESSAGE);
126 .enforceCallingPermission(Manifest.permission.SEND_SMS, MESSAGE);
144 .enforceCallingPermission(Manifest.permission.MODIFY_PHONE_STATE, MESSAGE);
157 .enforceCallingPermission(Manifest.permission.SEND_SMS, MESSAGE);
/frameworks/base/services/core/java/com/android/server/timezone/
H A DRulesManagerServiceHelperImpl.java44 mContext.enforceCallingPermission(requiredPermission, null /* message */);
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerService.java181 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
199 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
209 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
220 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
229 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
240 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
267 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
319 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
369 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER);
416 enforceCallingPermission(Manifes
1242 private void enforceCallingPermission(String permission) { method in class:SoundTriggerService
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java368 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
394 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
424 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
438 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
455 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
466 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
475 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
484 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
493 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG);
503 mContext.enforceCallingPermission(MANAGE_AUTO_FIL
[all...]
/frameworks/base/services/core/java/com/android/server/stats/
H A DStatsCompanionService.java210 enforceCallingPermission();
226 enforceCallingPermission();
439 enforceCallingPermission();
455 enforceCallingPermission();
467 enforceCallingPermission();
483 enforceCallingPermission();
496 enforceCallingPermission();
512 enforceCallingPermission();
901 enforceCallingPermission();
987 enforceCallingPermission();
1012 private void enforceCallingPermission() { method in class:StatsCompanionService
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java803 enforceCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES);
820 enforceCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES);
845 enforceCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES);
1002 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
1011 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
1033 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
1055 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
1073 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
1081 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE);
1089 enforceCallingPermission(Manifes
1175 private void enforceCallingPermission(String permission) { method in class:VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
[all...]
/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestDocumentsProvider.java112 public void enforceCallingPermission(String permission, String message) { method in class:TestDocumentsProvider.TestContext
/frameworks/base/services/core/java/com/android/server/location/
H A DContextHubServiceUtil.java203 context.enforceCallingPermission(HARDWARE_PERMISSION, ENFORCE_HW_PERMISSION_MESSAGE);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccSmsInterfaceManager.java807 mContext.enforceCallingPermission(
831 mContext.enforceCallingPermission(
855 mContext.enforceCallingPermission(
879 mContext.enforceCallingPermission(
1272 mContext.enforceCallingPermission(
1300 mContext.enforceCallingPermission(Manifest.permission.SEND_SMS, message);
/frameworks/base/tests/testables/src/android/testing/
H A DTestableContext.java365 public void enforceCallingPermission(String permission, String message) { method in class:TestableContext
369 super.enforceCallingPermission(permission, message);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java836 getContext().enforceCallingPermission(
860 getContext().enforceCallingPermission(
905 getContext().enforceCallingPermission(Manifest.permission.CHANGE_APP_IDLE_STATE,
953 getContext().enforceCallingPermission(Manifest.permission.CHANGE_APP_IDLE_STATE,
1021 getContext().enforceCallingPermission(Manifest.permission.CHANGE_APP_IDLE_STATE,
/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java336 mContext.enforceCallingPermission(Manifest.permission.SEND_SMS, "Send MMS message");
353 mContext.enforceCallingPermission(Manifest.permission.RECEIVE_MMS,
H A DLocationManagerService.java1176 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE,
1192 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE,
1256 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE,
1279 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE,
1301 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE,
2293 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE,
2295 mContext.enforceCallingPermission(android.Manifest.permission.ACCESS_FINE_LOCATION,
2617 mContext.enforceCallingPermission(
2702 mContext.enforceCallingPermission(
/frameworks/base/core/java/android/content/
H A DContextWrapper.java769 public void enforceCallingPermission(String permission, String message) { method in class:ContextWrapper
770 mBase.enforceCallingPermission(permission, message);
/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerService.java678 getContext().enforceCallingPermission(
689 getContext().enforceCallingPermission(android.Manifest.permission.DUMP, message);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java1597 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "requestBackup");
1685 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "cancelBackups");
2335 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP,
2450 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "adbBackup");
2526 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP,
2586 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "adbRestore");
2695 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP,
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java593 getContext().enforceCallingPermission(
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java640 public void enforceCallingPermission(String permission, String message) { method in class:MockContext
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java908 mContext.enforceCallingPermission(Manifest.permission.TRUST_LISTENER,
1018 mContext.enforceCallingPermission(Manifest.permission.TRUST_LISTENER,

Completed in 1712 milliseconds

12