Home
last modified time | relevance | path

Searched refs:GetTotalEnergy (Results 1 – 15 of 15) sorted by relevance

/base/powermgr/battery_manager/interfaces/innerkits/native/include/
Dibattery_srv.h52 virtual int32_t GetTotalEnergy() = 0;
Dbattery_srv_client.h79 int32_t GetTotalEnergy();
Dbattery_info.h315 const int32_t& GetTotalEnergy() const in GetTotalEnergy() function
356 (totalEnergy_ == info.GetTotalEnergy()) &&
/base/powermgr/battery_manager/services/zidl/include/
Dbattery_srv_proxy.h46 virtual int32_t GetTotalEnergy() override;
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp167 int32_t BatterySrvClient::GetTotalEnergy() in GetTotalEnergy() function in OHOS::PowerMgr::BatterySrvClient
171 totalEnergy = proxy_->GetTotalEnergy(); in GetTotalEnergy()
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/
Dbattery_fuzzer_test.cpp149 g_batterySrvClient.GetTotalEnergy(); in DoSomethingInterestingWithMyAPI()
/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_srv_proxy_mock_test.cpp137 int32_t totalEnergy = g_proxy->GetTotalEnergy();
Dbattery_service_test.cpp304 EXPECT_NE(g_service->GetTotalEnergy(), ERR_NO_INIT);
/base/powermgr/battery_manager/services/native/include/
Dbattery_service.h71 int32_t GetTotalEnergy() override;
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp92 int32_t totalEnergy = service->GetTotalEnergy(); in GetBatteryInfo()
Dbattery_service.cpp213 … batteryInfo_.GetTotalEnergy(), batteryInfo_.GetCurAverage(), batteryInfo_.GetRemainEnergy()); in HandleBatteryInfo()
511 int32_t BatteryService::GetTotalEnergy() in GetTotalEnergy() function in OHOS::PowerMgr::BatteryService
523 iBatteryInterface_->GetTotalEnergy(totalEnergy); in GetTotalEnergy()
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp362 auto tempTotalenergy = BatterySrvClient.GetTotalEnergy();
364 auto totalenergy = BatterySrvClient.GetTotalEnergy();
371 auto totalenergy = BatterySrvClient.GetTotalEnergy();
/base/powermgr/battery_manager/frameworks/js/napi/
Dbattery_info.cpp157 static napi_value GetTotalEnergy(napi_env env, napi_callback_info info) in GetTotalEnergy() function
160 int32_t totalEnergy = (int32_t)g_battClient.GetTotalEnergy(); in GetTotalEnergy()
485 DECLARE_NAPI_GETTER("totalEnergy", GetTotalEnergy), in BatteryInit()
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_stub.cpp181 int32_t ret = GetTotalEnergy(); in GetTotalEnergyStub()
Dbattery_srv_proxy.cpp268 int32_t BatterySrvProxy::GetTotalEnergy() in GetTotalEnergy() function in OHOS::PowerMgr::BatterySrvProxy