Home
last modified time | relevance | path

Searched refs:MS_IN_HOUR (Results 1 – 13 of 13) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/entities/
Didle_entity.cpp68 auto cpuSuspendPowerMah = cpuSuspendAverageMa * bootOnBatteryTimeMs / StatsUtils::MS_IN_HOUR; in CalculateCpuSuspendPower()
79 auto cpuIdlePowerMah = cpuIdleAverageMa * upOnBatteryTimeMs / StatsUtils::MS_IN_HOUR; in CalculateCpuIdlePower()
Dcpu_entity.cpp108 double cpuActivePower = cpuActiveAverageMa * cpuActiveTimeMs / StatsUtils::MS_IN_HOUR; in CalculateCpuActivePower()
130 cpuClusterPower += cpuClusterAverageMa * cpuClusterTimeMs / StatsUtils::MS_IN_HOUR; in CalculateCpuClusterPower()
154 cpuSpeedPower += cpuSpeedAverageMa * cpuSpeedTimeMs / StatsUtils::MS_IN_HOUR; in CalculateCpuSpeedPower()
Dbluetooth_entity.cpp56 …auto bluetoothBrOnPowerMah = bluetoothBrOnAverageMa * bluetoothBrOnTimeMs / StatsUtils::MS_IN_HOUR; in CalculateBtPower()
63 …o bluetoothBleOnPowerMah = bluetoothBleOnAverageMa * bluetoothBleOnTimeMs / StatsUtils::MS_IN_HOUR; in CalculateBtPower()
96 …luetoothBrScanPowerMah = bluetoothBrScanTimeMs * bluetoothBrScanAverageMa / StatsUtils::MS_IN_HOUR; in CalculateBtPowerForApp()
103 …toothBleScanPowerMah = bluetoothBleScanTimeMs * bluetoothBleScanAverageMa / StatsUtils::MS_IN_HOUR; in CalculateBtPowerForApp()
Dphone_entity.cpp106 … double phoneOnLevelPowerMah = phoneOnAverageMa * phoneOnLevelTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
116 …double phoneDataLevelPowerMah = phoneDataAverageMa * phoneDataLevelTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Dsensor_entity.cpp71 auto gravityOnPowerMah = gravityOnAverageMa * gravityOnTimeMs / StatsUtils::MS_IN_HOUR; in CalculateGravity()
90 auto proximityOnPowerMah = proximityOnAverageMa * proximityOnTimeMs / StatsUtils::MS_IN_HOUR; in CalculateProximity()
Dgnss_entity.cpp55 auto gnssOnPowerMah = gnssOnAverageMa * gnssOnTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Daudio_entity.cpp59 auto audioOnPowerMah = audioOnAverageMa * audioOnTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Dflashlight_entity.cpp56 auto flashlightOnPowerMah = flashlightOnAverageMa * flashlightOnTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Dwakelock_entity.cpp56 auto wakelockOnPowerMah = wakelockOnAverageMa * wakelockOnTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Dwifi_entity.cpp39 auto wifiOnPowerMah = wifiOnAverageMa * wifiOnTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Dcamera_entity.cpp53 auto cameraOnPowerMah = cameraOnAverageMa * cameraOnTimeMs / StatsUtils::MS_IN_HOUR; in Calculate()
Dscreen_entity.cpp96 screenPowerMah_ = (screenOnPowerMah + brightnessPowerMah) / StatsUtils::MS_IN_HOUR; in Calculate()
/base/powermgr/battery_statistics/utils/native/include/
Dstats_utils.h31 static constexpr uint32_t MS_IN_HOUR = 3600000; variable