Lines Matching refs:get

31     ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(),  in TEST_F()
33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
35 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
41 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
81 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
83 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
85 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
87 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
91 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
102 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
131 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
133 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
135 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
137 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
153 ASSERT_EQ(NO_ERROR, native_window_set_crop(mANW.get(), &crop)); in TEST_F()
156 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
166 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
199 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
201 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
203 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
205 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
233 if (native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
285 if (mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), -1) in TEST_F()
344 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
346 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
348 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
350 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
390 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
392 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F()
394 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F()
396 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
450 if (native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU) != in TEST_F()
457 if (native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
464 if (mANW->queueBuffer(mANW.get(), anb, -1) in TEST_F()
470 if (native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU) in TEST_F()
506 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), in TEST_F()
511 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
512 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
514 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
515 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
520 ASSERT_EQ(OK, native_window_api_disconnect(mANW.get(), in TEST_F()
522 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), in TEST_F()
525 EXPECT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
526 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
532 ASSERT_EQ(OK, native_window_api_disconnect(mANW.get(), in TEST_F()
537 ASSERT_EQ(OK, native_window_set_scaling_mode(mANW.get(), in TEST_F()
541 ASSERT_EQ(OK, native_window_set_buffers_dimensions(mANW.get(), 512, 512)); in TEST_F()
546 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), in TEST_F()
552 ASSERT_EQ(OK, native_window_set_crop(mANW.get(), &odd)); in TEST_F()
553 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
554 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
560 ASSERT_EQ(OK, native_window_api_disconnect(mANW.get(), in TEST_F()
569 ASSERT_EQ(OK, native_window_set_scaling_mode(mANW.get(), in TEST_F()
573 ASSERT_EQ(OK, native_window_set_buffers_dimensions(mANW.get(), 512, 512)); in TEST_F()
578 native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
584 ASSERT_EQ(OK, native_window_set_crop(mANW.get(), &standard)); in TEST_F()
585 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
586 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
595 ASSERT_EQ(OK, native_window_set_crop(mANW.get(), &wide)); in TEST_F()
596 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
597 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
607 ASSERT_EQ(OK, native_window_set_crop(mANW.get(), &narrow)); in TEST_F()
608 EXPECT_EQ (OK, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in TEST_F()
609 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
617 native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
635 if (native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU) != in TEST_F()
641 if (native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
648 if (mANW->queueBuffer(mANW.get(), anb, -1) in TEST_F()
654 if (native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
661 if (mANW->queueBuffer(mANW.get(), anb, -1) in TEST_F()
667 mDequeueError = native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
697 reinterpret_cast<ProducerThread*>(pt.get())->getDequeueError()); in TEST_F()
704 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F()
712 EXPECT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
716 EXPECT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
721 EXPECT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
725 EXPECT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
730 EXPECT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
734 EXPECT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()