Home
last modified time | relevance | path

Searched refs:eventQueue (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_event_handler.cpp110 if (eventQueue != nullptr) { in WifiEventHandlerImpl()
115 eventQueue = std::make_shared<ffrt::queue>(threadName.c_str()); in WifiEventHandlerImpl()
116 WIFI_LOGI("WifiEventHandlerImpl: Create a new eventQueue, threadName:%{public}s", threadName.c_str()); in WifiEventHandlerImpl()
118 eventQueue = std::make_shared<ffrt::queue>(threadName.c_str(), in WifiEventHandlerImpl()
120 WIFI_LOGI("WifiEventHandlerImpl: Create a new eventQueue with callback," in WifiEventHandlerImpl()
130 if (iter->second != nullptr && eventQueue != nullptr) { in ~WifiEventHandlerImpl()
131 int32_t ret = eventQueue->cancel(iter->second); in ~WifiEventHandlerImpl()
139 if (eventQueue != nullptr) { in ~WifiEventHandlerImpl()
140 eventQueue.reset(); in ~WifiEventHandlerImpl()
146 if (eventQueue in PostSyncTask()
201 std::shared_ptr<ffrt::queue> eventQueue = nullptr; global() member in OHOS::Wifi::WifiEventHandler::WifiEventHandlerImpl
[all...]
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_thread.cpp42 if (eventQueue != nullptr) { in DhcpThreadImpl()
46 eventQueue = std::make_shared<ffrt::queue>(threadName.c_str()); in DhcpThreadImpl()
47 DHCP_LOGI("DhcpThreadImpl: Create a new eventQueue, threadName:%{public}s", threadName.c_str()); in DhcpThreadImpl()
53 if (eventQueue) { in ~DhcpThreadImpl()
54 eventQueue = nullptr; in ~DhcpThreadImpl()
64 if (eventQueue == nullptr) { in PostSyncTask()
65 DHCP_LOGE("PostSyncTask: eventQueue is nullptr!"); in PostSyncTask()
69 ffrt::task_handle handle = eventQueue->submit_h(callback); in PostSyncTask()
73 eventQueue->wait(handle); in PostSyncTask()
79 if (eventQueue in PostAsyncTask()
123 std::shared_ptr<ffrt::queue> eventQueue = nullptr; global() member in OHOS::DHCP::DhcpThread::DhcpThreadImpl
[all...]
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/
H A Dliteplayer.h235 std::vector<PalayControlEventItem> eventQueue; member in OHOS::Media::PlayerControl
H A Dliteplayer.cpp185 eventQueue.clear(); in PlayerControl()
199 eventQueue.clear(); in ~PlayerControl()
520 queSize = eventQueue.size(); in EventQueueProcess()
525 item = &eventQueue[i]; in EventQueueProcess()
528 eventQueue.clear(); in EventQueueProcess()
537 player->eventQueue.push_back(item); in OnPlayControlEvent()

Completed in 5 milliseconds