Home
last modified time | relevance | path

Searched refs:timeStampInMs (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java99 mWifiLinkLayerStats.timeStampInMs += 1000; in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
100 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
120 mWifiLinkLayerStats.timeStampInMs = 999999999; in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
121 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
124 mWifiLinkLayerStats.timeStampInMs += 1; in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
125 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
136 mWifiLinkLayerStats.timeStampInMs = 999999999; in afterSourceSwitchTheRatesShouldGetReset()
137 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in afterSourceSwitchTheRatesShouldGetReset()
141 mWifiLinkLayerStats.timeStampInMs += 10_000; in afterSourceSwitchTheRatesShouldGetReset()
142 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in afterSourceSwitchTheRatesShouldGetReset()
[all …]
DWifiDataStallTest.java99 mOldLlStats.timeStampInMs = 10000; in setUp()
105 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs in setUp()
120 mNewLlStats.timeStampInMs - mOldLlStats.timeStampInMs); in verifyUpdateWifiIsUnusableLinkLayerStats()
259 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs in verifyNoDataStallBigTimeGap()
DWifiMetricsTest.java2699 out.timeStampInMs = current.timeStampInMs + nextRandInt(); in nextRandomStats()
2735 assertEquals(newStats.timeStampInMs - oldStats.timeStampInMs, in assertWifiLinkLayerUsageHasDiff()
2820 assertEquals(stats.timeStampInMs, usabilityStats.timeStampMs); in assertUsabilityStatsAssignment()
2913 statsGood.timeStampInMs += WifiMetrics.MIN_WIFI_GOOD_USABILITY_STATS_PERIOD_MS; in testUpdateWifiUsabilityStatsEntries()
3010 stats.timeStampInMs += WifiMetrics.MIN_WIFI_GOOD_USABILITY_STATS_PERIOD_MS; in testWifiUsabilityStatsBufferSizeIsCapped()
3052 stats2.timeStampInMs = stats1.timeStampInMs in testWifiUsabilityStatsLabelBadNotGeneratedGapLessThanMinimum()
3069 stats4.timeStampInMs = stats3.timeStampInMs - 1 + WifiMetrics.MIN_DATA_STALL_WAIT_MS; in testWifiUsabilityStatsLabelBadNotGeneratedGapLessThanMinimum()
3091 stats2.timeStampInMs = stats1.timeStampInMs in testWifiUsabilityStatsLabelBadGeneratedGapLargerThanMinimum()
3108 stats4.timeStampInMs = stats3.timeStampInMs + 1 + WifiMetrics.MIN_DATA_STALL_WAIT_MS; in testWifiUsabilityStatsLabelBadGeneratedGapLargerThanMinimum()
3270 assertEquals(usabilityStats.getValue().getTimeStampMillis(), linkLayerStats.timeStampInMs); in testClientNotification()
DWifiVendorHalTest.java914 stats.timeStampInMs = r.nextLong() & 0xFFFFFFFFFFL; in testLinkLayerStatsAssignment()
920 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment()
941 stats.timeStampInMs = r.nextLong() & 0xFFFFFFFFFFL; in testLinkLayerStatsAssignment_1_3()
947 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment_1_3()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLinkLayerStats.java146 public long timeStampInMs; field in WifiLinkLayerStats
195 sbuf.append(" ts=" + timeStampInMs); in toString()
DWifiDataStall.java129 long timeMsDelta = newStats.timeStampInMs - oldStats.timeStampInMs; in checkForDataStall()
DWifiVendorHal.java948 setTimeStamp(out, stats.timeStampInMs); in frameworkFromHalLinkLayerStats()
963 setTimeStamp(out, stats.timeStampInMs); in frameworkFromHalLinkLayerStats_1_3()
1044 private static void setTimeStamp(WifiLinkLayerStats stats, long timeStampInMs) { in setTimeStamp() argument
1045 stats.timeStampInMs = timeStampInMs; in setTimeStamp()
DWifiMetrics.java913 (newStats.timeStampInMs - mLastLinkLayerStats.timeStampInMs); in incrementWifiLinkLayerUsageStats()
4365 wifiUsabilityStatsEntry.timeStampMs = stats.timeStampInMs;