Home
last modified time | relevance | path

Searched refs:NetworkCallback (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/net/
DConnectivityManager.java1058 public void requestLinkProperties(NetworkCallback networkCallback) { in requestLinkProperties()
1095 public void requestNetworkCapabilities(NetworkCallback networkCallback) { in requestNetworkCapabilities()
1370 NetworkCallback networkCallback = new NetworkCallback() {
2532 public static class NetworkCallback { class in ConnectivityManager
2659 private final HashMap<NetworkRequest, NetworkCallback>mCallbackMap;
2665 CallbackHandler(Looper looper, HashMap<NetworkRequest, NetworkCallback>callbackMap, in CallbackHandler()
2682 NetworkCallback callback = getCallback(request, "PRECHECK"); in handleMessage()
2689 NetworkCallback callback = getCallback(request, "AVAILABLE"); in handleMessage()
2696 NetworkCallback callback = getCallback(request, "LOSING"); in handleMessage()
2703 NetworkCallback callback = getCallback(request, "LOST"); in handleMessage()
[all …]
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java21 import android.net.ConnectivityManager.NetworkCallback;
60 public class NetworkPinner extends NetworkCallback {
88 private static class Callback extends NetworkCallback {
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsEventListenerService.java21 import android.net.ConnectivityManager.NetworkCallback;
110 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
DTethering.java35 import android.net.ConnectivityManager.NetworkCallback;
1025 class UpstreamNetworkCallback extends NetworkCallback {
1074 NetworkCallback mDefaultNetworkCallback;
1075 NetworkCallback mDunTetheringCallback;
1249 private NetworkCallback mMobileUpstreamCallback;
1320 mMobileUpstreamCallback = new NetworkCallback(); in turnOnUpstreamMobileConnection()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java37 import android.net.ConnectivityManager.NetworkCallback;
343 NetworkCallback callback = null; in connect()
350 callback = new NetworkCallback() { in connect()
1087 private class TestNetworkCallback extends NetworkCallback {
1414 NetworkCallback noopCallback = new NetworkCallback(); in testMultipleLingering()
1429 noopCallback = new NetworkCallback(); // Can't reuse NetworkCallbacks. http://b/20701525 in testMultipleLingering()
1483 NetworkCallback networkCallback = null; in tryNetworkFactoryRequests()
1489 networkCallback = new NetworkCallback(); in tryNetworkFactoryRequests()
1520 ConnectivityManager.NetworkCallback[] networkCallbacks = in tryNetworkFactoryRequests()
1521 new ConnectivityManager.NetworkCallback[10]; in tryNetworkFactoryRequests()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DDnsEventListenerServiceTest.java19 import android.net.ConnectivityManager.NetworkCallback;
73 ArgumentCaptor<NetworkCallback> mCallbackCaptor;
78 mCallbackCaptor = ArgumentCaptor.forClass(NetworkCallback.class); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java26 import android.net.ConnectivityManager.NetworkCallback;
291 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java26 import android.net.ConnectivityManager.NetworkCallback;
66 private NetworkCallback mNetworkCallback;
102 mNetworkCallback = new NetworkCallback() { in onCreate()
/frameworks/base/docs/html-intl/intl/ko/about/versions/
Dandroid-5.0.jd426NetworkCallback) requestNetwork()} 또는 {@link android.net.ConnectivityManager#registerNetworkCallba…
429 <p>시스템에서 적절한 네트워크를 감지하면 감지한 네트워크에 연결하고 {@link android.net.ConnectivityManager.NetworkCallback#onAva…
/frameworks/base/docs/html-intl/intl/zh-tw/about/versions/
Dandroid-5.0.jd425NetworkCallback) requestNetwork()} 或 {@link android.net.ConnectivityManager#registerNetworkCallbac…
428 <p>當系統偵測到適用網路時,就會自動連線並叫用 {@link android.net.ConnectivityManager.NetworkCallback#onAvailable(android…
/frameworks/base/docs/html-intl/intl/ja/about/versions/
Dandroid-5.0.jd425NetworkCallback) requestNetwork()} または {@link android.net.ConnectivityManager#registerNetworkCallb…
428 <p>適切なネットワークが検出されると、システムはそのネットワークに接続し、{@link android.net.ConnectivityManager.NetworkCallback#onAvai…
/frameworks/base/docs/html-intl/intl/ru/about/versions/
Dandroid-5.0.jd426NetworkCallback) requestNetwork()} или {@link android.net.ConnectivityManager#registerNetworkCallb…
429 …ется к ней и отправляет ответ {@link android.net.ConnectivityManager.NetworkCallback#onAvailable(a…
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/
Dandroid-5.0.jd427NetworkCallback) requestNetwork()} 或 {@link android.net.ConnectivityManager#registerNetworkCallbac…
430 <p>当系统检测到合适的网络时,它将连接到该网络并调用 {@link android.net.ConnectivityManager.NetworkCallback#onAvailable(andr…
/frameworks/base/docs/html/topic/performance/
Dbackground-optimization.jd182 android.net.ConnectivityManager.NetworkCallback) registerNetworkCallback()}
185 {@link android.net.ConnectivityManager.NetworkCallback#onAvailable
187 android.net.ConnectivityManager.NetworkCallback} class.
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java451 private final ConnectivityManager.NetworkCallback mNetworkConnectivityCallback =
452 new ConnectivityManager.NetworkCallback() {
465 private final ConnectivityManager.NetworkCallback mSuplConnectivityCallback =
466 new ConnectivityManager.NetworkCallback() {
/frameworks/base/docs/html/about/versions/
Dandroid-5.0.jd577 …tNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) requestNetwo…
578 …Callback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) registerNetw…
580 {@link android.net.ConnectivityManager.NetworkCallback}. Use the
581 …tNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) requestNetwo…
583 …Callback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) registerNetw…
588 {@link android.net.ConnectivityManager.NetworkCallback#onAvailable(android.net.Network) onAvailable…
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java544 private final class WifiTrackerNetworkCallback extends ConnectivityManager.NetworkCallback {
/frameworks/base/docs/html-intl/intl/pt-br/about/versions/
Dandroid-5.0.jd423NetworkCallback) requestNetwork()} ou {@link android.net.ConnectivityManager#registerNetworkCallba…
426 … chamará a chamada de retorno {@link android.net.ConnectivityManager.NetworkCallback#onAvailable(a…
/frameworks/base/docs/html-intl/intl/es/about/versions/
Dandroid-5.0.jd425NetworkCallback) requestNetwork()} o {@link android.net.ConnectivityManager#registerNetworkCallbac…
428 …voca la devolución de llamada {@link android.net.ConnectivityManager.NetworkCallback#onAvailable(a…
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt23 NO DOC BLOCK: android.net.ConnectivityManager.NetworkCallback Class
777 …egisterNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback)
807 … Method requestNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback)
999 …nnectivityManager Method unregisterNetworkCallback(android.net.ConnectivityManager.NetworkCallback)
/frameworks/base/
Dpreloaded-classes1487 android.net.ConnectivityManager$NetworkCallback
Dcompiled-classes-phone2639 android.net.ConnectivityManager$NetworkCallback
/frameworks/base/api/
Dtest-current.txt23553 …method public void registerDefaultNetworkCallback(android.net.ConnectivityManager.NetworkCallback);
23554 …gisterNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback);
23561 …c void requestNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback);
23568 method public void unregisterNetworkCallback(android.net.ConnectivityManager.NetworkCallback);
23602 public static class ConnectivityManager.NetworkCallback {
23603 ctor public ConnectivityManager.NetworkCallback();
Dcurrent.txt23483 …method public void registerDefaultNetworkCallback(android.net.ConnectivityManager.NetworkCallback);
23484 …gisterNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback);
23491 …c void requestNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback);
23498 method public void unregisterNetworkCallback(android.net.ConnectivityManager.NetworkCallback);
23532 public static class ConnectivityManager.NetworkCallback {
23533 ctor public ConnectivityManager.NetworkCallback();
Dsystem-current.txt25266 …method public void registerDefaultNetworkCallback(android.net.ConnectivityManager.NetworkCallback);
25267 …gisterNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback);
25274 …c void requestNetwork(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback);
25284 method public void unregisterNetworkCallback(android.net.ConnectivityManager.NetworkCallback);
25321 public static class ConnectivityManager.NetworkCallback {
25322 ctor public ConnectivityManager.NetworkCallback();

12