Lines Matching refs:ungrant
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 key to other user second time",
386 mKeyStore.ungrant(TEST_KEYNAME, 0));
402 assertTrue("Should be able to ungrant key to other user",
403 mKeyStore.ungrant(TEST_KEYNAME, 0));
405 assertFalse("Should fail to ungrant key to other user second time",
406 mKeyStore.ungrant(TEST_KEYNAME, 0));