Home
last modified time | relevance | path

Searched refs:PLUGGED_TYPE_BUTT (Results 1 – 15 of 15) 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.cpp102 RETURN_IF_WITH_RET(remote == nullptr, BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()
109 return BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()
116 return BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()
118 uint32_t pluggedType = static_cast<uint32_t>(BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()
119 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.cpp113 want.SetParam(key, static_cast<int>(BatteryPluggedType::PLUGGED_TYPE_BUTT));
181 g_pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT;
/base/powermgr/battery_manager/interfaces/innerkits/native/include/
Dbattery_info.h127 PLUGGED_TYPE_BUTT enumerator
404 BatteryPluggedType 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_lite/services/src/
Dbattery_manage_feature.c79 BatteryPluggedType pluggedType = PLUGGED_TYPE_BUTT; in PluggedTypeImpl()
/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_srv_proxy_mock_test.cpp102 …pluggedType <= BatteryPluggedType::PLUGGED_TYPE_BUTT); // the enum value range of BatteryPluggedTy…
Dbattery_service_test.cpp248 … >= BatteryPluggedType::PLUGGED_TYPE_NONE && pluggedType <= BatteryPluggedType::PLUGGED_TYPE_BUTT);
Dbattery_notify_test.cpp236 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT;
/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp232 (info.GetPluggedType() == BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerConnectedEvent()
264 (info.GetPluggedType() != BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerDisconnectedEvent()
Dbattery_service.cpp288 g_lastPluggedType != BatteryPluggedType::PLUGGED_TYPE_BUTT) { in IsLastPlugged()
297 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()