Home
last modified time | relevance | path

Searched refs:RegBatteryEvent (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_battery_mgr_client_adapter_wrapper.cpp29 void ArkBatteryMgrClientAdapterWrapper::RegBatteryEvent( in RegBatteryEvent() function in OHOS::ArkWeb::ArkBatteryMgrClientAdapterWrapper
33 return ctocpp_->RegBatteryEvent(nullptr); in RegBatteryEvent()
36 ctocpp_->RegBatteryEvent(new ArkBatteryEventCallbackImpl(eventCallback)); in RegBatteryEvent()
H A Dark_battery_mgr_client_adapter_wrapper.h29 …void RegBatteryEvent(const std::shared_ptr<OHOS::NWeb::WebBatteryEventCallback> eventCallback) ove…
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_battery_mgr_client_adapter_impl.cpp29 void ArkBatteryMgrClientAdapterImpl::RegBatteryEvent(const ArkWebRefPtr<ArkBatteryEventCallback> ev… in RegBatteryEvent() function in OHOS::ArkWeb::ArkBatteryMgrClientAdapterImpl
32 return real_->RegBatteryEvent(nullptr); in RegBatteryEvent()
35 real_->RegBatteryEvent(std::make_shared<ArkBatteryEventCallbackWrapper>(eventCallback)); in RegBatteryEvent()
H A Dark_battery_mgr_client_adapter_impl.h29 void RegBatteryEvent(const ArkWebRefPtr<ArkBatteryEventCallback> eventCallback) override;
/ohos5.0/base/web/webview/test/unittest/battery_mgr_adapter_impl/
H A Dbattery_mgr_adapter_test.cpp138 g_batterImpl->RegBatteryEvent(std::move(eventCallback));
139 g_batterImpl->RegBatteryEvent(nullptr);
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/batteryevent_fuzzer/
H A Dbatteryevent_fuzzer.cpp42 battery.RegBatteryEvent(callback); in BatteryEventFuzzTest()
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dbattery_mgr_client_adapter.h49 virtual void RegBatteryEvent(std::shared_ptr<WebBatteryEventCallback> eventCallback) = 0;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_battery_mgr_client_adapter.h52 virtual void RegBatteryEvent(ArkWebRefPtr<ArkBatteryEventCallback> eventCallback) = 0;
/ohos5.0/base/web/webview/ohos_adapter/battery_mgr_adapter/include/
H A Dbattery_mgr_client_adapter_impl.h63 void RegBatteryEvent(std::shared_ptr<WebBatteryEventCallback> eventCallback) override;
/ohos5.0/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
H A Dbattery_mgr_client_adapter_impl.cpp73 void BatteryMgrClientAdapterImpl::RegBatteryEvent(std::shared_ptr<WebBatteryEventCallback> eventCal… in RegBatteryEvent() function in OHOS::NWeb::BatteryMgrClientAdapterImpl