Home
last modified time | relevance | path

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

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_vulkan_context.cpp69 void RsVulkanInterface::Init(bool isProtected) in Init() argument
76 SelectPhysicalDevice(isProtected); in Init()
77 CreateDevice(isProtected); in Init()
80 if (!isProtected) { in Init()
203 if (isProtected) { in SelectPhysicalDevice()
247 if (isProtected) { in CreateDevice()
446 return CreateNewDrawingContext(isProtected); in CreateDrawingContext()
585 if (isProtected) { in HookedVkQueueSubmit()
645 if (isProtected_ != isProtected) { in SetIsProtected()
646 ClearGrContext(isProtected); in SetIsProtected()
[all …]
H A Dnative_buffer_utils.cpp52 VkImageUsageFlags usageFlags = 0, bool isProtected = false) in CreateVkImage() argument
71 VkImageCreateFlags flags = isProtected ? VK_IMAGE_CREATE_PROTECTED_BIT : 0; in CreateVkImage()
108 OH_NativeBuffer* nativeBuffer, VkNativeBufferPropertiesOHOS& nbProps, bool isProtected) in AllocateDeviceMemory() argument
183 NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected) in MakeFromNativeWindowBuffer() argument
208 …f (!CreateVkImage(vkContext, &image, nbFormatProps, {width, height, 1}, usageFlags, isProtected)) { in MakeFromNativeWindowBuffer()
213 if (!AllocateDeviceMemory(vkContext, &memory, image, nativeBuffer, nbProps, isProtected)) { in MakeFromNativeWindowBuffer()
233 vkTextureInfo->vkProtected = isProtected; in MakeFromNativeWindowBuffer()
287 int width, int height, bool isProtected) in MakeBackendTextureFromNativeBuffer() argument
310 …f (!CreateVkImage(vkContext, &image, nbFormatProps, {width, height, 1}, usageFlags, isProtected)) { in MakeBackendTextureFromNativeBuffer()
315 if (!AllocateDeviceMemory(vkContext, &memory, image, nativeBuffer, nbProps, isProtected)) { in MakeBackendTextureFromNativeBuffer()
[all …]
H A Drs_vulkan_context.h95 void Init(bool isProtected = false);
97 bool SelectPhysicalDevice(bool isProtected = false);
98 bool CreateDevice(bool isProtected = false);
99 …eSkiaBackendContext(GrVkBackendContext* context, bool createNew = false, bool isProtected = false);
202 bool isProtected = false);
257 std::shared_ptr<Drawing::GPUContext> CreateNewDrawingContext(bool isProtected = false);
280 void SetIsProtected(bool isProtected);
325 std::shared_ptr<Drawing::GPUContext> CreateDrawingContext(bool isProtected = false);
328 void ClearGrContext(bool isProtected = false);
H A Drs_surface_ohos_vulkan.cpp80 …rfaceOhosVulkan::SetNativeWindowInfo(int32_t width, int32_t height, bool useAFBC, bool isProtected) in SetNativeWindowInfo() argument
91 if (RSSystemProperties::GetAFBCEnabled() && !isProtected) { in SetNativeWindowInfo()
101 if (isProtected) { in SetNativeWindowInfo()
148 int32_t width, int32_t height, int& fenceFd, bool useAFBC, bool isProtected) in RequestNativeWindowBuffer() argument
150 SetNativeWindowInfo(width, height, useAFBC, isProtected); in RequestNativeWindowBuffer()
166 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame() argument
181 fenceFd, useAFBC, isProtected) != OHOS::GSERROR_OK) { in RequestFrame()
192 mSkContext, nativeWindowBuffer, nativeSurface, width, height, isProtected) in RequestFrame()
H A Drs_surface_ohos_vulkan.h70 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
96 void SetNativeWindowInfo(int32_t width, int32_t height, bool useAFBC, bool isProtected = false);
104 int32_t width, int32_t height, int& fenceFd, bool useAFBC, bool isProtected = false);
H A Dnative_buffer_utils.h103 NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected = false);
106 int width, int height, bool isProtected = false);
H A Drs_surface_ohos_raster.h37 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
H A Drs_surface_ohos_gl.h40 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
H A Drs_surface_ohos_raster.cpp40 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame() argument
H A Drs_surface_ohos_gl.cpp51 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame() argument
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_form_mgr_proxy.h34 …OCK_METHOD3(NotifyFormsPrivacyProtected, int(const std::vector<int64_t> &formIds, bool isProtected,
40 MOCK_METHOD3(NotifyFormsVisible, int(const std::vector<int64_t> &formIds, bool isProtected,
44 MOCK_METHOD3(NotifyFormsEnableUpdate, int(const std::vector<int64_t> &formIds, bool isProtected,
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgrproxyannex_fuzzer/
H A Dformmgrproxyannex_fuzzer.cpp47 bool isProtected = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
49 formMgrProxy.NotifyFormsPrivacyProtected(formIds, isProtected, callerToken); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_engine.h57 FrameContextConfig(bool isProtected, bool independentContext) in FrameContextConfig()
59 this->isProtected = isProtected; in FrameContextConfig()
62 bool isProtected = false; member
H A Drs_vk_image_manager.cpp57 bool isProtected = (buffer->GetUsage() & BUFFER_USAGE_PROTECTED) != 0; in Create() local
59 width, height, isProtected); in Create()
H A Drs_hardware_thread.cpp533 bool isProtected = false; in Redraw() local
540 isProtected = true; in Redraw()
545 RsVulkanContext::GetSingleton().SetIsProtected(isProtected); in Redraw()
566 true, isProtected, colorGamut, pixelFormat); in Redraw()
577 …o renderFrameConfig = RSBaseRenderUtil::GetFrameBufferRequestConfig(screenInfo, true, isProtected); in Redraw()
585 FrameContextConfig frameContextConfig = {isProtected, false}; in Redraw()
H A Drs_base_render_util.h125 bool isProtected = false,
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/
H A Dform_mgr_proxy_test.cpp195 bool isProtected = false; variable
197 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token);
218 bool isProtected = true; variable
220 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token);
243 bool isProtected = false; variable
245 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token);
268 bool isProtected = true; variable
270 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token);
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp277 bool isProtected = false; variable
300 bool isProtected = true; variable
325 bool isProtected = false; variable
350 bool isProtected = true; variable
515 bool isProtected = true; variable
538 bool isProtected = true; variable
972 bool isProtected = true; variable
1558 bool isProtected = true; variable
1598 bool isProtected = true; variable
3721 bool isProtected = true; variable
[all …]
/ohos5.0/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h34 …OCK_METHOD3(NotifyFormsPrivacyProtected, int(const std::vector<int64_t> &formIds, bool isProtected,
42 MOCK_METHOD3(NotifyFormsVisible, int(const std::vector<int64_t> &formIds, bool isProtected,
46 MOCK_METHOD3(NotifyFormsEnableUpdate, int(const std::vector<int64_t> &formIds, bool isProtected,
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/drawing/
H A Drs_surface.h41 …idth, int32_t height, uint64_t uiTimestamp = 0, bool useAFBC = true, bool isProtected = false) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_surface_darwin.h41 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
H A Drs_surface_darwin.cpp50 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame() argument
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_surface_windows.h41 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
H A Drs_surface_windows.cpp50 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame() argument
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dform_extension_context_mock_test.h153 …const std::vector<int64_t> &formIds, bool isProtected, const sptr<IRemoteObject> &callerToken) ove… in NotifyFormsPrivacyProtected() argument

123