Home
last modified time | relevance | path

Searched refs:mNetworkType (Results 1 – 8 of 8) 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()
302 mEvaluationType, mNetworkType, mTcpFailRate, mTcpSentSinceLastRecv); in build()
DDataStallStatsUtils.java74 stats.mNetworkType, in write()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java85 private int mNetworkType; field in ConnectivityListener
213 return mNetworkType == ConnectivityManager.TYPE_ETHERNET; in isEthernetConnected()
217 return mNetworkType == ConnectivityManager.TYPE_WIFI; in isWifiConnected()
221 return mNetworkType == ConnectivityManager.TYPE_MOBILE; in isCellConnected()
298 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
305 mNetworkType = ConnectivityManager.TYPE_WIFI; in updateConnectivityStatus()
328 mNetworkType = ConnectivityManager.TYPE_ETHERNET; in updateConnectivityStatus()
332 mNetworkType = ConnectivityManager.TYPE_MOBILE; in updateConnectivityStatus()
336 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java236 private int mNetworkType = ConnectivityManager.TYPE_NONE; field in DownloadThread
302 mNetworkType = info.getType(); in run()
345 if (info != null && info.getType() == mNetworkType && info.isConnected()) { in run()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java107 int mNetworkType; field in DataUsageList
226 mNetworkType = args.getInt(EXTRA_NETWORK_TYPE, ConnectivityManager.TYPE_MOBILE); in processArgument()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageList.java110 int mNetworkType; field in DataUsageList
224 mNetworkType = args.getInt(EXTRA_NETWORK_TYPE, ConnectivityManager.TYPE_MOBILE); in processArgument()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageListTest.java130 assertThat(mDataUsageList.mNetworkType).isEqualTo(ConnectivityManager.TYPE_WIFI); in processArgument_shouldGetNetworkTypeFromArgument()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java1994 assertEquals(transport, stats.mNetworkType);