Home
last modified time | relevance | path

Searched refs:connectivityManager (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java75 ConnectivityManager connectivityManager = in setAndWaitForVpn() local
91 connectivityManager.registerNetworkCallback(request, callback); in setAndWaitForVpn()
102 connectivityManager.unregisterNetworkCallback(callback); in setAndWaitForVpn()
106 NetworkInfo vpnInfo = connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_VPN); in setAndWaitForVpn()
115 ConnectivityManager connectivityManager = in isNetworkVpn() local
117 Network network = connectivityManager.getActiveNetwork(); in isNetworkVpn()
118 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
/cts/hostsidetests/content/test-apps/CtsSyncAccountAccessSameCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessSameCertTestCases.java128 ConnectivityManager connectivityManager = getContext().getSystemService( in hasDataConnection() local
130 NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo(); in hasDataConnection()
/cts/hostsidetests/content/test-apps/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java157 ConnectivityManager connectivityManager = getContext().getSystemService( in hasDataConnection() local
159 NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo(); in hasDataConnection()