Home
last modified time | relevance | path

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

12

/frameworks/native/libs/renderengine/gl/
DGLImage.cpp33 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()
DGLImage.h39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override;
42 bool isProtected() const { return mProtected; } in isProtected() function
DGLFramebuffer.cpp45 bool GLFramebuffer::setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected, in setNativeWindowBuffer() argument
59 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
DGLFramebuffer.h38 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
DGLESRenderEngine.h84 bool isProtected() const override { return mInProtectedContext; } in isProtected() function
95 EGLImageKHR createFramebufferImageIfNeeded(ANativeWindowBuffer* nativeBuffer, bool isProtected,
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp146 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
151 EXPECT_TRUE(mSurface.isProtected()); in TEST_F()
155 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
159 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
163 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
169 EXPECT_TRUE(mSurface.isProtected()); in TEST_F()
171 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
175 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
179 EXPECT_FALSE(mSurface.isProtected()); in TEST_F()
/frameworks/native/libs/renderengine/include/renderengine/
DImage.h27 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) = 0;
DFramebuffer.h30 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
DRenderEngine.h181 virtual bool isProtected() const = 0;
234 mStatus = mFramebuffer->setNativeWindowBuffer(buffer, mEngine.isProtected(), in BindNativeBufferAsFramebuffer()
/frameworks/native/libs/renderengine/include/renderengine/mock/
DImage.h31 MOCK_METHOD2(setNativeWindowBuffer, bool(ANativeWindowBuffer* buffer, bool isProtected));
DRenderEngine.h79 MOCK_CONST_METHOD0(isProtected, bool());
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DRenderSurface.h54 virtual bool isProtected() const = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DRenderSurface.h34 MOCK_CONST_METHOD0(isProtected, bool());
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp75 EGLint isProtected = EGL_FALSE; in isProtectedContext() local
76 eglQueryContext(dpy, ctx, EGL_PROTECTED_CONTENT_EXT, &isProtected); in isProtectedContext()
78 return isProtected; in isProtectedContext()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DRenderSurface.h48 bool isProtected() const override { return mProtected; } in isProtected() function
/frameworks/native/libs/gui/include/gui/
DBufferHubConsumer.h81 status_t setConsumerIsProtected(bool isProtected) override;
DBufferQueueConsumer.h135 virtual status_t setConsumerIsProtected(bool isProtected);
DIGraphicBufferConsumer.h250 virtual status_t setConsumerIsProtected(bool isProtected) = 0;
/frameworks/native/libs/gui/
DIGraphicBufferConsumer.cpp140 status_t setConsumerIsProtected(bool isProtected) override { in setConsumerIsProtected() argument
142 return callRemote<Signature>(Tag::SET_CONSUMER_IS_PROTECTED, isProtected); in setConsumerIsProtected()
DBufferQueueConsumer.cpp721 status_t BufferQueueConsumer::setConsumerIsProtected(bool isProtected) { in setConsumerIsProtected() argument
723 BQ_LOGV("setConsumerIsProtected: %s", isProtected ? "true" : "false"); in setConsumerIsProtected()
725 mCore->mConsumerIsProtected = isProtected; in setConsumerIsProtected()
/frameworks/native/services/surfaceflinger/
DBufferLayer.h76 bool isProtected() const override;
DBufferLayer.cpp168 (isProtected() && !supportProtectedContent) || (isSecure() && !renderArea.isSecure()); in prepareClientLayer()
581 bool BufferLayer::isProtected() const { in isProtected() function in android::BufferLayer
DLayerStats.cpp71 StringAppendF(&key, ",%d", layer->isProtected); in traverseLayerTreeStatsLocked()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h115 bool isProtected; variable
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp121 layer.isProtected = layerProto.is_protected(); in generateLayer()
302 StringAppendF(&result, "isProtected=%1d, ", isProtected); in to_string()

12