Home
last modified time | relevance | path

Searched refs:timeDeltaLastTwoPollsMs (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDataStall.java363 int timeDeltaLastTwoPollsMs = (int) (newStats.timeStampInMs - oldStats.timeStampInMs); in checkDataStallAndThroughputSufficiency() local
367 > (mDeviceConfigFacade.getTxPktPerSecondThr() * timeDeltaLastTwoPollsMs); in checkDataStallAndThroughputSufficiency()
369 > (mDeviceConfigFacade.getRxPktPerSecondThr() * timeDeltaLastTwoPollsMs); in checkDataStallAndThroughputSufficiency()
370 if (timeDeltaLastTwoPollsMs < 0 in checkDataStallAndThroughputSufficiency()
382 txBadDelta, rxSuccessDelta, timeDeltaLastTwoPollsMs); in checkDataStallAndThroughputSufficiency()
430 isTxTrafficHigh, isRxTrafficHigh, timeDeltaLastTwoPollsMs, txBytes, rxBytes); in checkDataStallAndThroughputSufficiency()
434 if (timeDeltaLastTwoPollsMs > 0 && timeDeltaLastTwoPollsMs <= maxTimeDeltaMs) { in checkDataStallAndThroughputSufficiency()
435 mWifiMetrics.incrementConnectionDuration(ifaceName, timeDeltaLastTwoPollsMs, in checkDataStallAndThroughputSufficiency()
449 return detectConsecutiveTwoDataStalls(ifaceName, timeDeltaLastTwoPollsMs, dataStallTx, in checkDataStallAndThroughputSufficiency()
456 private int detectConsecutiveTwoDataStalls(String ifaceName, int timeDeltaLastTwoPollsMs, in detectConsecutiveTwoDataStalls() argument
[all …]
DWifiMetrics.java900 public void incrementDurationCount(int timeDeltaLastTwoPollsMs, in incrementDurationCount() argument
904 mConnectionDurationCellularDataOffMs += timeDeltaLastTwoPollsMs; in incrementDurationCount()
907 mConnectionDurationSufficientThroughputMs += timeDeltaLastTwoPollsMs; in incrementDurationCount()
909 mConnectionDurationInSufficientThroughputMs += timeDeltaLastTwoPollsMs; in incrementDurationCount()
912 timeDeltaLastTwoPollsMs; in incrementDurationCount()
8589 public void incrementConnectionDuration(String ifaceName, int timeDeltaLastTwoPollsMs,
8596 mConnectionDurationStats.incrementDurationCount(timeDeltaLastTwoPollsMs,
8601 WifiStatsLog.write(WifiStatsLog.WIFI_HEALTH_STAT_REPORTED, timeDeltaLastTwoPollsMs,