Home
last modified time | relevance | path

Searched refs:partStatsMah (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_client.cpp121 double partStatsMah = StatsUtils::DEFAULT_VALUE; in GetPartStatsMah() local
124 return partStatsMah; in GetPartStatsMah()
126 partStatsMah = proxy_->GetPartStatsMah(type); in GetPartStatsMah()
127 return partStatsMah; in GetPartStatsMah()
/base/powermgr/battery_statistics/frameworks/napi/src/
Dbattery_stats.cpp118 double partStatsMah = BatteryStatsClient::GetInstance().GetPartStatsMah(naviveType); in GetPartStatsMah() local
120 …STATS_HILOGD(COMP_FWK, "get part stats mah: %{public}lf for type: %{public}d", partStatsMah, type); in GetPartStatsMah()
121 return partStatsMah; in GetPartStatsMah()
/base/powermgr/battery_statistics/services/zidl/src/
Dbattery_stats_proxy.cpp236 double partStatsMah = reply.ReadDouble(); in GetPartStatsMah() local
237 STATS_HILOGD(COMP_FWK, "Get stats mah: %{public}lf for type: %{public}d", partStatsMah, type); in GetPartStatsMah()
239 STATS_READ_PARCEL_WITH_RET(COMP_FWK, reply, Int32, error, partStatsMah); in GetPartStatsMah()
241 return partStatsMah; in GetPartStatsMah()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/
Dstats_service_test_proxy.cpp224 double partStatsMah = reply.ReadDouble(); in GetPartStatsMah() local
225 STATS_HILOGD(LABEL_TEST, "Get stats mah: %{public}lf for type: %{public}d", partStatsMah, type); in GetPartStatsMah()
226 return partStatsMah; in GetPartStatsMah()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp747 double partStatsMah = StatsUtils::DEFAULT_VALUE; in GetPartStatsMah() local
751 partStatsMah = (*iter)->GetPower(); in GetPartStatsMah()
755 STATS_HILOGD(COMP_SVC, "Get stats mah: %{public}lf for type: %{public}d", partStatsMah, type); in GetPartStatsMah()
756 return partStatsMah; in GetPartStatsMah()