Home
last modified time | relevance | path

Searched refs:WebBatteryInfo (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dbattery_mgr_client_adapter.h23 class WebBatteryInfo {
25 virtual ~WebBatteryInfo() = default;
40 virtual void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) = 0;
55 virtual std::shared_ptr<WebBatteryInfo> RequestBatteryInfo() = 0;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_battery_info_impl.h27 explicit ArkBatteryInfoImpl(std::shared_ptr<OHOS::NWeb::WebBatteryInfo>);
38 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> real_;
H A Dark_battery_event_callback_wrapper.cpp28 void ArkBatteryEventCallbackWrapper::BatteryInfoChanged(std::shared_ptr<OHOS::NWeb::WebBatteryInfo>… in BatteryInfoChanged()
H A Dark_battery_event_callback_wrapper.h29 void BatteryInfoChanged(std::shared_ptr<OHOS::NWeb::WebBatteryInfo>) override;
H A Dark_battery_info_impl.cpp22 ArkBatteryInfoImpl::ArkBatteryInfoImpl(std::shared_ptr<OHOS::NWeb::WebBatteryInfo> ref) : real_(ref… in ArkBatteryInfoImpl()
H A Dark_battery_mgr_client_adapter_impl.cpp50 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> info = real_->RequestBatteryInfo(); in RequestBatteryInfo()
/ohos5.0/base/web/webview/ohos_adapter/battery_mgr_adapter/include/
H A Dbattery_mgr_client_adapter_impl.h28 class WebBatteryInfoImpl final : public WebBatteryInfo {
69 std::shared_ptr<WebBatteryInfo> RequestBatteryInfo() override;
/ohos5.0/base/web/webview/test/unittest/battery_mgr_adapter_impl/
H A Dbattery_mgr_adapter_test.cpp65 void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) {}; in BatteryInfoChanged() argument
183 std::shared_ptr<WebBatteryInfo> battery = g_batterImpl->RequestBatteryInfo();
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_battery_info_wrapper.h27 class ArkBatteryInfoWrapper : public OHOS::NWeb::WebBatteryInfo {
H A Dark_battery_mgr_client_adapter_wrapper.h35 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> RequestBatteryInfo() override;
H A Dark_battery_mgr_client_adapter_wrapper.cpp49 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> ArkBatteryMgrClientAdapterWrapper::RequestBatteryInfo() in RequestBatteryInfo()
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/batteryevent_fuzzer/
H A Dbatteryevent_fuzzer.cpp32 void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) {} in BatteryInfoChanged() argument
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/receiveevent_fuzzer/
H A Dreceiveevent_fuzzer.cpp33 void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) {} in BatteryInfoChanged() argument
/ohos5.0/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
H A Dbattery_mgr_client_adapter_impl.cpp113 std::shared_ptr<WebBatteryInfo> BatteryMgrClientAdapterImpl::RequestBatteryInfo() in RequestBatteryInfo()