/base/powermgr/battery_statistics/test/fuzztest/batterystats_fuzzer/ |
D | batterystats_fuzzer.cpp | 80 static void GetPartStatsPercent(const uint8_t* data, size_t size) in GetPartStatsPercent() function 83 g_batterystatsClient.GetPartStatsPercent(static_cast<BatteryStatsInfo::ConsumptionType>(type)); in GetPartStatsPercent() 132 &GetPartStatsPercent,
|
/base/powermgr/battery_statistics/frameworks/napi/src/ |
D | battery_stats_module.cpp | 75 static napi_value GetPartStatsPercent(napi_env env, napi_callback_info info) in GetPartStatsPercent() function 78 return stats.GetPartStatsPercent(info, MAX_ARGC, ARGV_IND_0); in GetPartStatsPercent() 143 DECLARE_NAPI_FUNCTION("getHardwareUnitPowerPercent", GetPartStatsPercent), in BatteryStatsInit()
|
D | battery_stats.cpp | 125 napi_value BatteryStats::GetPartStatsPercent(napi_callback_info& info, uint32_t maxArgc, uint32_t i… in GetPartStatsPercent() function in OHOS::PowerMgr::BatteryStats 129 double partStatsPercent = BatteryStatsClient::GetInstance().GetPartStatsPercent(naviveType); in GetPartStatsPercent()
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/ |
D | stats_client_test_mock_parcel.cpp | 50 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetPartStatsPercent(consumptionType)); 77 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetPartStatsPercent(consumptionType)); 105 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetPartStatsPercent(consumptionType));
|
D | stats_client_test_mock_peer.cpp | 45 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetPartStatsPercent(consumptionType));
|
D | stats_client_test_mock_object.cpp | 46 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetPartStatsPercent(consumptionType));
|
/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/ |
D | stats_service_test_proxy.h | 38 double GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type);
|
/base/powermgr/battery_statistics/frameworks/napi/include/ |
D | battery_stats.h | 38 napi_value GetPartStatsPercent(napi_callback_info& info, uint32_t maxArgc, uint32_t index);
|
/base/powermgr/battery_statistics/interfaces/inner_api/include/ |
D | ibattery_stats.h | 34 virtual double GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) = 0;
|
D | battery_stats_client.h | 43 double GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type);
|
/base/powermgr/battery_statistics/frameworks/native/src/ |
D | battery_stats_client.cpp | 130 double BatteryStatsClient::GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) in GetPartStatsPercent() function in OHOS::PowerMgr::BatteryStatsClient 138 partStatsPercent = proxy_->GetPartStatsPercent(type); in GetPartStatsPercent()
|
/base/powermgr/battery_statistics/services/zidl/include/ |
D | battery_stats_proxy.h | 45 virtual double GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) override;
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/mock/ |
D | stats_service_test_mock_parcel.cpp | 66 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, g_statsServiceProxy->GetPartStatsPercent(consumptionType));
|
/base/powermgr/battery_statistics/services/native/include/ |
D | battery_stats_service.h | 48 double GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) override;
|
D | battery_stats_core.h | 44 double GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type);
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_service.cpp | 250 double BatteryStatsService::GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) in GetPartStatsPercent() function in OHOS::PowerMgr::BatteryStatsService 258 return core_->GetPartStatsPercent(type); in GetPartStatsPercent()
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_wifi_test.cpp | 133 double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); 375 double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); 610 double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI);
|
D | stats_phone_test.cpp | 136 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); 396 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE);
|
D | stats_powermgr_test.cpp | 439 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_RADIO);
|
D | stats_display_test.cpp | 196 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_SCREEN);
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_wifi_test.cpp | 159 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… 420 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… 659 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE…
|
D | stats_service_phone_test.cpp | 164 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… 454 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE…
|
/base/powermgr/battery_statistics/services/zidl/src/ |
D | battery_stats_stub.cpp | 204 double ret = GetPartStatsPercent(type); in GetPartStatsPercentStub()
|
D | battery_stats_proxy.cpp | 244 double BatteryStatsProxy::GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) in GetPartStatsPercent() function in OHOS::PowerMgr::BatteryStatsProxy
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/ |
D | stats_service_test_proxy.cpp | 229 double StatsServiceTestProxy::GetPartStatsPercent(const BatteryStatsInfo::ConsumptionType& type) in GetPartStatsPercent() function in OHOS::PowerMgr::StatsServiceTestProxy
|