Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DConcurrencyTest.java24 import android.net.ConnectivityManager.NetworkCallback;
137 NetworkCallback networkCallback = new NetworkCallback() { in enableWifi()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java20 import android.net.ConnectivityManager.NetworkCallback;
129 final ConnectivityManager.NetworkCallback callback in setAndWaitForVpn()
130 = new ConnectivityManager.NetworkCallback() { in setAndWaitForVpn()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java230 private class NetworkCallback extends ConnectivityManager.NetworkCallback { class in NetworkUsageStatsTest
234 NetworkCallback(long tolerance) { in NetworkCallback() method in NetworkUsageStatsTest.NetworkCallback
263 NetworkCallback callback = new NetworkCallback(tolerance); in shouldTestThisNetworkType()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityScreenOffTestActivity.java29 import android.net.ConnectivityManager.NetworkCallback;
98 private NetworkCallback mNetworkCallback;
354 private NetworkCallback createNetworkCallback() { in createNetworkCallback()
355 return new NetworkCallback() { in createNetworkCallback()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java30 import android.net.ConnectivityManager.NetworkCallback;
627 private static class TestNetworkCallback extends ConnectivityManager.NetworkCallback {
678 NetworkCallback callback = new NetworkCallback(); in testRestrictedNetworks()
683 callback = new NetworkCallback(); in testRestrictedNetworks()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java24 import android.net.ConnectivityManager.NetworkCallback;
102 NetworkCallback mCallback;
204 mCallback = new NetworkCallback() { in startVpn()
247 mCallback = new NetworkCallback() { in stopVpn()