Home
last modified time | relevance | path

Searched refs:IsCharging (Results 1 - 14 of 14) sorted by relevance

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_battery_info_impl.cpp29 bool ArkBatteryInfoImpl::IsCharging() in IsCharging() function in OHOS::ArkWeb::ArkBatteryInfoImpl
31 return real_->IsCharging(); in IsCharging()
H A Dark_battery_info_impl.h31 bool IsCharging() override;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_battery_info_wrapper.cpp27 bool ArkBatteryInfoWrapper::IsCharging() in IsCharging() function in OHOS::ArkWeb::ArkBatteryInfoWrapper
29 return ctocpp_->IsCharging(); in IsCharging()
H A Dark_battery_info_wrapper.h33 bool IsCharging() override;
/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/ischarging_fuzzer/
H A Discharging_fuzzer.cpp36 batter.IsCharging(); in IsChargingFuzzTest()
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dbattery_mgr_client_adapter.h29 virtual bool IsCharging() = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_battery_mgr_client_adapter.h32 virtual bool IsCharging() = 0;
/base/powermgr/battery_manager/frameworks/napi/include/
H A Dsystem_battery.h60 uint32_t IsCharging() const;
/base/web/webview/ohos_adapter/battery_mgr_adapter/include/
H A Dbattery_mgr_client_adapter_impl.h37 bool IsCharging() override;
/base/powermgr/battery_manager/frameworks/napi/src/
H A Dsystem_battery.cpp66 NAPI_CALL(env, napi_create_uint32(env, batteryInfo_.IsCharging(), &charging)); in CreateResponse()
144 batteryInfo_.GetLevel(), batteryInfo_.IsCharging()); in SuccessCallback()
213 uint32_t SystemBattery::BatteryInfo::IsCharging() const in IsCharging() function in SystemBattery::BatteryInfo
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
H A Dbattery_mgr_client_adapter_impl.cpp28 bool WebBatteryInfoImpl::IsCharging() in IsCharging() function in OHOS::NWeb::WebBatteryInfoImpl
/base/powermgr/battery_manager/services/native/include/
H A Dbattery_service.h107 bool IsCharging(BatteryChargeState chargeState);
/base/web/webview/test/unittest/battery_mgr_adapter_impl/
H A Dbattery_mgr_adapter_test.cpp216 EXPECT_TRUE(info.IsCharging()); in HWTEST_F()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_service.cpp405 bool BatteryService::IsCharging(BatteryChargeState chargeState) in IsCharging() function in OHOS::PowerMgr::BatteryService
439 (!IsCharging(chargeState))) { in HandleCapacity()
452 if (g_lowCapacityShutdownHandle != nullptr && IsCharging(chargeState)) { in HandleCapacity()

Completed in 5 milliseconds