Searched refs:priorityIndex (Results 1 – 4 of 4) sorted by relevance
238 uint32_t priorityIndex = GetPriorityIndex(); in PopEvent() local239 AppExecFwk::InnerEvent::Pointer event = std::move(eventLists_[priorityIndex].events.front()); in PopEvent()240 eventLists_[priorityIndex].events.pop_front(); in PopEvent()261 uint32_t priorityIndex = 0; in GetPriorityIndex() local268 priorityIndex = i; in GetPriorityIndex()273 priorityIndex = i; in GetPriorityIndex()276 return priorityIndex; in GetPriorityIndex()
269 uint32_t priorityIndex = SUB_EVENT_QUEUE_NUM; in PickEventLocked() local277 if (priorityIndex < SUB_EVENT_QUEUE_NUM) { in PickEventLocked()278 SubEventQueue &subQueue = subEventQueues_[priorityIndex]; in PickEventLocked()287 priorityIndex = i; in PickEventLocked()290 if (priorityIndex >= SUB_EVENT_QUEUE_NUM) { in PickEventLocked()296 for (uint32_t i = 0; i < priorityIndex; ++i) { in PickEventLocked()300 return PopFrontEventFromListLocked(subEventQueues_[priorityIndex].queue); in PickEventLocked()
327 uint32_t priorityIndex = SUB_EVENT_QUEUE_NUM; in PickEventLocked() local335 if (priorityIndex < SUB_EVENT_QUEUE_NUM) { in PickEventLocked()336 SubEventQueue &subQueue = subEventQueues_[priorityIndex]; in PickEventLocked()345 priorityIndex = i; in PickEventLocked()348 if (priorityIndex >= SUB_EVENT_QUEUE_NUM) { in PickEventLocked()354 for (uint32_t i = 0; i < priorityIndex; ++i) { in PickEventLocked()358 return PopFrontEventFromListLocked(subEventQueues_[priorityIndex].queue); in PickEventLocked()
547 uint32_t priorityIndex = 0; in CreateDevice() local551 const uint32_t priorityStartIndex = priorityIndex; in CreateDevice()553 PLUGIN_ASSERT(priorityIndex < maxQueuePriorityCount); in CreateDevice()554 queuePriorities[priorityIndex] = ref.priority; in CreateDevice()555 priorityIndex++; in CreateDevice()