Lines Matching defs:wmsProxy
74 auto wmsProxy = GetWindowManagerServiceProxy();
75 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
76 return wmsProxy->CreateWindow(window, windowProperty, surfaceNode, windowId, token);
83 auto wmsProxy = GetWindowManagerServiceProxy();
84 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
85 return wmsProxy->AddWindow(windowProperty);
92 auto wmsProxy = GetWindowManagerServiceProxy();
93 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
94 return wmsProxy->RemoveWindow(windowId, isFromInnerkits);
101 auto wmsProxy = GetWindowManagerServiceProxy();
102 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
103 return wmsProxy->DestroyWindow(windowId);
110 auto wmsProxy = GetWindowManagerServiceProxy();
111 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
112 return wmsProxy->RequestFocus(windowId);
120 auto wmsProxy = GetWindowManagerServiceProxy();
121 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
131 return wmsProxy->RegisterWindowManagerAgent(type, windowManagerAgent);
139 auto wmsProxy = GetWindowManagerServiceProxy();
140 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
141 auto ret = wmsProxy->UnregisterWindowManagerAgent(type, windowManagerAgent);
164 auto wmsProxy = GetWindowManagerServiceProxy();
165 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
166 return wmsProxy->CheckWindowId(windowId, pid);
173 auto wmsProxy = GetWindowManagerServiceProxy();
174 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
175 return wmsProxy->GetAccessibilityWindowInfo(infos);
183 auto wmsProxy = GetWindowManagerServiceProxy();
184 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
185 return wmsProxy->GetUnreliableWindowInfo(windowId, infos);
192 auto wmsProxy = GetWindowManagerServiceProxy();
193 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
194 return wmsProxy->GetVisibilityWindowInfo(infos);
201 auto wmsProxy = GetWindowManagerServiceProxy();
202 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
203 return wmsProxy->SetWindowAnimationController(controller);
210 auto wmsProxy = GetWindowManagerServiceProxy();
211 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
212 avoidArea = wmsProxy->GetAvoidAreaByType(windowId, type);
221 auto wmsProxy = GetWindowManagerServiceProxy();
222 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
223 wmsProxy->NotifyServerReadyToMoveOrDrag(windowId, windowProperty, moveDragProperty);
230 auto wmsProxy = GetWindowManagerServiceProxy();
231 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
232 wmsProxy->ProcessPointDown(windowId, isPointDown);
239 auto wmsProxy = GetWindowManagerServiceProxy();
240 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
241 wmsProxy->ProcessPointUp(windowId);
248 auto wmsProxy = GetWindowManagerServiceProxy();
249 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
250 return wmsProxy->MinimizeAllAppWindows(displayId);
257 auto wmsProxy = GetWindowManagerServiceProxy();
258 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
259 return wmsProxy->ToggleShownStateForAllAppWindows();
266 auto wmsProxy = GetWindowManagerServiceProxy();
267 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
268 return wmsProxy->GetSystemConfig(systemConfig);
275 auto wmsProxy = GetWindowManagerServiceProxy();
276 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
277 return wmsProxy->GetModeChangeHotZones(displayId, hotZones);
329 auto wmsProxy = GetWindowManagerServiceProxy();
330 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_IPC_FAILED);
331 return wmsProxy->GetSnapshotByWindowId(windowId, pixelMap);
466 auto wmsProxy = GetWindowManagerServiceProxy();
467 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
468 return wmsProxy->GetTopWindowId(mainWinId, topWinId);
475 auto wmsProxy = GetWindowManagerServiceProxy();
476 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
477 return wmsProxy->GetParentMainWindowId(windowId, mainWindowId);
484 auto wmsProxy = GetWindowManagerServiceProxy();
485 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
486 return wmsProxy->SetWindowLayoutMode(mode);
493 auto wmsProxy = GetWindowManagerServiceProxy();
494 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
495 return wmsProxy->UpdateProperty(windowProperty, action);
502 auto wmsProxy = GetWindowManagerServiceProxy();
503 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
504 return wmsProxy->SetWindowGravity(windowId, gravity, percent);
511 auto wmsProxy = GetWindowManagerServiceProxy();
512 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
513 return wmsProxy->NotifyWindowTransition(from, to, true);
521 auto wmsProxy = GetWindowManagerServiceProxy();
522 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
523 wmsProxy->MinimizeWindowsByLauncher(windowIds, isAnimated, finishCallback);
530 auto wmsProxy = GetWindowManagerServiceProxy();
531 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
532 return wmsProxy->UpdateAvoidAreaListener(windowId, haveListener);
539 auto wmsProxy = GetWindowManagerServiceProxy();
540 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
541 return wmsProxy->UpdateRsTree(windowId, isAdd);
548 auto wmsProxy = GetWindowManagerServiceProxy();
549 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
550 return wmsProxy->BindDialogTarget(windowId, targetToken);
557 auto wmsProxy = GetWindowManagerServiceProxy();
558 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
559 wmsProxy->SetAnchorAndScale(x, y, scale);
566 auto wmsProxy = GetWindowManagerServiceProxy();
567 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
568 wmsProxy->SetAnchorOffset(deltaX, deltaY);
575 auto wmsProxy = GetWindowManagerServiceProxy();
576 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
577 wmsProxy->OffWindowZoom();
585 auto wmsProxy = GetWindowManagerServiceProxy();
586 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
587 return wmsProxy->RaiseToAppTop(windowId);
594 auto wmsProxy = GetWindowManagerServiceProxy();
595 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, nullptr);
596 return wmsProxy->GetSnapshot(windowId);
603 auto wmsProxy = GetWindowManagerServiceProxy();
604 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
605 return wmsProxy->SetGestureNavigationEnabled(enable);
612 auto wmsProxy = GetWindowManagerServiceProxy();
613 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
614 wmsProxy->DispatchKeyEvent(windowId, event);
621 auto wmsProxy = GetWindowManagerServiceProxy();
622 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
623 wmsProxy->NotifyDumpInfoResult(info);
630 auto wmsProxy = GetWindowManagerServiceProxy();
631 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
632 return static_cast<WMError>(wmsProxy->DumpSessionAll(infos));
639 auto wmsProxy = GetWindowManagerServiceProxy();
640 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
641 return static_cast<WMError>(wmsProxy->DumpSessionWithId(persistentId, infos));
648 auto wmsProxy = GetWindowManagerServiceProxy();
649 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
650 return static_cast<WMError>(wmsProxy->GetUIContentRemoteObj(persistentId, uiContentRemoteObj));
658 auto wmsProxy = GetWindowManagerServiceProxy();
659 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
660 return wmsProxy->GetWindowAnimationTargets(missionIds, targets);
667 auto wmsProxy = GetWindowManagerServiceProxy();
668 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
669 wmsProxy->SetMaximizeMode(maximizeMode);
676 auto wmsProxy = GetWindowManagerServiceProxy();
677 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, MaximizeMode::MODE_FULL_FILL);
678 return wmsProxy->GetMaximizeMode();
685 auto wmsProxy = GetWindowManagerServiceProxy();
686 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
687 wmsProxy->GetFocusWindowInfo(focusInfo);
694 auto wmsProxy = GetWindowManagerServiceProxy();
695 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
696 return static_cast<WMError>(wmsProxy->UpdateSessionAvoidAreaListener(persistentId, haveListener));
703 auto wmsProxy = GetWindowManagerServiceProxy();
704 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
706 wmsProxy->UpdateSessionTouchOutsideListener(persistentId, haveListener));
713 auto wmsProxy = GetWindowManagerServiceProxy();
714 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
715 return static_cast<WMError>(wmsProxy->NotifyWindowExtensionVisibilityChange(pid, uid, visible));
722 auto wmsProxy = GetWindowManagerServiceProxy();
723 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
724 return static_cast<WMError>(wmsProxy->RaiseWindowToTop(persistentId));
731 auto wmsProxy = GetWindowManagerServiceProxy();
732 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
733 WSError ret = wmsProxy->UpdateSessionWindowVisibilityListener(persistentId, haveListener);
741 auto wmsProxy = GetWindowManagerServiceProxy();
742 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
744 wmsProxy->ShiftAppWindowFocus(sourcePersistentId, targetPersistentId));
754 auto wmsProxy = GetWindowManagerServiceProxy();
755 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
756 wmsProxy->CreateAndConnectSpecificSession(sessionStage, eventChannel,
767 auto wmsProxy = GetWindowManagerServiceProxy();
768 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
769 wmsProxy->RecoverAndConnectSpecificSession(
777 auto wmsProxy = GetWindowManagerServiceProxy();
778 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
779 return static_cast<WMError>(wmsProxy->DestroyAndDisconnectSpecificSession(persistentId));
787 auto wmsProxy = GetWindowManagerServiceProxy();
788 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
790 wmsProxy->DestroyAndDisconnectSpecificSessionWithDetachCallback(persistentId, callback));
800 auto wmsProxy = GetWindowManagerServiceProxy();
801 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
802 auto ret = wmsProxy->RecoverAndReconnectSceneSession(
815 auto wmsProxy = GetWindowManagerServiceProxy();
816 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
817 return static_cast<WMError>(wmsProxy->SetSessionGravity(persistentId, gravity, percent));
824 auto wmsProxy = GetWindowManagerServiceProxy();
825 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
826 return static_cast<WMError>(wmsProxy->BindDialogSessionTarget(persistentId, targetToken));
833 auto wmsProxy = GetWindowManagerServiceProxy();
834 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
835 return static_cast<WMError>(wmsProxy->RequestFocusStatus(persistentId, isFocused));
843 auto wmsProxy = GetWindowManagerServiceProxy();
844 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
845 wmsProxy->AddExtensionWindowStageToSCB(sessionStage, token, surfaceNodeId);
853 auto wmsProxy = GetWindowManagerServiceProxy();
854 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
855 wmsProxy->RemoveExtensionWindowStageFromSCB(sessionStage, token);
862 auto wmsProxy = GetWindowManagerServiceProxy();
863 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
864 wmsProxy->ProcessModalExtensionPointDown(token, posX, posY);
871 auto wmsProxy = GetWindowManagerServiceProxy();
872 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
873 wmsProxy->UpdateModalExtensionRect(token, rect);
880 auto wmsProxy = GetWindowManagerServiceProxy();
881 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
882 return static_cast<WMError>(wmsProxy->AddOrRemoveSecureSession(persistentId, shouldHide));
890 auto wmsProxy = GetWindowManagerServiceProxy();
891 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
892 return static_cast<WMError>(wmsProxy->UpdateExtWindowFlags(token, extWindowFlags, extWindowActions));
899 auto wmsProxy = GetWindowManagerServiceProxy();
900 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
901 return static_cast<WMError>(wmsProxy->GetHostWindowRect(hostWindowId, rect));
908 auto wmsProxy = GetWindowManagerServiceProxy();
909 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
910 return static_cast<WMError>(wmsProxy->GetFreeMultiWindowEnableState(enable));
917 auto wmsProxy = GetWindowManagerServiceProxy();
918 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
919 return static_cast<WMError>(wmsProxy->GetCallingWindowWindowStatus(persistentId, windowStatus));
926 auto wmsProxy = GetWindowManagerServiceProxy();
927 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
928 return static_cast<WMError>(wmsProxy->GetCallingWindowRect(persistentId, rect));
936 auto wmsProxy = GetWindowManagerServiceProxy();
937 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
938 return wmsProxy->GetWindowModeType(windowModeType);
944 auto wmsProxy = GetWindowManagerServiceProxy();
945 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
946 return wmsProxy->GetWindowStyleType(windowStyleType);
953 auto wmsProxy = GetWindowManagerServiceProxy();
954 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
955 return wmsProxy->GetWindowIdsByCoordinate(displayId, windowNumber, x, y, windowIds);
967 auto wmsProxy = GetWindowManagerServiceProxy();
968 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
969 return wmsProxy->SkipSnapshotForAppProcess(pid, skip);
975 auto wmsProxy = GetWindowManagerServiceProxy();
976 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
977 return wmsProxy->SetProcessWatermark(pid, watermarkName, isEnabled);
983 auto wmsProxy = GetWindowManagerServiceProxy();
984 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_DO_NOTHING);
985 return wmsProxy->ReleaseForegroundSessionScreenLock();
991 auto wmsProxy = GetWindowManagerServiceProxy();
992 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
993 return wmsProxy->GetDisplayIdByPersistentId(persistentId, displayId);
999 auto wmsProxy = GetWindowManagerServiceProxy();
1000 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
1001 return wmsProxy->IsPcOrPadFreeMultiWindowMode(isPcOrPadFreeMultiWindowMode);