/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | MemoryStoreImplTest.java | 46 @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 D | MemoryStoreImpl.java | 47 @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 D | WifiInjector.java | 202 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 D | IpClientIntegrationTest.kt | 51 verify(mIpMemoryStore, timeout(timeout)) 57 verify(mIpMemoryStore, never()).storeNetworkAttributes(eq(l2Key), any(), any())
|
H A D | IpClientIntegrationTestCommon.java | 264 @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 D | IpClientTest.java | 134 @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 D | DhcpClient.java | 360 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 D | IpClient.java | 160 private final NetworkStackIpMemoryStore mIpMemoryStore; field in IpClient 646 mIpMemoryStore = deps.getIpMemoryStore(context, nssManager); in IpClient() 2027 mDependencies.getDhcpClientDependencies(mIpMemoryStore, mIpProvisioningMetrics)); in startDhcpClient()
|