/frameworks/native/libs/renderengine/gl/ |
D | GLImage.cpp | 33 static std::vector<EGLint> buildAttributeList(bool isProtected) { in buildAttributeList() argument 40 if (isProtected && GLExtensions::getInstance().hasProtectedContent()) { in buildAttributeList() 56 bool GLImage::setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) { in setNativeWindowBuffer() argument 67 std::vector<EGLint> attrs = buildAttributeList(isProtected); in setNativeWindowBuffer() 75 mProtected = isProtected; in setNativeWindowBuffer()
|
D | GLImage.h | 39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override; 42 bool isProtected() const { return mProtected; } in isProtected() function
|
D | GLFramebuffer.cpp | 46 bool GLFramebuffer::setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected, in setNativeWindowBuffer() argument 60 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
|
D | GLFramebuffer.h | 40 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | GLImage.cpp | 32 static std::vector<EGLint> buildAttributeList(bool isProtected) { in buildAttributeList() argument 39 if (isProtected && GLExtensions::getInstance().hasProtectedContent()) { in buildAttributeList() 55 bool GLImage::setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) { in setNativeWindowBuffer() argument 65 std::vector<EGLint> attrs = buildAttributeList(isProtected); in setNativeWindowBuffer() 72 mProtected = isProtected; in setNativeWindowBuffer()
|
D | GLImage.h | 39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override; 42 bool isProtected() const { return mProtected; } in isProtected() function
|
D | GLFramebuffer.cpp | 44 bool GLFramebuffer::setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected, in setNativeWindowBuffer() argument 57 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
|
D | GLFramebuffer.h | 40 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineThreadedTest.cpp | 99 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(false)); in TEST_F() 100 status_t result = mThreadedRE->isProtected(); in TEST_F() 105 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(true)); in TEST_F() 106 size_t result = mThreadedRE->isProtected(); in TEST_F() 124 auto& ipExpect = EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(false)); in TEST_F() 126 EXPECT_CALL(*mRenderEngine, isProtected()).After(ipExpect).WillOnce(Return(true)); in TEST_F() 129 ASSERT_EQ(true, mThreadedRE->isProtected()); in TEST_F() 133 ASSERT_EQ(true, mThreadedRE->isProtected()); in TEST_F() 138 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(false)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 146 EXPECT_FALSE(mSurface.isProtected()); in TEST_F() 153 EXPECT_TRUE(mSurface.isProtected()); in TEST_F() 157 EXPECT_FALSE(mSurface.isProtected()); in TEST_F() 162 EXPECT_FALSE(mSurface.isProtected()); in TEST_F() 166 EXPECT_FALSE(mSurface.isProtected()); in TEST_F() 175 EXPECT_TRUE(mSurface.isProtected()); in TEST_F() 177 EXPECT_FALSE(mSurface.isProtected()); in TEST_F() 181 EXPECT_FALSE(mSurface.isProtected()); in TEST_F() 187 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 190 final boolean isProtected = hasProtectedContent(hardwareBuffer.getHardwareBuffer()); in prepare() 201 if (!(createEglContext(isProtected) && createEglSurface(isProtected, isWideColor) in prepare() 223 mLastWasProtectedContent = isProtected; in prepare() 616 private boolean createEglContext(boolean isProtected) { 659 if (mEglContext != null && isProtected != mLastWasProtectedContent) { 670 if (isProtected) { 684 private boolean createEglSurface(boolean isProtected, boolean isWideColor) { 688 isProtected != mLastWasProtectedContent || isWideColor != mLastWasWideColor; 709 if (isProtected) {
|
/frameworks/av/media/libstagefright/renderfright/tests/ |
D | RenderEngineThreadedTest.cpp | 145 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(false)); in TEST_F() 146 status_t result = mThreadedRE->isProtected(); in TEST_F() 151 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(true)); in TEST_F() 152 size_t result = mThreadedRE->isProtected(); in TEST_F()
|
/frameworks/native/libs/renderengine/threaded/ |
D | RenderEngineThreaded.cpp | 93 mIsProtected = mRenderEngine->isProtected(); in threadMain() 258 bool RenderEngineThreaded::isProtected() const { in isProtected() function in android::renderengine::threaded::RenderEngineThreaded 270 if (isProtected() == useProtectedContext || in useProtectedContext() 280 if (instance.isProtected() != useProtectedContext) { in useProtectedContext() 285 mIsProtected = instance.isProtected(); in useProtectedContext()
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | Image.h | 27 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) = 0;
|
D | Framebuffer.h | 30 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | Image.h | 27 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) = 0;
|
D | Framebuffer.h | 30 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
|
/frameworks/native/libs/renderengine/include/renderengine/mock/ |
D | Image.h | 31 MOCK_METHOD2(setNativeWindowBuffer, bool(ANativeWindowBuffer* buffer, bool isProtected));
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/mock/ |
D | Image.h | 31 MOCK_METHOD2(setNativeWindowBuffer, bool(ANativeWindowBuffer* buffer, bool isProtected));
|
/frameworks/base/libs/hostgraphics/gui/ |
D | IGraphicBufferConsumer.h | 60 virtual status_t setConsumerIsProtected(bool isProtected) = 0;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | RenderSurface.h | 34 MOCK_CONST_METHOD0(isProtected, bool());
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | RenderSurface.h | 55 virtual bool isProtected() const = 0;
|
/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 76 EGLint isProtected = EGL_FALSE; in isProtectedContext() local 77 eglQueryContext(dpy, ctx, EGL_PROTECTED_CONTENT_EXT, &isProtected); in isProtectedContext() 79 return isProtected; in isProtectedContext()
|
/frameworks/base/libs/hostgraphics/ |
D | HostBufferQueue.cpp | 25 virtual status_t setConsumerIsProtected(bool isProtected) { return OK; } in setConsumerIsProtected() argument
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaRenderEngine.h | 45 virtual bool isProtected() const override { return false; } // mInProtectedContext; } in isProtected() function
|