Home
last modified time | relevance | path

Searched defs:pluggedType (Results 1 – 17 of 17) sorted by relevance

/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_notify_test.cpp45 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_NONE; in SetUp() local
180 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_NONE; variable
194 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_AC; variable
208 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_USB; variable
222 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_WIRELESS; variable
236 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT; variable
Dbattery_service_test.cpp246 BatteryPluggedType pluggedType = g_service->GetPluggedType(); variable
Dbattery_srv_proxy_mock_test.cpp100 BatteryPluggedType pluggedType = g_proxy->GetPluggedType(); variable
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_sttest.cpp612 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
617 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
642 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
647 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
671 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
676 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
702 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
707 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_subscriber.cpp47 int pluggedType = data.GetWant().GetIntParam( in OnReceiveEvent() local
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp294 bool BatteryService::IsNowPlugged(BatteryPluggedType pluggedType) in IsNowPlugged()
303 bool BatteryService::IsPlugged(BatteryPluggedType pluggedType) in IsPlugged()
311 bool BatteryService::IsUnplugged(BatteryPluggedType pluggedType) in IsUnplugged()
319 void BatteryService::WakeupDevice(BatteryPluggedType pluggedType) in WakeupDevice()
452 V1_1::BatteryPluggedType pluggedType = V1_1::BatteryPluggedType(0); in GetPluggedType() local
Dbattery_dump.cpp80 BatteryPluggedType pluggedType = service->GetPluggedType(); in GetBatteryInfo() local
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp279 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
288 auto pluggedType = BatterySrvClient.GetPluggedType(); variable
/base/powermgr/battery_lite/services/src/
Dbattery_manage_feature.c79 BatteryPluggedType pluggedType = PLUGGED_TYPE_BUTT; in PluggedTypeImpl() local
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp113 BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType() local
/base/powermgr/battery_lite/interfaces/kits/js/
D@system.battery.d.ts83 pluggedType: number; property
/base/powermgr/battery_manager/frameworks/js/napi/
Dbattery_info.cpp69 int32_t pluggedType = (int32_t)g_battClient.GetPluggedType(); in GetPluggedType() local
374 napi_value pluggedType = nullptr; in CreateEventBatteryChangedKey() local
418 napi_value pluggedType = nullptr; in CreateEventBatteryChangedCode() local
/base/powermgr/battery_lite/services/include/
Dibattery.h38 BatteryPluggedType pluggedType; member
/base/powermgr/battery_manager/interfaces/kits/js/
D@ohos.batteryInfo.d.ts48 const pluggedType: BatteryPluggedType; constant
/base/powermgr/battery_lite/frameworks/js/builtin/src/
Dbattery_module.cpp95 int32_t pluggedType = 0; in GetPluggedType() local
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_proxy.cpp118 uint32_t pluggedType = static_cast<uint32_t>(BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType() local
/base/powermgr/battery_manager/interfaces/innerkits/native/include/
Dbattery_info.h220 void SetPluggedType(const BatteryPluggedType pluggedType) in SetPluggedType()