Home
last modified time | relevance | path

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

/cts/tests/tests/net/appForApi23/src/android/net/cts/appForApi23/
DConnectivityReceiver.java32 int networkType = intent.getIntExtra(ConnectivityManager.EXTRA_NETWORK_TYPE, 0); in onReceive() local
33 if (networkType == ConnectivityManager.TYPE_WIFI) { in onReceive()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java209 private void assertStartUsingNetworkFeatureUnsupported(int networkType, String feature) { in assertStartUsingNetworkFeatureUnsupported() argument
211 mCm.startUsingNetworkFeature(networkType, feature); in assertStartUsingNetworkFeatureUnsupported()
216 private void assertStopUsingNetworkFeatureUnsupported(int networkType, String feature) { in assertStopUsingNetworkFeatureUnsupported() argument
218 mCm.startUsingNetworkFeature(networkType, feature); in assertStopUsingNetworkFeatureUnsupported()
223 private void assertRequestRouteToHostUnsupported(int networkType, int hostAddress) { in assertRequestRouteToHostUnsupported() argument
225 mCm.requestRouteToHost(networkType, hostAddress); in assertRequestRouteToHostUnsupported()
243 private boolean isSupported(int networkType) { in isSupported() argument
247 return mNetworks.containsKey(networkType) || in isSupported()
248 (networkType == ConnectivityManager.TYPE_VPN); in isSupported()
576 ConnectivityActionReceiver(int networkType, NetworkInfo.State netState) { in ConnectivityActionReceiver() argument
[all …]
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java78 private boolean isNetworkProtected(int networkType) { in isNetworkProtected() argument
79 return mProtectedNetworks.contains(networkType); in isNetworkProtected()
274 private boolean isNetworkSupported(int networkType) { in isNetworkSupported() argument
275 return mCm.getNetworkInfo(networkType) != null; in isNetworkSupported()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java268 ConnectivityActionReceiver(int networkType, NetworkInfo.State expectedState) { in ConnectivityActionReceiver() argument
269 mNetworkType = networkType; in ConnectivityActionReceiver()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java288 int networkType = sNetworkInterfacesToTest[networkIndex].getNetworkType(); in getSubscriberId() local
289 if (ConnectivityManager.TYPE_MOBILE == networkType) { in getSubscriberId()
/cts/tools/dex-tools/dex/
Dclasses.out.dex128646 private int networkType