Home
last modified time | relevance | path

Searched refs:deviceStatusQueue_ (Results 1 – 2 of 2) sorted by relevance

/base/msdp/device_status/services/native/src/
Ddevicestatus_dumper.cpp171 if (deviceStatusQueue_.empty()) { in DumpDeviceStatusChanges()
178 size_t length = deviceStatusQueue_.size() > MAX_DEVICE_STATUS_SIZE ? in DumpDeviceStatusChanges()
179 MAX_DEVICE_STATUS_SIZE : deviceStatusQueue_.size(); in DumpDeviceStatusChanges()
181 auto record = deviceStatusQueue_.front(); in DumpDeviceStatusChanges()
183 deviceStatusQueue_.push(record); in DumpDeviceStatusChanges()
184 deviceStatusQueue_.pop(); in DumpDeviceStatusChanges()
331 deviceStatusQueue_.push(record); in PushDeviceStatus()
332 if (deviceStatusQueue_.size() > MAX_DEVICE_STATUS_SIZE) { in PushDeviceStatus()
333 deviceStatusQueue_.pop(); in PushDeviceStatus()
/base/msdp/device_status/services/native/include/
Ddevicestatus_dumper.h80 std::queue<std::shared_ptr<DeviceStatusRecord>> deviceStatusQueue_; variable