/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_core.cpp | 715 appStatsMah = (*iter)->GetPower(); in GetAppStatsMah() 736 appStatsPercent = (*iter)->GetPower() / totalConsumption; in GetAppStatsPercent() 751 partStatsMah = (*iter)->GetPower(); in GetPartStatsMah() 766 partStatsPercent = (*iter)->GetPower() / totalConsumption; in GetPartStatsPercent() 876 root["Power"][name] = Json::Value((*iter)->GetPower()); in SaveForPower() 877 … STATS_HILOGD(COMP_SVC, "Saved power: %{public}lf for uid: %{public}s", (*iter)->GetPower(), in SaveForPower() 881 root["Power"][name] = Json::Value((*iter)->GetPower()); in SaveForPower() 882 … STATS_HILOGD(COMP_SVC, "Saved power: %{public}lf for type: %{public}s", (*iter)->GetPower(), in SaveForPower() 944 userPower->second += info->GetPower(); in LoadBatteryStatsData() 946 tmpUserPowerMap.insert(std::pair<int32_t, double>(usr, info->GetPower())); in LoadBatteryStatsData() [all …]
|
/base/powermgr/battery_statistics/interfaces/inner_api/include/ |
D | battery_stats_info.h | 60 double GetPower();
|
/base/sensors/sensor/utils/common/include/ |
D | sensor.h | 46 float GetPower() const;
|
/base/powermgr/battery_statistics/frameworks/napi/src/ |
D | async_callback_info.cpp | 71 .power_ = item->GetPower()}; in GetBatteryStatsInfo()
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_powermgr_test.cpp | 336 EXPECT_EQ(partPowerMah, sptrStatsInfo->GetPower()); 345 EXPECT_EQ(totalPowerMah, sptrStatsInfo->GetPower()); 359 EXPECT_EQ(totalPowerMah, unmarshalInfo->GetPower());
|
D | stats_phone_test.cpp | 168 actualPower = (*it).GetPower(); 428 actualPower = (*it).GetPower(); 629 actualPower = (*it).GetPower();
|
D | stats_wifi_test.cpp | 164 actualPower = (*it).GetPower(); 405 actualPower = (*it).GetPower();
|
D | stats_display_test.cpp | 232 actualPower = (*it).GetPower();
|
D | stats_bluetooth_test.cpp | 203 actualPower = (*it).GetPower(); 503 actualPower = (*it).GetPower();
|
/base/sensors/sensor/utils/common/src/ |
D | sensor.cpp | 123 float Sensor::GetPower() const in GetPower() function in OHOS::Sensors::Sensor
|
/base/powermgr/battery_statistics/frameworks/native/src/ |
D | battery_stats_info.cpp | 104 double BatteryStatsInfo::GetPower() in GetPower() function in OHOS::PowerMgr::BatteryStatsInfo
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/ |
D | stats_client_test_mock_parcel.cpp | 135 EXPECT_EQ(totalPowerMah, sptrStatsInfo->GetPower());
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_phone_test.cpp | 199 actualPower = (*it).GetPower(); 489 actualPower = (*it).GetPower(); 719 actualPower = (*it).GetPower();
|
D | stats_service_subscriber_test.cpp | 342 actualPower = (*it).GetPower();
|
D | stats_service_wifi_test.cpp | 193 actualPower = (*it).GetPower(); 450 actualPower = (*it).GetPower();
|
D | stats_service_display_test.cpp | 279 actualPower = (*it).GetPower();
|
D | stats_service_bluetooth_test.cpp | 243 actualPower = (*it).GetPower(); 576 actualPower = (*it).GetPower();
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_agent_proxy.cpp | 298 sensorInfo->power = sensorList[i].GetPower(); in ConvertSensorInfos()
|