Lines Matching defs:wmsProxy
59 auto wmsProxy = GetWindowManagerServiceProxy();
60 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
70 return wmsProxy->RegisterWindowManagerAgent(type, windowManagerAgent);
78 auto wmsProxy = GetWindowManagerServiceProxy();
79 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
80 auto ret = wmsProxy->UnregisterWindowManagerAgent(type, windowManagerAgent);
100 auto wmsProxy = GetWindowManagerServiceProxy();
101 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
108 if (wmsProxy->RegisterWindowManagerAgent(it.first, agent) != WMError::WM_OK) {
119 auto wmsProxy = GetWindowManagerServiceProxy();
120 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
121 return wmsProxy->CheckWindowId(windowId, pid);
128 auto wmsProxy = GetWindowManagerServiceProxy();
129 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
130 return wmsProxy->GetVisibilityWindowInfo(infos);
203 auto wmsProxy = GetWindowManagerServiceProxy();
204 CHECK_PROXY_RETURN_IF_NULL(wmsProxy);
205 wmsProxy->GetFocusWindowInfo(focusInfo);
213 auto wmsProxy = GetWindowManagerServiceProxy();
214 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
215 return wmsProxy->GetWindowModeType(windowModeType);
223 auto wmsProxy = GetWindowManagerServiceProxy();
224 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
225 return wmsProxy->GetMainWindowInfos(topNum, topNInfo);
233 auto wmsProxy = GetWindowManagerServiceProxy();
234 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
235 return wmsProxy->GetAllMainWindowInfos(infos);
243 auto wmsProxy = GetWindowManagerServiceProxy();
244 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
246 return wmsProxy->ClearMainSessions(persistentIds, clearFailedIds);
255 auto wmsProxy = GetWindowManagerServiceProxy();
256 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
257 return wmsProxy->ClearMainSessions(persistentIds, clearFailedIds);
264 auto wmsProxy = GetWindowManagerServiceProxy();
265 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
266 return static_cast<WMError>(wmsProxy->RaiseWindowToTop(persistentId));
278 auto wmsProxy = GetWindowManagerServiceProxy();
279 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
280 return wmsProxy->GetWindowStyleType(windowStyleType);
293 auto wmsProxy = GetWindowManagerServiceProxy();
294 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
295 return wmsProxy->TerminateSessionByPersistentId(persistentId);
302 auto wmsProxy = GetWindowManagerServiceProxy();
303 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
304 return wmsProxy->CloseTargetFloatWindow(bundleName);
310 auto wmsProxy = GetWindowManagerServiceProxy();
311 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
312 return wmsProxy->CloseTargetPiPWindow(bundleName);
318 auto wmsProxy = GetWindowManagerServiceProxy();
319 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
320 return wmsProxy->GetCurrentPiPWindowInfo(bundleName);
327 auto wmsProxy = GetWindowManagerServiceProxy();
328 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR);
329 return wmsProxy->GetAccessibilityWindowInfo(infos);