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.java166 private MockStoreFile mSharedStore; field in WifiConfigStoreTest
193 mSharedStore = new MockStoreFile(WifiConfigStore.STORE_FILE_SHARED_GENERAL); in setupMocks()
212 mSharedStore); in setUp()
237 assertFalse(mSharedStore.isStoreWritten()); in testWriteWithNoStoreData()
259 assertTrue(mSharedStore.isStoreWritten()); in testForceWrite()
280 assertFalse(mSharedStore.isStoreWritten()); in testBufferedWrite()
287 assertTrue(mSharedStore.isStoreWritten()); in testBufferedWrite()
313 assertFalse(mSharedStore.isStoreWritten()); in testForceWriteAfterBufferedWrite()
323 assertTrue(mSharedStore.isStoreWritten()); in testForceWriteAfterBufferedWrite()
351 assertFalse(mSharedStore.isStoreWritten()); in testForceWriteWithNoNewDataAfterBufferedWrite()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java191 private StoreFile mSharedStore; field in WifiConfigStore
245 mSharedStore = sharedStore; in WifiConfigStore()
363 return mSharedStore.exists(); in areStoresPresent()
399 if (hasNewDataToSerialize(mSharedStore)) { in write()
400 byte[] sharedDataBytes = serializeData(mSharedStore); in write()
401 mSharedStore.storeRawDataToWrite(sharedDataBytes); in write()
493 mSharedStore.writeBufferedRawData(); in writeBufferedData()
515 resetStoreData(mSharedStore); in read()
523 byte[] sharedDataBytes = mSharedStore.readRawData(); in read()
524 deserializeData(sharedDataBytes, mSharedStore); in read()
[all …]