Searched refs:mNetworkType (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallDetectionStats.java | 63 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()
|
D | DataStallStatsUtils.java | 74 stats.mNetworkType, in write()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 89 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/ |
D | NetworkInfo.java | 140 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/ |
D | CtsNetUtils.java | 606 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/ |
D | DataUsageList.java | 109 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/ |
D | DataUsageListTest.java | 148 assertThat(mDataUsageList.mNetworkType).isEqualTo(ConnectivityManager.TYPE_WIFI); in processArgument_shouldGetNetworkTypeFromArgument()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 2125 assertEquals(transport, stats.mNetworkType);
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 769 Landroid/net/NetworkInfo;->mNetworkType:I
|