Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java135 private MockStoreFile mUserStore; field in WifiConfigStoreTest
154 mUserStore = new MockStoreFile(); in setupMocks()
188 mWifiConfigStore.switchUserStoreAndRead(mUserStore); in testWriteWithEmptyData()
193 assertTrue(mUserStore.isStoreWritten()); in testWriteWithEmptyData()
197 mUserStore.getStoreBytes())); in testWriteWithEmptyData()
207 mWifiConfigStore.switchUserStoreAndRead(mUserStore); in testForceWrite()
212 assertTrue(mUserStore.isStoreWritten()); in testForceWrite()
221 mWifiConfigStore.switchUserStoreAndRead(mUserStore); in testBufferedWrite()
226 assertFalse(mUserStore.isStoreWritten()); in testBufferedWrite()
232 assertTrue(mUserStore.isStoreWritten()); in testBufferedWrite()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java105 private StoreFile mUserStore; field in WifiConfigStore
156 mUserStore = null; in WifiConfigStore()
160 mUserStore = userStore; in setUserStore()
233 return (mSharedStore.exists() || (mUserStore != null && mUserStore.exists())); in areStoresPresent()
250 if (mUserStore != null) { in write()
252 mUserStore.storeRawDataToWrite(userDataBytes); in write()
328 if (mUserStore != null) { in writeBufferedData()
329 mUserStore.writeBufferedRawData(); in writeBufferedData()
349 if (mUserStore != null) { in read()
350 userDataBytes = mUserStore.readRawData(); in read()
[all …]