Home
last modified time | relevance | path

Searched refs:isProtected (Results 1 - 25 of 44) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_vulkan_context.cpp44 static RsVulkanInterface& GetRsVulkanInterfaceInternal(bool isProtected) in GetRsVulkanInterfaceInternal() argument
46 return isProtected ? rsProtectedVulkanInterface : rsVulkanInterface; in GetRsVulkanInterfaceInternal()
69 void RsVulkanInterface::Init(bool isProtected) in Init() argument
76 SelectPhysicalDevice(isProtected); in Init()
77 CreateDevice(isProtected); in Init()
81 if (!isProtected) { in Init()
82 CreateSkiaBackendContext(&backendContext_, false, isProtected); in Init()
84 CreateSkiaBackendContext(&hbackendContext_, true, isProtected); in Init()
86 CreateSkiaBackendContext(&backendContext_, false, isProtected); in Init()
89 CreateSkiaBackendContext(&backendContext_, false, isProtected); in Init()
179 SelectPhysicalDevice(bool isProtected) SelectPhysicalDevice() argument
214 CreateDevice(bool isProtected) CreateDevice() argument
291 CreateSkiaBackendContext(GrVkBackendContext* context, bool createNew, bool isProtected) CreateSkiaBackendContext() argument
446 CreateDrawingContext(bool independentContext, bool isProtected) CreateDrawingContext() argument
531 CreateNewDrawingContext(bool isProtected) CreateNewDrawingContext() argument
592 bool isProtected = RsVulkanContext::GetSingleton().GetIsProtected(); HookedVkQueueSubmit() local
652 SetIsProtected(bool isProtected) SetIsProtected() argument
659 ClearGrContext(bool isProtected) ClearGrContext() argument
[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 bool CreateSkiaBackendContext(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.cpp76 void RSSurfaceOhosVulkan::SetNativeWindowInfo(int32_t width, int32_t height, bool useAFBC, bool isProtected) in SetNativeWindowInfo() argument
87 if (RSSystemProperties::GetAFBCEnabled() && !isProtected) { in SetNativeWindowInfo()
97 if (isProtected) { in SetNativeWindowInfo()
143 int32_t width, int32_t height, int& fenceFd, bool useAFBC, bool isProtected) in RequestNativeWindowBuffer()
145 SetNativeWindowInfo(width, height, useAFBC, isProtected); in RequestNativeWindowBuffer()
161 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
176 fenceFd, useAFBC, isProtected) != OHOS::GSERROR_OK) { in RequestFrame()
190 mSkContext, nativeWindowBuffer, nativeSurface, width, height, isProtected) in RequestFrame()
142 RequestNativeWindowBuffer(NativeWindowBuffer** nativeWindowBuffer, int32_t width, int32_t height, int& fenceFd, bool useAFBC, bool isProtected) RequestNativeWindowBuffer() argument
160 RequestFrame( int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
H A Dnative_buffer_utils.cpp51 VkImageUsageFlags usageFlags = 0, bool isProtected = false) in CreateVkImage()
70 VkImageCreateFlags flags = isProtected ? VK_IMAGE_CREATE_PROTECTED_BIT : 0; in CreateVkImage()
107 OH_NativeBuffer* nativeBuffer, VkNativeBufferPropertiesOHOS& nbProps, bool isProtected) in AllocateDeviceMemory()
182 NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected) in MakeFromNativeWindowBuffer()
207 if (!CreateVkImage(vkContext, &image, nbFormatProps, {width, height, 1}, usageFlags, isProtected)) { in MakeFromNativeWindowBuffer()
212 if (!AllocateDeviceMemory(vkContext, &memory, image, nativeBuffer, nbProps, isProtected)) { in MakeFromNativeWindowBuffer()
232 vkTextureInfo->vkProtected = isProtected; in MakeFromNativeWindowBuffer()
288 int width, int height, bool isProtected) in MakeBackendTextureFromNativeBuffer()
311 if (!CreateVkImage(vkContext, &image, nbFormatProps, {width, height, 1}, usageFlags, isProtected)) { in MakeBackendTextureFromNativeBuffer()
316 if (!AllocateDeviceMemory(vkContext, &memory, image, nativeBuffer, nbProps, isProtected)) { in MakeBackendTextureFromNativeBuffer()
106 AllocateDeviceMemory(RsVulkanContext& vkContext, VkDeviceMemory* memory, VkImage& image, OH_NativeBuffer* nativeBuffer, VkNativeBufferPropertiesOHOS& nbProps, bool isProtected) AllocateDeviceMemory() argument
181 MakeFromNativeWindowBuffer(std::shared_ptr<Drawing::GPUContext> skContext, NativeWindowBuffer* nativeWindowBuffer, NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected) MakeFromNativeWindowBuffer() argument
287 MakeBackendTextureFromNativeBuffer(NativeWindowBuffer* nativeWindowBuffer, int width, int height, bool isProtected) MakeBackendTextureFromNativeBuffer() argument
[all...]
H A Drs_surface_ohos_vulkan.h70 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
94 void SetNativeWindowInfo(int32_t width, int32_t height, bool useAFBC, bool isProtected = false);
102 int32_t width, int32_t height, int& fenceFd, bool useAFBC, bool isProtected = false);
H A Dnative_buffer_utils.h109 NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected = false);
112 int width, int height, 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) override;
H A Drs_surface_ohos_raster.h37 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
H A Drs_surface_ohos_gl.cpp51 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
50 RequestFrame(int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
H A Drs_surface_ohos_raster.cpp40 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
39 RequestFrame(int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
/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()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_form_mgr_proxy.h34 MOCK_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,
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
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_base_render_engine.h51 FrameContextConfig(bool isProtected, bool independentContext) in FrameContextConfig()
53 this->isProtected = isProtected; in FrameContextConfig()
56 bool isProtected = false; member
H A Drs_hardware_thread.cpp507 bool isProtected = false; in Redraw() local
514 isProtected = true; in Redraw()
519 RsVulkanContext::GetSingleton().SetIsProtected(isProtected); in Redraw()
540 true, isProtected, colorGamut, pixelFormat); in Redraw()
551 auto renderFrameConfig = RSBaseRenderUtil::GetFrameBufferRequestConfig(screenInfo, true, isProtected); in Redraw()
560 FrameContextConfig frameContextConfig = {isProtected, false}; in Redraw()
H A Drs_base_render_util.h125 bool isProtected = false,
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/
H A Dform_mgr_proxy_test.cpp195 bool isProtected = false; in HWTEST_F() local
197 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
218 bool isProtected = true; in HWTEST_F() local
220 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
243 bool isProtected = false; in HWTEST_F() local
245 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
268 bool isProtected = true; in HWTEST_F() local
270 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
/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) override;
H A Drs_surface_darwin.cpp50 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
49 RequestFrame( int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
/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) override;
H A Drs_surface_windows.cpp50 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
49 RequestFrame( int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/drawing/
H A Drs_surface.h41 int32_t width, int32_t height, uint64_t uiTimestamp = 0, bool useAFBC = true, bool isProtected = false) = 0;
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h34 MOCK_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,
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp277 bool isProtected = false; in HWTEST_F() local
279 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
300 bool isProtected = true; in HWTEST_F() local
302 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
325 bool isProtected = false; in HWTEST_F() local
327 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
350 bool isProtected = true; in HWTEST_F() local
352 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F()
515 bool isProtected = true; in HWTEST_F() local
517 int32_t result = FormMgr::GetInstance().NotifyFormsVisible(formIds, isProtected, toke in HWTEST_F()
538 bool isProtected = true; HWTEST_F() local
972 bool isProtected = true; HWTEST_F() local
1558 bool isProtected = true; HWTEST_F() local
1577 bool isProtected = false; HWTEST_F() local
1598 bool isProtected = true; HWTEST_F() local
3656 bool isProtected = false; HWTEST_F() local
3721 bool isProtected = true; HWTEST_F() local
3741 bool isProtected = false; HWTEST_F() local
3761 bool isProtected = true; HWTEST_F() local
3866 bool isProtected = true; HWTEST_F() local
3885 bool isProtected = false; HWTEST_F() local
3905 bool isProtected = true; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h357 * @param isProtected isProtected or not.
361 int NotifyFormsPrivacyProtected(const std::vector<int64_t> &formIds, bool isProtected,

Completed in 17 milliseconds

12