/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/ |
D | raw_data.cpp | 34 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/ |
D | raw_data.cpp | 34 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/ |
D | stats_service_subscriber_test.h | 34 capacity_ = capacity; in SetCapacity() 44 capacity_ = 0; in BatteryInfoReset() 48 int32_t capacity_;
|
/base/powermgr/battery_manager/charger/src/ |
D | charger_thread.cpp | 163 …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/ |
D | plugin_extra_info.h | 48 : Event(plugin), plugin_(plugin), capacity_(capacity) {}; in CapacityObtainEvent() 51 std::string capacity_; variable
|
/base/hiviewdfx/hiview/base/event_store/store/include/ |
D | sys_event_doc_lru_cache.h | 35 explicit SysEventDocLruCache(size_t capacity) : capacity_(capacity) {} in SysEventDocLruCache() 53 size_t capacity_; variable
|
/base/powermgr/battery_manager/interfaces/inner_api/native/include/ |
D | battery_info.h | 236 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/ |
D | batteryd_api.h | 23 int32_t capacity_; member
|
D | charger_thread.h | 78 int32_t capacity_ = INVALID; variable
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/ |
D | raw_data.h | 48 size_t capacity_ = 0; variable
|
/base/hiviewdfx/hiview/base/event_raw/include/base/ |
D | raw_data.h | 48 size_t capacity_ = 0; variable
|
/base/powermgr/battery_manager/frameworks/napi/ |
D | system_battery.cpp | 200 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()
|
D | system_battery.h | 63 int32_t capacity_ { INVALID_BATT_INT_VALUE };
|
/base/hiviewdfx/hiview/base/event_store/store/ |
D | sys_event_doc_lru_cache.cpp | 52 if (lruList_.size() > capacity_) { in Add()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_subscriber_test.cpp | 90 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, capacity_); in PublishChangedEvent()
|