Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java48 Store.sStores.clear(); in setUp()
67 assertEquals(1, Store.sStores.size()); in testGetInstance()
68 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
69 Store.sStores.clear(); in testGetInstance()
79 assertEquals(1, Store.sStores.size()); in testGetInstance()
80 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
81 Store.sStores.clear(); in testGetInstance()
93 assertEquals(0, Store.sStores.size()); in testGetInstance()
/packages/apps/Email/src/com/android/email/mail/
DStore.java50 static final HashMap<HostAuth, Store> sStores = new HashMap<HostAuth, Store>(); field in Store
93 Store store = sStores.get(hostAuth); in getInstance()
109 sStores.put(hostAuth, store); in getInstance()
126 return sStores.remove(HostAuth.restoreHostAuthWithId(context, account.mHostAuthKeyRecv)); in removeInstance()