Home
last modified time | relevance | path

Searched refs:hasConnectivity (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/net/
DIConnectivityDiagnosticsCallback.aidl27 void onNetworkConnectivityReported(in Network n, boolean hasConnectivity); in onNetworkConnectivityReported() argument
DConnectivityDiagnosticsManager.java646 @NonNull Network network, boolean hasConnectivity) { in onNetworkConnectivityReported() argument
649 mCb.onNetworkConnectivityReported(network, hasConnectivity); in onNetworkConnectivityReported()
689 @NonNull Network network, boolean hasConnectivity) {} in onNetworkConnectivityReported() argument
DIConnectivityManager.aidl113 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); in reportNetworkConnectivity() argument
DConnectivityManager.java2983 public void reportNetworkConnectivity(@Nullable Network network, boolean hasConnectivity) { in reportNetworkConnectivity() argument
2986 mService.reportNetworkConnectivity(network, hasConnectivity); in reportNetworkConnectivity()
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp230 jboolean hasConnectivity) { in android_net_utils_setAllowNetworkingForProcess() argument
231 setAllowNetworkingForProcess(hasConnectivity == JNI_TRUE); in android_net_utils_setAllowNetworkingForProcess()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4313 public void reportNetworkConnectivity(Network network, boolean hasConnectivity) { in reportNetworkConnectivity() argument
4317 final int connectivityInfo = encodeBool(hasConnectivity); in reportNetworkConnectivity()
4341 Network network, int uid, boolean hasConnectivity) { in handleReportNetworkConnectivity() argument
4353 if (hasConnectivity == nai.lastValidated) { in handleReportNetworkConnectivity()
4358 log("reportNetworkConnectivity(" + netid + ", " + hasConnectivity + ") by " + uid); in handleReportNetworkConnectivity()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java7363 final boolean hasConnectivity = true; in testConnectivityDiagnosticsCallbackOnConnectivityReported()
7364 mService.reportNetworkConnectivity(n, hasConnectivity); in testConnectivityDiagnosticsCallbackOnConnectivityReported()
7371 .onNetworkConnectivityReported(eq(n), eq(hasConnectivity)); in testConnectivityDiagnosticsCallbackOnConnectivityReported()