Home
last modified time | relevance | path

Searched refs:granted (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java140 Set<String> granted = filterValues(requestedPrivPermissions, in privappPermissionsNeedToBeWhitelisted() local
144 granted); in privappPermissionsNeedToBeWhitelisted()
157 + getPrintableSet(" ", granted) in privappPermissionsNeedToBeWhitelisted()
174 Set<String> grantedNotInWhitelist = difference(granted, whitelist); in privappPermissionsNeedToBeWhitelisted()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/
DUsePermissionTest29.java67 String[] permissions, boolean... granted) {
69 permissions, granted);
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java86 int requestCode, String[] permissions, boolean[] granted) { in assertPermissionRequestResult() argument
90 assertEquals(granted[i] ? PackageManager.PERMISSION_GRANTED in assertPermissionRequestResult()
369 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState() argument
426 if (granted != wasGranted) { in setPermissionGrantState()
429 if (granted) { in setPermissionGrantState()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java82 boolean granted = intent.getBooleanExtra( in runTest()
85 if (granted) { in runTest()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT18 Permission is hereby granted, free of charge, to any person obtaining a copy of
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java720 boolean granted = (KeyChain.getPrivateKey(mActivity, alias) != null); in assertGranted()
721 assertWithMessage("Grant for alias: \"" + alias + "\"").that(granted).isEqualTo(expected); in assertGranted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java153 boolean granted = intent.getBooleanExtra( in onCreate()
156 if (granted) { in onCreate()