/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 366 mContext.enforceCallingPermission( in getStatistics() 381 mContext.enforceCallingPermission( in getStatisticsStream() 421 enforceCallingPermission(); in noteEvent() 428 enforceCallingPermission(); in noteSyncStart() 435 enforceCallingPermission(); in noteSyncFinish() 442 enforceCallingPermission(); in noteJobStart() 449 enforceCallingPermission(); in noteJobFinish() 456 enforceCallingPermission(); in noteAlarmStart() 463 enforceCallingPermission(); in noteAlarmFinish() 471 enforceCallingPermission(); in noteStartWakelock() [all …]
|
D | ActivityManagerService.java | 3182 enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "setFocusedStack()"); in setFocusedStack() 3203 enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "setFocusedTask()"); in setFocusedTask() 3225 enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "registerTaskStackListener()"); in registerTaskStackListener() 3234 enforceCallingPermission(MANAGE_ACTIVITY_STACKS, "unregisterTaskStackListener()"); in unregisterTaskStackListener() 4180 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setFrontActivityScreenCompatMode() 4197 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setPackageScreenCompatMode() 4214 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setPackageAskScreenCompat() 4234 enforceCallingPermission(android.Manifest.permission.PACKAGE_USAGE_STATS, in getPackageProcessState() 7711 enforceCallingPermission(Manifest.permission.GET_INTENT_SENDER_INTENT, in getIntentForIntentSender() 7765 enforceCallingPermission(android.Manifest.permission.SET_PROCESS_LIMIT, in setProcessLimit() [all …]
|
D | ActivityManagerShellCommand.java | 1489 mInternal.enforceCallingPermission(android.Manifest.permission.DUMP, 1501 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER, 1515 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER, 1530 mInternal.enforceCallingPermission(android.Manifest.permission.DUMP, 2358 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER, 2367 mInternal.enforceCallingPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER,
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareService.java | 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,
|
D | ActivityRecognitionHardware.java | 219 mContext.enforceCallingPermission(HARDWARE_PERMISSION, ENFORCE_HW_PERMISSION_MESSAGE); in checkPermissions()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 124 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER); in startRecognition() 142 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER); in stopRecognition() 152 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER); in getSoundModel() 163 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER); in updateSoundModel() 172 enforceCallingPermission(Manifest.permission.MANAGE_SOUND_TRIGGER); in deleteSoundModel() 235 private void enforceCallingPermission(String permission) { in enforceCallingPermission() method in SoundTriggerService
|
/frameworks/base/core/java/android/net/ |
D | NetworkRecommendationProvider.java | 99 enforceCallingPermission(); in requestScores() 118 private void enforceCallingPermission() { in enforceCallingPermission() method in NetworkRecommendationProvider.ServiceWrapper
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 770 enforceCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES); in getKeyphraseSoundModel() 787 enforceCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES); in updateKeyphraseSoundModel() 812 enforceCallingPermission(Manifest.permission.MANAGE_VOICE_KEYPHRASES); in deleteKeyphraseSoundModel() 967 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in getActiveServiceComponentName() 976 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in showSessionForActiveService() 998 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in hideCurrentSession() 1020 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in launchVoiceAssistFromKeyguard() 1038 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in isSessionRunning() 1046 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in activeServiceSupportsAssist() 1054 enforceCallingPermission(Manifest.permission.ACCESS_VOICE_INTERACTION_SERVICE); in activeServiceSupportsLaunchFromKeyguard() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccSmsInterfaceManager.java | 337 mPhone.getContext().enforceCallingPermission( in sendData() 392 mPhone.getContext().enforceCallingPermission( in sendText() 507 mPhone.getContext().enforceCallingPermission( in sendMultipartText() 657 context.enforceCallingPermission( in enableGsmBroadcastRange() 683 context.enforceCallingPermission( in disableGsmBroadcastRange() 709 context.enforceCallingPermission( in enableCdmaBroadcastRange() 735 context.enforceCallingPermission( in disableCdmaBroadcastRange() 931 mPhone.getContext().enforceCallingPermission(Manifest.permission.SEND_SMS, in sendStoredText() 961 mPhone.getContext().enforceCallingPermission(Manifest.permission.SEND_SMS, in sendStoredMultipartText()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 318 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in destroySessions() 344 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in listSessions() 374 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in reset() 388 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in setLogLevel() 405 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in getLogLevel() 416 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in getMaxPartitions() 425 mContext.enforceCallingPermission(MANAGE_AUTO_FILL, TAG); in setMaxPartitions()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | FusedLocationHardwareSecure.java | 44 mContext.enforceCallingPermission( in checkPermissions()
|
D | ContextHubService.java | 268 mContext.enforceCallingPermission(HARDWARE_PERMISSION, ENFORCE_HW_PERMISSION_MESSAGE); in checkPermissions()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 112 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in TestDocumentsProvider.TestContext
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 336 mContext.enforceCallingPermission(Manifest.permission.SEND_SMS, "Send MMS message"); in sendMessage() 353 mContext.enforceCallingPermission(Manifest.permission.RECEIVE_MMS, in downloadMessage()
|
D | LocationManagerService.java | 1162 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE, in getGnssBatchSize() 1178 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE, in addGnssBatchingCallback() 1242 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE, in startGnssBatch() 1265 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE, in flushGnssBatch() 1287 mContext.enforceCallingPermission(android.Manifest.permission.LOCATION_HARDWARE, in stopGnssBatch()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 749 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in ContextWrapper 750 mBase.enforceCallingPermission(permission, message); in enforceCallingPermission()
|
D | Context.java | 4097 public abstract void enforceCallingPermission( in enforceCallingPermission() method in Context
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 854 mContext.enforceCallingPermission(Manifest.permission.TRUST_LISTENER, 964 mContext.enforceCallingPermission(Manifest.permission.TRUST_LISTENER,
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 622 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in MockContext
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 547 getContext().enforceCallingPermission( in call()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 729 mSecurityPolicy.enforceCallingPermission(Manifest.permission.MODIFY_ACCESSIBILITY_DATA, in setPictureInPictureActionReplacingConnection() 752 mSecurityPolicy.enforceCallingPermission(Manifest.permission.RETRIEVE_WINDOW_CONTENT, in registerUiTestAutomationService() 814 mSecurityPolicy.enforceCallingPermission( in temporaryEnableAccessibilityStateUntilKeyguardRemoved() 846 mSecurityPolicy.enforceCallingPermission( in getWindowToken() 4863 private void enforceCallingPermission(String permission, String function) { in enforceCallingPermission() method in AccessibilityManagerService.SecurityPolicy
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 1109 getContext().enforceCallingPermission(Manifest.permission.MANAGE_DOCUMENTS, null); in callUnchecked()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkMonitor.java | 449 mContext.enforceCallingPermission( in processMessage()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 2419 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "requestBackup"); in requestBackup() 2489 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "cancelBackups"); in cancelBackups() 10040 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "adbBackup"); in adbBackup() 10113 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, in fullTransportBackup() 10162 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "adbRestore"); in adbRestore() 10266 …mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "acknowledgeAdbBackupOrResto… in acknowledgeAdbBackupOrRestore()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1378 public void enforceCallingPermission(String arg0, String arg1) { in enforceCallingPermission() method in BridgeContext
|