Lines Matching refs:pop
83 const Event& pop(int64_t timeoutUs = 0) { in pop() function
258 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F()
259 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
260 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F()
265 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
266 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
267 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
273 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables1)); in TEST_F()
274 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
275 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables3)); in TEST_F()
281 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F()
282 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables2)); in TEST_F()
283 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables3)); in TEST_F()
307 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables1)); in TEST_F()
308 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
309 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables3)); in TEST_F()
325 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F()
326 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
327 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F()
330 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Idle(kTestUid1, kTestPid1, observables1)); in TEST_F()
331 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
332 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid1, kTestPid1, observables1)); in TEST_F()
335 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
336 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
337 EXPECT_EQ(mTestObserver3->pop(), EventTracker::NoEvent); in TEST_F()
340 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
341 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
342 EXPECT_EQ(mTestObserver3->pop(), EventTracker::NoEvent); in TEST_F()
347 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
348 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
349 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
352 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
353 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
354 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
357 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
358 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
359 EXPECT_EQ(mTestObserver3->pop(), EventTracker::NoEvent); in TEST_F()
362 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
363 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
364 EXPECT_EQ(mTestObserver3->pop(), EventTracker::NoEvent); in TEST_F()
372 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables1)); in TEST_F()
373 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
374 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables3)); in TEST_F()
378 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
379 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
380 EXPECT_EQ(mTestObserver3->pop(), EventTracker::NoEvent); in TEST_F()
386 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables1)); in TEST_F()
387 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
388 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables1)); in TEST_F()
391 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
392 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
393 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
418 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables1)); in TEST_F()
419 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
420 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables3)); in TEST_F()
432 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables1)); in TEST_F()
433 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
434 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables3)); in TEST_F()
437 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
438 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
439 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
469 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables1)); in TEST_F()
470 EXPECT_EQ(mTestObserver2->pop(), EventTracker::NoEvent); in TEST_F()
471 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid2, kTestPid2, observables2)); in TEST_F()
475 EXPECT_EQ(mTestObserver1->pop(), EventTracker::NoEvent); in TEST_F()
476 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables2)); in TEST_F()
477 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Idle(kTestUid2, kTestPid2, observables1)); in TEST_F()