Searched refs:actualStats (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiUsabilityStatsEntryTest.java | 310 RateStats actualStats = actual.getRateStats().get(i); in assertWifiUsabilityStatsEntryEquals() local 311 assertEquals(expectedStats.getPreamble(), actualStats.getPreamble()); in assertWifiUsabilityStatsEntryEquals() 313 actualStats.getNumberOfSpatialStreams()); in assertWifiUsabilityStatsEntryEquals() 314 assertEquals(expectedStats.getBandwidthInMhz(), actualStats.getBandwidthInMhz()); in assertWifiUsabilityStatsEntryEquals() 315 assertEquals(expectedStats.getRateMcsIdx(), actualStats.getRateMcsIdx()); in assertWifiUsabilityStatsEntryEquals() 316 assertEquals(expectedStats.getBitRateInKbps(), actualStats.getBitRateInKbps()); in assertWifiUsabilityStatsEntryEquals() 317 assertEquals(expectedStats.getTxMpdu(), actualStats.getTxMpdu()); in assertWifiUsabilityStatsEntryEquals() 318 assertEquals(expectedStats.getRxMpdu(), actualStats.getRxMpdu()); in assertWifiUsabilityStatsEntryEquals() 319 assertEquals(expectedStats.getMpduLost(), actualStats.getMpduLost()); in assertWifiUsabilityStatsEntryEquals() 320 assertEquals(expectedStats.getRetries(), actualStats.getRetries()); in assertWifiUsabilityStatsEntryEquals() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogManagerUnitTest.java | 270 ResourceOveruseStats actualStats = mCarWatchdogManager.getResourceOveruseStats( in testGetResourceOveruseStats() local 273 assertThat(actualStats).isEqualTo(expectedStats); in testGetResourceOveruseStats() 283 ResourceOveruseStats actualStats = mCarWatchdogManager in testFailsGetResourceOveruseStats() local 286 ResourceOveruseStatsSubject.isEquals(actualStats, expectedStats); in testFailsGetResourceOveruseStats() 299 List<ResourceOveruseStats> actualStats = mCarWatchdogManager.getAllResourceOveruseStats( in testGetAllResourceOveruseStats() local 302 assertThat(actualStats).isEqualTo(expectedStats); in testGetAllResourceOveruseStats() 311 List<ResourceOveruseStats> actualStats = mCarWatchdogManager in testFailsGetAllResourceOveruseStats() local 315 assertThat(actualStats).isEmpty(); in testFailsGetAllResourceOveruseStats() 327 ResourceOveruseStats actualStats = in testGetResourceOveruseStatsForUserPackage() local 331 assertThat(actualStats).isEqualTo(expectedStats); in testGetResourceOveruseStatsForUserPackage() [all …]
|
D | WatchdogPerfHandlerUnitTest.java | 636 List<ResourceOveruseStats> actualStats = mWatchdogPerfHandler.getAllResourceOveruseStats( in testDeleteUser() local 647 ResourceOveruseStatsSubject.assertThat(actualStats) in testDeleteUser() 1219 List<UserPackageIoUsageStats> actualStats = in testGetTodayIoUsageStats() local 1232 assertThat(actualStats).comparingElementsUsing(Correspondence.from( in testGetTodayIoUsageStats() 1288 ResourceOveruseStats actualStats = in testResetResourceOveruseStatsResetsStats() local 1297 ResourceOveruseStatsSubject.assertEquals(actualStats, expectedStats); in testResetResourceOveruseStatsResetsStats() 2110 List<ResourceOveruseStats> actualStats = mWatchdogPerfHandler.getAllResourceOveruseStats( in testGetAllResourceOveruseStatsWithNoMinimum() local 2114 ResourceOveruseStatsSubject.assertThat(actualStats) in testGetAllResourceOveruseStatsWithNoMinimum() 2158 List<ResourceOveruseStats> actualStats = mWatchdogPerfHandler.getAllResourceOveruseStats( in testGetAllResourceOveruseStatsWithNoMinimumForPast7days() local 2181 ResourceOveruseStatsSubject.assertThat(actualStats) in testGetAllResourceOveruseStatsWithNoMinimumForPast7days() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTestUtil.java | 163 DeviceMobilityStatePnoScanStats actualStats = actual[i]; in assertDeviceMobilityStatePnoScanStatsEqual() local 167 expectedStats.deviceMobilityState, actualStats.deviceMobilityState); in assertDeviceMobilityStatePnoScanStatsEqual() 170 expectedStats.numTimesEnteredState, actualStats.numTimesEnteredState); in assertDeviceMobilityStatePnoScanStatsEqual() 173 expectedStats.totalDurationMs, actualStats.totalDurationMs); in assertDeviceMobilityStatePnoScanStatsEqual() 176 expectedStats.pnoDurationMs, actualStats.pnoDurationMs); in assertDeviceMobilityStatePnoScanStatsEqual()
|