Lines Matching refs:persistentId
318 int32_t persistentId, const SessionRecoverCallbackFunc& callbackFunc)
320 TLOGI(WmsLogTag::WMS_RECOVER, "persistentId = %{public}d", persistentId);
322 sessionRecoverCallbackFuncMap_[persistentId] = callbackFunc;
334 void WindowAdapter::UnregisterSessionRecoverCallbackFunc(int32_t persistentId)
337 auto it = sessionRecoverCallbackFuncMap_.find(persistentId);
365 TLOGD(WmsLogTag::WMS_RECOVER, "Session recover callback, persistentId = %{public}" PRId32, it.first);
368 TLOGE(WmsLogTag::WMS_RECOVER, "Session recover callback, persistentId = %{public}" PRId32 " is error",
635 WMError WindowAdapter::DumpSessionWithId(int32_t persistentId, std::vector<std::string>& infos)
641 return static_cast<WMError>(wmsProxy->DumpSessionWithId(persistentId, infos));
644 WMError WindowAdapter::GetUIContentRemoteObj(int32_t persistentId, sptr<IRemoteObject>& uiContentRemoteObj)
650 return static_cast<WMError>(wmsProxy->GetUIContentRemoteObj(persistentId, uiContentRemoteObj));
690 WMError WindowAdapter::UpdateSessionAvoidAreaListener(int32_t& persistentId, bool haveListener)
696 return static_cast<WMError>(wmsProxy->UpdateSessionAvoidAreaListener(persistentId, haveListener));
699 WMError WindowAdapter::UpdateSessionTouchOutsideListener(int32_t& persistentId, bool haveListener)
706 wmsProxy->UpdateSessionTouchOutsideListener(persistentId, haveListener));
718 WMError WindowAdapter::RaiseWindowToTop(int32_t persistentId)
724 return static_cast<WMError>(wmsProxy->RaiseWindowToTop(persistentId));
727 WMError WindowAdapter::UpdateSessionWindowVisibilityListener(int32_t persistentId, bool haveListener)
733 WSError ret = wmsProxy->UpdateSessionWindowVisibilityListener(persistentId, haveListener);
749 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session,
757 surfaceNode, property, persistentId, session, systemConfig, token);
773 WMError WindowAdapter::DestroyAndDisconnectSpecificSession(const int32_t persistentId)
779 return static_cast<WMError>(wmsProxy->DestroyAndDisconnectSpecificSession(persistentId));
782 WMError WindowAdapter::DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId,
790 wmsProxy->DestroyAndDisconnectSpecificSessionWithDetachCallback(persistentId, callback));
811 WMError WindowAdapter::SetSessionGravity(int32_t persistentId, SessionGravity gravity, uint32_t percent)
817 return static_cast<WMError>(wmsProxy->SetSessionGravity(persistentId, gravity, percent));
820 WMError WindowAdapter::BindDialogSessionTarget(uint64_t persistentId, sptr<IRemoteObject> targetToken)
826 return static_cast<WMError>(wmsProxy->BindDialogSessionTarget(persistentId, targetToken));
829 WMError WindowAdapter::RequestFocusStatus(int32_t persistentId, bool isFocused)
835 return static_cast<WMError>(wmsProxy->RequestFocusStatus(persistentId, isFocused));
876 WMError WindowAdapter::AddOrRemoveSecureSession(int32_t persistentId, bool shouldHide)
882 return static_cast<WMError>(wmsProxy->AddOrRemoveSecureSession(persistentId, shouldHide));
913 WMError WindowAdapter::GetCallingWindowWindowStatus(int32_t persistentId, WindowStatus& windowStatus)
919 return static_cast<WMError>(wmsProxy->GetCallingWindowWindowStatus(persistentId, windowStatus));
922 WMError WindowAdapter::GetCallingWindowRect(int32_t persistentId, Rect& rect)
928 return static_cast<WMError>(wmsProxy->GetCallingWindowRect(persistentId, rect));
988 WMError WindowAdapter::GetDisplayIdByPersistentId(int32_t persistentId, int32_t& displayId)
993 return wmsProxy->GetDisplayIdByPersistentId(persistentId, displayId);