Home
last modified time | relevance | path

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

123

/frameworks/av/media/libstagefright/renderfright/gl/
DGLImage.cpp32 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()
DGLImage.h39 bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) override;
42 bool isProtected() const { return mProtected; } in isProtected() function
DGLFramebuffer.cpp44 bool GLFramebuffer::setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected, in setNativeWindowBuffer() argument
57 mEGLImage = mEngine.createFramebufferImageIfNeeded(nativeBuffer, isProtected, in setNativeWindowBuffer()
DGLFramebuffer.h40 bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayCreationArgs.h47 bool isProtected = false; member
80 DisplayCreationArgsBuilder& setIsProtected(bool isProtected) { in setIsProtected() argument
81 mArgs.isProtected = isProtected; in setIsProtected()
DLayerFE.h99 const bool isProtected; member
191 lhs.isSecure == rhs.isSecure && lhs.isProtected == rhs.isProtected &&
212 *os << "\n .isProtected = " << settings.isProtected; in PrintTo()
DRenderSurface.h55 virtual bool isProtected() const = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp146 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/
DColorFade.java191 final boolean isProtected = hasProtectedContent(hardwareBuffer.getHardwareBuffer()); in prepare()
202 if (!(createEglContext(isProtected) && createEglSurface(isProtected, isWideColor) in prepare()
224 mLastWasProtectedContent = isProtected; in prepare()
653 private boolean createEglContext(boolean isProtected) {
696 if (mEglContext != null && isProtected != mLastWasProtectedContent) {
707 if (isProtected) {
721 private boolean createEglSurface(boolean isProtected, boolean isWideColor) {
725 isProtected != mLastWasProtectedContent || isWideColor != mLastWasWideColor;
746 if (isProtected) {
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineThreadedTest.cpp145 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/skia/
DGaneshVkRenderEngine.cpp71 getVulkanInterface(isProtected()).importSemaphoreFromSyncFd(fenceDup.release()); in waitFence()
87 VulkanInterface& vi = getVulkanInterface(isProtected()); in flushAndSubmit()
DGraphiteVkRenderEngine.cpp79 getVulkanInterface(isProtected()).importSemaphoreFromSyncFd(fenceDup.release()); in waitFence()
91 VulkanInterface& vulkanInterface = getVulkanInterface(isProtected()); in flushAndSubmit()
DSkiaRenderEngine.h90 virtual bool useProtectedContextImpl(GrProtected isProtected) = 0;
101 bool isProtected() const { return mInProtectedContext; } in isProtected() function
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DImage.h27 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected) = 0;
DFramebuffer.h30 virtual bool setNativeWindowBuffer(ANativeWindowBuffer* nativeBuffer, bool isProtected,
/frameworks/av/media/libstagefright/renderfright/include/renderengine/mock/
DImage.h31 MOCK_METHOD2(setNativeWindowBuffer, bool(ANativeWindowBuffer* buffer, bool isProtected));
DRenderEngine.h56 MOCK_CONST_METHOD0(isProtected, bool());
/frameworks/native/libs/renderengine/skia/compat/
DGaneshBackendTexture.cpp133 mBackendTexture.hasMipmaps(), mBackendTexture.isProtected(), in logFatalTexture()
148 mBackendTexture.hasMipmaps(), mBackendTexture.isProtected(), in logFatalTexture()
/frameworks/base/libs/hostgraphics/gui/
DIGraphicBufferConsumer.h60 virtual status_t setConsumerIsProtected(bool isProtected) = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DRenderSurface.h34 MOCK_CONST_METHOD0(isProtected, bool());
/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.cpp35 output->editState().isProtected = args.isProtected; in createScreenCaptureOutput()
DScreenCaptureOutput.h41 bool isProtected = false; member
DScreenCaptureRenderSurface.h54 bool isProtected() const override { return mBuffer->getUsage() & GRALLOC_USAGE_PROTECTED; } in isProtected() function
/frameworks/native/libs/renderengine/include/renderengine/mock/
DRenderEngine.h40 MOCK_CONST_METHOD0(isProtected, bool());
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp186 .isProtected = false, in render()
397 [](const Layer& layer) { return layer.getState()->isProtected(); }); in hasProtectedLayers()
436 mLayers[0].getState()->isProtected() ? "true" : "false"); in dump()
447 layer.getState()->isProtected() ? "true" : "false"); in dump()

123