Home
last modified time | relevance | path

Searched refs:future_status (Results 1 – 25 of 58) sorted by relevance

123

/packages/modules/Bluetooth/system/gd/
Dmodule_gdx_unittest.cc97 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_handler_protected_method()
106 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main_external_function()
115 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main()
125 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main_repost()
140 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main_recurse()
149 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni_external_function()
158 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni()
168 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni_repost()
183 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni_recurse()
432 ASSERT_EQ(std::future_status::ready, unblock->wait_for(std::chrono::seconds(1))); in GetNewCallbackOnMain()
[all …]
Dmodule_jniloop_unittest.cc81 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_handler_protected_method()
90 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni_external_function()
99 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni()
109 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni_repost()
119 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_jni_recurse()
Dmodule_mainloop_unittest.cc81 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_handler_protected_method()
90 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main_external_function()
99 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main()
108 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main_repost()
118 ASSERT_EQ(future.wait_for(std::chrono::seconds(3)), std::future_status::ready); in call_on_main_recurse()
Dstack_manager.cc58 init_status == std::future_status::ready, in StartUp()
84 stop_status == std::future_status::ready, in ShutDown()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler_test.cc40 if (arg.wait_for(timeout) != std::future_status::ready) {
123 EXPECT_THAT(future1.wait_for(timeout), std::future_status::timeout); in TEST_F()
130 EXPECT_THAT(future2.wait_for(timeout), std::future_status::timeout); in TEST_F()
241 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
262 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
272 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
295 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
334 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
380 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
440 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dalarm_timerfd_unittest.cc86 ASSERT_EQ(std::future_status::ready, future.wait_for(kForever)); in TEST_F()
94 ASSERT_NE(std::future_status::ready, future.wait_for(kShortWait)); in TEST_F()
110 ASSERT_EQ(std::future_status::ready, future.wait_for(kForever)); in TEST_F()
118 ASSERT_EQ(std::future_status::ready, future.wait_for(kForever)); in TEST_F()
126 ASSERT_NE(std::future_status::ready, future.wait_for(kShortWait)); in TEST_F()
156 EXPECT_EQ(std::future_status::ready, future.wait_for(kForever)); in TEST_F()
Dalarm_unittest.cc100 ASSERT_EQ(std::future_status::ready, future.wait_for(std::chrono::seconds(1))); in TEST_F()
155 EXPECT_EQ(std::future_status::ready, future.wait_for(std::chrono::milliseconds(20))); in TEST_F()
157 EXPECT_EQ(std::future_status::ready, future2.wait_for(std::chrono::milliseconds(20))); in TEST_F()
Dwakelock_manager_unittest.cc89 auto future_status = future.wait_for(std::chrono::seconds(1)); in SyncHandler() local
90 ASSERT_EQ(future_status, std::future_status::ready); in SyncHandler()
Dreactor.cc272 if (stop_status != std::future_status::ready) { in WaitForUnregisteredReactable()
275 return stop_status == std::future_status::ready; in WaitForUnregisteredReactable()
290 return idle_status == std::future_status::ready; in WaitForIdle()
Drepeating_alarm_unittest.cc131 ASSERT_EQ(std::future_status::ready, future.wait_for(std::chrono::seconds(1))); in TEST_F()
141 ASSERT_EQ(std::future_status::ready, future.wait_for(std::chrono::seconds(1))); in TEST_F()
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_unittest.cc182 auto future_status = future.wait_for(std::chrono::seconds(1)); in sync_client_handler() local
183 ASSERT_EQ(future_status, std::future_status::ready); in sync_client_handler()
238 ASSERT_EQ(status, std::future_status::ready); in SendAclData()
325 ASSERT_EQ(first_connection_status, std::future_status::ready); in SetUp()
444 ASSERT_EQ(first_connection_status, std::future_status::ready); in SetUp()
459 auto future_status = future.wait_for(std::chrono::seconds(1)); in sync_client_handler() local
460 ASSERT_EQ(future_status, std::future_status::ready); in sync_client_handler()
585 …ASSERT_EQ(std::future_status::ready, future.wait_for(2s)) << "Timeout waiting for first connection… in TEST_F()
600 …ASSERT_EQ(std::future_status::ready, future.wait_for(2s)) << "Timeout waiting for second connectio… in TEST_F()
644 …ASSERT_EQ(std::future_status::ready, future.wait_for(2s)) << "Timeout waiting for first connection… in TEST_F()
[all …]
Dle_address_manager_test.cc64 EXPECT_NE(std::future_status::timeout, result); in WaitForResume()
90 auto future_status = future.wait_for(std::chrono::seconds(1)); in sync_handler() local
91 EXPECT_EQ(future_status, std::future_status::ready); in sync_handler()
Dremote_name_request_test.cc49 if (arg.wait_for(timeout) != std::future_status::ready) {
57 if (arg.wait_for(timeout) != std::future_status::ready) {
245 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
377 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
404 EXPECT_THAT(future.wait_for(timeout), std::future_status::timeout); in TEST_F()
Dacl_manager_test.cc217 ASSERT_EQ(status, std::future_status::ready); in SendAclData()
268 ASSERT_EQ(first_connection_status, std::future_status::ready); in SetUp()
309 ASSERT_EQ(first_connection_status, std::future_status::ready); in TEST_F()
348 ASSERT_EQ(std::future_status::ready, future.wait_for(kTimeout)); in TEST_F()
412 ASSERT_EQ(first_connection_status, std::future_status::ready); in SetUp()
568 ASSERT_EQ(first_connection_status, std::future_status::ready); in TEST_F()
608 ASSERT_EQ(first_connection_status, std::future_status::ready); in TEST_F()
1281 ASSERT_NE(connection_future_status, std::future_status::ready); in TEST_F()
1322 ASSERT_NE(connection_future_status, std::future_status::ready); in TEST_F()
1365 ASSERT_NE(connection_future_status, std::future_status::ready); in TEST_F()
Dhci_layer_fake.cc88 EXPECT_EQ(command_future_.wait_for(std::chrono::milliseconds(1000)), std::future_status::ready); in GetCommand()
219 ASSERT_EQ(status, std::future_status::ready); in IncomingAclData()
/packages/modules/Bluetooth/system/gd/os/android/
Dwakelock_native_test.cc71 auto future_status = future_.wait_for(std::chrono::seconds(2)); in ~PromiseFutureContext() local
73 EXPECT_EQ(future_status, std::future_status::ready); in ~PromiseFutureContext()
75 EXPECT_NE(future_status, std::future_status::ready); in ~PromiseFutureContext()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Ddynamic_channel_service_manager_test.cc66 auto future_status = future.wait_for(std::chrono::seconds(1)); in sync_user_handler() local
67 EXPECT_EQ(future_status, std::future_status::ready); in sync_user_handler()
Dlink_manager_test.cc153 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
156 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
325 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
328 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
399 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
402 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
475 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
478 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
Dfixed_channel_impl_test.cc304 auto future_status = future.wait_for(std::chrono::seconds(1)); in TEST_F() local
305 EXPECT_EQ(future_status, std::future_status::ready); in TEST_F()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_hh_test.cc160 ASSERT_EQ(std::future_status::ready, future.wait_for(2s)); in SetUp()
173 ASSERT_EQ(std::future_status::ready, future.wait_for(2s)); in TearDown()
252 ASSERT_EQ(std::future_status::ready, future.wait_for(2s)); in TEST_F()
298 ASSERT_EQ(std::future_status::ready, future.wait_for(2s)); in TEST_F()
310 ASSERT_EQ(std::future_status::ready, future.wait_for(2s)); in TEST_F()
Dbtif_core_test.cc232 ASSERT_EQ(std::future_status::ready, future.wait_for(timeout_time)); in SetUp()
243 ASSERT_EQ(std::future_status::ready, future.wait_for(timeout_time)); in TearDown()
284 ASSERT_EQ(std::future_status::ready, future0.wait_for(timeout_time)); in TEST_F()
292 ASSERT_EQ(std::future_status::ready, future.wait_for(timeout_time)); in TEST_F()
300 ASSERT_EQ(std::future_status::ready, future.wait_for(timeout_time)); in TEST_F()
309 ASSERT_EQ(std::future_status::ready, future.wait_for(timeout_time)); in TEST_F()
868 EXPECT_EQ(std::future_status::ready, in TEST_F()
931 ASSERT_EQ(std::future_status::ready, in SetUp()
951 ASSERT_EQ(std::future_status::ready, in TearDown()
977 ASSERT_EQ(std::future_status::ready, in TEST_F()
[all …]
Dbtif_rc_test.cc270 ASSERT_EQ(std::future_status::ready, in TEST_F()
321 ASSERT_EQ(std::future_status::ready, in TEST_F()
372 ASSERT_EQ(std::future_status::ready, in TEST_F()
390 ASSERT_EQ(std::future_status::ready, in TEST_F()
427 ASSERT_EQ(std::future_status::ready, in TEST_F()
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink_manager_test.cc158 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
160 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
192 EXPECT_EQ(future_3_status, std::future_status::ready); in TEST_F()
356 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
359 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
452 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
455 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
550 EXPECT_EQ(future_1_status, std::future_status::ready); in TEST_F()
553 EXPECT_EQ(future_2_status, std::future_status::ready); in TEST_F()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorHidlUnitTest_1_0.cpp209 EXPECT_EQ(std::future_status::ready, result.wait_for(kResultTimeout)); in TEST_F()
248 EXPECT_EQ(std::future_status::ready, result0.wait_for(kResultTimeout)); in TEST_F()
249 EXPECT_EQ(std::future_status::ready, result1.wait_for(kResultTimeout)); in TEST_F()
292 EXPECT_EQ(std::future_status::ready, result0.wait_for(kResultTimeout)); in TEST_F()
293 EXPECT_EQ(std::future_status::ready, result1.wait_for(kResultTimeout)); in TEST_F()
DEvsEnumeratorUnitTest.cpp316 EXPECT_EQ(std::future_status::ready, result.wait_for(kResultTimeout)); in TEST_F()
360 EXPECT_EQ(std::future_status::ready, result0.wait_for(kResultTimeout)); in TEST_F()
361 EXPECT_EQ(std::future_status::ready, result1.wait_for(kResultTimeout)); in TEST_F()
405 EXPECT_EQ(std::future_status::ready, result0.wait_for(kResultTimeout)); in TEST_F()
406 EXPECT_EQ(std::future_status::ready, result1.wait_for(kResultTimeout)); in TEST_F()
715 EXPECT_EQ(std::future_status::ready, result.wait_for(kResultTimeout)); in TEST_F()

123