/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | rs_vulkan_context.cpp | 69 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 D | native_buffer_utils.cpp | 52 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 D | rs_vulkan_context.h | 95 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 D | rs_surface_ohos_vulkan.cpp | 80 …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 D | rs_surface_ohos_vulkan.h | 70 …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 D | native_buffer_utils.h | 103 NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected = false); 106 int width, int height, bool isProtected = false);
|
H A D | rs_surface_ohos_raster.h | 37 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
|
H A D | rs_surface_ohos_gl.h | 40 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
|
H A D | rs_surface_ohos_raster.cpp | 40 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame() argument
|
H A D | rs_surface_ohos_gl.cpp | 51 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 D | mock_form_mgr_proxy.h | 34 …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 D | formmgrproxyannex_fuzzer.cpp | 47 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 D | rs_base_render_engine.h | 57 FrameContextConfig(bool isProtected, bool independentContext) in FrameContextConfig() 59 this->isProtected = isProtected; in FrameContextConfig() 62 bool isProtected = false; member
|
H A D | rs_vk_image_manager.cpp | 57 bool isProtected = (buffer->GetUsage() & BUFFER_USAGE_PROTECTED) != 0; in Create() local 59 width, height, isProtected); in Create()
|
H A D | rs_hardware_thread.cpp | 533 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 D | rs_base_render_util.h | 125 bool isProtected = false,
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/ |
H A D | form_mgr_proxy_test.cpp | 195 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 D | form_mgr_test.cpp | 277 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 D | mock_form_mgr_proxy.h | 34 …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 D | rs_surface.h | 41 …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 D | rs_surface_darwin.h | 41 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
|
H A D | rs_surface_darwin.cpp | 50 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 D | rs_surface_windows.h | 41 …int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false…
|
H A D | rs_surface_windows.cpp | 50 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 D | form_extension_context_mock_test.h | 153 …const std::vector<int64_t> &formIds, bool isProtected, const sptr<IRemoteObject> &callerToken) ove… in NotifyFormsPrivacyProtected() argument
|