Home
last modified time | relevance | path

Searched refs:DataStallDetectionStats (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java45 public final class DataStallDetectionStats { class
72 public DataStallDetectionStats(@Nullable byte[] cell, @Nullable byte[] wifi, in DataStallDetectionStats() method in DataStallDetectionStats
147 if (!(o instanceof DataStallDetectionStats)) return false; in equals()
148 final DataStallDetectionStats other = (DataStallDetectionStats) o; in equals()
298 public DataStallDetectionStats build() { in build()
299 return new DataStallDetectionStats(mCellularInfo, mWifiInfo, in build()
DDataStallStatsUtils.java64 public static void write(@NonNull final DataStallDetectionStats stats, in write()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DDataStallStatsUtilsTest.kt75 val stats = DataStallDetectionStats.Builder() in testWrite()
93 eq(DataStallDetectionStats.emptyWifiInfoIfNull(null)), in testWrite()
123 private fun generateTimeoutDnsEvent(stats: DataStallDetectionStats.Builder, count: Int) { in generateTimeoutDnsEvent()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java146 import com.android.networkstack.metrics.DataStallDetectionStats;
608 protected void addDnsEvents(@NonNull final DataStallDetectionStats.Builder stats) { in addDnsEvents()
1983 final ArgumentCaptor<DataStallDetectionStats> statsCaptor =
1984 ArgumentCaptor.forClass(DataStallDetectionStats.class);
1993 DataStallDetectionStats stats) {
2001 assertArrayEquals(DataStallDetectionStats.emptyCellDataIfNull(null),
2008 assertArrayEquals(DataStallDetectionStats.emptyWifiInfoIfNull(null),
2022 assertEquals(DataStallDetectionStats.UNSPECIFIED_TCP_FAIL_RATE, stats.mTcpFailRate);
2023 assertEquals(DataStallDetectionStats.UNSPECIFIED_TCP_PACKETS_COUNT,
2034 private DataStallDetectionStats makeTestDataStallDetectionStats(int evaluationType,
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java172 import com.android.networkstack.metrics.DataStallDetectionStats;
1097 final DataStallDetectionStats stats = in maybeWriteDataStallStats()
1105 protected DataStallDetectionStats buildDataStallDetectionStats(int transport, in buildDataStallDetectionStats()
1107 final DataStallDetectionStats.Builder stats = new DataStallDetectionStats.Builder(); in buildDataStallDetectionStats()
1143 private void addTcpStats(@NonNull final DataStallDetectionStats.Builder stats) { in addTcpStats()
1152 protected void addDnsEvents(@NonNull final DataStallDetectionStats.Builder stats) { in addDnsEvents()
3219 public void writeDataStallDetectionStats(@NonNull final DataStallDetectionStats stats, in writeDataStallDetectionStats()