Home
last modified time | relevance | path

Searched refs:mIpClient (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/
DIpClientManager.java47 @NonNull private final IIpClient mIpClient; field in IpClientManager
51 mIpClient = ipClient; in IpClientManager()
71 mIpClient.completedPreDhcpAction(); in completedPreDhcpAction()
87 mIpClient.confirmConfiguration(); in confirmConfiguration()
103 mIpClient.readPacketFilterComplete(data); in readPacketFilterComplete()
119 mIpClient.shutdown(); in shutdown()
135 mIpClient.startProvisioning(prov.toStableParcelable()); in startProvisioning()
153 mIpClient.stop(); in stop()
172 mIpClient.setTcpBufferSizes(tcpBufferSizes); in setTcpBufferSizes()
191 mIpClient.setHttpProxy(proxyInfo); in setHttpProxy()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java91 @Mock private IpClientManager mIpClient; field in EthernetNetworkFactoryTest
149 }).when(mIpClient).shutdown(); in setupIpClientMock()
151 when(mDeps.makeIpClientManager(any())).thenReturn(mIpClient); in setupIpClientMock()
246 clearInvocations(mIpClient); in createInterfaceUndergoingProvisioning()
291 clearInvocations(mIpClient); in createUnprovisionedInterface()
304 verify(mIpClient).shutdown(); in testUpdateInterfaceLinkStateForActiveProvisioningInterface()
327 verify(mIpClient).startProvisioning(any()); in testProvisioningLoss()
340 verify(mIpClient, never()).startProvisioning(any()); in testProvisioningLossForDisappearedInterface()
346 verify(mIpClient, never()).shutdown(); in verifyNoStopOrStart()
348 verify(mIpClient, never()).startProvisioning(any()); in verifyNoStopOrStart()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java53 private IIpClient mIpClient; field in BluetoothTetheringNetworkFactory
87 mIpClient = ipClient; in onIpClientCreated()
89 mIpClient.startProvisioning( in onIpClientCreated()
114 if (mIpClient != null) { in stopIpClientLocked()
116 mIpClient.shutdown(); in stopIpClientLocked()
120 mIpClient = null; in stopIpClientLocked()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetNetworkFactory.java282 private volatile @Nullable IpClientManager mIpClient; field in NetworkInterfaceState
315 mIpClient = mDeps.makeIpClientManager(ipClient); in onIpClientCreated()
364 mIpClient = null; in onQuit()
486 if (mIpClient != null) { in start()
500 mIpClient.setHttpProxy(mIpConfig.getHttpProxy()); in start()
507 mIpClient.setTcpBufferSizes(sTcpBufferSizes); in start()
510 mIpClient.startProvisioning(createProvisioningConfiguration(mIpConfig)); in start()
620 if (mIpClient != null) { in stop()
621 mIpClient.shutdown(); in stop()
623 mIpClient = null; in stop()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java418 private volatile IpClientManager mIpClient; field in ClientModeImpl
1001 if (mIpClient != null) { in setMulticastFilter()
1002 mIpClient.setMulticastFilter(enabled); in setMulticastFilter()
1181 if (mIpClient != null) { in stopIpClient()
1183 mIpClient.notifyPreconnectionComplete(false); in stopIpClient()
1185 mIpClient.stop(); in stopIpClient()
2069 if (mIpClient != null) { in dumpIpClient()
3465 if (mIpClient != null) { in updateLayer2Information()
3477 if (mIpClient.updateLayer2Information(l2Information)) { in updateLayer2Information()
4600 if (mIpClient == null) return; in maybeShutdownIpclient()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java336 callback.onIpClientCreated(mIpClient); in getFrameworkFacade()
547 @Mock IIpClient mIpClient; field in ClientModeImplTest
723 }).when(mIpClient).shutdown(); in setUp()
4179 reset(mIpClient); in verifyMcastLockManagerFilterControllerCallsUpdateIpClient()
4183 verify(mIpClient).setMulticastFilter(eq(true)); in verifyMcastLockManagerFilterControllerCallsUpdateIpClient()
4185 verify(mIpClient).setMulticastFilter(eq(false)); in verifyMcastLockManagerFilterControllerCallsUpdateIpClient()
5268 verify(mIpClient, atLeastOnce()).updateLayer2Information(captor.capture()); in testScoreCardNoteConnectionComplete()
5280 InOrder inOrder = inOrder(mIpClient); in testLayer2InformationUpdate()
5286 inOrder.verify(mIpClient).updateLayer2Information(any()); in testLayer2InformationUpdate()
5287 inOrder.verify(mIpClient).startProvisioning(any()); in testLayer2InformationUpdate()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java228 private IIpClient mIpClient; field in WifiP2pServiceImpl
794 if (mIpClient != null) { in stopIpClient()
796 mIpClient.shutdown(); in stopIpClient()
800 mIpClient = null; in stopIpClient()
862 mIpClient = ipClient; in onIpClientCreated()
901 mIpClient.startProvisioning(config.toStableParcelable()); in onIpClientCreated()
1338 final IIpClient ipClient = mIpClient; in dump()
5140 mIpClient.completedPreDhcpAction(); in processMessageImpl()