Home
last modified time | relevance | path

Searched refs:PERMISSION_GRANTED (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java73 != PackageManager.PERMISSION_GRANTED) { in transmit()
105 != PackageManager.PERMISSION_GRANTED) { in getCarrierFrequencies()
DNetworkScoreService.java188 PackageManager.PERMISSION_GRANTED) { in clearScores()
218 PackageManager.PERMISSION_GRANTED) { in disableScoring()
DUpdateLockService.java116 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java232 != PackageManager.PERMISSION_GRANTED) { in createProjection()
262 != PackageManager.PERMISSION_GRANTED) { in getActiveProjectionInfo()
277 != PackageManager.PERMISSION_GRANTED) { in stopActiveProjection()
295 != PackageManager.PERMISSION_GRANTED) { in addCallback()
310 != PackageManager.PERMISSION_GRANTED) { in removeCallback()
326 != PackageManager.PERMISSION_GRANTED) { in dump()
343 == PackageManager.PERMISSION_GRANTED; in checkPermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java165 != PackageManager.PERMISSION_GRANTED) { in updateAdnRecordsInEfBySearch()
217 != PackageManager.PERMISSION_GRANTED) { in updateAdnRecordsInEfByIndex()
265 != PackageManager.PERMISSION_GRANTED) { in getAdnRecordsInEf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java34 import static android.content.pm.PackageManager.PERMISSION_GRANTED;
59 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java106 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
111 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
/frameworks/base/core/java/android/net/
DNetworkScorerAppManager.java107 PackageManager.PERMISSION_GRANTED) { in getAllValidScorers()
200 PackageManager.PERMISSION_GRANTED; in isCallerActiveScorer()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java148 != PackageManager.PERMISSION_GRANTED &&
150 != PackageManager.PERMISSION_GRANTED) {
/frameworks/base/core/java/android/content/
DContentProvider.java19 import static android.content.pm.PackageManager.PERMISSION_GRANTED;
473 == PERMISSION_GRANTED; in checkUser()
492 == PERMISSION_GRANTED) { in enforceReadPermissionInner()
510 == PERMISSION_GRANTED) { in enforceReadPermissionInner()
532 callerToken) == PERMISSION_GRANTED) { in enforceReadPermissionInner()
560 == PERMISSION_GRANTED) { in enforceWritePermissionInner()
578 == PERMISSION_GRANTED) { in enforceWritePermissionInner()
597 callerToken) == PERMISSION_GRANTED) { in enforceWritePermissionInner()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java61 return PackageManager.PERMISSION_GRANTED; in requestPriority()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java374 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
403 PERMISSION_GRANTED); in testRegisteredBroadcastPermissionGranted() local
451 PERMISSION_GRANTED); in testLocalBroadcastPermissionGranted() local
497 PERMISSION_GRANTED); in testRemoteBroadcastPermissionGranted() local
DIntentSenderTest.java31 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
DActivityTestsBase.java27 public static final String PERMISSION_GRANTED = field in ActivityTestsBase
/frameworks/support/v4/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java77 != PackageManager.PERMISSION_GRANTED) { in canRead()
92 != PackageManager.PERMISSION_GRANTED) { in canWrite()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java177 packageName) == PackageManager.PERMISSION_GRANTED) { in hasCaptureVideoPermission()
181 packageName) == PackageManager.PERMISSION_GRANTED) { in hasCaptureVideoPermission()
DMediaSessionService.java213 != PackageManager.PERMISSION_GRANTED) { in enforcePhoneStatePermission()
338 != PackageManager.PERMISSION_GRANTED in enforceMediaPermissions()
347 pid, uid) != PackageManager.PERMISSION_GRANTED) { in enforceStatusBarPermission()
778 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java566 == PackageManager.PERMISSION_GRANTED) { in getCallingOrSelfUriPermissionModeFlags()
570 == PackageManager.PERMISSION_GRANTED) { in getCallingOrSelfUriPermissionModeFlags()
575 == PackageManager.PERMISSION_GRANTED) { in getCallingOrSelfUriPermissionModeFlags()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java465 != PackageManager.PERMISSION_GRANTED) { in getKeyphraseSoundModel()
488 != PackageManager.PERMISSION_GRANTED) { in updateKeyphraseSoundModel()
519 != PackageManager.PERMISSION_GRANTED) { in deleteKeyphraseSoundModel()
654 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java194 == PackageManager.PERMISSION_GRANTED in getInstance()
197 == PackageManager.PERMISSION_GRANTED) { in getInstance()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java176 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java264 component.getPackageName()) == PackageManager.PERMISSION_GRANTED; in hasHardwarePermission()
965 != PackageManager.PERMISSION_GRANTED) { in ensureParentalControlsPermission()
1346 != PackageManager.PERMISSION_GRANTED) { in getHardwareList()
1363 != PackageManager.PERMISSION_GRANTED) { in acquireTvInputHardware()
1383 != PackageManager.PERMISSION_GRANTED) { in releaseTvInputHardware()
1404 != PackageManager.PERMISSION_GRANTED) { in getAvailableTvStreamConfigList()
1426 != PackageManager.PERMISSION_GRANTED) { in captureFrame()
1492 != PackageManager.PERMISSION_GRANTED) { in dump()
1873 != PackageManager.PERMISSION_GRANTED) { in ensureHardwarePermission()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java389 == PackageManager.PERMISSION_GRANTED; in hasPermission()
455 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java130 PackageManager.PERMISSION_GRANTED : PackageManager.PERMISSION_DENIED); in buildResolveInfo()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java449 if (perm != PackageManager.PERMISSION_GRANTED) { in deliverToRegisteredReceiverLocked()
462 if (perm != PackageManager.PERMISSION_GRANTED) { in deliverToRegisteredReceiverLocked()
755 if (perm != PackageManager.PERMISSION_GRANTED) { in processNextBroadcast()
782 if (perm != PackageManager.PERMISSION_GRANTED) { in processNextBroadcast()
820 != PackageManager.PERMISSION_GRANTED) { in processNextBroadcast()

1234