/packages/modules/Bluetooth/system/gd/ |
D | module_gdx_unittest.cc | 97 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 …]
|
D | module_jniloop_unittest.cc | 81 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()
|
D | module_mainloop_unittest.cc | 81 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()
|
D | stack_manager.cc | 58 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/ |
D | acl_scheduler_test.cc | 40 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/ |
D | alarm_timerfd_unittest.cc | 86 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()
|
D | alarm_unittest.cc | 100 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()
|
D | wakelock_manager_unittest.cc | 89 auto future_status = future.wait_for(std::chrono::seconds(1)); in SyncHandler() local 90 ASSERT_EQ(future_status, std::future_status::ready); in SyncHandler()
|
D | reactor.cc | 272 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()
|
D | repeating_alarm_unittest.cc | 131 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/ |
D | acl_manager_unittest.cc | 182 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 …]
|
D | le_address_manager_test.cc | 64 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()
|
D | remote_name_request_test.cc | 49 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()
|
D | acl_manager_test.cc | 217 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()
|
D | hci_layer_fake.cc | 88 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/ |
D | wakelock_native_test.cc | 71 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/ |
D | dynamic_channel_service_manager_test.cc | 66 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()
|
D | link_manager_test.cc | 153 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()
|
D | fixed_channel_impl_test.cc | 304 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/ |
D | btif_hh_test.cc | 160 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()
|
D | btif_core_test.cc | 232 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 …]
|
D | btif_rc_test.cc | 270 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/ |
D | link_manager_test.cc | 158 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/ |
D | EvsEnumeratorHidlUnitTest_1_0.cpp | 209 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()
|
D | EvsEnumeratorUnitTest.cpp | 316 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()
|