Home
last modified time | relevance | path

Searched refs:mIpMemoryStore (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMemoryStoreImplTest.java46 @Mock IpMemoryStore mIpMemoryStore; field in MemoryStoreImplTest
71 when(mWifiInjector.getIpMemoryStore()).thenReturn(mIpMemoryStore); in testStartInstallsItself()
83 when(mWifiInjector.getIpMemoryStore()).thenReturn(mIpMemoryStore); in testThatStopDoesPendingWrites()
111 when(mWifiInjector.getIpMemoryStore()).thenReturn(mIpMemoryStore); in wifiScoreCardReadShouldCallIpMemoryStoreRetrieveBlob()
114 verify(mIpMemoryStore).retrieveBlob( in wifiScoreCardReadShouldCallIpMemoryStoreRetrieveBlob()
119 verifyNoMoreInteractions(mIpMemoryStore, mBlobListener); in wifiScoreCardReadShouldCallIpMemoryStoreRetrieveBlob()
146 when(mWifiInjector.getIpMemoryStore()).thenReturn(mIpMemoryStore); in wifiScoreCardWriteShouldCallIpMemoryStoreStoreBlob()
149 verify(mIpMemoryStore).storeBlob( in wifiScoreCardWriteShouldCallIpMemoryStoreStoreBlob()
157 verifyNoMoreInteractions(mIpMemoryStore); in wifiScoreCardWriteShouldCallIpMemoryStoreStoreBlob()
169 when(mWifiInjector.getIpMemoryStore()).thenReturn(mIpMemoryStore); in exceptionDisablesFurtherOperations()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMemoryStoreImpl.java47 @Nullable private IpMemoryStore mIpMemoryStore; field in MemoryStoreImpl
55 mIpMemoryStore = null; in MemoryStoreImpl()
69 mIpMemoryStore.retrieveBlob( in read()
120 mIpMemoryStore.storeBlob( in write()
138 mIpMemoryStore.storeNetworkAttributes(key, attributes, status -> { in setCluster()
151 mIpMemoryStore.deleteCluster(cluster, needWipe, (status, deletedRecords) -> { in removeCluster()
164 if (mIpMemoryStore != null) { in start()
167 mIpMemoryStore = mWifiInjector.getIpMemoryStore(); in start()
168 if (mIpMemoryStore == null) { in start()
180 if (mIpMemoryStore == null) return; in stop()
[all …]
DWifiInjector.java207 private IpMemoryStore mIpMemoryStore; field in WifiInjector
984 if (mIpMemoryStore == null) { in getIpMemoryStore()
985 mIpMemoryStore = IpMemoryStore.getMemoryStore(mContext); in getIpMemoryStore()
987 return mIpMemoryStore; in getIpMemoryStore()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.kt55 verify(mIpMemoryStore, timeout(timeout)) in <lambda>()
61 verify(mIpMemoryStore, never()).storeNetworkAttributes(eq(l2Key), any(), any()) in <lambda>()
69 }.`when`(mIpMemoryStore).retrieveNetworkAttributes(eq(l2Key), any()) in <lambda>()
DIpClientIntegrationTestCommon.java300 @Mock protected NetworkStackIpMemoryStore mIpMemoryStore; field in IpClientIntegrationTestCommon
436 return mIpMemoryStore; in getIpMemoryStore()
760 }).when(mIpMemoryStore).retrieveNetworkAttributes(any(), any());
1090 }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());
1575 reset(mIpMemoryStore);
2556 }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());
2573 reset(mIpMemoryStore);
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java146 @Mock private NetworkStackIpMemoryStore mIpMemoryStore; field in IpClientTest
168 .thenReturn(mIpMemoryStore); in setUp()
244 verifyNoMoreInteractions(mIpMemoryStore); in testInvalidInterfaceDoesNotThrow()
255 verify(mIpMemoryStore, never()).storeNetworkAttributes(any(), any(), any()); in testInterfaceNotFoundFailsImmediately()
294 verify(mIpMemoryStore, never()).storeNetworkAttributes(any(), any(), any()); in doProvisioningWithDefaultConfiguration()
435 verifyNoMoreInteractions(mIpMemoryStore); in verifyShutdown()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java361 private final NetworkStackIpMemoryStore mIpMemoryStore; field in DhcpClient
482 mIpMemoryStore = deps.getIpMemoryStore(); in DhcpClient()
827 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in setLeaseExpiredToIpMemoryStore()
844 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in maybeSaveLeaseToIpMemoryStore()
1232 mIpMemoryStore.retrieveNetworkAttributes(mConfiguration.l2Key, listener); in enter()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java173 private final NetworkStackIpMemoryStore mIpMemoryStore; field in IpClient
716 mIpMemoryStore = deps.getIpMemoryStore(context, nssManager); in IpClient()
2148 mDependencies.getDhcpClientDependencies(mIpMemoryStore, mIpProvisioningMetrics)); in startDhcpClient()