Home
last modified time | relevance | path

Searched refs:PLUGGED_TYPE_BUTT (Results 1 – 17 of 17) sorted by relevance

/base/powermgr/battery_lite/interfaces/kits/
Dbattery_info.h97 PLUGGED_TYPE_BUTT enumerator
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
Dbattery_mgr_client_adapter_impl.cpp60 (isChangingType == static_cast<int>(BatteryPluggedType::PLUGGED_TYPE_BUTT))) { in OnReceiveEvent()
113 (isChangingType == BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in RequestBatteryInfo()
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_proxy.cpp106 RETURN_IF_WITH_RET(remote == nullptr, BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()
113 return BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()
121 return BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()
123 uint32_t pluggedType = static_cast<uint32_t>(BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()
124 READ_PARCEL_WITH_RET(reply, Uint32, pluggedType, BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_subscriber.cpp57 pluggedType == static_cast<int32_t>(BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in OnReceiveEvent()
Dbattery_stats_core.cpp132 …pe == BatteryPluggedType::PLUGGED_TYPE_NONE || plugType == BatteryPluggedType::PLUGGED_TYPE_BUTT) { in Init()
/base/web/webview/test/unittest/battery_mgr_adapter_impl/
Dbattery_mgr_adapter_test.cpp114 want.SetParam(key, static_cast<int>(BatteryPluggedType::PLUGGED_TYPE_BUTT));
184 g_pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT;
/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/
Dbatterymgr_interfaces_test.cpp81 EXPECT_EQ ((status >= PLUGGED_TYPE_NONE && status <= PLUGGED_TYPE_BUTT), 1)
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h127 PLUGGED_TYPE_BUTT enumerator
451 BatteryPluggedType pluggedType_ = BatteryPluggedType::PLUGGED_TYPE_BUTT;
/base/powermgr/battery_lite/services/src/
Dbattery_manage_feature.c79 BatteryPluggedType pluggedType = PLUGGED_TYPE_BUTT; in PluggedTypeImpl()
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_srv_proxy_mock_test.cpp102 …pluggedType <= BatteryPluggedType::PLUGGED_TYPE_BUTT); // the enum value range of BatteryPluggedTy…
Dbattery_notify_test.cpp236 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT;
Dbattery_service_test.cpp267 … >= BatteryPluggedType::PLUGGED_TYPE_NONE && pluggedType <= BatteryPluggedType::PLUGGED_TYPE_BUTT);
/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp235 (info.GetPluggedType() == BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerConnectedEvent()
267 (info.GetPluggedType() != BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerDisconnectedEvent()
Dbattery_service.cpp297 g_lastPluggedType != BatteryPluggedType::PLUGGED_TYPE_BUTT) { in IsLastPlugged()
306 pluggedType != BatteryPluggedType::PLUGGED_TYPE_BUTT) { in IsNowPlugged()
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp113 BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_subscriber_test.cpp163 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_BUTT);
252 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_BUTT);
/base/powermgr/battery_manager/test/benchmarktest/
Dbattery_benchmark_test.cpp103 pluggedType < BatteryPluggedType::PLUGGED_TYPE_BUTT); in BENCHMARK_F()