Searched refs:mObserverRegistry (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 113 @Mock private NetworkObserverRegistry mObserverRegistry; field in IpClientTest 158 final IpClient ipc = new IpClient(mContext, ifname, mCb, mObserverRegistry, in makeIpClient() 163 verify(mObserverRegistry, times(1)).registerObserverForNonblockingCallback(arg.capture()); in makeIpClient() 165 reset(mObserverRegistry); in makeIpClient() 189 final IpClient ipc = new IpClient(mContext, null, mCb, mObserverRegistry, in testNullInterfaceNameMostDefinitelyThrows() 203 final IpClient ipc = new IpClient(mContext, ifname, null, mObserverRegistry, in testNullCallbackMostDefinitelyThrows() 215 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() 224 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 190 private final NetworkObserverRegistry mObserverRegistry; field in NetworkStackService.NetworkStackConnector 288 mObserverRegistry = new NetworkObserverRegistry(); in NetworkStackConnector() 313 mObserverRegistry.register(mNetd); in NetworkStackConnector() 379 mContext, ifName, cb, mObserverRegistry, this); in makeIpClient()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 460 private final NetworkObserverRegistry mObserverRegistry; field in IpClient 578 mObserverRegistry = observerRegistry; in IpClient() 775 mObserverRegistry.registerObserverForNonblockingCallback(mLinkObserver); in startStateMachineUpdaters() 779 mObserverRegistry.unregisterObserver(mLinkObserver); in stopStateMachineUpdaters()
|