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.java74 mOldLlStats.timeStampInMs = 10000; in setUp()
80 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs in setUp()
93 mNewLlStats.timeStampInMs - mOldLlStats.timeStampInMs); in verifyUpdateWifiIsUnusableLinkLayerStats()
200 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs in verifyNoDataStallBigTimeGap()
DWifiMetricsTest.java2631 out.timeStampInMs = current.timeStampInMs + nextRandInt(); in nextRandomStats()
2667 assertEquals(newStats.timeStampInMs - oldStats.timeStampInMs, in assertWifiLinkLayerUsageHasDiff()
2752 assertEquals(stats.timeStampInMs, usabilityStats.timeStampMs); in assertUsabilityStatsAssignment()
2845 statsGood.timeStampInMs += WifiMetrics.MIN_WIFI_GOOD_USABILITY_STATS_PERIOD_MS; in testUpdateWifiUsabilityStatsEntries()
2942 stats.timeStampInMs += WifiMetrics.MIN_WIFI_GOOD_USABILITY_STATS_PERIOD_MS; in testWifiUsabilityStatsBufferSizeIsCapped()
2983 stats2.timeStampInMs = stats1.timeStampInMs in testWifiUsabilityStatsLabelBadNotGeneratedGapLessThanMinimum()
3000 stats4.timeStampInMs = stats3.timeStampInMs - 1 + WifiMetrics.MIN_DATA_STALL_WAIT_MS; in testWifiUsabilityStatsLabelBadNotGeneratedGapLessThanMinimum()
3022 stats2.timeStampInMs = stats1.timeStampInMs in testWifiUsabilityStatsLabelBadGeneratedGapLargerThanMinimum()
3039 stats4.timeStampInMs = stats3.timeStampInMs + 1 + WifiMetrics.MIN_DATA_STALL_WAIT_MS; in testWifiUsabilityStatsLabelBadGeneratedGapLargerThanMinimum()
3201 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/
DWifiDataStall.java92 long timeMsDelta = newStats.timeStampInMs - oldStats.timeStampInMs; in checkForDataStall()
DWifiLinkLayerStats.java146 public long timeStampInMs; field in WifiLinkLayerStats
195 sbuf.append(" ts=" + timeStampInMs); in toString()
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.java843 (newStats.timeStampInMs - mLastLinkLayerStats.timeStampInMs); in incrementWifiLinkLayerUsageStats()
4220 wifiUsabilityStatsEntry.timeStampMs = stats.timeStampInMs;