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.java152 private MockStoreFile mUserStore; field in WifiConfigStoreTest
171 mUserStore = new MockStoreFile(); in setupMocks()
205 mWifiConfigStore.switchUserStoreAndRead(mUserStore); in testWriteWithEmptyData()
210 assertTrue(mUserStore.isStoreWritten()); in testWriteWithEmptyData()
214 mUserStore.getStoreBytes())); in testWriteWithEmptyData()
224 mWifiConfigStore.switchUserStoreAndRead(mUserStore); in testForceWrite()
229 assertTrue(mUserStore.isStoreWritten()); in testForceWrite()
238 mWifiConfigStore.switchUserStoreAndRead(mUserStore); in testBufferedWrite()
243 assertFalse(mUserStore.isStoreWritten()); in testBufferedWrite()
249 assertTrue(mUserStore.isStoreWritten()); in testBufferedWrite()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java109 private StoreFile mUserStore; field in WifiConfigStore
160 mUserStore = null; in WifiConfigStore()
164 mUserStore = userStore; in setUserStore()
237 return (mSharedStore.exists() || (mUserStore != null && mUserStore.exists())); in areStoresPresent()
254 if (mUserStore != null) { in write()
256 mUserStore.storeRawDataToWrite(userDataBytes); in write()
332 if (mUserStore != null) { in writeBufferedData()
333 mUserStore.writeBufferedRawData(); in writeBufferedData()
348 if (mUserStore != null) { in read()
355 if (mUserStore != null) { in read()
[all …]