Searched refs:GetRemainingChargeTime (Results 1 – 14 of 14) sorted by relevance
257 BENCHMARK_F(BatteryBenchmarkTest, GetRemainingChargeTime)(benchmark::State& st) in BENCHMARK_F() argument261 ASSERT_TRUE(g_batterySrvClient.GetRemainingChargeTime() >= 0); in BENCHMARK_F()264 BENCHMARK_REGISTER_F(BatteryBenchmarkTest, GetRemainingChargeTime)
41 virtual int64_t GetRemainingChargeTime() = 0;
87 int64_t GetRemainingChargeTime();
52 virtual int64_t GetRemainingChargeTime() override;
183 int64_t BatterySrvClient::GetRemainingChargeTime() in GetRemainingChargeTime() function in OHOS::PowerMgr::BatterySrvClient187 time = proxy_->GetRemainingChargeTime(); in GetRemainingChargeTime()
102 g_batterySrvClient.GetRemainingChargeTime(); in TestGetRemainingChargeTime()
210 int64_t remainChargeTime = g_proxy->GetRemainingChargeTime();
74 int64_t GetRemainingChargeTime() override;
89 int64_t remainingChargeTime = service->GetRemainingChargeTime(); in GetBatteryInfo()
592 int64_t BatteryService::GetRemainingChargeTime() in GetRemainingChargeTime() function in OHOS::PowerMgr::BatteryService
148 static napi_value GetRemainingChargeTime(napi_env env, napi_callback_info info) in GetRemainingChargeTime() function151 int64_t time = g_battClient.GetRemainingChargeTime(); in GetRemainingChargeTime()482 DECLARE_NAPI_GETTER("estimatedRemainingChargeTime", GetRemainingChargeTime), in BatteryInit()
167 int64_t ret = GetRemainingChargeTime(); in GetRemainingChargeTimeStub()
253 int64_t BatterySrvProxy::GetRemainingChargeTime() in GetRemainingChargeTime() function in OHOS::PowerMgr::BatterySrvProxy
588 auto remainingChargeTime = BatterySrvClient.GetRemainingChargeTime();592 auto remainingChargeTime = BatterySrvClient.GetRemainingChargeTime();