Searched refs:grant (Results 1 – 2 of 2) sorted by relevance
136 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local143 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() local159 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()
53 GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE);