Home
last modified time | relevance | path

Searched refs:mNetworkType (Results 1 – 9 of 9) 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, mWifiInfo, mCellularInfo, mDns, in hashCode()
179 private int mNetworkType; field in DataStallDetectionStats.Builder
214 mNetworkType = type; in setNetworkType()
304 mEvaluationType, mNetworkType, mTcpFailRate, mTcpSentSinceLastRecv); in build()
DDataStallStatsUtils.java74 stats.mNetworkType, in write()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java89 private int mNetworkType; field in ConnectivityListener
263 return mNetworkType == ConnectivityManager.TYPE_ETHERNET; in isEthernetConnected()
267 if (mNetworkType == ConnectivityManager.TYPE_WIFI) { in isWifiConnected()
279 return mNetworkType == ConnectivityManager.TYPE_MOBILE; in isCellConnected()
373 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
383 mNetworkType = ConnectivityManager.TYPE_WIFI; in updateConnectivityStatus()
406 mNetworkType = ConnectivityManager.TYPE_ETHERNET; in updateConnectivityStatus()
410 mNetworkType = ConnectivityManager.TYPE_MOBILE; in updateConnectivityStatus()
414 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java140 private int mNetworkType; field in NetworkInfo
172 mNetworkType = type; in NetworkInfo()
185 mNetworkType = source.mNetworkType; in NetworkInfo()
219 return mNetworkType; in getType()
230 mNetworkType = type; in setType()
588 dest.writeInt(mNetworkType); in writeToParcel()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java606 private final int mNetworkType; field in CtsNetUtils.ConnectivityActionReceiver
613 mNetworkType = networkType; in ConnectivityActionReceiver()
650 if (networkType == mNetworkType && networkInfo.getState() == mNetState) { in onReceive()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java109 int mNetworkType; field in DataUsageList
259 mNetworkType = args.getInt(EXTRA_NETWORK_TYPE, ConnectivityManager.TYPE_MOBILE); in processArgument()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageListTest.java148 assertThat(mDataUsageList.mNetworkType).isEqualTo(ConnectivityManager.TYPE_WIFI); in processArgument_shouldGetNetworkTypeFromArgument()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2125 assertEquals(transport, stats.mNetworkType);
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt769 Landroid/net/NetworkInfo;->mNetworkType:I