Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java172 mWifiLinkLayerStats.timeStampInMs += 1000; in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
173 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
205 mWifiLinkLayerStats.timeStampInMs = 999999999; in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
206 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
209 mWifiLinkLayerStats.timeStampInMs += 1; in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
210 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in aSinglePacketInAShortPeriodOfTimeShouldHaveSmallEffect()
221 mWifiLinkLayerStats.timeStampInMs = 999999999; in afterSourceSwitchTheRatesShouldGetReset()
222 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in afterSourceSwitchTheRatesShouldGetReset()
226 mWifiLinkLayerStats.timeStampInMs += 10_000; in afterSourceSwitchTheRatesShouldGetReset()
227 mWifiInfo.updatePacketRates(mWifiLinkLayerStats, mWifiLinkLayerStats.timeStampInMs); in afterSourceSwitchTheRatesShouldGetReset()
[all …]
DWifiDataStallTest.java156 mOldLlStats.timeStampInMs = 10000; in setUp()
162 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs in setUp()
205 mNewLlStats.timeStampInMs - mOldLlStats.timeStampInMs); in verifyUpdateWifiIsUnusableLinkLayerStats()
604 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs in verifyNoDataStallBigTimeGap()
638 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs + 1000; in testIncrementConnectionDuration()
652 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs + 2000; in testIncrementConnectionDuration()
663 mNewLlStats.timeStampInMs = mOldLlStats.timeStampInMs + 10000; in testIncrementConnectionDuration()
DWifiScoreCardTest.java1236 mNewLlStats.timeStampInMs = 5_000; in makeUpdateLinkBandwidthExample()
1622 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1623 mNewLlStats.timeStampInMs = 10_000; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1656 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthTwoBssidThreeSignalLevelOneBand()
1657 mNewLlStats.timeStampInMs = 10_000; in testLinkBandwidthTwoBssidThreeSignalLevelOneBand()
1703 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthAfterLongTimeGap()
1704 mNewLlStats.timeStampInMs = 10_000; in testLinkBandwidthAfterLongTimeGap()
1732 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthInvalidTrafficStats()
1733 mNewLlStats.timeStampInMs = 10_000; in testLinkBandwidthInvalidTrafficStats()
1766 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthOneBssidTwoSignalLevelTwoBand()
[all …]
DWifiMetricsTest.java3971 out.timeStampInMs = current.timeStampInMs + nextRandInt(); in nextRandomStats()
4067 assertEquals(newStats.timeStampInMs - oldStats.timeStampInMs, in assertWifiLinkLayerUsageHasDiff()
4188 assertEquals(stats.timeStampInMs, usabilityStats.timeStampMs); in assertUsabilityStatsAssignment()
4343 statsGood.timeStampInMs += WifiMetrics.MIN_WIFI_GOOD_USABILITY_STATS_PERIOD_MS; in testUpdateWifiUsabilityStatsEntries()
4462 stats.timeStampInMs += WifiMetrics.MIN_WIFI_GOOD_USABILITY_STATS_PERIOD_MS; in testWifiUsabilityStatsBufferSizeIsCapped()
4504 stats2.timeStampInMs = stats1.timeStampInMs in testWifiUsabilityStatsLabelBadNotGeneratedGapLessThanMinimum()
4521 stats4.timeStampInMs = stats3.timeStampInMs - 1 + WifiMetrics.MIN_DATA_STALL_WAIT_MS; in testWifiUsabilityStatsLabelBadNotGeneratedGapLessThanMinimum()
4543 stats2.timeStampInMs = stats1.timeStampInMs in testWifiUsabilityStatsLabelBadGeneratedGapLargerThanMinimum()
4560 stats4.timeStampInMs = stats3.timeStampInMs + 1 + WifiMetrics.MIN_DATA_STALL_WAIT_MS; in testWifiUsabilityStatsLabelBadGeneratedGapLargerThanMinimum()
4751 assertEquals(usabilityStats.getValue().getTimeStampMillis(), linkLayerStats.timeStampInMs); in testClientNotification()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceHidlImplTest.java540 stats.timeStampInMs = r.nextLong() & 0xFFFFFFFFFFL; in testLinkLayerStatsAssignment()
546 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment()
566 stats.timeStampInMs = r.nextLong() & 0xFFFFFFFFFFL; in testLinkLayerStatsAssignment_1_3()
572 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment_1_3()
593 stats.timeStampInMs = r.nextLong() & 0xFFFFFFFFFFL; in testLinkLayerStatsAssignment_1_5()
606 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment_1_5()
DWifiStaIfaceAidlImplTest.java119 stats.timeStampInMs = r.nextLong() & 0xFFFFFFFFFFL; in testLinkLayerStatsAssignment()
128 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceHidlImpl.java952 out.timeStampInMs = stats.timeStampInMs; in frameworkFromHalLinkLayerStats()
967 out.timeStampInMs = stats.timeStampInMs; in frameworkFromHalLinkLayerStats_1_3()
982 out.timeStampInMs = stats.timeStampInMs; in frameworkFromHalLinkLayerStats_1_5()
997 out.timeStampInMs = stats.timeStampInMs; in frameworkFromHalLinkLayerStats_1_6()
DWifiStaIfaceAidlImpl.java1331 out.timeStampInMs = stats.timeStampInMs; in halToFrameworkLinkLayerStats()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDataStall.java363 int timeDeltaLastTwoPollsMs = (int) (newStats.timeStampInMs - oldStats.timeStampInMs); in checkDataStallAndThroughputSufficiency()
DWifiLinkLayerStats.java328 public long timeStampInMs; field in WifiLinkLayerStats
656 sbuf.append(" ts=" + timeStampInMs); in toString()
DWifiScoreCard.java1329 int elapsedTimeMs = (int) (newStats.timeStampInMs - oldStats.timeStampInMs); in updateLinkBandwidthTxRxSample()
DWifiMetrics.java1782 (newStats.timeStampInMs - mLastLinkLayerStats.timeStampInMs); in incrementWifiLinkLayerUsageStats()
7016 stats.timeStampInMs = mClock.getElapsedSinceBootMillis();
7026 wifiUsabilityStatsEntry.timeStampMs = stats.timeStampInMs;