Searched refs:networkType (Results 1 – 6 of 6) sorted by relevance
32 int networkType = intent.getIntExtra(ConnectivityManager.EXTRA_NETWORK_TYPE, 0); in onReceive() local33 if (networkType == ConnectivityManager.TYPE_WIFI) { in onReceive()
209 private void assertStartUsingNetworkFeatureUnsupported(int networkType, String feature) { in assertStartUsingNetworkFeatureUnsupported() argument211 mCm.startUsingNetworkFeature(networkType, feature); in assertStartUsingNetworkFeatureUnsupported()216 private void assertStopUsingNetworkFeatureUnsupported(int networkType, String feature) { in assertStopUsingNetworkFeatureUnsupported() argument218 mCm.startUsingNetworkFeature(networkType, feature); in assertStopUsingNetworkFeatureUnsupported()223 private void assertRequestRouteToHostUnsupported(int networkType, int hostAddress) { in assertRequestRouteToHostUnsupported() argument225 mCm.requestRouteToHost(networkType, hostAddress); in assertRequestRouteToHostUnsupported()243 private boolean isSupported(int networkType) { in isSupported() argument247 return mNetworks.containsKey(networkType) || in isSupported()248 (networkType == ConnectivityManager.TYPE_VPN); in isSupported()576 ConnectivityActionReceiver(int networkType, NetworkInfo.State netState) { in ConnectivityActionReceiver() argument[all …]
78 private boolean isNetworkProtected(int networkType) { in isNetworkProtected() argument79 return mProtectedNetworks.contains(networkType); in isNetworkProtected()274 private boolean isNetworkSupported(int networkType) { in isNetworkSupported() argument275 return mCm.getNetworkInfo(networkType) != null; in isNetworkSupported()
268 ConnectivityActionReceiver(int networkType, NetworkInfo.State expectedState) { in ConnectivityActionReceiver() argument269 mNetworkType = networkType; in ConnectivityActionReceiver()
288 int networkType = sNetworkInterfacesToTest[networkIndex].getNetworkType(); in getSubscriberId() local289 if (ConnectivityManager.TYPE_MOBILE == networkType) { in getSubscriberId()
128646 private int networkType