• Home
  • Raw
  • Download

Lines Matching refs:anw

107     sp<ANativeWindow> anw(mSurface);  in TEST_F()  local
109 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
120 sp<ANativeWindow> anw(mSurface); in TEST_F() local
122 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
130 sp<ANativeWindow> anw(mSurface); in TEST_F() local
144 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), in TEST_F()
149 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F()
151 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F()
154 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf); in TEST_F()
159 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F()
160 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F()
164 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); in TEST_F()
168 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F()
170 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf, -1)); in TEST_F()
178 sp<ANativeWindow> anw(mSurface); in TEST_F() local
180 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); in TEST_F()
186 sp<ANativeWindow> anw(mSurface); in TEST_F() local
188 int err = anw->query(anw.get(), NATIVE_WINDOW_LAYER_COUNT, &result); in TEST_F()
203 sp<ANativeWindow> anw(s); in TEST_F() local
206 int err = anw->query(anw.get(), NATIVE_WINDOW_CONSUMER_USAGE_BITS, &flags); in TEST_F()
223 sp<ANativeWindow> anw(s); in TEST_F() local
227 int err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, in TEST_F()
484 sp<ANativeWindow> anw(mSurface); in TEST_F() local
485 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
491 anw->dequeueBuffer(anw.get(), &buffer, &fenceFd); in TEST_F()