Searched refs:WebBatteryInfo (Results 1 – 14 of 14) sorted by relevance
23 class WebBatteryInfo {25 virtual ~WebBatteryInfo() = default;40 virtual void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) = 0;55 virtual std::shared_ptr<WebBatteryInfo> RequestBatteryInfo() = 0;
27 explicit ArkBatteryInfoImpl(std::shared_ptr<OHOS::NWeb::WebBatteryInfo>);38 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> real_;
28 void ArkBatteryEventCallbackWrapper::BatteryInfoChanged(std::shared_ptr<OHOS::NWeb::WebBatteryInfo>… in BatteryInfoChanged()
29 void BatteryInfoChanged(std::shared_ptr<OHOS::NWeb::WebBatteryInfo>) override;
22 ArkBatteryInfoImpl::ArkBatteryInfoImpl(std::shared_ptr<OHOS::NWeb::WebBatteryInfo> ref) : real_(ref… in ArkBatteryInfoImpl()
50 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> info = real_->RequestBatteryInfo(); in RequestBatteryInfo()
28 class WebBatteryInfoImpl final : public WebBatteryInfo {69 std::shared_ptr<WebBatteryInfo> RequestBatteryInfo() override;
65 void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) {}; in BatteryInfoChanged() argument183 std::shared_ptr<WebBatteryInfo> battery = g_batterImpl->RequestBatteryInfo();
27 class ArkBatteryInfoWrapper : public OHOS::NWeb::WebBatteryInfo {
35 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> RequestBatteryInfo() override;
49 std::shared_ptr<OHOS::NWeb::WebBatteryInfo> ArkBatteryMgrClientAdapterWrapper::RequestBatteryInfo() in RequestBatteryInfo()
32 void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) {} in BatteryInfoChanged() argument
33 void BatteryInfoChanged(std::shared_ptr<WebBatteryInfo>) {} in BatteryInfoChanged() argument
113 std::shared_ptr<WebBatteryInfo> BatteryMgrClientAdapterImpl::RequestBatteryInfo() in RequestBatteryInfo()