/frameworks/support/core-utils/java/android/support/v4/content/ |
D | PermissionChecker.java | 59 public static final int PERMISSION_GRANTED = PackageManager.PERMISSION_GRANTED; field in PermissionChecker 69 @IntDef({PERMISSION_GRANTED, 100 return PERMISSION_GRANTED; in checkPermission() 116 return PERMISSION_GRANTED; in checkPermission()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 71 return (permission == PackageManager.PERMISSION_GRANTED); in checkConfigOverridePermission() 147 == PackageManager.PERMISSION_GRANTED; in checkCallerHasPeersMacAddressPermission() 171 == PackageManager.PERMISSION_GRANTED; in checkInteractAcrossUsersFull() 231 == PackageManager.PERMISSION_GRANTED) in checkCallersLocationPermission()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 68 return PackageManager.PERMISSION_GRANTED; in checkPermission() 82 checkPermission(context, permission) == PackageManager.PERMISSION_GRANTED; in hasPermissions()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | DeviceIdentifiersPolicyService.java | 60 != PackageManager.PERMISSION_GRANTED in getSerial() 63 != PackageManager.PERMISSION_GRANTED) { in getSerial()
|
D | SchedulingPolicyService.java | 74 return PackageManager.PERMISSION_GRANTED; in requestPriority()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 73 != PackageManager.PERMISSION_GRANTED) { in transmit() 105 != PackageManager.PERMISSION_GRANTED) { in getCarrierFrequencies()
|
D | HardwarePropertiesManagerService.java | 108 != PackageManager.PERMISSION_GRANTED) { in enforceHardwarePropertiesRetrievalAllowed()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 226 != PackageManager.PERMISSION_GRANTED) { in createProjection() 256 != PackageManager.PERMISSION_GRANTED) { in getActiveProjectionInfo() 271 != PackageManager.PERMISSION_GRANTED) { in stopActiveProjection() 289 != PackageManager.PERMISSION_GRANTED) { in addCallback() 304 != PackageManager.PERMISSION_GRANTED) { in removeCallback() 330 == PackageManager.PERMISSION_GRANTED; in checkPermission()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 80 != PackageManager.PERMISSION_GRANTED) { in checkDumpPermission() 110 != PackageManager.PERMISSION_GRANTED) { in checkUsageStatsPermission()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 96 permissionDenied[i] = permissionCheck != PackageManager.PERMISSION_GRANTED; in checkPermission() 131 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 125 READ_NETWORK_USAGE_HISTORY) == PackageManager.PERMISSION_GRANTED) { in checkAccessLevel() 184 return permissionCheck == PackageManager.PERMISSION_GRANTED; in hasAppOpsPermission()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 110 return PackageManager.PERMISSION_GRANTED; in checkUriPermission() 115 return PackageManager.PERMISSION_GRANTED; in checkUriPermission()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 204 != PackageManager.PERMISSION_GRANTED) { in changeProviderAndSetting() 252 != PackageManager.PERMISSION_GRANTED) { in enableFallbackLogic() 278 != PackageManager.PERMISSION_GRANTED) { in enableMultiProcess()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccPhoneBookInterfaceManager.java | 168 != PackageManager.PERMISSION_GRANTED) { in updateAdnRecordsInEfBySearch() 221 != PackageManager.PERMISSION_GRANTED) { in updateAdnRecordsInEfByIndex() 289 != PackageManager.PERMISSION_GRANTED) { in getAdnRecordsInEf()
|
/frameworks/support/compat/tests/java/android/support/v4/content/ |
D | ContextCompatTest.java | 138 assertEquals("Vibrate permission granted", PackageManager.PERMISSION_GRANTED, in testCheckSelfPermission() 141 assertEquals("Wake lock permission granted", PackageManager.PERMISSION_GRANTED, in testCheckSelfPermission()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | TwilightManager.java | 105 if (permission == PermissionChecker.PERMISSION_GRANTED) { in getLastKnownLocation() 111 if (permission == PermissionChecker.PERMISSION_GRANTED) { in getLastKnownLocation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 36 import static android.content.pm.PackageManager.PERMISSION_GRANTED; 61 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 169 hasPermission ? PackageManager.PERMISSION_GRANTED in setHasAppOpsPermission() 175 .thenReturn(hasPermission ? PackageManager.PERMISSION_GRANTED in setHasReadHistoryPermission()
|
/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()
|
/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()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 130 .thenReturn(PackageManager.PERMISSION_GRANTED); in testCheckConfigOverridePermissionApproved() 369 mCoarseLocationPermission = PackageManager.PERMISSION_GRANTED; in testLegacyAppHasLocationAndAllPermissions() 440 mCoarseLocationPermission = PackageManager.PERMISSION_GRANTED; in testEnforceLocationPermission() 475 return PackageManager.PERMISSION_GRANTED; in createPermissionAnswer()
|
/frameworks/support/core-utils/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 94 != PackageManager.PERMISSION_GRANTED) { in canRead() 109 != PackageManager.PERMISSION_GRANTED) { in canWrite()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UidRecord.java | 111 uid) == PackageManager.PERMISSION_GRANTED; in updateHasInternetPermission()
|
/frameworks/support/compat/java/android/support/v4/content/pm/ |
D | ShortcutManagerCompat.java | 59 != PackageManager.PERMISSION_GRANTED) { in isRequestPinShortcutSupported()
|