Searched refs:ungrant (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/keystore/tests/src/android/security/ |
H A D | KeyStoreTest.java | 338 assertTrue("Should be able to ungrant key to other user", 339 mKeyStore.ungrant(TEST_KEYNAME, 0)); 352 assertTrue("Should be able to ungrant key to other user", 353 mKeyStore.ungrant(TEST_KEYNAME, 0)); 357 assertFalse("Should fail to ungrant key when keystore not initialized", 358 mKeyStore.ungrant(TEST_KEYNAME, 0)); 369 mKeyStore.ungrant(TEST_KEYNAME, 0)); 382 assertTrue("Should be able to ungrant key to other user", 383 mKeyStore.ungrant(TEST_KEYNAME, 0)); 385 assertFalse("Should fail to ungrant ke [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 223 private boolean ungrant(byte[] key, byte[] uid) { method in class:KeyStore 228 public boolean ungrant(String key, int uid) { method in class:KeyStore 229 return ungrant(getKeyBytes(key), getUidBytes(uid));
|
Completed in 65 milliseconds