Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java110 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local
117 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() local
133 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()