Home
last modified time | relevance | path

Searched refs:IsSignaled (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc23 EXPECT_FALSE(event.IsSignaled()); in TEST()
26 EXPECT_TRUE(event.IsSignaled()); in TEST()
27 EXPECT_TRUE(event.IsSignaled()); in TEST()
30 EXPECT_FALSE(event.IsSignaled()); in TEST()
42 EXPECT_TRUE(event.IsSignaled()); in TEST()
43 EXPECT_TRUE(event.IsSignaled()); in TEST()
47 EXPECT_FALSE(event.IsSignaled()); in TEST()
48 EXPECT_FALSE(event.IsSignaled()); in TEST()
53 EXPECT_TRUE(event.IsSignaled()); in TEST()
54 EXPECT_TRUE(event.IsSignaled()); in TEST()
[all …]
Dwaitable_event_perftest.cc48 bool IsSignaled() { return event_.IsSignaled(); } in IsSignaled() function in base::__anonac4090730111::TraceWaitableEvent
75 while (!stop_event_.IsSignaled()) { in Run()
Dwaitable_event.h88 bool IsSignaled();
Dwaitable_event_posix.cc73 bool WaitableEvent::IsSignaled() { in IsSignaled() function in base::WaitableEvent
/external/libchrome/base/threading/
Dplatform_thread_unittest.cc47 ASSERT_FALSE(thread.run_event().IsSignaled()); in TEST()
50 ASSERT_TRUE(thread.run_event().IsSignaled()); in TEST()
58 ASSERT_FALSE(thread[n].run_event().IsSignaled()); in TEST()
64 ASSERT_TRUE(thread[n].run_event().IsSignaled()); in TEST()
74 ASSERT_FALSE(thread.run_event().IsSignaled()); in TEST()
85 ASSERT_FALSE(thread[n].run_event().IsSignaled()); in TEST()
108 EXPECT_TRUE(terminate_thread_.IsSignaled()) in ~FunctionTestThread()
134 EXPECT_TRUE(termination_ready_.IsSignaled()) << "Thread ID still unknown"; in thread_id()
139 return termination_ready_.IsSignaled() && !done_; in IsRunning()
Dsimple_thread.cc66 return event_.IsSignaled(); in HasBeenStarted()
119 DCHECK(!dry_.IsSignaled()); in ~DelegateSimpleThreadPool()
151 if (!dry_.IsSignaled()) in AddWork()
162 if (!dry_.IsSignaled()) in Run()
Dsimple_thread_unittest.cc76 EXPECT_FALSE(event_->IsSignaled()); in Run()
78 EXPECT_TRUE(event_->IsSignaled()); in Run()
154 EXPECT_FALSE(event.IsSignaled()); in TEST()
157 EXPECT_TRUE(event.IsSignaled()); in TEST()
Dthread_local_unittest.cc39 DCHECK(!done_->IsSignaled()); in Run()
57 DCHECK(!done_->IsSignaled()); in Run()
Dthread.cc252 DCHECK(id_event_.IsSignaled()); in Run()
288 DCHECK(!id_event_.IsSignaled()); in ThreadMain()
Dthread.h231 (id_event_.IsSignaled() && id_ == PlatformThread::CurrentId()) || in task_runner()
/external/libchrome/base/timer/
Dtimer_unittest.cc82 EXPECT_FALSE(did_run_->IsSignaled()); in Run()
178 EXPECT_FALSE(did_run_->IsSignaled()); in Run()
215 EXPECT_TRUE(did_run_a.IsSignaled()); in RunTest_OneShotTimers()
236 EXPECT_FALSE(did_run_a.IsSignaled()); in RunTest_OneShotTimers_Cancel()
277 EXPECT_FALSE(did_run_a.IsSignaled()); in RunTest_RepeatingTimer_Cancel()
423 EXPECT_TRUE(f.IsRunning() || did_run.IsSignaled()); in TEST()
426 EXPECT_TRUE(did_run.IsSignaled()); in TEST()
553 EXPECT_FALSE(did_run.IsSignaled()); in TEST()
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_unittest.cc248 ASSERT_TRUE(!task_ran.IsSignaled()); in TEST_P()
308 EXPECT_FALSE(task_1_running.IsSignaled()); in TEST_P()
309 EXPECT_FALSE(task_2_running.IsSignaled()); in TEST_P()
Dtracked_ref.h95 DCHECK(!factory_->ready_to_destroy_->IsSignaled()); in ~TrackedRef()
/external/webrtc/talk/media/sctp/
Dsctpdataengine_unittest.cc156 bool IsSignaled(bool writable) { in IsSignaled() function in SignalReadyToSendObserver
374 EXPECT_TRUE_WAIT(signal_observer_1.IsSignaled(true), 1000); in TEST_F()
375 EXPECT_TRUE_WAIT(signal_observer_2.IsSignaled(true), 1000); in TEST_F()