Lines Matching refs:window
56 explicit CodecDecoderTest(const char* mime, ANativeWindow* window);
66 CodecDecoderTest::CodecDecoderTest(const char* mime, ANativeWindow* window) in CodecDecoderTest() argument
74 mWindow{window} {} in CodecDecoderTest()
643 ANativeWindow* window = surface ? ANativeWindow_fromSurface(env, surface) : nullptr; in nativeTestSimpleDecode() local
644 auto* codecDecoderTest = new CodecDecoderTest(cMime, window); in nativeTestSimpleDecode()
647 if (window) { in nativeTestSimpleDecode()
648 ANativeWindow_release(window); in nativeTestSimpleDecode()
649 window = nullptr; in nativeTestSimpleDecode()
677 ANativeWindow* window = surface ? ANativeWindow_fromSurface(env, surface) : nullptr; in nativeTestFlush() local
678 auto* codecDecoderTest = new CodecDecoderTest(cMime, window); in nativeTestFlush()
681 if (window) { in nativeTestFlush()
682 ANativeWindow_release(window); in nativeTestFlush()
683 window = nullptr; in nativeTestFlush()