Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java151 private MockStoreFile mSharedStore; field in WifiConfigStoreTest
172 mSharedStore = new MockStoreFile(); in setupMocks()
183 mWifiConfigStore = new WifiConfigStore(mContext, mLooper.getLooper(), mClock, mSharedStore); in setUp()
209 assertTrue(mSharedStore.isStoreWritten()); in testWriteWithEmptyData()
212 mSharedStore.getStoreBytes())); in testWriteWithEmptyData()
228 assertTrue(mSharedStore.isStoreWritten()); in testForceWrite()
242 assertFalse(mSharedStore.isStoreWritten()); in testBufferedWrite()
248 assertTrue(mSharedStore.isStoreWritten()); in testBufferedWrite()
269 assertFalse(mSharedStore.isStoreWritten()); in testForceWriteAfterBufferedWrite()
279 assertTrue(mSharedStore.isStoreWritten()); in testForceWriteAfterBufferedWrite()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java105 private StoreFile mSharedStore; field in WifiConfigStore
157 mSharedStore = sharedStore; in WifiConfigStore()
237 return (mSharedStore.exists() || (mUserStore != null && mUserStore.exists())); in areStoresPresent()
253 mSharedStore.storeRawDataToWrite(sharedDataBytes); in write()
331 mSharedStore.writeBufferedRawData(); in writeBufferedData()
353 byte[] sharedDataBytes = mSharedStore.readRawData(); in read()