/base/powermgr/battery_manager/test/benchmarktest/ |
D | battery_benchmark_test.cpp | 185 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/ |
D | ibattery_srv.h | 37 virtual int32_t GetNowCurrent() = 0;
|
D | battery_srv_client.h | 71 int32_t GetNowCurrent();
|
D | battery_info.h | 364 const int32_t& GetNowCurrent() const in GetNowCurrent() function 402 (nowCurr_ == info.GetNowCurrent()) &&
|
/base/powermgr/battery_manager/services/zidl/include/ |
D | battery_srv_proxy.h | 48 virtual int32_t GetNowCurrent() override;
|
/base/powermgr/battery_manager/frameworks/native/src/ |
D | battery_srv_client.cpp | 151 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/ |
D | battery_fuzzer_test.cpp | 82 g_batterySrvClient.GetNowCurrent(); in TestGetNowCurrent()
|
/base/powermgr/battery_manager/test/unittest/src/ |
D | battery_srv_proxy_mock_test.cpp | 161 int32_t nowCurrent = g_proxy->GetNowCurrent();
|
D | battery_service_test.cpp | 239 EXPECT_NE(g_service->GetNowCurrent(), ERR_NO_INIT);
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_notify.cpp | 144 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()
|
D | battery_dump.cpp | 81 int32_t nowCurrent = service->GetNowCurrent(); in GetBatteryInfo()
|
D | battery_service.cpp | 219 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/ |
D | battery_service.h | 70 int32_t GetNowCurrent() override;
|
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/ |
D | battery_client_test.cpp | 336 auto tempCurrnow = BatterySrvClient.GetNowCurrent(); 338 auto currnow = BatterySrvClient.GetNowCurrent(); 345 auto currnow = BatterySrvClient.GetNowCurrent();
|
/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_stub.cpp | 173 int32_t ret = GetNowCurrent(); in GetNowCurrentStub()
|
D | battery_srv_proxy.cpp | 329 int32_t BatterySrvProxy::GetNowCurrent() in GetNowCurrent() function in OHOS::PowerMgr::BatterySrvProxy
|
/base/powermgr/battery_manager/frameworks/napi/ |
D | battery_info.cpp | 129 int32_t curNow = g_battClient.GetNowCurrent(); in GetBatteryNowCurrent()
|