Home
last modified time | relevance | path

Searched refs:GetNowCurrent (Results 1 – 17 of 17) sorted by relevance

/base/powermgr/battery_manager/test/benchmarktest/
Dbattery_benchmark_test.cpp185 BENCHMARK_F(BatteryBenchmarkTest, GetNowCurrent)(benchmark::State& st) in BENCHMARK_F() argument
188 auto currnow = g_batterySrvClient.GetNowCurrent(); in BENCHMARK_F()
193 BENCHMARK_REGISTER_F(BatteryBenchmarkTest, GetNowCurrent)
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dibattery_srv.h37 virtual int32_t GetNowCurrent() = 0;
Dbattery_srv_client.h71 int32_t GetNowCurrent();
Dbattery_info.h364 const int32_t& GetNowCurrent() const in GetNowCurrent() function
402 (nowCurr_ == info.GetNowCurrent()) &&
/base/powermgr/battery_manager/services/zidl/include/
Dbattery_srv_proxy.h48 virtual int32_t GetNowCurrent() override;
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp151 int32_t BatterySrvClient::GetNowCurrent() in GetNowCurrent() function in OHOS::PowerMgr::BatterySrvClient
155 nowCurrent = proxy_->GetNowCurrent(); in GetNowCurrent()
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/
Dbattery_fuzzer_test.cpp82 g_batterySrvClient.GetNowCurrent(); in TestGetNowCurrent()
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_srv_proxy_mock_test.cpp161 int32_t nowCurrent = g_proxy->GetNowCurrent();
Dbattery_service_test.cpp239 EXPECT_NE(g_service->GetNowCurrent(), ERR_NO_INIT);
/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp144 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_NOW_CURRENT, info.GetNowCurrent()); in PublishChangedEvent()
164 "HEALTH", static_cast<int32_t>(info.GetHealthState()), "CURRENT", info.GetNowCurrent()); in PublishChangedEvent()
Dbattery_dump.cpp81 int32_t nowCurrent = service->GetNowCurrent(); in GetBatteryInfo()
Dbattery_service.cpp219 batteryInfo_.GetNowCurrent(), batteryInfo_.GetTotalEnergy(), batteryInfo_.GetCurAverage(), in HandleBatteryInfo()
515 int32_t BatteryService::GetNowCurrent() in GetNowCurrent() function in OHOS::PowerMgr::BatteryService
/base/powermgr/battery_manager/services/native/include/
Dbattery_service.h70 int32_t GetNowCurrent() override;
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp336 auto tempCurrnow = BatterySrvClient.GetNowCurrent();
338 auto currnow = BatterySrvClient.GetNowCurrent();
345 auto currnow = BatterySrvClient.GetNowCurrent();
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_stub.cpp173 int32_t ret = GetNowCurrent(); in GetNowCurrentStub()
Dbattery_srv_proxy.cpp329 int32_t BatterySrvProxy::GetNowCurrent() in GetNowCurrent() function in OHOS::PowerMgr::BatterySrvProxy
/base/powermgr/battery_manager/frameworks/napi/
Dbattery_info.cpp129 int32_t curNow = g_battClient.GetNowCurrent(); in GetBatteryNowCurrent()