Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/
DContentProvider.java263 == PackageManager.PERMISSION_GRANTED)) { in enforceReadPermission()
277 == PackageManager.PERMISSION_GRANTED) { in enforceReadPermission()
286 == PackageManager.PERMISSION_GRANTED) { in enforceReadPermission()
309 == PackageManager.PERMISSION_GRANTED)) { in hasWritePermission()
323 == PackageManager.PERMISSION_GRANTED) { in hasWritePermission()
332 == PackageManager.PERMISSION_GRANTED) { in hasWritePermission()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java148 != PackageManager.PERMISSION_GRANTED) { in updateAdnRecordsInEfBySearch()
196 != PackageManager.PERMISSION_GRANTED) { in updateAdnRecordsInEfByIndex()
240 != PackageManager.PERMISSION_GRANTED) { in getAdnRecordsInEf()
DPhoneSubInfo.java194 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java108 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
113 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
/frameworks/base/services/java/com/android/server/
DLightsService.java157 != PackageManager.PERMISSION_GRANTED &&
159 != PackageManager.PERMISSION_GRANTED) {
DVibratorService.java121 != PackageManager.PERMISSION_GRANTED) { in vibrate()
155 != PackageManager.PERMISSION_GRANTED) { in vibratePattern()
DLocationManagerService.java583 != PackageManager.PERMISSION_GRANTED) { in checkPermissionsSafe()
592 == PackageManager.PERMISSION_GRANTED) { in checkPermissionsSafe()
597 == PackageManager.PERMISSION_GRANTED) { in checkPermissionsSafe()
609 != PackageManager.PERMISSION_GRANTED)) { in isAllowedProviderSafe()
614 != PackageManager.PERMISSION_GRANTED) in isAllowedProviderSafe()
616 != PackageManager.PERMISSION_GRANTED)) { in isAllowedProviderSafe()
1299 PackageManager.PERMISSION_GRANTED) { in addGpsStatusListener()
1332 != PackageManager.PERMISSION_GRANTED)) { in sendExtraCommand()
1689 != PackageManager.PERMISSION_GRANTED) { in reportLocation()
2065 PackageManager.PERMISSION_GRANTED) { in checkMockPermissionsSafe()
[all …]
DTextServicesManagerService.java381 != PackageManager.PERMISSION_GRANTED) { in setCurrentSpellChecker()
395 != PackageManager.PERMISSION_GRANTED) { in setCurrentSpellCheckerSubtype()
409 != PackageManager.PERMISSION_GRANTED) { in setSpellCheckerEnabled()
489 != PackageManager.PERMISSION_GRANTED) { in dump()
DTelephonyRegistry.java511 != PackageManager.PERMISSION_GRANTED) { in dump()
642 == PackageManager.PERMISSION_GRANTED) { in checkNotifyPermission()
DDropBoxManagerService.java254 != PackageManager.PERMISSION_GRANTED) { in getNextEntry()
287 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java371 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_GRANTED); in testRegisteredReceivePermissionGranted()
400 PERMISSION_GRANTED); in testRegisteredBroadcastPermissionGranted() local
448 PERMISSION_GRANTED); in testLocalBroadcastPermissionGranted() local
494 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/base/core/java/android/webkit/
DHTML5VideoInline.java60 == PackageManager.PERMISSION_GRANTED) { in prepareDataAndDisplayMode()
DWebSettings.java397 android.os.Process.myUid()) != PackageManager.PERMISSION_GRANTED; in WebSettings()
1249 PackageManager.PERMISSION_GRANTED) { in verifyNetworkAccess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIService.java115 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/java/android/provider/
DDrmStore.java206 PackageManager.PERMISSION_GRANTED) { in enforceAccessDrmPermission()
/frameworks/base/services/java/com/android/server/usb/
DUsbService.java170 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/java/android/app/
DContextImpl.java1237 if (resultOfCheck != PackageManager.PERMISSION_GRANTED) { in enforce()
1331 == PackageManager.PERMISSION_GRANTED) { in checkUriPermission()
1332 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
1338 == PackageManager.PERMISSION_GRANTED) { in checkUriPermission()
1339 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
1363 if (resultOfCheck != PackageManager.PERMISSION_GRANTED) { in enforceForUri()
/frameworks/base/core/java/android/speech/
DRecognitionService.java161 RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED) { in checkPermissions()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java1322 != PackageManager.PERMISSION_GRANTED) { in dump()
1342 != PackageManager.PERMISSION_GRANTED) { in dump()
1362 != PackageManager.PERMISSION_GRANTED) { in dump()
2416 != PackageManager.PERMISSION_GRANTED) { in finishHeavyWeightApp()
2451 != PackageManager.PERMISSION_GRANTED) { in crashApplication()
3073 == PackageManager.PERMISSION_GRANTED) { in clearApplicationUserData()
3100 != PackageManager.PERMISSION_GRANTED && in killBackgroundProcesses()
3102 != PackageManager.PERMISSION_GRANTED) { in killBackgroundProcesses()
3134 != PackageManager.PERMISSION_GRANTED) { in forceStopPackage()
4256 uid) == PackageManager.PERMISSION_GRANTED;
[all …]
DBatteryStatsService.java469 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodWrapper.java202 != PackageManager.PERMISSION_GRANTED) { in dump()
/frameworks/base/core/tests/coretests/src/android/accounts/
DAccountManagerServiceTest.java224 return PackageManager.PERMISSION_GRANTED; in checkCallingOrSelfPermission()
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java309 if (mContext.checkCallingOrSelfPermission(perm) != PackageManager.PERMISSION_GRANTED) { in checkBinderPermission()

123