/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/ |
H A D | message_queue_utils.cpp | 41 int8_t MessageQueueUtils::PutMessage(QueueHandler handler, const void *msgPtr, uint32_t timeOut) in PutMessage() argument 43 (void)(timeOut); in PutMessage() 61 int8_t MessageQueueUtils::GetMessage(QueueHandler handler, void *msgPtr, uint32_t timeOut) in GetMessage() argument 65 (void)(timeOut); in GetMessage()
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_timer.cpp | 80 int32_t timeOut = 10; in HWTEST_F() local 83 int32_t ret = timer->StartTimer(name, timeOut, TimeOut); in HWTEST_F() 116 int32_t timeOut = 10; in HWTEST_F() local 118 timer->StartTimer(name, timeOut, TimeOut); in HWTEST_F() 132 int32_t timeOut = 10; in HWTEST_F() local 137 timer->StartTimer(name, timeOut, TimeOut); in HWTEST_F()
|
/foundation/distributedhardware/device_manager/utils/src/timer/ |
H A D | dm_timer.cpp | 45 int32_t DmTimer::StartTimer(std::string name, int32_t timeOut, TimerCallback callback) in StartTimer() argument 47 if (name.empty() || timeOut <= MIN_TIME_OUT || timeOut > MAX_TIME_OUT || callback == nullptr) { in StartTimer() 56 ffrt::task_handle handle = queue_->submit_h(taskFunc, ffrt::task_attr().delay(timeOut * MICROSECOND_TO_SECOND)); in StartTimer()
|
/foundation/window/window_manager/wm/src/ |
H A D | pattern_detach_callback.cpp | 29 void PatternDetachCallback::GetResult(long timeOut) in GetResult() argument 31 future_.GetResult(timeOut); in GetResult()
|
H A D | future_callback.cpp | 29 WSRect FutureCallback::GetResult(long timeOut) in GetResult() argument 31 return future_.GetResult(timeOut); in GetResult()
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/async/ |
H A D | message_queue_utils.cpp | 83 int8_t MessageQueueUtils::PutMessage(QueueHandler handler, const void* msgPtr, uint32_t timeOut) in PutMessage() argument 97 if (osMessageQueuePut(queueId, static_cast<void *>(&msg), 0, timeOut) != osOK) { in PutMessage() 112 int8_t MessageQueueUtils::GetMessage(QueueHandler handler, void* msgPtr, uint32_t timeOut) in GetMessage() argument 123 if (osMessageQueueGet(queueId, msgPtr, 0, timeOut) != osOK) { in GetMessage()
|
/foundation/window/window_manager/utils/include/ |
H A D | future.h | 28 T GetResult(long timeOut)
in GetResult() argument 31 if (!conditionVariable_.wait_for(lock, std::chrono::milliseconds(timeOut), [this] { return IsReady(); })) {
in GetResult() 32 OHOS::HiviewDFX::HiLog::Error(LABEL, "wait for %{public}ld, timeout.", timeOut);
in GetResult()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_surface_ohos.cpp | 55 void RSSurfaceOhos::SetTimeOut(int32_t timeOut) in SetTimeOut() argument 57 timeOut_ = timeOut; in SetTimeOut()
|
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_timer.cpp | 26 DfxTimer::DfxTimer(int32_t type, int32_t object, int64_t timeOut, bool isReport) in DfxTimer() argument 31 timeOut_ = timeOut; in DfxTimer()
|
/foundation/distributedhardware/device_manager/utils/src/timer/lite/ |
H A D | dm_timer.cpp | 46 int32_t DmTimer::StartTimer(std::string name, int32_t timeOut, TimerCallback callback) in StartTimer() argument 49 if (name.empty() || timeOut <= MIN_TIME_OUT || timeOut > MAX_TIME_OUT || callback == nullptr) { in StartTimer() 54 std::shared_ptr<Timer> timer = std::make_shared<Timer>(name, timeOut, callback); in StartTimer()
|
/foundation/ai/ai_engine/services/server/server_executor/source/ |
H A D | future.cpp | 48 IResponse *Future::GetResponse(int timeOut) const in GetResponse() 50 semaphore_->Wait(timeOut); in GetResponse()
|
H A D | sync_msg_handler.cpp | 96 int SyncMsgHandler::ReceiveResponse(int timeOut, SimpleEventNotifier<IResponse> ¬ifier, in ReceiveResponse() argument 99 bool notifierCode = notifier.GetFromFront(timeOut, response); in ReceiveResponse()
|
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async/ |
H A D | message_queue_utils.h | 132 * @param [in] timeOut: the time to wait when the queue is full 136 static int8_t PutMessage(QueueHandler handler, const void *msgPtr, uint32_t timeOut); 143 * @param [in] timeOut: the time to wait when the queue is empty 147 static int8_t GetMessage(QueueHandler handler, void *msgPtr, uint32_t timeOut);
|
/foundation/multimedia/media_lite/services/player_lite/impl/buffersource/include/ |
H A D | buffer_source.h | 76 int DequeIdleBuffer(QueBuffer* buffer, int timeOut); 79 int DequeFilledBuffer(QueBuffer* buffer, int timeOut);
|
/foundation/resourceschedule/ffrt/src/util/ |
H A D | init.cpp | 47 [] (ffrt::CPUEUTask* task, bool timeOut) -> void {CoWake(task, timeOut);}); in ffrt_init()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | efficiency_resource_info.h | 28 EfficiencyResourceInfo(uint32_t resourceNumber, bool isApply, uint32_t timeOut, std::string reason, in EfficiencyResourceInfo() argument 30 timeOut_(timeOut), reason_(reason), isPersist_(isPersist), isProcess_(isProcess) {} in EfficiencyResourceInfo()
|
/foundation/ai/ai_engine/services/common/platform/threadpool/source/ |
H A D | thread.cpp | 144 bool Thread::StopThread(int timeOut) in StopThread() argument 152 // if timeOut==0 means just set stop flag in StopThread() 153 if (timeOut == 0) { in StopThread() 158 while ((status_ == RUNNING) && (static_cast<int32_t>(elapser.ElapseMilli()) < timeOut)) { in StopThread()
|
H A D | thread_pool.cpp | 107 bool ThreadPool::StopThreads(int32_t timeOut) in StopThreads() argument 120 // judge if the wait time over timeOut in StopThreads() 121 CHK_RET(static_cast<int32_t>(elapser.ElapseMilli()) > timeOut, false); in StopThreads()
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co_routine.h | 112 static void CoWakeFunc(ffrt::CPUEUTask* task, bool timeOut) in CoWakeFunc() argument 114 return Instance().cowake_(task, timeOut); in CoWakeFunc() 132 void CoWake(ffrt::CPUEUTask* task, bool timeOut);
|
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | efficiency_resources_operation.cpp | 104 int32_t timeOut {0}; in ParseParameters() 117 if (!GetNamedInt32Value(env, argv[0], "timeOut", timeOut)) { in ParseParameters() 133 params = EfficiencyResourceInfo {resourceNumber, isApply, timeOut, reason, isPersist, isProcess}; in ParseParameters()
|
/foundation/window/window_manager/wm/include/ |
H A D | pattern_detach_callback.h | 27 void GetResult(long timeOut);
|
H A D | future_callback.h | 27 WSRect GetResult(long timeOut);
|
/foundation/ai/ai_engine/services/server/server_executor/include/ |
H A D | i_future.h | 36 * @param [in] timeOut Delayed time, measured by millisecond. 39 virtual IResponse *GetResponse(int timeOut) const = 0;
|
/foundation/ai/ai_engine/services/common/platform/semaphore/include/ |
H A D | simple_event_notifier.h | 40 * @param [in] timeOut The range of timeout 44 bool GetFromFront(int timeOut, T *&item);
|
/foundation/multimedia/media_library/frameworks/services/media_dfx/include/ |
H A D | dfx_timer.h | 25 DfxTimer(int32_t type, int32_t object, int64_t timeOut, bool isReport);
|