Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupConfigStoreDataTest.java60 @Mock private WakeupConfigStoreData.DataSource<Set<ScanResultMatchInfo>> mNetworkDataSource; field in WakeupConfigStoreDataTest
69 mNotificationsDataSource, mNetworkDataSource); in setUp()
113 when(mNetworkDataSource.getData()).thenReturn(networks); in deserializeSerializedData_emptySet()
121 verify(mNetworkDataSource).setData(eq(networks)); in deserializeSerializedData_emptySet()
155 when(mNetworkDataSource.getData()).thenReturn(networks); in deserializeSerializedData()
163 verify(mNetworkDataSource).setData(eq(networks)); in deserializeSerializedData()
176 verify(mNetworkDataSource).setData(eq(Collections.emptySet())); in resetDataWipesDataSources()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupConfigStoreData.java59 private final DataSource<Set<ScanResultMatchInfo>> mNetworkDataSource; field in WakeupConfigStoreData
95 mNetworkDataSource = networkDataSource; in WakeupConfigStoreData()
111 for (ScanResultMatchInfo scanResultMatchInfo : mNetworkDataSource.getData()) { in serializeData()
204 mNetworkDataSource.setData(networks); in deserializeData()
352 mNetworkDataSource.setData(Collections.emptySet()); in resetData()