/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | rs_vulkan_context.cpp | 44 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 D | rs_vulkan_context.h | 95 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 D | rs_surface_ohos_vulkan.cpp | 76 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 D | native_buffer_utils.cpp | 51 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 D | rs_surface_ohos_vulkan.h | 70 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 D | native_buffer_utils.h | 109 NativeSurfaceInfo& nativeSurface, int width, int height, bool isProtected = false); 112 int width, int height, 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) override;
|
H A D | rs_surface_ohos_raster.h | 37 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
|
H A D | rs_surface_ohos_gl.cpp | 51 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 D | rs_surface_ohos_raster.cpp | 40 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 D | formmgrproxyannex_fuzzer.cpp | 47 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 D | mock_form_mgr_proxy.h | 34 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 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_base_render_engine.h | 51 FrameContextConfig(bool isProtected, bool independentContext) in FrameContextConfig() 53 this->isProtected = isProtected; in FrameContextConfig() 56 bool isProtected = false; member
|
H A D | rs_hardware_thread.cpp | 507 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 D | rs_base_render_util.h | 125 bool isProtected = false,
|
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/ |
H A D | form_mgr_proxy_test.cpp | 195 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 D | rs_surface_darwin.h | 41 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
|
H A D | rs_surface_darwin.cpp | 50 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 D | rs_surface_windows.h | 41 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
|
H A D | rs_surface_windows.cpp | 50 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 D | rs_surface.h | 41 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 D | mock_form_mgr_proxy.h | 34 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 D | form_mgr_test.cpp | 277 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 D | form_mgr.h | 357 * @param isProtected isProtected or not. 361 int NotifyFormsPrivacyProtected(const std::vector<int64_t> &formIds, bool isProtected,
|