Home
last modified time | relevance | path

Searched refs:NetworkObserver (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java56 private final ConcurrentHashMap<NetworkObserver, Optional<Handler>> mObservers =
63 public void registerObserver(@NonNull NetworkObserver observer, @NonNull Handler handler) { in registerObserver()
76 public void registerObserverForNonblockingCallback(@NonNull NetworkObserver observer) { in registerObserverForNonblockingCallback()
84 public void unregisterObserver(@NonNull NetworkObserver observer) { in unregisterObserver()
90 void sendCallback(NetworkObserver o); in sendCallback()
96 for (Map.Entry<NetworkObserver, Optional<Handler>> entry : mObservers.entrySet()) { in invokeForAllObservers()
97 final NetworkObserver observer = entry.getKey(); in invokeForAllObservers()
DNetworkObserver.java25 public interface NetworkObserver { interface
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java60 import com.android.server.NetworkObserver;
126 private NetworkObserver mObserver;
162 ArgumentCaptor<NetworkObserver> arg = ArgumentCaptor.forClass(NetworkObserver.class); in makeIpClient()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java42 import com.android.server.NetworkObserver;
83 public class IpClientLinkObserver implements NetworkObserver {
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java140 import com.android.server.NetworkObserver;
1645 NetworkObserver observer = new NetworkObserver() {