Home
last modified time | relevance | path

Searched refs:ANativeWindow (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/media/libmediandkjni/
Dnative_media_encoder_jni.cpp53 static std::shared_ptr<ANativeWindow> getPersistentSurface();
54 std::shared_ptr<ANativeWindow> getSurface() const;
56 Status prepare(std::unique_ptr<RunConfig> config, std::shared_ptr<ANativeWindow> anw = nullptr);
68 std::shared_ptr<ANativeWindow> mLocalSurface; // the one created by createInputSurface()
92 std::shared_ptr<ANativeWindow> NativeEncoder::getPersistentSurface() { in getPersistentSurface()
93 ANativeWindow *ps; in getPersistentSurface()
100 return std::shared_ptr<ANativeWindow>(ps, deleter_ANativeWindow); in getPersistentSurface()
103 std::shared_ptr<ANativeWindow> NativeEncoder::getSurface() const { in getSurface()
108 std::unique_ptr<RunConfig> runConfig, std::shared_ptr<ANativeWindow> surface) { in prepare()
132 ANativeWindow *anw; in prepare()
[all …]
Dnative_media_source.h54 virtual Status prepare(std::shared_ptr<Listener> l, std::shared_ptr<ANativeWindow> n) = 0;
65 std::shared_ptr<ANativeWindow> mSurface;
Dnative_media_decoder_source.cpp33 Status prepare(std::shared_ptr<Listener> l, std::shared_ptr<ANativeWindow> n) override;
199 std::shared_ptr<Listener> l, std::shared_ptr<ANativeWindow> n) { in prepare()
Dnative-mediadrm-jni.cpp327 const ANativeWindow* window, AMediaCodec** codec) { in addTrack()
336 const_cast<ANativeWindow*>(window), in addTrack()
341 const AMediaCrypto* crypto, const ANativeWindow* window, in addTracks()
459 ANativeWindow *window = ANativeWindow_fromSurface(env, params.surface); in playContent()
/cts/tests/tests/graphics/jni/
DMediaTestHelpers.h30 ANativeWindow *window);
35 bool createMediaCodec(ANativeWindow *window);
DImageReaderTestHelpers.h38 ANativeWindow *getNativeWindow() { return mImgReaderAnw; } in getNativeWindow()
58 ANativeWindow *mImgReaderAnw{nullptr};
DCameraTestHelpers.h39 int initCamera(ANativeWindow *imgReaderAnw);
63 ANativeWindow *mImgReaderAnw{nullptr}; // not owned by us.
Dandroid_graphics_cts_ANativeWindowTest.cpp38 ANativeWindow* window = nullptr; in setBuffersDataSpace()
54 ANativeWindow* window = nullptr; in getBuffersDataSpace()
DMediaTestHelpers.cpp51 ANativeWindow *window) { in init()
104 bool MediaHelper::createMediaCodec(ANativeWindow *window) { in createMediaCodec()
Dandroid_graphics_cts_ASurfaceTextureTest.cpp53 ANativeWindow* win = ASurfaceTexture_acquireANativeWindow(ast); in basicTests()
DVulkanPreTransformTestHelpers.h48 ANativeWindow* mWindow;
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp72 CameraHelper(ANativeWindow* imgReaderAnw) : mImgReaderAnw(imgReaderAnw) {} in CameraHelper()
245 ANativeWindow* mImgReaderAnw = nullptr; // not owned by us.
323 ANativeWindow* getNativeWindow() { return mImgReaderAnw; } in getNativeWindow()
456 ANativeWindow* mImgReaderAnw = nullptr;
564 ANativeWindow* window = testCase.getNativeWindow(); in Java_android_media_cts_NativeImageReaderTest_testCreateSurfaceNative()
/cts/tests/openglperf2/jni/primitive/pixeloutput/
DPixelOutputRenderer.h21 PixelOutputRenderer(ANativeWindow* window, bool offscreen);
DPixelOutputRenderer.cpp53 PixelOutputRenderer::PixelOutputRenderer(ANativeWindow* window, bool offscreen) : in PixelOutputRenderer()
/cts/tests/openglperf2/jni/primitive/shaderperf/
DShaderPerfRenderer.h21 ShaderPerfRenderer(ANativeWindow* window, bool offscreen);
DShaderPerfRenderer.cpp94 ShaderPerfRenderer::ShaderPerfRenderer(ANativeWindow* window, bool offscreen) : in ShaderPerfRenderer()
/cts/tests/openglperf2/jni/reference/
DReferenceRenderer.h24 explicit ReferenceRenderer(ANativeWindow* window);
DGLReference.cpp35 ANativeWindow* nativeWindow = ANativeWindow_fromSurface(env, surface); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
DReferenceRenderer.cpp25 ReferenceRenderer::ReferenceRenderer(ANativeWindow* window) : in ReferenceRenderer()
/cts/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.h25 FullPipelineRenderer(ANativeWindow* window, bool offscreen);
DFullPipelineRenderer.cpp94 FullPipelineRenderer::FullPipelineRenderer(ANativeWindow* window, bool offscreen) : in FullPipelineRenderer()
/cts/tests/openglperf2/jni/primitive/contextswitch/
DContextSwitchRenderer.h21 ContextSwitchRenderer(ANativeWindow* window, bool offscreen);
/cts/tests/media/jni/
DNativeCodecDecoderTest.cpp40 ANativeWindow* mWindow;
56 explicit CodecDecoderTest(const char* mime, ANativeWindow* window);
66 CodecDecoderTest::CodecDecoderTest(const char* mime, ANativeWindow* window) in CodecDecoderTest()
643 ANativeWindow* window = surface ? ANativeWindow_fromSurface(env, surface) : nullptr; in nativeTestSimpleDecode()
677 ANativeWindow* window = surface ? ANativeWindow_fromSurface(env, surface) : nullptr; in nativeTestFlush()
/cts/tests/openglperf2/jni/primitive/
DGLPrimitive.cpp32 ANativeWindow* gNativeWindow = NULL;
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp449 ACaptureRequest* /*request*/, ANativeWindow* /*window*/, int64_t frameNumber) { in onCaptureBufferLost() argument
1033 ANativeWindow **imgReaderAnw) { in initImageReaderWithErrorLog()
1065 ANativeWindow* initPreviewAnw(JNIEnv* env, jobject jSurface) { in initPreviewAnw()
1566 ANativeWindow* mImgReaderAnw = nullptr;
1567 ANativeWindow* mPreviewAnw = nullptr;
2225 ANativeWindow* previewAnw = testCase.initPreviewAnw(env, jPreviewSurface); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative()
2321 ANativeWindow* previewAnw = nullptr; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2322 ANativeWindow* sharedAnw = ANativeWindow_fromSurface(env, jSharedSurface); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
2632 ANativeWindow* previewAnw = testCase.initPreviewAnw(env, jPreviewSurface); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSimplePreviewNative()
2748 ANativeWindow* previewAnw = testCase.initPreviewAnw(env, jPreviewSurface); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDevicePreviewWithSessionParametersNative()
[all …]

12