Home
last modified time | relevance | path

Searched refs:mNetworkType (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java63 public final int mNetworkType; field in DataStallDetectionStats
83 mNetworkType = netType; in DataStallDetectionStats()
129 sb.append("type: ").append(mNetworkType) in toString()
149 return (mNetworkType == other.mNetworkType) in equals()
160 return Objects.hash(mNetworkType, mEvaluationType, Arrays.hashCode(mWifiInfo), in hashCode()
180 private int mNetworkType; field in DataStallDetectionStats.Builder
215 mNetworkType = type; in setNetworkType()
305 mEvaluationType, mNetworkType, mTcpFailRate, mTcpSentSinceLastRecv); in build()
DDataStallStatsUtils.java74 stats.mNetworkType, in write()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiNetworkDetailsViewModel.java69 private int mNetworkType; field in WifiNetworkDetailsViewModel.HotspotNetworkData
77 mNetworkType = networkType; in HotspotNetworkData()
85 return mNetworkType; in getNetworkType()
106 + ":{networkType:" + mNetworkType in toString()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java91 private int mNetworkType; field in ConnectivityListener
254 return mNetworkType == ConnectivityManager.TYPE_ETHERNET; in isEthernetConnected()
258 if (mNetworkType == ConnectivityManager.TYPE_WIFI) { in isWifiConnected()
270 return mNetworkType == ConnectivityManager.TYPE_MOBILE; in isCellConnected()
394 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
404 mNetworkType = ConnectivityManager.TYPE_WIFI; in updateConnectivityStatus()
427 mNetworkType = ConnectivityManager.TYPE_ETHERNET; in updateConnectivityStatus()
431 mNetworkType = ConnectivityManager.TYPE_MOBILE; in updateConnectivityStatus()
435 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java91 private int mNetworkType; field in ConnectivityListener
285 return mNetworkType == ConnectivityManager.TYPE_ETHERNET; in isEthernetConnected()
289 if (mNetworkType == ConnectivityManager.TYPE_WIFI) { in isWifiConnected()
301 return mNetworkType == ConnectivityManager.TYPE_MOBILE; in isCellConnected()
424 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
434 mNetworkType = ConnectivityManager.TYPE_WIFI; in updateConnectivityStatus()
457 mNetworkType = ConnectivityManager.TYPE_ETHERNET; in updateConnectivityStatus()
461 mNetworkType = ConnectivityManager.TYPE_MOBILE; in updateConnectivityStatus()
465 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java141 private int mNetworkType; field in NetworkInfo
173 mNetworkType = type; in NetworkInfo()
189 mNetworkType = source.mNetworkType; in NetworkInfo()
222 return mNetworkType; in getType()
233 mNetworkType = type; in setType()
615 dest.writeInt(mNetworkType); in writeToParcel()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java609 private final int mNetworkType; field in CtsNetUtils.ConnectivityActionReceiver
616 mNetworkType = networkType; in ConnectivityActionReceiver()
653 if (networkType == mNetworkType && networkInfo.getState() == mNetState) { in onReceive()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConcreteClientModeManager.java287 private final int mNetworkType; field in ConcreteClientModeManager.DeferStopHandler.ImsNetworkCallback
296 mNetworkType = type; in ImsNetworkCallback()
303 + ", type: " + mNetworkType); in onAvailable() local
314 + ", type: " + mNetworkType); in onLost() local
/packages/modules/Connectivity/framework-t/hiddenapi/
Dhiddenapi-max-target-o-low-priority-tiramisu.txt53 Landroid/app/usage/NetworkStatsManager$CallbackHandler;->mNetworkType:I
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2866 assertEquals(transport, stats.mNetworkType); in verifyTestDataStallDetectionStats()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt769 Landroid/net/NetworkInfo;->mNetworkType:I