Home
last modified time | relevance | path

Searched refs:useProtectedContext (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/renderfright/threaded/
DRenderEngineThreaded.h64 bool useProtectedContext(bool useProtectedContext) override;
DRenderEngineThreaded.cpp332 bool RenderEngineThreaded::useProtectedContext(bool useProtectedContext) { in useProtectedContext() function in android::renderengine::threaded::RenderEngineThreaded
338 [&resultPromise, useProtectedContext](renderengine::RenderEngine& instance) { in useProtectedContext()
340 bool returnValue = instance.useProtectedContext(useProtectedContext); in useProtectedContext()
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineThreadedTest.cpp169 EXPECT_CALL(*mRenderEngine, useProtectedContext(false)).WillOnce(Return(false)); in TEST_F()
170 status_t result = mThreadedRE->useProtectedContext(false); in TEST_F()
175 EXPECT_CALL(*mRenderEngine, useProtectedContext(false)).WillOnce(Return(true)); in TEST_F()
176 status_t result = mThreadedRE->useProtectedContext(false); in TEST_F()
/frameworks/native/libs/renderengine/tests/
DRenderEngineThreadedTest.cpp134 EXPECT_CALL(*mRenderEngine, useProtectedContext(false)); in TEST_F()
173 EXPECT_CALL(*mRenderEngine, useProtectedContext(false)); in TEST_F()
206 EXPECT_CALL(*mRenderEngine, useProtectedContext(true)); in TEST_F()
234 EXPECT_CALL(*mRenderEngine, useProtectedContext(true)); in TEST_F()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.h75 void useProtectedContext(bool useProtectedContext) override;
DSkiaRenderEngine.cpp319 void SkiaRenderEngine::useProtectedContext(bool useProtectedContext) { in useProtectedContext() function in android::renderengine::skia::SkiaRenderEngine
320 if (useProtectedContext == mInProtectedContext || in useProtectedContext()
321 (useProtectedContext && !supportsProtectedContent())) { in useProtectedContext()
332 useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) { in useProtectedContext()
333 mInProtectedContext = useProtectedContext; in useProtectedContext()
466 useProtectedContext(buffer->getUsage() & GRALLOC_USAGE_PROTECTED); in unmapExternalTextureBuffer()
476 useProtectedContext(inProtected); in unmapExternalTextureBuffer()
1212 useProtectedContext(!mInProtectedContext); in onActiveDisplaySizeChanged()
1216 useProtectedContext(originalProtectedState); in onActiveDisplaySizeChanged()
/frameworks/native/libs/renderengine/include/renderengine/mock/
DRenderEngine.h42 MOCK_METHOD1(useProtectedContext, void(bool));
/frameworks/av/media/libstagefright/renderfright/include/renderengine/mock/
DRenderEngine.h58 MOCK_METHOD1(useProtectedContext, bool(bool));
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DRenderEngine.h153 virtual bool useProtectedContext(bool useProtectedContext) = 0;
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h290 virtual void useProtectedContext(bool useProtectedContext) = 0;
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.h81 void useProtectedContext(bool) override {} in useProtectedContext() function
/frameworks/native/libs/renderengine/
DRenderEngine.cpp117 useProtectedContext(needsProtectedContext); in updateProtectedContext()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.h73 bool useProtectedContext(bool useProtectedContext) override;
DGLESRenderEngine.cpp972 bool GLESRenderEngine::useProtectedContext(bool useProtectedContext) { in useProtectedContext() argument
973 if (useProtectedContext == mInProtectedContext) { in useProtectedContext()
976 if (useProtectedContext && mProtectedEGLContext == EGL_NO_CONTEXT) { in useProtectedContext()
979 const EGLSurface surface = useProtectedContext ? mProtectedStubSurface : mStubSurface; in useProtectedContext()
980 const EGLContext context = useProtectedContext ? mProtectedEGLContext : mEGLContext; in useProtectedContext()
983 mInProtectedContext = useProtectedContext; in useProtectedContext()
/frameworks/av/media/libstagefright/
DFrameCaptureProcessor.cpp159 mRE->useProtectedContext(false); in onCapture()
/frameworks/av/media/libstagefright/renderfright/fuzzer/
Dlibstagefright_renderfright_fuzzer.cpp219 renderEngine->useProtectedContext(mFdp.ConsumeBool()); in process()
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp766 renderEngine->useProtectedContext(false); in processLoop()