Lines Matching refs:Fence
27 sp<Fence> getFenceForTesting() const { return mMockFence; } in getFenceForTesting()
36 sp<Fence> fence = getFenceForTesting(); in TEST_F()
38 EXPECT_CALL(getMockFence(), getSignalTime).WillOnce(Return(Fence::SIGNAL_TIME_PENDING)); in TEST_F()
39 EXPECT_EQ(Fence::SIGNAL_TIME_PENDING, fence->getSignalTime()); in TEST_F()
46 sp<Fence> fence = getFenceForTesting(); in TEST_F()
48 EXPECT_CALL(getMockFence(), getStatus).WillOnce(Return(Fence::Status::Unsignaled)); in TEST_F()
49 EXPECT_EQ(Fence::Status::Unsignaled, fence->getStatus()); in TEST_F()
51 EXPECT_CALL(getMockFence(), getStatus).WillOnce(Return(Fence::Status::Signaled)); in TEST_F()
52 EXPECT_EQ(Fence::Status::Signaled, fence->getStatus()); in TEST_F()
54 EXPECT_CALL(getMockFence(), getStatus).WillOnce(Return(Fence::Status::Invalid)); in TEST_F()
55 EXPECT_EQ(Fence::Status::Invalid, fence->getStatus()); in TEST_F()