Home
last modified time | relevance | path

Searched refs:pluggedType_ (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/powermgr/battery_statistics/test/unittest/include/servicetest/
H A Dstats_service_subscriber_test.h39 pluggedType_ = pluggedType; in SetPluggedType()
45 pluggedType_ = BatteryPluggedType::PLUGGED_TYPE_NONE; in BatteryInfoReset()
49 BatteryPluggedType pluggedType_; variable
/ohos5.0/base/powermgr/battery_manager/interfaces/inner_api/native/include/
H A Dbattery_info.h256 pluggedType_ = pluggedType; in SetPluggedType()
341 return pluggedType_; in GetPluggedType()
417 (pluggedType_ == info.GetPluggedType()) &&
465 BatteryPluggedType pluggedType_ = BatteryPluggedType::PLUGGED_TYPE_BUTT; variable
/ohos5.0/drivers/peripheral/battery/interfaces/include/
H A Dbatteryd_api.h27 int32_t pluggedType_; member
/ohos5.0/base/powermgr/battery_manager/charger/include/
H A Dbatteryd_api.h27 int32_t pluggedType_; member
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp459 info->pluggedType_ = PLUGGED_TYPE_NONE; in UpdateInfoByReadSysFile()
460 ParsePluggedType(&info->pluggedType_); in UpdateInfoByReadSysFile()
504 info->pluggedType_ = PLUGGED_TYPE_NONE; in ParseUeventToBatterydInfo()
505 ParsePluggedType(&info->pluggedType_); in ParseUeventToBatterydInfo()
525 g_batteryInfo.pluggedType_ = info->pluggedType_; in CopyBatteryInfo()
H A Dbattery_thread.cpp196 event.pluggedType = batteryInfo->pluggedType_; in UpdateBatteryInfo()
H A Dbattery_interface_impl.cpp210 info.pluggedType = batteryInfo.pluggedType_; in GetBatteryInfo()
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_subscriber_test.cpp91 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_TYPE, static_cast<int>(pluggedType_)); in PublishChangedEvent()