Home
last modified time | relevance | path

Searched refs:topNum (Results 1 - 15 of 15) sorted by relevance

/foundation/window/window_manager/test/common/mock/
H A Dmock_window_adapter_lite.h33 MOCK_METHOD2(GetMainWindowInfos, WMError(int32_t topNum,
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_lite_interface.h44 virtual WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) = 0;
/foundation/window/window_manager/wm/include/
H A Dwindow_adapter_lite.h48 virtual WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo);
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager_lite.cpp208 WMError SceneSessionManagerLite::GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) in GetMainWindowInfos() argument
210 return SceneSessionManager::GetInstance().GetMainWindowInfos(topNum, topNInfo); in GetMainWindowInfos()
H A Dscene_session_manager.cpp10525 WMError SceneSessionManager::GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) in GetMainWindowInfos() argument
10532 if (!topNInfo.empty() || (topNum <= 0)) { in GetMainWindowInfos()
10536 TLOGD(WmsLogTag::WMS_MAIN, "topNum: %{public}d", topNum); in GetMainWindowInfos()
10537 auto func = [this, &topNum, &topNInfo](sptr<SceneSession> session) { in GetMainWindowInfos()
10542 if (topNum == 0) { in GetMainWindowInfos()
10555 topNum--; in GetMainWindowInfos()
10557 topNum, info.pid_, info.bundleName_.c_str()); in GetMainWindowInfos()
/foundation/window/window_manager/wm/src/
H A Dwindow_adapter_lite.cpp218 WMError WindowAdapterLite::GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) in GetMainWindowInfos() argument
225 return wmsProxy->GetMainWindowInfos(topNum, topNInfo); in GetMainWindowInfos()
H A Dwindow_manager_lite.cpp633 WMError WindowManagerLite::GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) in GetMainWindowInfos() argument
636 return SingletonContainer::Get<WindowAdapterLite>().GetMainWindowInfos(topNum, topNInfo); in GetMainWindowInfos()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_manager_lite.h143 * @param topNum the num of top window
147 WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo);
/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_manager_lite.h64 WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) override;
H A Dscene_session_manager.h421 WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo);
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_lite_proxy.cpp945 WMError SceneSessionManagerLiteProxy::GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) in GetMainWindowInfos() argument
947 TLOGI(WmsLogTag::WMS_MAIN, "get main info in %{public}d", topNum); in GetMainWindowInfos()
956 if ((topNum <= 0) || (topNum >= MAX_TOPN_INFO_SIZE)) { in GetMainWindowInfos()
960 if (!data.WriteInt32(topNum)) { in GetMainWindowInfos()
961 TLOGE(WmsLogTag::WMS_MAIN, "topNum write fail"); in GetMainWindowInfos()
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_lite_proxy.h74 WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) override;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test7.cpp791 int32_t topNum = 1; in HWTEST_F() local
805 auto ret = ssm_->GetMainWindowInfos(topNum, topNInfo); in HWTEST_F()
808 ret = ssm_->GetMainWindowInfos(topNum, topNInfo); in HWTEST_F()
811 ret = ssm_->GetMainWindowInfos(topNum, topNInfo); in HWTEST_F()
814 ret = ssm_->GetMainWindowInfos(topNum, topNInfo); in HWTEST_F()
H A Dscene_session_manager_test.cpp1375 int32_t topNum = 1024; in HWTEST_F() local
1377 auto result = ssm_->GetMainWindowInfos(topNum, topNInfos); in HWTEST_F()
1380 topNum = 0; in HWTEST_F()
1381 ssm_->GetMainWindowInfos(topNum, topNInfos); in HWTEST_F()
1383 topNum = 1000; in HWTEST_F()
1386 ssm_->GetMainWindowInfos(topNum, topNInfos); in HWTEST_F()
H A Dscene_session_manager_lite_stub_test.cpp137 WMError GetMainWindowInfos(int32_t topNum, std::vector<MainWindowInfo>& topNInfo) override

Completed in 57 milliseconds