Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java224 boolean granted = false; in assertGranted()
226 granted = (KeyChain.getPrivateKey(getActivity(), alias) != null); in assertGranted()
229 assertEquals("Grant for alias: \"" + alias + "\"", expected, granted); in assertGranted()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java137 int requestCode, String[] permissions, boolean[] granted) { in assertPermissionRequestResult() argument
141 assertEquals(granted[i] ? PackageManager.PERMISSION_GRANTED in assertPermissionRequestResult()
243 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState() argument
285 if (granted != wasGranted) { in setPermissionGrantState()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT18 Permission is hereby granted, free of charge, to any person obtaining a copy of