Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A 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 …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A 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 …]
H A DWifiInjector.java202 private IpMemoryStore mIpMemoryStore; field in WifiInjector
939 if (mIpMemoryStore == null) { in getIpMemoryStore()
940 mIpMemoryStore = IpMemoryStore.getMemoryStore(mContext); in getIpMemoryStore()
942 return mIpMemoryStore; in getIpMemoryStore()
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientIntegrationTest.kt51 verify(mIpMemoryStore, timeout(timeout))
57 verify(mIpMemoryStore, never()).storeNetworkAttributes(eq(l2Key), any(), any())
H A DIpClientIntegrationTestCommon.java264 @Mock protected NetworkStackIpMemoryStore mIpMemoryStore; field in IpClientIntegrationTestCommon
393 return mIpMemoryStore; in getIpMemoryStore()
631 }).when(mIpMemoryStore).retrieveNetworkAttributes(any(), any());
953 }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());
1417 reset(mIpMemoryStore);
2298 }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());
2315 reset(mIpMemoryStore);
2623 }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
H A DIpClientTest.java134 @Mock private NetworkStackIpMemoryStore mIpMemoryStore; field in IpClientTest
156 .thenReturn(mIpMemoryStore); in setUp()
230 verifyNoMoreInteractions(mIpMemoryStore); in testInvalidInterfaceDoesNotThrow()
241 verify(mIpMemoryStore, never()).storeNetworkAttributes(any(), any(), any()); in testInterfaceNotFoundFailsImmediately()
280 verify(mIpMemoryStore, never()).storeNetworkAttributes(any(), any(), any()); in doProvisioningWithDefaultConfiguration()
420 verifyNoMoreInteractions(mIpMemoryStore); in verifyShutdown()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpClient.java360 private final NetworkStackIpMemoryStore mIpMemoryStore; field in DhcpClient
480 mIpMemoryStore = deps.getIpMemoryStore(); in DhcpClient()
819 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in setLeaseExpiredToIpMemoryStore()
836 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in maybeSaveLeaseToIpMemoryStore()
1224 mIpMemoryStore.retrieveNetworkAttributes(mConfiguration.l2Key, listener); in enter()
/aosp12/packages/modules/NetworkStack/src/android/net/ip/
H A DIpClient.java160 private final NetworkStackIpMemoryStore mIpMemoryStore; field in IpClient
646 mIpMemoryStore = deps.getIpMemoryStore(context, nssManager); in IpClient()
2027 mDependencies.getDhcpClientDependencies(mIpMemoryStore, mIpProvisioningMetrics)); in startDhcpClient()