HomeSort by relevance Sort by last modified time
    Searched refs:NetworkCallback (Results 1 - 25 of 48) sorted by null

1 2

  /packages/apps/Settings/src/com/android/settings/vpn2/
ConnectivityManagerWrapper.java 20 import android.net.ConnectivityManager.NetworkCallback;
60 * @see android.net.ConnectivityManager#registerNetworkCallback(NetworkRequest,NetworkCallback,Handler)
62 public void registerNetworkCallback(NetworkRequest request, NetworkCallback callback,
ConnectivityManagerWrapperImpl.java 20 import android.net.ConnectivityManager.NetworkCallback;
50 public void registerNetworkCallback(NetworkRequest request, NetworkCallback callback,
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ConnectivityManagerFacade.java 175 class NetworkCallback extends ConnectivityManager.NetworkCallback {
201 public NetworkCallback(int events) {
218 Log.d("NetworkCallback onPreCheck");
230 Log.d("NetworkCallback onAvailable");
242 Log.d("NetworkCallback onLosing");
255 Log.d("NetworkCallback onLost");
267 Log.d("NetworkCallback onUnavailable");
280 Log.d("NetworkCallback onCapabilitiesChanged. RSSI:" +
294 Log.d("NetworkCallback onNetworkSuspended")
    [all...]
  /frameworks/base/core/java/com/android/server/net/
NetworkPinner.java 21 import android.net.ConnectivityManager.NetworkCallback;
60 public class NetworkPinner extends NetworkCallback {
88 private static class Callback extends NetworkCallback {
  /frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
UpstreamNetworkMonitorTest.java 45 import android.net.ConnectivityManager.NetworkCallback;
179 any(NetworkRequest.class), any(NetworkCallback.class), any(Handler.class));
181 any(NetworkCallback.class), any(Handler.class));
188 any(NetworkRequest.class), any(NetworkCallback.class), anyInt(), anyInt(),
205 verify(mCM, times(3)).unregisterNetworkCallback(any(NetworkCallback.class));
433 public Map<NetworkCallback, Handler> allCallbacks = new HashMap<>();
434 public Set<NetworkCallback> trackingDefault = new HashSet<>();
435 public Map<NetworkCallback, NetworkRequest> listening = new HashMap<>();
436 public Map<NetworkCallback, NetworkRequest> requested = new HashMap<>();
437 public Map<NetworkCallback, Integer> legacyTypeMap = new HashMap<>()
    [all...]
  /frameworks/base/tests/net/java/android/net/
ConnectivityManagerTest.java 59 import android.net.ConnectivityManager.NetworkCallback;
209 NetworkCallback callback = mock(ConnectivityManager.NetworkCallback.class);
236 NetworkCallback callback = mock(ConnectivityManager.NetworkCallback.class);
276 NetworkCallback callback = new ConnectivityManager.NetworkCallback();
303 NetworkCallback callback = mock(NetworkCallback.class);
305 NetworkCallback nullCallback = null
    [all...]
  /cts/tests/tests/net/src/android/net/wifi/cts/
ConcurrencyTest.java 24 import android.net.ConnectivityManager.NetworkCallback;
137 NetworkCallback networkCallback = new NetworkCallback() {
143 cm.registerNetworkCallback(request, networkCallback);
146 cm.unregisterNetworkCallback(networkCallback);
  /packages/services/Mms/src/com/android/mms/service/
MmsNetworkManager.java 58 private ConnectivityManager.NetworkCallback mNetworkCallback;
77 private class NetworkRequestCallback extends ConnectivityManager.NetworkCallback {
220 * @param callback the {@link android.net.ConnectivityManager.NetworkCallback} to unregister
222 private void releaseRequestLocked(ConnectivityManager.NetworkCallback callback) {
230 // NetworkCallback, which causes an IllegalArgumentexception when we try to
  /packages/apps/Settings/tests/robotests/src/com/android/settings/network/
VpnPreferenceControllerTest.java 96 any(NetworkRequest.class), any(ConnectivityManager.NetworkCallback.class));
100 any(ConnectivityManager.NetworkCallback.class));
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
UpstreamNetworkMonitor.java 28 import android.net.ConnectivityManager.NetworkCallback;
94 private NetworkCallback mListenAllCallback;
95 private NetworkCallback mDefaultNetworkCallback;
96 private NetworkCallback mMobileNetworkCallback;
405 * A NetworkCallback class that handles information of interest directly
409 private class UpstreamNetworkCallback extends NetworkCallback {
449 private void releaseCallback(NetworkCallback cb) {
  /packages/apps/Settings/src/com/android/settings/dashboard/
SupportFragment.java 51 private final ConnectivityManager.NetworkCallback mNetworkCallback =
52 new ConnectivityManager.NetworkCallback() {
  /development/samples/LceDemo/src/com/example/android/lce/
LceDemoActivity.java 64 new ConnectivityManager.NetworkCallback() {
  /frameworks/base/services/core/java/com/android/server/job/controllers/
ConnectivityController.java 22 import android.net.ConnectivityManager.NetworkCallback;
186 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
215 // We track this via our NetworkCallback
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiNoInternetDialog.java 23 import android.net.ConnectivityManager.NetworkCallback;
50 private ConnectivityManager.NetworkCallback mNetworkCallback;
84 // TODO: add a registerNetworkCallback(Network network, NetworkCallback networkCallback) and
87 mNetworkCallback = new NetworkCallback() {
  /frameworks/base/core/java/android/net/
ConnectivityManager.java 468 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} to request a network that
480 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} to request a network that
498 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} to request a network that
    [all...]
  /frameworks/base/tests/net/java/com/android/server/connectivity/
TetheringTest.java 54 import android.net.ConnectivityManager.NetworkCallback;
365 any(NetworkRequest.class), any(NetworkCallback.class), any(Handler.class));
367 any(NetworkCallback.class), any(Handler.class));
464 any(NetworkRequest.class), any(NetworkCallback.class), any(Handler.class));
466 any(NetworkCallback.class), any(Handler.class));
470 any(NetworkRequest.class), any(NetworkCallback.class), eq(0), anyInt(),
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
ConnectivityScreenOffTestActivity.java 29 import android.net.ConnectivityManager.NetworkCallback;
98 private NetworkCallback mNetworkCallback;
354 private NetworkCallback createNetworkCallback() {
355 return new NetworkCallback() {
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
VpnTestHelper.java 97 final ConnectivityManager.NetworkCallback callback =
98 new ConnectivityManager.NetworkCallback() {
  /developers/build/prebuilts/gradle/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
MainActivity.java 60 private ConnectivityManager.NetworkCallback mNetworkCallback;
185 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
  /developers/samples/android/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
MainActivity.java 60 private ConnectivityManager.NetworkCallback mNetworkCallback;
185 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
  /development/samples/browseable/WearHighBandwidthNetworking/src/com.example.android.wearable.wear.wearhighbandwidthnetworking/
MainActivity.java 60 private ConnectivityManager.NetworkCallback mNetworkCallback;
185 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
  /packages/apps/Settings/src/com/android/settings/network/
VpnPreferenceController.java 180 private final ConnectivityManager.NetworkCallback
181 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 264 private class NetworkCallback extends ConnectivityManager.NetworkCallback {
270 NetworkCallback(long tolerance, URL url) {
303 NetworkCallback callback = new NetworkCallback(tolerance, new URL(CHECK_CONNECTIVITY_URL));
  /frameworks/base/tests/net/java/com/android/server/
ConnectivityServiceTest.java 49 import android.net.ConnectivityManager.NetworkCallback;
430 NetworkCallback callback = null;
437 callback = new NetworkCallback() {
    [all...]
  /frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
CaptivePortalLoginActivity.java 26 import android.net.ConnectivityManager.NetworkCallback;
85 private NetworkCallback mNetworkCallback;
127 mNetworkCallback = new NetworkCallback() {

Completed in 675 milliseconds

1 2