Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DCallbackUtils.java39 public static class NetworkCallback extends ConnectivityManager.NetworkCallback { class in CallbackUtils
47 public NetworkCallback() { in NetworkCallback() method in CallbackUtils.NetworkCallback
51 public NetworkCallback(int callbackTimeoutInMs) { in NetworkCallback() method in CallbackUtils.NetworkCallback
/cts/tests/tests/net/src/android/net/cts/
DDnsTest.java22 import android.net.ConnectivityManager.NetworkCallback;
290 final NetworkCallback callback = new NetworkCallback() { in ensureIpv6Connectivity()
DCaptivePortalTest.kt26 import android.net.ConnectivityManager.NetworkCallback
151 val wifiCb = object : NetworkCallback() { in testCaptivePortalIsNotDefaultNetwork()
DConnectivityManagerTest.java67 import android.net.ConnectivityManager.NetworkCallback;
639 NetworkCallback callback = new NetworkCallback(); in testRestrictedNetworks()
644 callback = new NetworkCallback(); in testRestrictedNetworks()
688 final NetworkCallback networkCallback = new NetworkCallback() { in waitForActiveNetworkMetered()
DDnsResolverTest.java32 import android.net.ConnectivityManager.NetworkCallback;
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java39 import android.net.ConnectivityManager.NetworkCallback;
187 final NetworkCallback networkCallback = new NetworkCallback() { in assertActiveNetworkMetered()
DVpnTest.java28 import android.net.ConnectivityManager.NetworkCallback;
123 NetworkCallback mCallback;
231 mCallback = new NetworkCallback() { in startVpn()
279 mCallback = new NetworkCallback() { in stopVpn()
616 final NetworkCallback callback = new NetworkCallback() { in expectPrivateDnsHostname()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityBackgroundTestActivity.java29 import android.net.ConnectivityManager.NetworkCallback;
97 private NetworkCallback mNetworkCallback;
354 private NetworkCallback createNetworkCallback() { in createNetworkCallback()
355 return new NetworkCallback() { in createNetworkCallback()
DMultiNetworkConnectivityTestActivity.java39 import android.net.ConnectivityManager.NetworkCallback;
554 final NetworkCallback mWifiNetworkCallback = new NetworkCallback() {
569 final NetworkCallback mCellularNetworkCallback = new NetworkCallback() {
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyService.java50 private ConnectivityManager.NetworkCallback mNetworkCallback;
100 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java39 import android.net.ConnectivityManager.NetworkCallback;
450 NetworkCallback callback = new NetworkCallback() { in awaitPrivateDnsSetting()
544 public static class TestNetworkCallback extends ConnectivityManager.NetworkCallback {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkRequestTestCase.java74 private CallbackUtils.NetworkCallback mNetworkCallback;
145 mNetworkCallback = new CallbackUtils.NetworkCallback(CALLBACK_TIMEOUT_MS); in executeTest()
DNetworkSuggestionTestCase.java65 private CallbackUtils.NetworkCallback mNetworkCallback;
135 mNetworkCallback = new CallbackUtils.NetworkCallback(CALLBACK_TIMEOUT_MS); in executeTest()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java27 import android.net.ConnectivityManager.NetworkCallback;
242 NetworkCallback networkCallback = new NetworkCallback() { in enableWifi()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java55 private ConnectivityManager.NetworkCallback mNetworkCallback = null;
122 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in start()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DTestNetworkUtils.java38 public static class TestNetworkCallback extends ConnectivityManager.NetworkCallback {
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java272 private class NetworkCallback extends ConnectivityManager.NetworkCallback { class in NetworkUsageStatsTest
279 NetworkCallback(long tolerance, URL url) { in NetworkCallback() method in NetworkUsageStatsTest.NetworkCallback
330 NetworkCallback callback = new NetworkCallback(tolerance, new URL(CHECK_CONNECTIVITY_URL)); in shouldTestThisNetworkType()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java38 import android.net.ConnectivityManager.NetworkCallback;
84 private static class TestNetworkCallback extends ConnectivityManager.NetworkCallback {
774 new NetworkCallback() { in waitForNetworkCapabilities()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java125 public static class NetworkCb extends ConnectivityManager.NetworkCallback {
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java329 private class NetworkCallbackTest extends ConnectivityManager.NetworkCallback {