Lines Matching refs:LocalHandle
32 using android::pdx::LocalHandle;
79 EXPECT_EQ(0, p->Post(LocalHandle())); in TEST_F()
86 LocalHandle fence; in TEST_F()
95 EXPECT_EQ(0, c1->Release(LocalHandle())); in TEST_F()
114 LocalHandle epoll_fd{epoll_create1(EPOLL_CLOEXEC)}; in TEST_F()
215 LocalHandle fence; in TEST_F()
222 EXPECT_EQ(0, p->Post(LocalHandle())); in TEST_F()
225 EXPECT_EQ(-EBUSY, p->Post(LocalHandle())); in TEST_F()
233 EXPECT_EQ(-EBUSY, p->Post(LocalHandle())); in TEST_F()
237 EXPECT_EQ(0, c->Release(LocalHandle())); in TEST_F()
242 EXPECT_EQ(-EBUSY, p->Post(LocalHandle())); in TEST_F()
260 LocalHandle invalid_fence; in TEST_F()
331 ASSERT_EQ(0, p->Post(LocalHandle())); in TEST_F()
335 LocalHandle invalid_fence; in TEST_F()
348 ASSERT_EQ(0, p->Post(LocalHandle())); in TEST_F()
354 LocalHandle invalid_fence; in TEST_F()
364 ASSERT_EQ(0, p->Post(LocalHandle())); in TEST_F()
372 LocalHandle invalid_fence; in TEST_F()
392 LocalHandle invalid_fence; in TEST_F()
435 LocalHandle invalid_fence; in TEST_F()
453 LocalHandle invalid_fence; in TEST_F()
480 LocalHandle invalid_fence; in TEST_F()
519 EXPECT_EQ(0, p->Post(LocalHandle(), &m, sizeof(Metadata))); in TEST_F()
521 LocalHandle fence; in TEST_F()
526 EXPECT_EQ(0, c->Release(LocalHandle())); in TEST_F()
551 EXPECT_NE(0, p->Post(LocalHandle(), &evil_meta, sizeof(OverSizedMetadata))); in TEST_F()
556 EXPECT_EQ(0, p->Post(LocalHandle())); in TEST_F()
578 EXPECT_EQ(0, p->Post(LocalHandle(), &m, sizeof(m))); in TEST_F()
580 LocalHandle fence; in TEST_F()
604 EXPECT_EQ(0, p->Post(LocalHandle(), &sequence, sizeof(sequence))); in TEST_F()
606 LocalHandle fence; in TEST_F()
619 LocalHandle fence; in TEST_F()
621 EXPECT_EQ(0, p->Post(LocalHandle())); in TEST_F()
635 EXPECT_NE(0, p->Post(LocalHandle(), &sequence, sizeof(sequence))); in TEST_F()
657 LocalHandle f1(eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK)); in TEST_F()
663 LocalHandle f2; in TEST_F()
677 EXPECT_EQ(0, c->ReleaseAsync(&meta, LocalHandle())); in TEST_F()
680 LocalHandle f3; in TEST_F()
689 LocalHandle f4; in TEST_F()
697 LocalHandle f5(eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK)); in TEST_F()
702 LocalHandle f6; in TEST_F()
720 EXPECT_EQ(0, p->PostAsync(&meta, LocalHandle())); in TEST_F()
722 LocalHandle fence; in TEST_F()
756 EXPECT_EQ(0, p->PostAsync(&meta, LocalHandle())); in TEST_F()
767 LocalHandle invalid_fence; in TEST_F()
785 EXPECT_EQ(0, c2->Release(LocalHandle())); in TEST_F()
786 EXPECT_EQ(0, c3->ReleaseAsync(&meta, LocalHandle())); in TEST_F()