Home
last modified time | relevance | path

Searched refs:totalPowerMah_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/powermgr/battery_statistics/frameworks/native/src/
H A Dbattery_stats_info.cpp27 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Double, totalPowerMah_, false); in Marshalling()
28 …GD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, totalPowerMah_); in Marshalling()
52 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Double, totalPowerMah_, false); in ReadFromParcel()
53 …GD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, totalPowerMah_); in ReadFromParcel()
81 … STATS_HILOGD(COMP_FWK, "Set APP power: %{public}lfmAh for uid: %{public}d", totalPowerMah_, uid_); in SetPower()
83 STATS_HILOGD(COMP_FWK, "Set power: %{public}lfmAh for part: %{public}s", totalPowerMah_, in SetPower()
86 totalPowerMah_ = power; in SetPower()
107 … STATS_HILOGD(COMP_FWK, "Get app power: %{public}lfmAh for uid: %{public}d", totalPowerMah_, uid_); in GetPower()
109 STATS_HILOGD(COMP_FWK, "Get power: %{public}lfmAh for part: %{public}s", totalPowerMah_, in GetPower()
112 return totalPowerMah_; in GetPower()
/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Dbattery_stats_entity.cpp21 double BatteryStatsEntity::totalPowerMah_ = StatsUtils::DEFAULT_VALUE; member in OHOS::PowerMgr::BatteryStatsEntity
137 return totalPowerMah_; in GetTotalPowerMah()
143 totalPowerMah_ = StatsUtils::DEFAULT_VALUE; in ResetStatsEntity()
H A Didle_entity.cpp53 totalPowerMah_ += idleTotalPowerMah_; in Calculate()
H A Dwifi_entity.cpp47 totalPowerMah_ += wifiPowerMah_; in Calculate()
H A Dscreen_entity.cpp97 totalPowerMah_ += screenPowerMah_; in Calculate()
H A Dphone_entity.cpp120 totalPowerMah_ += phonePowerMah_; in Calculate()
H A Dbluetooth_entity.cpp71 totalPowerMah_ += bluetoothPowerMah_; in CalculateBtPower()
H A Duid_entity.cpp132 totalPowerMah_ += power; in Calculate()
/ohos5.0/base/powermgr/battery_statistics/interfaces/inner_api/include/
H A Dbattery_stats_info.h66 double totalPowerMah_ = StatsUtils::DEFAULT_VALUE; variable
/ohos5.0/base/powermgr/battery_statistics/services/native/include/entities/
H A Dbattery_stats_entity.h62 static double totalPowerMah_;