Home
last modified time | relevance | path

Searched refs:capacity_ (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/hiview/include/
Dplugin_extra_info.h48 : Event(plugin), plugin_(plugin), capacity_(capacity) {}; in CapacityObtainEvent()
51 std::string capacity_; variable
/base/powermgr/battery_manager/interfaces/innerkits/native/include/
Dbattery_info.h202 capacity_ = capacity; in SetCapacity()
277 return capacity_; in GetCapacity()
353 (capacity_ == info.GetCapacity()) &&
393 int32_t capacity_ = INVALID_BATT_INT_VALUE; variable
/base/powermgr/battery_manager/frameworks/js/napi/
Dsystem_battery.cpp200 capacity_ = g_battClient.GetCapacity(); in GetBatteryInfo()
203 capacity_, static_cast<int32_t>(chargingState_)); in GetBatteryInfo()
204 …return (capacity_ != INVALID_BATT_INT_VALUE) && (chargingState_ != BatteryChargeState::CHARGE_STAT… in GetBatteryInfo()
210 return (capacity_ * LEVEL_RANGES); in GetLevel()
Dsystem_battery.h63 int32_t capacity_ { INVALID_BATT_INT_VALUE };