Home
last modified time | relevance | path

Searched refs:mIpClientCallbacks (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java85 private IpClientCallbacks mIpClientCallbacks; field in EthernetNetworkFactoryTest
136 assertNull("An IpClient has already been created.", mIpClientCallbacks); in setupIpClientMock()
138 mIpClientCallbacks = inv.getArgument(2); in setupIpClientMock()
139 mIpClientCallbacks.onIpClientCreated(null); in setupIpClientMock()
145 mIpClientCallbacks.onQuit(); in setupIpClientMock()
147 mIpClientCallbacks = null; in setupIpClientMock()
155 mIpClientCallbacks.onProvisioningSuccess(new LinkProperties()); in triggerOnProvisioningSuccess()
160 mIpClientCallbacks.onProvisioningFailure(new LinkProperties()); in triggerOnProvisioningFailure()
165 mIpClientCallbacks.onReachabilityLost("ReachabilityLost"); in triggerOnReachabilityLost()
419 final IpClientCallbacks staleIpClientCallbacks = mIpClientCallbacks; in getStaleIpClientCallbacks()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java419 private IpClientCallbacksImpl mIpClientCallbacks; field in ClientModeImpl
1065 if (mIpClientCallbacks != this) return; in onIpClientCreated()
1159 if (mIpClientCallbacks != this) return; in onQuit()
4594 mIpClientCallbacks = new IpClientCallbacksImpl(); in makeIpClient()
4595 mFacade.makeIpClient(mContext, mInterfaceName, mIpClientCallbacks); in makeIpClient()
4596 mIpClientCallbacks.awaitCreation(); in makeIpClient()
4608 mIpClientCallbacks.awaitShutdown(); in maybeShutdownIpclient()
4609 mIpClientCallbacks = null; in maybeShutdownIpclient()
4616 if (mIpClientCallbacks == null || msg == null) return false; in isFromCurrentIpClientCallbacks()
4617 return mIpClientCallbacks.getCallbackIndex() == msg.arg1; in isFromCurrentIpClientCallbacks()
[all …]