Searched refs:DataStallDetectionStats (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallDetectionStats.java | 45 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() 300 public DataStallDetectionStats build() { in build() 301 return new DataStallDetectionStats(mCellularInfo, mWifiInfo, in build()
|
D | DataStallStatsUtils.java | 64 public static void write(@NonNull final DataStallDetectionStats stats, in write()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
D | DataStallStatsUtilsTest.kt | 75 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/ |
D | NetworkMonitorTest.java | 146 import com.android.networkstack.metrics.DataStallDetectionStats; 608 protected void addDnsEvents(@NonNull final DataStallDetectionStats.Builder stats) { in addDnsEvents() 1948 final ArgumentCaptor<DataStallDetectionStats> statsCaptor = 1949 ArgumentCaptor.forClass(DataStallDetectionStats.class); 1958 DataStallDetectionStats stats) { 1966 assertArrayEquals(DataStallDetectionStats.emptyCellDataIfNull(null), 1973 assertArrayEquals(DataStallDetectionStats.emptyWifiInfoIfNull(null), 1987 assertEquals(DataStallDetectionStats.UNSPECIFIED_TCP_FAIL_RATE, stats.mTcpFailRate); 1988 assertEquals(DataStallDetectionStats.UNSPECIFIED_TCP_PACKETS_COUNT, 1999 private DataStallDetectionStats makeTestDataStallDetectionStats(int evaluationType, [all …]
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 172 import com.android.networkstack.metrics.DataStallDetectionStats; 1094 final DataStallDetectionStats stats = in maybeWriteDataStallStats() 1102 protected DataStallDetectionStats buildDataStallDetectionStats(int transport, in buildDataStallDetectionStats() 1104 final DataStallDetectionStats.Builder stats = new DataStallDetectionStats.Builder(); in buildDataStallDetectionStats() 1140 private void addTcpStats(@NonNull final DataStallDetectionStats.Builder stats) { in addTcpStats() 1149 protected void addDnsEvents(@NonNull final DataStallDetectionStats.Builder stats) { in addDnsEvents() 3218 public void writeDataStallDetectionStats(@NonNull final DataStallDetectionStats stats, in writeDataStallDetectionStats()
|