Searched refs:mSharedStore (Results 1 – 2 of 2) sorted by relevance
166 private MockStoreFile mSharedStore; field in WifiConfigStoreTest193 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 …]
191 private StoreFile mSharedStore; field in WifiConfigStore245 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 …]