/frameworks/av/media/libstagefright/renderfright/threaded/ |
D | RenderEngineThreaded.h | 64 bool useProtectedContext(bool useProtectedContext) override;
|
D | RenderEngineThreaded.cpp | 332 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/ |
D | RenderEngineThreadedTest.cpp | 169 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/ |
D | RenderEngineThreadedTest.cpp | 134 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/ |
D | SkiaRenderEngine.h | 75 void useProtectedContext(bool useProtectedContext) override;
|
D | SkiaRenderEngine.cpp | 319 void SkiaRenderEngine::useProtectedContext(bool useProtectedContext) { in useProtectedContext() argument 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/ |
D | RenderEngine.h | 42 MOCK_METHOD1(useProtectedContext, void(bool));
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/mock/ |
D | RenderEngine.h | 58 MOCK_METHOD1(useProtectedContext, bool(bool));
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | RenderEngine.h | 153 virtual bool useProtectedContext(bool useProtectedContext) = 0;
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | RenderEngine.h | 290 virtual void useProtectedContext(bool useProtectedContext) = 0;
|
/frameworks/native/libs/renderengine/threaded/ |
D | RenderEngineThreaded.h | 81 void useProtectedContext(bool) override {} in useProtectedContext() function
|
/frameworks/native/libs/renderengine/ |
D | RenderEngine.cpp | 117 useProtectedContext(needsProtectedContext); in updateProtectedContext()
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | GLESRenderEngine.h | 73 bool useProtectedContext(bool useProtectedContext) override;
|
D | GLESRenderEngine.cpp | 972 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/ |
D | FrameCaptureProcessor.cpp | 159 mRE->useProtectedContext(false); in onCapture()
|
/frameworks/av/media/libstagefright/renderfright/fuzzer/ |
D | libstagefright_renderfright_fuzzer.cpp | 219 renderEngine->useProtectedContext(mFdp.ConsumeBool()); in process()
|
/frameworks/av/media/codec2/hal/plugin/samples/ |
D | SampleFilterPlugin.cpp | 766 renderEngine->useProtectedContext(false); in processLoop()
|