Lines Matching refs:anw
227 sp<ANativeWindow> anw(mSurface); in TEST_F() local
229 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
240 sp<ANativeWindow> anw(mSurface); in TEST_F() local
242 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
249 sp<ANativeWindow> anw(mSurface); in TEST_F() local
251 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); in TEST_F()
257 sp<ANativeWindow> anw(mSurface); in TEST_F() local
259 int err = anw->query(anw.get(), NATIVE_WINDOW_LAYER_COUNT, &result); in TEST_F()
274 sp<ANativeWindow> anw(s); in TEST_F() local
277 int err = anw->query(anw.get(), NATIVE_WINDOW_CONSUMER_USAGE_BITS, &flags); in TEST_F()
294 sp<ANativeWindow> anw(s); in TEST_F() local
298 int err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, in TEST_F()
572 sp<ANativeWindow> anw(mSurface); in TEST_F() local
573 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
579 anw->dequeueBuffer(anw.get(), &buffer, &fenceFd); in TEST_F()
582 nsecs_t lastDequeueTime = ANativeWindow_getLastDequeueStartTime(anw.get()); in TEST_F()