Home
last modified time | relevance | path

Searched refs:persistentIds (Results 1 - 25 of 26) sorted by relevance

12

/foundation/window/window_manager/test/common/mock/
H A Dmock_window_adapter_lite.h36 MOCK_METHOD1(ClearMainSessions, WMError(const std::vector<int32_t>& persistentIds));
37 MOCK_METHOD2(ClearMainSessions, WMError(const std::vector<int32_t>& persistentIds,
/foundation/window/window_manager/wm/include/
H A Dwindow_adapter_lite.h50 virtual WMError ClearMainSessions(const std::vector<int32_t>& persistentIds);
51 virtual WMError ClearMainSessions(const std::vector<int32_t>& persistentIds, std::vector<int32_t>& clearFailedIds);
/foundation/window/window_manager/wm/src/
H A Dwindow_adapter_lite.cpp238 WMError WindowAdapterLite::ClearMainSessions(const std::vector<int32_t>& persistentIds) in ClearMainSessions() argument
246 return wmsProxy->ClearMainSessions(persistentIds, clearFailedIds); in ClearMainSessions()
249 WMError WindowAdapterLite::ClearMainSessions(const std::vector<int32_t>& persistentIds, in ClearMainSessions() argument
257 return wmsProxy->ClearMainSessions(persistentIds, clearFailedIds); in ClearMainSessions()
H A Dwindow_manager_lite.cpp648 WMError WindowManagerLite::ClearMainSessions(const std::vector<int32_t>& persistentIds) in ClearMainSessions() argument
650 if (persistentIds.empty()) { in ClearMainSessions()
651 TLOGW(WmsLogTag::WMS_MAIN, "Clear main Session failed, persistentIds is empty."); in ClearMainSessions()
654 return SingletonContainer::Get<WindowAdapterLite>().ClearMainSessions(persistentIds); in ClearMainSessions()
657 WMError WindowManagerLite::ClearMainSessions(const std::vector<int32_t>& persistentIds, in ClearMainSessions() argument
660 if (persistentIds.empty()) { in ClearMainSessions()
661 TLOGW(WmsLogTag::WMS_MAIN, "Clear main Session failed, persistentIds is empty."); in ClearMainSessions()
664 return SingletonContainer::Get<WindowAdapterLite>().ClearMainSessions(persistentIds, clearFailedIds); in ClearMainSessions()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_manager_lite.h160 * @param persistentIds a vector of session persistentId.
163 WMError ClearMainSessions(const std::vector<int32_t>& persistentIds);
168 * @param persistentIds a vector of session persistentId.
172 WMError ClearMainSessions(const std::vector<int32_t>& persistentIds, std::vector<int32_t>& clearFailedIds);
/foundation/window/window_manager/wmserver/test/unittest/
H A Dmock_session_manager_service_test.cpp205 std::vector<uint64_t> persistentIds = {1, 2, 3}; in HWTEST_F() local
208 pid, persistentIds, surfaceNodeIds); in HWTEST_F()
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_lite_interface.h46 virtual WMError ClearMainSessions(const std::vector<int32_t>& persistentIds,
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test9.cpp623 std::vector<int32_t> persistentIds; in HWTEST_F() local
629 persistentIds.push_back(session1->GetPersistentId()); in HWTEST_F()
636 persistentIds.push_back(session2->GetPersistentId()); in HWTEST_F()
645 persistentIds.push_back(999); in HWTEST_F()
647 std::vector<int32_t> newPersistentIds = persistentIds; in HWTEST_F()
648 ssm_->RefreshPcZOrderList(startZOrder, std::move(persistentIds)); in HWTEST_F()
H A Dscene_session_manager_lite_stub_test.cpp149 WMError ClearMainSessions(const std::vector<int32_t>& persistentIds,
666 std::vector<int32_t> persistentIds = {1, 2, 3}; in HWTEST_F() local
667 data.WriteInt32Vector(persistentIds); in HWTEST_F()
H A Dscene_session_manager_test6.cpp1940 std::vector<int32_t> persistentIds; in HWTEST_F() local
1942 persistentIds.push_back(sceneSession1->GetPersistentId()); in HWTEST_F()
1943 persistentIds.push_back(sceneSession2->GetPersistentId()); in HWTEST_F()
1944 persistentIds.push_back(sceneSession3->GetPersistentId()); in HWTEST_F()
1949 ASSERT_EQ(WMError::WM_OK, ssm_->GetProcessSurfaceNodeIdByPersistentId(pid, persistentIds, surfaceNodeIds)); in HWTEST_F()
H A Dscene_session_manager_proxy_test.cpp1049 std::vector<int32_t> persistentIds = {1, 2, 3}; in HWTEST_F() local
1052 pid, persistentIds, surfaceNodeIds)); in HWTEST_F()
H A Dscene_session_manager_stub_test.cpp2074 std::vector<int32_t> persistentIds = {1, 2, 3}; in HWTEST_F() local
2078 data.WriteInt32Vector(persistentIds); in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager_lite.cpp218 WMError SceneSessionManagerLite::ClearMainSessions(const std::vector<int32_t>& persistentIds, in ClearMainSessions() argument
221 return SceneSessionManager::GetInstance().ClearMainSessions(persistentIds, clearFailedIds); in ClearMainSessions()
H A Dscene_session_manager.cpp785 TLOGI(WmsLogTag::WMS_RECOVER, "Number of persistentIds recovered = %{public}zu. CurrentUserId = %{public}d", in UpdateRecoveredSessionInfo()
2602 TLOGI(WmsLogTag::WMS_RECOVER, "Number of persistentIds need to be recovered = %{public}zu. CurrentUserId = " in SetAlivePersistentIds()
10667 WMError SceneSessionManager::ClearMainSessions(const std::vector<int32_t>& persistentIds, in ClearMainSessions() argument
10679 for (const auto persistentId : persistentIds) { in ClearMainSessions()
10917 const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) in GetProcessSurfaceNodeIdByPersistentId()
10926 for (auto persistentId : persistentIds) { in GetProcessSurfaceNodeIdByPersistentId()
10947 void SceneSessionManager::RefreshPcZOrderList(uint32_t startZOrder, std::vector<int32_t>&& persistentIds) in RefreshPcZOrderList() argument
10949 auto task = [this, startZOrder, persistentIds = std::move(persistentIds)] { in RefreshPcZOrderList()
10952 for (size_t i = 0; i < persistentIds in RefreshPcZOrderList()
10916 GetProcessSurfaceNodeIdByPersistentId(const int32_t pid, const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) GetProcessSurfaceNodeIdByPersistentId() argument
[all...]
/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_manager_lite.h66 WMError ClearMainSessions(const std::vector<int32_t>& persistentIds, std::vector<int32_t>& clearFailedIds) override;
H A Dscene_session_manager.h423 WMError ClearMainSessions(const std::vector<int32_t>& persistentIds, std::vector<int32_t>& clearFailedIds);
447 const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) override;
452 void RefreshPcZOrderList(uint32_t startZOrder, std::vector<int32_t>&& persistentIds);
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_manager_lite_test.cpp628 std::vector<int32_t> persistentIds; in HWTEST_F() local
632 auto errorCode = WindowManagerLite::GetInstance().ClearMainSessions(persistentIds); in HWTEST_F()
644 std::vector<int32_t> persistentIds = { 1, 2 }; in HWTEST_F() local
648 auto errorCode = WindowManagerLite::GetInstance().ClearMainSessions(persistentIds); in HWTEST_F()
660 std::vector<int32_t> persistentIds; in HWTEST_F() local
664 auto errorCode = WindowManagerLite::GetInstance().ClearMainSessions(persistentIds, clearFailedIds); in HWTEST_F()
676 std::vector<int32_t> persistentIds = { 1, 2 }; in HWTEST_F() local
680 auto errorCode = WindowManagerLite::GetInstance().ClearMainSessions(persistentIds, clearFailedIds); in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_lite_proxy.h76 WMError ClearMainSessions(const std::vector<int32_t>& persistentIds, std::vector<int32_t>& clearFailedIds) override;
H A Dscene_session_manager_proxy.h122 const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) override;
H A Dscene_session_manager_interface.h296 const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) = 0;
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_lite_stub.cpp613 std::vector<int32_t> persistentIds; in HandleClearMainSessions() local
615 if (!data.ReadInt32Vector(&persistentIds)) { in HandleClearMainSessions()
616 TLOGE(WmsLogTag::WMS_MAIN, "failed to read persistentIds."); in HandleClearMainSessions()
619 WMError errCode = ClearMainSessions(persistentIds, clearFailedIds); in HandleClearMainSessions()
H A Dscene_session_manager_lite_proxy.cpp1083 WMError SceneSessionManagerLiteProxy::ClearMainSessions(const std::vector<int32_t>& persistentIds, in ClearMainSessions() argument
1093 if (!data.WriteInt32Vector(persistentIds)) { in ClearMainSessions()
1094 TLOGE(WmsLogTag::WMS_MAIN, "Write persistentIds failed"); in ClearMainSessions()
H A Dscene_session_manager_stub.cpp1142 std::vector<int32_t> persistentIds; in HandleGetProcessSurfaceNodeIdByPersistentId() local
1143 data.ReadInt32Vector(&persistentIds); in HandleGetProcessSurfaceNodeIdByPersistentId()
1145 WMError errCode = GetProcessSurfaceNodeIdByPersistentId(pid, persistentIds, surfaceNodeIds); in HandleGetProcessSurfaceNodeIdByPersistentId()
H A Dscene_session_manager_proxy.cpp2236 const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) in GetProcessSurfaceNodeIdByPersistentId()
2249 if (!data.WriteInt32Vector(persistentIds)) { in GetProcessSurfaceNodeIdByPersistentId()
2250 TLOGE(WmsLogTag::DEFAULT, "Write persistentIds failed"); in GetProcessSurfaceNodeIdByPersistentId()
2235 GetProcessSurfaceNodeIdByPersistentId(const int32_t pid, const std::vector<int32_t>& persistentIds, std::vector<uint64_t>& surfaceNodeIds) GetProcessSurfaceNodeIdByPersistentId() argument
/foundation/window/window_manager/wmserver/src/
H A Dmock_session_manager_service.cpp768 std::vector<int32_t> persistentIds; in GetProcessSurfaceNodeIdByPersistentId() local
770 persistentIds.push_back(static_cast<int32_t>(id)); in GetProcessSurfaceNodeIdByPersistentId()
774 pid, persistentIds, surfaceNodeIds); in GetProcessSurfaceNodeIdByPersistentId()

Completed in 53 milliseconds

12