Home
last modified time | relevance | path

Searched refs:WebBatteryInfoImpl (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
H A Dbattery_mgr_client_adapter_impl.cpp23 double WebBatteryInfoImpl::GetLevel() in GetLevel()
28 bool WebBatteryInfoImpl::IsCharging() in IsCharging()
33 int WebBatteryInfoImpl::DisChargingTime() in DisChargingTime()
38 int WebBatteryInfoImpl::ChargingTime() in ChargingTime()
68 std::shared_ptr<WebBatteryInfoImpl> batterinfo = in OnReceiveEvent()
69 std::make_shared<WebBatteryInfoImpl>(changeLevel, ischanging, -1, -1); in OnReceiveEvent()
126 return std::make_shared<WebBatteryInfoImpl>(changeLevel, ischanging, -1, -1); 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 {
30 WebBatteryInfoImpl(double level, bool isCharging, int disChargingTime, int chargingTime) in WebBatteryInfoImpl() function
33 ~WebBatteryInfoImpl() override = default;
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/chargingtime_fuzzer/
H A Dchargingtime_fuzzer.cpp35 WebBatteryInfoImpl batter(level, isCharging, disChargingTime, chargingTime); in ChargingTimeFuzzTest()
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/discharging_fuzzer/
H A Ddischarging_fuzzer.cpp35 WebBatteryInfoImpl batter(level, isCharging, disChargingTime, chargingTime); in DisChargingFuzzTest()
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/getlevel_fuzzer/
H A Dgetlevel_fuzzer.cpp35 WebBatteryInfoImpl batter(level, isCharging, disChargingTime, chargingTime); in GetLevelFuzzTest()
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/ischarging_fuzzer/
H A Discharging_fuzzer.cpp35 WebBatteryInfoImpl batter(level, isCharging, disChargingTime, chargingTime); in IsChargingFuzzTest()
/ohos5.0/base/web/webview/test/unittest/battery_mgr_adapter_impl/
H A Dbattery_mgr_adapter_test.cpp214 WebBatteryInfoImpl info(level, isCharging, disChargingTime, chargingTime);