Home
last modified time | relevance | path

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

/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java47 private KeyStore mKeyStore = null; field in KeyStoreTest
55 mKeyStore = KeyStore.getInstance(); in setUp()
56 if (mKeyStore.state() != KeyStore.State.UNINITIALIZED) { in setUp()
57 mKeyStore.reset(); in setUp()
59 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state()); in setUp()
65 mKeyStore.reset(); in tearDown()
70 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state()); in teststate()
74 assertTrue(mKeyStore.password(TEST_PASSWD)); in testPassword()
75 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state()); in testPassword()
79 assertNull(mKeyStore.get(TEST_KEYNAME)); in testGet()
[all …]