Searched refs:grant (Results 1 – 1 of 1) sorted by relevance
110 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local117 grant, true)); in testCanInstallWithAutomaticAccess()122 assertGranted(grant, true); in testCanInstallWithAutomaticAccess()126 assertEquals(KeyChain.getPrivateKey(getActivity(), grant).getAlgorithm(), "RSA"); in testCanInstallWithAutomaticAccess()129 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), grant)); in testCanInstallWithAutomaticAccess() local133 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()