Searched refs:condVar (Results 1 - 5 of 5) sorted by relevance
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/ |
H A D | wait_for_result.cpp | 25 condVar.wait(lock, [this] {return isReady;}); in Wait() 35 condVar.notify_one(); in SetIsReady()
|
/foundation/multimodalinput/input/service/subscriber/test/src/ |
H A D | key_shortcut_rules_test.cpp | 114 std::condition_variable condVar; in HWTEST_F() local 126 condVar.notify_all(); in HWTEST_F() 140 condVar.notify_all(); in HWTEST_F() 149 EXPECT_FALSE(condVar.wait_for(guard, std::chrono::milliseconds(DEFAULT_LONG_PRESS_TIME), in HWTEST_F() 159 EXPECT_FALSE(condVar.wait_for(guard, std::chrono::milliseconds(DEFAULT_LONG_PRESS_TIME), in HWTEST_F() 182 std::condition_variable condVar; in HWTEST_F() local 194 condVar.notify_all(); in HWTEST_F() 208 condVar.notify_all(); in HWTEST_F() 217 EXPECT_FALSE(condVar.wait_for(guard, std::chrono::milliseconds(DEFAULT_LONG_PRESS_TIME), in HWTEST_F()
|
H A D | key_shortcut_manager_test.cpp | 501 std::condition_variable condVar; in HWTEST_F() local 511 condVar.notify_all(); in HWTEST_F() 523 bool cvRet = condVar.wait_for(lock, std::chrono::milliseconds(TWICE_LONG_PRESS_TIME), in HWTEST_F() 566 std::condition_variable condVar; in HWTEST_F() local 576 condVar.notify_all(); in HWTEST_F() 594 bool cvRet = condVar.wait_for(lock, std::chrono::milliseconds(TWICE_LONG_PRESS_TIME), in HWTEST_F() 634 std::condition_variable condVar; in HWTEST_F() local 644 condVar.notify_all(); in HWTEST_F() 662 bool cvRet = condVar.wait_for(lock, std::chrono::milliseconds(TWICE_LONG_PRESS_TIME), in HWTEST_F()
|
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/include/ |
H A D | wait_for_result.h | 31 std::condition_variable condVar; member in OHOS::IntellVoiceTests::WaitForResult
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_lane_pending_ctl.c | 75 SoftBusCond condVar; member 201 (void)SoftBusCondDestroy(&item->condVar); in TransFreeLanePendingDeinit() 772 (void)SoftBusCondSignal(&freeItem->condVar); in TransUpdateFreeLaneStatus() 1781 if (SoftBusCondInit(&freeItem->condVar) != SOFTBUS_OK) { in TransAddFreeLaneToPending() 1821 int32_t rc = TransSoftBusCondWait(&freeItem->condVar, &g_freeLanePendingList->lock, TRANS_FREE_LANE_TIMEOUT); in TransWaitingFreeCallback() 1848 (void)SoftBusCondDestroy(&laneItem->condVar); in TransDelLaneFreeFromPending()
|
Completed in 6 milliseconds