Searched refs:mObserverRegistry (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 126 @Mock private NetworkObserverRegistry mObserverRegistry; field in IpClientTest 171 final IpClient ipc = new IpClient(mContext, ifname, mCb, mObserverRegistry, in makeIpClient() 176 verify(mObserverRegistry, times(1)).registerObserverForNonblockingCallback(arg.capture()); in makeIpClient() 178 reset(mObserverRegistry); in makeIpClient() 202 final IpClient ipc = new IpClient(mContext, null, mCb, mObserverRegistry, in testNullInterfaceNameMostDefinitelyThrows() 216 final IpClient ipc = new IpClient(mContext, ifname, null, mObserverRegistry, in testNullCallbackMostDefinitelyThrows() 228 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() 237 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 191 private final NetworkObserverRegistry mObserverRegistry; field in NetworkStackService.NetworkStackConnector 289 mObserverRegistry = new NetworkObserverRegistry(); in NetworkStackConnector() 314 mObserverRegistry.register(mNetd); in NetworkStackConnector() 380 mContext, ifName, cb, mObserverRegistry, this); in makeIpClient()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 500 private final NetworkObserverRegistry mObserverRegistry; field in IpClient 645 mObserverRegistry = observerRegistry; in IpClient() 857 mObserverRegistry.registerObserverForNonblockingCallback(mLinkObserver); in startStateMachineUpdaters() 861 mObserverRegistry.unregisterObserver(mLinkObserver); in stopStateMachineUpdaters()
|