Home
last modified time | relevance | path

Searched refs:IsSystemCalling (Results 1 - 25 of 36) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/
H A Drs_irender_service_connection_ipc_interface_code_access_verifier.cpp33 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::CREATE_VIRTUAL_SCREEN"); in IsExclusiveVerificationPassed()
37 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::DISABLE_RENDER_CONTROL_SCREEN"); in IsExclusiveVerificationPassed()
41 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_ACTIVE_SCREEN_ID"); in IsExclusiveVerificationPassed()
45 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_ALL_SCREEN_IDS"); in IsExclusiveVerificationPassed()
49 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_DEFAULT_SCREEN_ID"); in IsExclusiveVerificationPassed()
53 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_SCREEN_ACTIVE_MODE"); in IsExclusiveVerificationPassed()
57 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_SCREEN_BACK_LIGHT"); in IsExclusiveVerificationPassed()
61 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_SCREEN_CAPABILITY"); in IsExclusiveVerificationPassed()
65 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::GET_SCREEN_DATA"); in IsExclusiveVerificationPassed()
69 hasPermission = IsSystemCalling(codeEnumTypeName in IsExclusiveVerificationPassed()
[all...]
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_service.cpp156 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in HasPrivateWindow()
243 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in DestroyVirtualScreen()
273 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetOrientation()
300 if ((Permission::IsSystemCalling() && Permission::CheckCallingPermission(SCREEN_CAPTURE_PERMISSION)) || in GetDisplaySnapshot()
365 if (type == DisplayManagerAgentType::SCREEN_EVENT_LISTENER && !Permission::IsSystemCalling() in RegisterDisplayManagerAgent()
380 if (type == DisplayManagerAgentType::SCREEN_EVENT_LISTENER && !Permission::IsSystemCalling() in UnregisterDisplayManagerAgent()
519 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetFreeze()
530 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in MakeMirror()
562 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in StopMirror()
660 if (!Permission::IsSystemCalling() in GetAllScreenInfos()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/ipc_callbacks/pointer_render/
H A Dpointer_luminance_callback_ipc_interface_code_access_verifier.cpp32 hasPermission = IsSystemCalling(codeEnumTypeName_ + "::ON_POINTER_LUMINANCE_CHANGED"); in IsExclusiveVerificationPassed()
/foundation/window/window_manager/previewer/mock/
H A Dpermission.cpp26 bool Permission::IsSystemCalling(bool isLocalSysCalling) in IsSystemCalling() function in OHOS::Rosen::Permission
H A Dpermission.h26 static bool IsSystemCalling(bool isLocalSysCalling = false);
/foundation/window/window_manager/utils/include/
H A Dpermission.h26 static bool IsSystemCalling(bool isLocalSysCalling = false);
/foundation/window/window_manager/window_scene/common/include/
H A Dsession_permission.h31 static bool IsSystemCalling();
/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_service.cpp837 info->isSystemCalling_ = Permission::IsSystemCalling(); in StartingWindow()
906 if (Permission::IsSystemCalling() || Permission::IsStartByHdcd()) { in CheckAnimationPermission()
907 WLOGFD("check IsSystemCalling permission success, show with animation calling."); in CheckAnimationPermission()
938 if (Permission::IsSystemCalling() || Permission::IsStartByHdcd()) { in CheckSystemWindowPermission()
959 property->isSystemCalling_ = Permission::IsSystemCalling(); in CreateWindow()
1001 if (!isFromInnerkits && !Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in RemoveWindow()
1084 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in RegisterWindowManagerAgent()
1105 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in UnregisterWindowManagerAgent()
1121 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetWindowAnimationController()
1277 if (!Permission::IsSystemCalling() in MinimizeAllAppWindows()
[all...]
H A Dmock_session_manager_service.cpp298 if (!SessionPermission::IsSystemCalling()) { in NotifySceneBoardAvailable()
829 if (!SessionPermission::IsSystemCalling()) { in SetSnapshotSkipByUserIdAndBundleNames()
847 if (!SessionPermission::IsSystemCalling()) { in SetSnapshotSkipByIdNamesMap()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp336 !SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in CheckDisplayMangerAgentTypeAndPermission()
639 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in NotifyCastWhenScreenConnectChange()
1017 if (!SessionPermission::IsSystemCalling()) { in GetScreenInfoById()
1033 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetScreenActiveMode()
1072 if (!SessionPermission::IsSystemCalling()) { in UpdateDisplayHookInfo()
1133 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetVirtualPixelRatio()
1169 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetVirtualPixelRatioSystem()
1186 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetResolution()
1261 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetScreenColorGamut()
1297 if (!SessionPermission::IsSystemCalling() in SetScreenGamutMap()
[all...]
/foundation/window/window_manager/utils/src/
H A Dpermission.cpp54 if (!IsSystemCalling(isLocalSysCalling) && !IsStartByHdcd(isLocalSysCalling)) { in IsSystemCallingOrStartByHdcd()
61 bool Permission::IsSystemCalling(bool isLocalSysCalling) in IsSystemCalling() function in OHOS::Rosen::Permission
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/ipc_security/
H A Drs_ipc_interface_code_access_verifier_base.cpp153 bool RSInterfaceCodeAccessVerifierBase::IsSystemCalling(const std::string& callingCode) in IsSystemCalling() function in OHOS::Rosen::RSInterfaceCodeAccessVerifierBase
237 bool RSInterfaceCodeAccessVerifierBase::IsSystemCalling(const std::string& /* callingCode */) in IsSystemCalling() function in OHOS::Rosen::RSInterfaceCodeAccessVerifierBase
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/ipc_security/
H A Drs_ipc_interface_code_access_verifier_base.h49 static bool IsSystemCalling(const std::string& callingCode);
/foundation/multimodalinput/input/intention/cooperate/server/include/
H A Dcooperate_server.h44 bool IsSystemCalling(CallingContext &context);
/foundation/multimodalinput/input/intention/cooperate/server/src/
H A Dcooperate_server.cpp280 bool CooperateServer::IsSystemCalling(CallingContext &context) in IsSystemCalling() function in OHOS::Msdp::DeviceStatus::CooperateServer
290 if (!IsSystemCalling(context)) { in CheckPermission()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/transaction/
H A Drs_irender_service_connection_ipc_interface_code_access_verifier_test.cpp58 ASSERT_EQ(verifier->IsSystemCalling(callingCode), true); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/transaction/
H A Drs_irender_service_connection_ipc_interface_code_access_verifier_unittest_test.cpp44 ASSERT_EQ(verifier->IsSystemCalling(callingCode), true); in HWTEST_F()
/foundation/window/window_manager/window_scene/session/container/src/
H A Dwindow_event_channel.cpp103 if (!SessionPermission::IsSystemCalling()) { in TransferPointerEvent()
172 if (!SessionPermission::IsSystemCalling()) { in IsUIExtensionKeyEventBlocked()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dsystem_session.cpp83 !SessionPermission::IsSystemCalling()) { in Show()
123 if (!SessionPermission::IsSystemCalling() && type != WindowType::WINDOW_TYPE_INPUT_METHOD_STATUS_BAR) { in Hide()
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_stage_impl.cpp161 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetShowOnLockScreen()
/foundation/window/window_manager/extension/window_extension/src/
H A Djs_window_extension_context.cpp101 if (!Permission::IsSystemCalling()) { in OnStartAbility()
/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp404 if (type != WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW && !Permission::IsSystemCalling() && in SetWindowType()
463 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetAlpha()
517 if (flag == WindowFlag::WINDOW_FLAG_FORBID_SPLIT_MOVE && !Permission::IsSystemCalling()) { in AddWindowFlag()
534 if (flag == WindowFlag::WINDOW_FLAG_FORBID_SPLIT_MOVE && !Permission::IsSystemCalling()) { in RemoveWindowFlag()
2068 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetSnapshotSkip()
2111 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in DisableAppWindowDecor()
2447 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in RegisterAnimationTransitionController()
4155 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetShadowRadius()
4170 if (!Permission::IsSystemCalling() && !Permission::IsStartByHdcd()) { in SetShadowColor()
4186 if (!Permission::IsSystemCalling() in SetShadowOffsetX()
[all...]
H A Dwindow_scene_session_impl.cpp629 !SessionPermission::IsSystemCalling()) { in Create()
2508 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in DisableAppWindowDecor()
2662 !SessionPermission::IsSystemCalling()) { in AddWindowFlag()
2666 if (flag == WindowFlag::WINDOW_FLAG_HANDWRITING && !SessionPermission::IsSystemCalling()) { in AddWindowFlag()
2670 if (flag == WindowFlag::WINDOW_FLAG_FORBID_SPLIT_MOVE && !SessionPermission::IsSystemCalling()) { in AddWindowFlag()
2909 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in CheckParmAndPermission()
3093 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetSnapshotSkip()
3206 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in RegisterAnimationTransitionController()
3311 if (!SessionPermission::IsSystemCalling() && !SessionPermission::IsStartByHdcd()) { in SetAlpha()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_transition_controller.cpp63 if (!Permission::IsSystemCalling()) { in OnCompleteTransition()
/foundation/window/window_manager/window_scene/common/src/
H A Dsession_permission.cpp78 bool SessionPermission::IsSystemCalling() in IsSystemCalling() function in OHOS::Rosen::SessionPermission

Completed in 32 milliseconds

12