/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 73 != PackageManager.PERMISSION_GRANTED) { in transmit() 105 != PackageManager.PERMISSION_GRANTED) { in getCarrierFrequencies()
|
D | NetworkScoreService.java | 188 PackageManager.PERMISSION_GRANTED) { in clearScores() 218 PackageManager.PERMISSION_GRANTED) { in disableScoring()
|
D | UpdateLockService.java | 116 != PackageManager.PERMISSION_GRANTED) { in dump()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 232 != 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/ |
D | IccPhoneBookInterfaceManager.java | 165 != 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/ |
D | KeyguardService.java | 34 import static android.content.pm.PackageManager.PERMISSION_GRANTED; 59 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 106 return PackageManager.PERMISSION_GRANTED; in checkUriPermission() 111 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
|
/frameworks/base/core/java/android/net/ |
D | NetworkScorerAppManager.java | 107 PackageManager.PERMISSION_GRANTED) { in getAllValidScorers() 200 PackageManager.PERMISSION_GRANTED; in isCallerActiveScorer()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 148 != PackageManager.PERMISSION_GRANTED && 150 != PackageManager.PERMISSION_GRANTED) {
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 19 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/ |
D | SchedulingPolicyService.java | 61 return PackageManager.PERMISSION_GRANTED; in requestPriority()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 374 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
|
D | IntentSenderTest.java | 31 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
|
D | ActivityTestsBase.java | 27 public static final String PERMISSION_GRANTED = field in ActivityTestsBase
|
/frameworks/support/v4/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 77 != PackageManager.PERMISSION_GRANTED) { in canRead() 92 != PackageManager.PERMISSION_GRANTED) { in canWrite()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderWatcher.java | 177 packageName) == PackageManager.PERMISSION_GRANTED) { in hasCaptureVideoPermission() 181 packageName) == PackageManager.PERMISSION_GRANTED) { in hasCaptureVideoPermission()
|
D | MediaSessionService.java | 213 != 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/ |
D | DocumentsProvider.java | 566 == 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/ |
D | VoiceInteractionManagerService.java | 465 != 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/ |
D | AccessibilityManager.java | 194 == PackageManager.PERMISSION_GRANTED in getInstance() 197 == PackageManager.PERMISSION_GRANTED) { in getInstance()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetServiceImpl.java | 176 != PackageManager.PERMISSION_GRANTED) { in dump()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 264 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/ |
D | UsageStatsService.java | 389 == PackageManager.PERMISSION_GRANTED; in hasPermission() 455 != PackageManager.PERMISSION_GRANTED) { in dump()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkScorerAppManagerTest.java | 130 PackageManager.PERMISSION_GRANTED : PackageManager.PERMISSION_DENIED); in buildResolveInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 449 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()
|