Home
last modified time | relevance | path

Searched refs:grant (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java136 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local
143 grant, true)); in testCanInstallWithAutomaticAccess()
148 assertGranted(grant, true); in testCanInstallWithAutomaticAccess()
152 assertEquals(KeyChain.getPrivateKey(mActivity, grant).getAlgorithm(), "RSA"); in testCanInstallWithAutomaticAccess()
155 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), grant)); in testCanInstallWithAutomaticAccess() local
159 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayer2DrmTest.java53 GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE);