Home
last modified time | relevance | path

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

/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data.cpp34 capacity_ = EXPAND_BUF_SIZE; in RawData()
42 capacity_ = EXPAND_BUF_SIZE; in RawData()
55 capacity_ = dataLen; in RawData()
65 capacity_ = EXPAND_BUF_SIZE; in RawData()
78 capacity_ = dataLen; in RawData()
106 capacity_ = dataLen; in operator =()
126 capacity_ = EXPAND_BUF_SIZE; in Reset()
151 if ((pos + len) > capacity_) { in Update()
153 uint8_t* resizedData = new(std::nothrow) uint8_t[capacity_ + expandedSize]; in Update()
163 capacity_ += expandedSize; in Update()
/base/hiviewdfx/hiview/base/event_raw/base/
Draw_data.cpp34 capacity_ = EXPAND_BUF_SIZE; in RawData()
42 capacity_ = EXPAND_BUF_SIZE; in RawData()
55 capacity_ = dataLen; in RawData()
74 capacity_ = dataLen; in RawData()
101 capacity_ = dataLen; in operator =()
122 capacity_ = EXPAND_BUF_SIZE; in Reset()
148 if ((pos + len) > capacity_) { in Update()
150 uint8_t* resizedData = new(std::nothrow) uint8_t[capacity_ + expandedSize]; in Update()
160 capacity_ += expandedSize; in Update()
/base/powermgr/battery_statistics/test/unittest/include/servicetest/
Dstats_service_subscriber_test.h34 capacity_ = capacity; in SetCapacity()
44 capacity_ = 0; in BatteryInfoReset()
48 int32_t capacity_;
/base/powermgr/battery_manager/charger/src/
Dcharger_thread.cpp163 …HILOGD(FEATURE_CHARGING, "chargeState_=%{public}d, capacity_=%{public}d", chargeState_, capacity_); in CycleMatters()
172 provider_->ParseCapacity(&capacity_); in UpdateBatteryInfo()
176 temperature, capacity_, chargeState_); in UpdateBatteryInfo()
184 HandleCapacity(capacity_); in UpdateBatteryInfo()
186 led_->UpdateColor(chargeState_, capacity_); in UpdateBatteryInfo()
189 UpdateAnimation(chargeState_, capacity_); in UpdateBatteryInfo()
276 UpdateAnimation(chargeState_, capacity_); in HandleChargingState()
317 UpdateAnimation(chargeState_, capacity_); in HandlePowerKey()
331 UpdateAnimation(chargeState_, capacity_); in HandlePowerKey()
/base/hiviewdfx/hiview/include/
Dplugin_extra_info.h48 : Event(plugin), plugin_(plugin), capacity_(capacity) {}; in CapacityObtainEvent()
51 std::string capacity_; variable
/base/hiviewdfx/hiview/base/event_store/store/include/
Dsys_event_doc_lru_cache.h35 explicit SysEventDocLruCache(size_t capacity) : capacity_(capacity) {} in SysEventDocLruCache()
53 size_t capacity_; variable
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h236 capacity_ = capacity; in SetCapacity()
316 return capacity_; in GetCapacity()
397 (capacity_ == info.GetCapacity()) &&
439 int32_t capacity_ = INVALID_BATT_INT_VALUE; variable
/base/powermgr/battery_manager/charger/include/
Dbatteryd_api.h23 int32_t capacity_; member
Dcharger_thread.h78 int32_t capacity_ = INVALID; variable
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/
Draw_data.h48 size_t capacity_ = 0; variable
/base/hiviewdfx/hiview/base/event_raw/include/base/
Draw_data.h48 size_t capacity_ = 0; variable
/base/powermgr/battery_manager/frameworks/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 };
/base/hiviewdfx/hiview/base/event_store/store/
Dsys_event_doc_lru_cache.cpp52 if (lruList_.size() > capacity_) { in Add()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_subscriber_test.cpp90 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, capacity_); in PublishChangedEvent()