/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
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 …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
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 …]
|
D | WifiInjector.java | 207 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/ |
D | IpClientIntegrationTest.kt | 55 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>()
|
D | IpClientIntegrationTestCommon.java | 300 @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/ |
D | IpClientTest.java | 146 @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/ |
D | DhcpClient.java | 361 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/ |
D | IpClient.java | 173 private final NetworkStackIpMemoryStore mIpMemoryStore; field in IpClient 716 mIpMemoryStore = deps.getIpMemoryStore(context, nssManager); in IpClient() 2148 mDependencies.getDhcpClientDependencies(mIpMemoryStore, mIpProvisioningMetrics)); in startDhcpClient()
|