Searched refs:hasConnectivity (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | IConnectivityDiagnosticsCallback.aidl | 27 void onNetworkConnectivityReported(in Network n, boolean hasConnectivity); in onNetworkConnectivityReported() argument
|
D | ConnectivityDiagnosticsManager.java | 646 @NonNull Network network, boolean hasConnectivity) { in onNetworkConnectivityReported() argument 649 mCb.onNetworkConnectivityReported(network, hasConnectivity); in onNetworkConnectivityReported() 689 @NonNull Network network, boolean hasConnectivity) {} in onNetworkConnectivityReported() argument
|
D | IConnectivityManager.aidl | 113 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); in reportNetworkConnectivity() argument
|
D | ConnectivityManager.java | 2983 public void reportNetworkConnectivity(@Nullable Network network, boolean hasConnectivity) { in reportNetworkConnectivity() argument 2986 mService.reportNetworkConnectivity(network, hasConnectivity); in reportNetworkConnectivity()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 230 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/ |
D | ConnectivityService.java | 4313 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/ |
D | ConnectivityServiceTest.java | 7363 final boolean hasConnectivity = true; in testConnectivityDiagnosticsCallbackOnConnectivityReported() 7364 mService.reportNetworkConnectivity(n, hasConnectivity); in testConnectivityDiagnosticsCallbackOnConnectivityReported() 7371 .onNetworkConnectivityReported(eq(n), eq(hasConnectivity)); in testConnectivityDiagnosticsCallbackOnConnectivityReported()
|