Home
last modified time | relevance | path

Searched refs:enforceCallingPermission (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java161 mContext.enforceCallingPermission( in getStatistics()
173 mContext.enforceCallingPermission( in getStatisticsStream()
204 enforceCallingPermission(); in noteEvent()
211 enforceCallingPermission(); in noteSyncStart()
218 enforceCallingPermission(); in noteSyncFinish()
225 enforceCallingPermission(); in noteJobStart()
232 enforceCallingPermission(); in noteJobFinish()
240 enforceCallingPermission(); in noteStartWakelock()
248 enforceCallingPermission(); in noteStopWakelock()
257 enforceCallingPermission(); in noteStartWakelockFromSource()
[all …]
DActivityManagerService.java3442 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setFrontActivityScreenCompatMode()
3459 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setPackageScreenCompatMode()
3476 enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setPackageAskScreenCompat()
6834 enforceCallingPermission(android.Manifest.permission.SET_PROCESS_LIMIT, in setProcessLimit()
6872 enforceCallingPermission(android.Manifest.permission.SET_PROCESS_LIMIT,
7004 void enforceCallingPermission(String permission, String func) {
8356 enforceCallingPermission(android.Manifest.permission.READ_FRAME_BUFFER,
8551 enforceCallingPermission(android.Manifest.permission.REMOVE_TASKS,
8567 enforceCallingPermission(android.Manifest.permission.REORDER_TASKS,
8606 enforceCallingPermission(android.Manifest.permission.REORDER_TASKS,
[all …]
DActiveServices.java717 mAm.enforceCallingPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS, in bindServiceLocked()
DActivityStackSupervisor.java940 mService.enforceCallingPermission(android.Manifest.permission.CHANGE_CONFIGURATION, in startActivityMayWait()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareService.java77 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
84 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
93 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
100 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE,
108 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,
DActivityRecognitionHardware.java199 mContext.enforceCallingPermission(HARDWARE_PERMISSION, message); in checkPermissions()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java225 mContext.enforceCallingPermission(Manifest.permission.SEND_SMS, "Send MMS message"); in sendMessage()
238 mContext.enforceCallingPermission(Manifest.permission.RECEIVE_MMS, in downloadMessage()
269 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, "Import SMS message"); in importTextMessage()
284 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, "Import MMS message"); in importMultimediaMessage()
298 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, in deleteStoredMessage()
310 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, "Delete conversation"); in deleteStoredConversation()
321 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, in updateStoredMessageStatus()
330 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, in archiveStoredConversation()
339 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, "Add SMS draft"); in addTextMessageDraft()
352 mContext.enforceCallingPermission(Manifest.permission.WRITE_SMS, "Add MMS draft"); in addMultimediaMessageDraft()
[all …]
DAlarmManagerService.java784 getContext().enforceCallingPermission(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccSmsInterfaceManager.java176 mContext.enforceCallingPermission( in enforceReceiveAndSend()
178 mContext.enforceCallingPermission( in enforceReceiveAndSend()
347 mPhone.getContext().enforceCallingPermission( in sendData()
390 mPhone.getContext().enforceCallingPermission( in sendText()
471 mPhone.getContext().enforceCallingPermission( in sendMultipartText()
611 context.enforceCallingPermission( in enableGsmBroadcastRange()
638 context.enforceCallingPermission( in disableGsmBroadcastRange()
665 context.enforceCallingPermission( in enableCdmaBroadcastRange()
692 context.enforceCallingPermission( in disableCdmaBroadcastRange()
888 mPhone.getContext().enforceCallingPermission(Manifest.permission.SEND_SMS, in sendStoredText()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DFusedLocationHardwareSecure.java44 mContext.enforceCallingPermission( in checkPermissions()
/frameworks/base/core/java/android/content/
DContextWrapper.java586 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in ContextWrapper
587 mBase.enforceCallingPermission(permission, message); in enforceCallingPermission()
DContext.java3000 public abstract void enforceCallingPermission( in enforceCallingPermission() method in Context
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java556 mContext.enforceCallingPermission(Manifest.permission.TRUST_LISTENER,
562 mContext.enforceCallingPermission(Manifest.permission.DUMP,
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java503 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in MockContext
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java617 mSecurityPolicy.enforceCallingPermission(Manifest.permission.RETRIEVE_WINDOW_CONTENT, in registerUiTestAutomationService()
677 mSecurityPolicy.enforceCallingPermission( in temporaryEnableAccessibilityStateUntilKeyguardRemoved()
709 mSecurityPolicy.enforceCallingPermission( in getWindowToken()
1626 mSecurityPolicy.enforceCallingPermission(Manifest.permission.DUMP, FUNCTION_DUMP); in dump()
2586 mSecurityPolicy.enforceCallingPermission(Manifest.permission.DUMP, FUNCTION_DUMP); in dump()
3704 private void enforceCallingPermission(String permission, String function) { in enforceCallingPermission() method in AccessibilityManagerService.SecurityPolicy
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1001 public void enforceCallingPermission(String arg0, String arg1) { in enforceCallingPermission() method in BridgeContext
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java623 mContext.enforceCallingPermission(android.Manifest.permission.UPDATE_DEVICE_STATS, in enforceWorkSourcePermission()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java8152 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "fullBackup"); in fullBackup()
8222 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, in fullTransportBackup()
8252 mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "fullRestore"); in fullRestore()
8354 …mContext.enforceCallingPermission(android.Manifest.permission.BACKUP, "acknowledgeFullBackupOrRest… in acknowledgeFullBackupOrRestore()
/frameworks/base/core/java/android/app/
DContextImpl.java1912 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in ContextImpl
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1464 getContext().enforceCallingPermission(android.Manifest.permission.STATUS_BAR_SERVICE,
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3063 mContext.enforceCallingPermission( in enforceModifyAppWidgetBindPermissions()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10647 mContext.enforceCallingPermission( in deletePackage()
/frameworks/base/api/
Dcurrent.txt7104 method public abstract void enforceCallingPermission(java.lang.String, java.lang.String);
7276 method public void enforceCallingPermission(java.lang.String, java.lang.String);
29022 method public void enforceCallingPermission(java.lang.String, java.lang.String);