/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_phone_test.cpp | 130 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 194 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 241 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 284 … double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 315 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 357 … double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 421 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * phoneDataAverageMa / US_PER_HOUR; variable 484 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * phoneDataAverageMa / US_PER_HOUR; variable 531 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * phoneDataAverageMa / US_PER_HOU… variable 562 double expectedPower = StatsUtils::DEFAULT_VALUE; variable [all …]
|
D | stats_service_wifi_test.cpp | 126 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 188 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 234 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 265 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 306 … double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 391 double expectedPower = count * wifiScanAverageMa; variable 445 double expectedPower = count * wifiScanAverageMa; variable 516 double expectedPower = wifiOnPower + wifiScanPower; variable 554 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 590 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable [all …]
|
D | stats_service_location_test.cpp | 131 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 205 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 238 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 281 … double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 357 … double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 398 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 436 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 474 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 504 double expectedPower = StatsUtils::DEFAULT_VALUE; variable
|
D | stats_service_display_test.cpp | 162 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 201 double expectedPower = average * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 274 double expectedPower = average * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 318 double expectedPower = average * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 364 double expectedPower = average * 2 * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 391 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 433 double expectedPower = average * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 478 double expectedPower = (screenOnPower + lastBrightnessPower + curBrightnessPower) / US_PER_HOUR; variable 524 double expectedPower = average * 3 * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 601 double expectedPower = StatsUtils::DEFAULT_VALUE; variable
|
D | stats_service_powermgr_test.cpp | 133 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * sensorGravityOnAverageMa / US_PER_H… variable 198 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * sensorGravityOnAverageMa / US_PER_H… variable 249 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 282 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * sensorProximityOnAverageMa / US_PER… variable 347 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * sensorProximityOnAverageMa / US_PER… variable 412 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * variable 459 double expectedPower = wakelockAverage * SERVICE_POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 496 double expectedPower = StatsUtils::DEFAULT_VALUE; variable
|
D | stats_service_camera_test.cpp | 129 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 237 …double expectedPower = (3 * SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOU… variable 356 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 437 …double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 480 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 543 …double expectedPower = (2 * SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOU… variable 611 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * flashlightOnAverageMa / US_PER_HOUR; variable 676 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * flashlightOnAverageMa / US_PER_HOUR; variable 726 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 781 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable [all …]
|
D | stats_service_audio_test.cpp | 131 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 215 … double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 259 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 293 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 350 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 380 double expectedPower = StatsUtils::DEFAULT_VALUE; variable
|
D | stats_service_alarm_test.cpp | 125 double expectedPower = count * alarmOnAverageMa; variable 185 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 220 double expectedPower = count * alarmOnAverageMa; variable 258 double expectedPower = count * alarmOnAverageMa; variable 286 double expectedPower = StatsUtils::DEFAULT_VALUE; variable
|
D | stats_service_bluetooth_test.cpp | 172 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOU… variable 238 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOU… variable 286 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER… variable 330 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER… variable 363 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 406 …double expectedPower = 3 * SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER… variable 505 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HO… variable 571 …double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HO… variable 619 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PE… variable 663 …double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PE… variable [all …]
|
D | stats_service_subscriber_test.cpp | 169 double expectedPower = 2 * alarmOnAverageMa; variable 262 … double expectedPower = 2 * SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 299 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 338 double expectedPower = SERVICE_POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_phone_test.cpp | 105 double expectedPower = POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 163 double expectedPower = POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 205 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 243 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 271 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 308 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 366 double expectedPower = POWER_CONSUMPTION_DURATION_US * phoneDataAverageMa / US_PER_HOUR; variable 423 double expectedPower = POWER_CONSUMPTION_DURATION_US * phoneDataAverageMa / US_PER_HOUR; variable 465 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * phoneDataAverageMa / US_PER_HOUR; variable 493 double expectedPower = StatsUtils::DEFAULT_VALUE; variable [all …]
|
D | stats_wifi_test.cpp | 103 double expectedPower = POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 159 double expectedPower = POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 200 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 228 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 264 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 346 double expectedPower = count * wifiScanAverageMa; variable 400 double expectedPower = count * wifiScanAverageMa; variable 469 double expectedPower = wifiOnPower + wifiScanPower; variable 506 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 539 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable [all …]
|
D | stats_location_test.cpp | 107 double expectedPower = POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 173 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 203 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 241 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 309 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 347 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 382 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable
|
D | stats_bluetooth_test.cpp | 138 double expectedPower = POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOUR; variable 198 double expectedPower = POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOUR; variable 241 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOUR; variable 280 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOUR; variable 310 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 348 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOUR; variable 438 double expectedPower = POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HOUR; variable 498 double expectedPower = POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HOUR; variable 541 … double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HOUR; variable 580 … double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HOUR; variable [all …]
|
D | stats_display_test.cpp | 130 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 164 double expectedPower = average * POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 227 double expectedPower = average * POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 267 double expectedPower = average * POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 307 double expectedPower = average * 2 * POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 331 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 369 double expectedPower = average * POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable 409 double expectedPower = (screenOnPower + lastBrightnessPower + curBrightnessPower) / US_PER_HOUR; variable 451 double expectedPower = average * 3 * POWER_CONSUMPTION_DURATION_US / US_PER_HOUR; variable
|
D | stats_camera_test.cpp | 102 double expectedPower = POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 194 double expectedPower = (3 * POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR) + variable 295 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 364 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 401 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 455 double expectedPower = (2 * POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR) + variable 515 double expectedPower = POWER_CONSUMPTION_DURATION_US * flashlightOnAverageMa / US_PER_HOUR; variable 572 double expectedPower = POWER_CONSUMPTION_DURATION_US * flashlightOnAverageMa / US_PER_HOUR; variable 616 double expectedPower = POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable
|
D | stats_audio_test.cpp | 103 double expectedPower = POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 175 double expectedPower = 3 * POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 213 double expectedPower = 2 * POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 243 double expectedPower = POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable
|
D | stats_powermgr_test.cpp | 106 double expectedPower = POWER_CONSUMPTION_DURATION_US * sensorGravityOnAverageMa / US_PER_HOUR; variable 163 double expectedPower = POWER_CONSUMPTION_DURATION_US * sensorGravityOnAverageMa / US_PER_HOUR; variable 208 double expectedPower = StatsUtils::DEFAULT_VALUE; variable 237 double expectedPower = POWER_CONSUMPTION_DURATION_US * sensorProximityOnAverageMa / US_PER_HOUR; variable 294 double expectedPower = POWER_CONSUMPTION_DURATION_US * sensorProximityOnAverageMa / US_PER_HOUR; variable
|
D | stats_alarm_test.cpp | 103 double expectedPower = count * alarmOnAverageMa; variable 160 double expectedPower = StatsUtils::DEFAULT_VALUE; variable
|
/base/powermgr/battery_statistics/test/systemtest/src/ |
D | batterystats_sys_test.cpp | 331 double expectedPower = POWER_CONSUMPTION_DURATION_US * bluetoothBrOnAverageMa / US_PER_HOUR; variable 359 double expectedPower = POWER_CONSUMPTION_DURATION_US * wifiOnAverageMa / US_PER_HOUR; variable 389 double expectedPower = POWER_CONSUMPTION_DURATION_US * phoneOnAverageMa / US_PER_HOUR; variable 454 double expectedPower = POWER_CONSUMPTION_DURATION_US * audioOnAverageMa / US_PER_HOUR; variable 485 double expectedPower = POWER_CONSUMPTION_DURATION_US * gnssOnAverageMa / US_PER_HOUR; variable 516 double expectedPower = POWER_CONSUMPTION_DURATION_US * sensorGravityOnAverageMa / US_PER_HOUR; variable 546 double expectedPower = POWER_CONSUMPTION_DURATION_US * cameraOnAverageMa / US_PER_HOUR; variable 577 double expectedPower = POWER_CONSUMPTION_DURATION_US * flashlightOnAverageMa / US_PER_HOUR; variable 607 double expectedPower = POWER_CONSUMPTION_DURATION_US * bluetoothBleOnAverageMa / US_PER_HOUR; variable 654 double expectedPower = POWER_CONSUMPTION_DURATION_US * flashlightOnAverageMa / US_PER_HOUR; variable [all …]
|