Lines Matching refs:mCalls
118 void counter(nsecs_t time, nsecs_t) { mCalls.push_back(time); } in counter()
122 std::vector<nsecs_t> mCalls; member in android::scheduler::CountingCallback
238 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
239 EXPECT_THAT(cb.mCalls[0], Eq(mPeriod)); in TEST_F()
250 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
251 EXPECT_THAT(cb.mCalls[0], Eq(1150)); in TEST_F()
343 ASSERT_THAT(cb0.mCalls.size(), Eq(1)); in TEST_F()
344 EXPECT_THAT(cb0.mCalls[0], Eq(1075)); in TEST_F()
345 ASSERT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F()
346 EXPECT_THAT(cb1.mCalls[0], Eq(1063)); in TEST_F()
418 ASSERT_THAT(cb0.mCalls.size(), Eq(1)); in TEST_F()
419 EXPECT_THAT(cb0.mCalls[0], Eq(mPeriod)); in TEST_F()
420 ASSERT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F()
421 EXPECT_THAT(cb1.mCalls[0], Eq(mPeriod)); in TEST_F()
426 ASSERT_THAT(cb1.mCalls.size(), Eq(2)); in TEST_F()
427 EXPECT_THAT(cb1.mCalls[1], Eq(2000)); in TEST_F()
430 ASSERT_THAT(cb0.mCalls.size(), Eq(2)); in TEST_F()
431 EXPECT_THAT(cb0.mCalls[1], Eq(2000)); in TEST_F()
460 EXPECT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
464 EXPECT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
466 EXPECT_THAT(cb.mCalls.size(), Eq(2)); in TEST_F()
470 EXPECT_THAT(cb.mCalls.size(), Eq(3)); in TEST_F()
592 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
680 EXPECT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F()
681 EXPECT_THAT(cb2.mCalls.size(), Eq(0)); in TEST_F()
701 EXPECT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
722 EXPECT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F()
723 EXPECT_THAT(cb2.mCalls.size(), Eq(0)); in TEST_F()
742 EXPECT_THAT(cb1.mCalls.size(), Eq(0)); in TEST_F()
743 EXPECT_THAT(cb2.mCalls.size(), Eq(0)); in TEST_F()
746 EXPECT_THAT(cb1.mCalls.size(), Eq(0)); in TEST_F()
747 EXPECT_THAT(cb2.mCalls.size(), Eq(1)); in TEST_F()