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

  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ConnectivityManagerFacade.java 25 import android.net.ConnectivityManager.NetworkCallback;
163 class NetworkCallback extends ConnectivityManager.NetworkCallback {
188 public NetworkCallback(int events) {
204 Log.d("NetworkCallback onPreCheck");
218 Log.d("NetworkCallback onAvailable");
232 Log.d("NetworkCallback onLosing");
246 Log.d("NetworkCallback onLost");
260 Log.d("NetworkCallback onUnavailable");
275 Log.d("NetworkCallback onCapabilitiesChanged. RSSI:"
    [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/core/java/android/net/
ConnectivityManager.java 435 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} to request a network that
446 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} to request a network that
463 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} to request a network that
    [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);
  /frameworks/base/services/core/java/com/android/server/connectivity/
DnsEventListenerService.java 22 import android.net.ConnectivityManager.NetworkCallback;
101 // We register a NetworkCallback to ensure that when a network disconnects, we flush the DNS
106 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
Tethering.java 35 import android.net.ConnectivityManager.NetworkCallback;
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiNoInternetDialog.java 23 import android.net.ConnectivityManager.NetworkCallback;
47 private ConnectivityManager.NetworkCallback mNetworkCallback;
75 // TODO: add a registerNetworkCallback(Network network, NetworkCallback networkCallback) and
78 mNetworkCallback = new NetworkCallback() {
  /packages/services/Mms/src/com/android/mms/service/
MmsNetworkManager.java 52 private ConnectivityManager.NetworkCallback mNetworkCallback;
65 private class NetworkRequestCallback extends ConnectivityManager.NetworkCallback {
183 * @param callback the {@link android.net.ConnectivityManager.NetworkCallback} to unregister
185 private void releaseRequestLocked(ConnectivityManager.NetworkCallback callback) {
193 // NetworkCallback, which causes an IllegalArgumentexception when we try to
  /frameworks/base/services/tests/servicestests/src/com/android/server/
ConnectivityServiceTest.java 34 import android.net.ConnectivityManager.NetworkCallback;
324 NetworkCallback callback = null;
331 callback = new NetworkCallback() {
    [all...]
  /development/samples/LceDemo/src/com/example/android/lce/
LceDemoActivity.java 64 new ConnectivityManager.NetworkCallback() {
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AlwaysOnVpnTest.java 20 import android.net.ConnectivityManager.NetworkCallback;
129 final ConnectivityManager.NetworkCallback callback
130 = new ConnectivityManager.NetworkCallback() {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SecurityControllerImpl.java 24 import android.net.ConnectivityManager.NetworkCallback;
248 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
  /frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
CaptivePortalLoginActivity.java 26 import android.net.ConnectivityManager.NetworkCallback;
66 private NetworkCallback mNetworkCallback;
102 mNetworkCallback = new NetworkCallback() {
  /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() {
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
VvmNetworkRequestCallback.java 39 public abstract class VvmNetworkRequestCallback extends ConnectivityManager.NetworkCallback {
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 230 private class NetworkCallback extends ConnectivityManager.NetworkCallback {
234 NetworkCallback(long tolerance) {
263 NetworkCallback callback = new NetworkCallback(tolerance);
  /cts/tests/tests/net/src/android/net/cts/
ConnectivityManagerTest.java 30 import android.net.ConnectivityManager.NetworkCallback;
282 * <p>In order to test that a NetworkCallback occurs, we need some change in the network
313 assertNotNull("Did not receive NetworkCallback.onAvailable for TRANSPORT_WIFI",
316 assertNotNull("Did not receive NetworkCallback.onAvailable for any default network",
319 fail("Broadcast receiver or NetworkCallback wait was interrupted.");
334 * of a {@code NetworkCallback}.
373 fail("Broadcast receiver or NetworkCallback wait was interrupted.");
627 private static class TestNetworkCallback extends ConnectivityManager.NetworkCallback {
665 fail("NetworkCallback wait was interrupted.");
678 NetworkCallback callback = new NetworkCallback()
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 24 import android.net.ConnectivityManager.NetworkCallback;
102 NetworkCallback mCallback;
204 mCallback = new NetworkCallback() {
247 mCallback = new NetworkCallback() {
  /packages/apps/Settings/src/com/android/settings/vpn2/
VpnSettings.java 26 import android.net.ConnectivityManager.NetworkCallback;
340 private NetworkCallback mNetworkCallback = new NetworkCallback() {
  /development/apps/Development/src/com/android/development/
Connectivity.java 31 import android.net.ConnectivityManager.NetworkCallback;
265 private static class DevToolsNetworkCallback extends NetworkCallback {
297 private NetworkCallback mCallback;
333 mCallback = new NetworkCallback() {
  /frameworks/base/services/core/java/com/android/server/location/
GnssLocationProvider.java 442 private final ConnectivityManager.NetworkCallback mNetworkConnectivityCallback =
443 new ConnectivityManager.NetworkCallback() {
456 private final ConnectivityManager.NetworkCallback mSuplConnectivityCallback =
457 new ConnectivityManager.NetworkCallback() {
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
WifiTracker.java 209 // NetworkCallback objects cannot be reused. http://b/20701525 .
544 private final class WifiTrackerNetworkCallback extends ConnectivityManager.NetworkCallback {
  /frameworks/base/
compiled-classes-phone     [all...]
  /prebuilts/sdk/21/
android.jar 

Completed in 2801 milliseconds