Home
last modified time | relevance | path

Searched refs:checkCallingOrSelfPermission (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java72 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.TRANSMIT_IR) in transmit()
104 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.TRANSMIT_IR) in getCarrierFrequencies()
DNetworkScoreService.java121 mContext.checkCallingOrSelfPermission(permission.BROADCAST_SCORE_NETWORKS) == in clearScores()
142 mContext.checkCallingOrSelfPermission(permission.BROADCAST_SCORE_NETWORKS) == in disableScoring()
DUpdateLockService.java115 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
DTextServicesManagerService.java536 if (mContext.checkCallingOrSelfPermission( in setCurrentSpellChecker()
553 if (mContext.checkCallingOrSelfPermission( in setCurrentSpellCheckerSubtype()
570 if (mContext.checkCallingOrSelfPermission( in setSpellCheckerEnabled()
647 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
DVibratorService.java228 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.VIBRATE) in vibrate()
275 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.VIBRATE) in vibratePattern()
DDockObserver.java239 if (getContext().checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
DCommonTimeManagementService.java180 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
DDropBoxManagerService.java279 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.READ_LOGS) in getNextEntry()
312 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java163 if (mPhone.getContext().checkCallingOrSelfPermission( in updateAdnRecordsInEfBySearch()
215 if (mPhone.getContext().checkCallingOrSelfPermission( in updateAdnRecordsInEfByIndex()
263 if (mPhone.getContext().checkCallingOrSelfPermission( in getAdnRecordsInEf()
DPhoneSubInfo.java319 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java147 if (context.checkCallingOrSelfPermission(android.Manifest.permission.FLASHLIGHT)
149 context.checkCallingOrSelfPermission(android.Manifest.permission.HARDWARE_TEST)
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java55 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java192 || context.checkCallingOrSelfPermission( in getInstance()
195 || context.checkCallingOrSelfPermission( in getInstance()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java156 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java409 if (mContext.checkCallingOrSelfPermission(permission) in checkPermission()
465 if (mContext.checkCallingOrSelfPermission(Manifest.permission.DUMP) in dump()
/frameworks/base/core/java/android/speech/
DRecognitionService.java173 if (RecognitionService.this.checkCallingOrSelfPermission(android.Manifest.permission. in checkPermissions()
/frameworks/base/core/java/android/content/
DContextWrapper.java575 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in ContextWrapper
576 return mBase.checkCallingOrSelfPermission(permission); in checkCallingOrSelfPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java236 public int checkCallingOrSelfPermission(final String permission) { in checkCallingOrSelfPermission() method in AccountManagerServiceTest.MyMockContext
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodWrapper.java221 if (target.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java341 if (mContext.checkCallingOrSelfPermission(perm) != PackageManager.PERMISSION_GRANTED) { in checkBinderPermission()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java492 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in MockContext
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java397 if (getContext().checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java657 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java320 || mContext.checkCallingOrSelfPermission(Manifest.permission.DUMP) in dump()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java131 final boolean trusted = mContext.checkCallingOrSelfPermission( in registerClientAsUser()
261 if (mContext.checkCallingOrSelfPermission(Manifest.permission.DUMP) in dump()

123