Lines Matching refs:KeyStore
20 import android.security.KeyStore;
30 * Junit / Instrumentation test case for KeyStore class
61 private KeyStore mKeyStore = null;
116 mKeyStore = KeyStore.getInstance();
117 if (mKeyStore.state() != KeyStore.State.UNINITIALIZED) {
120 assertEquals("KeyStore should be in an uninitialized state",
121 KeyStore.State.UNINITIALIZED, mKeyStore.state());
132 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state());
137 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
205 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
208 assertEquals(KeyStore.State.LOCKED, mKeyStore.state());
213 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());