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.java49 Store.sStores.clear(); in setUp()
72 assertEquals(1, Store.sStores.size()); in testGetInstance()
73 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
74 Store.sStores.clear(); in testGetInstance()
84 assertEquals(1, Store.sStores.size()); in testGetInstance()
85 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
86 Store.sStores.clear(); in testGetInstance()
98 assertEquals(0, Store.sStores.size()); in testGetInstance()
/packages/apps/Email/provider_src/com/android/email/mail/
DStore.java51 static final HashMap<HostAuth, Store> sStores = new HashMap<HostAuth, Store>(); field in Store
86 if (sStores.isEmpty()) { in getInstance()
94 Store store = sStores.get(hostAuth); in getInstance()
129 sStores.put(hostAuth, store); in createInstanceInternal()
145 return sStores.remove(HostAuth.restoreHostAuthWithId(context, account.mHostAuthKeyRecv)); in removeInstance()