Home
last modified time | relevance | path

Searched refs:GetTopWindowWithContext (Results 1 - 17 of 17) sorted by relevance

/foundation/window/window_manager/wm/src/
H A Dwindow.cpp189 sptr<Window> Window::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context) in GetTopWindowWithContext() function in OHOS::Rosen::Window
192 return WindowSceneSessionImpl::GetTopWindowWithContext(context); in GetTopWindowWithContext()
194 return WindowImpl::GetTopWindowWithContext(context); in GetTopWindowWithContext()
H A Dwindow_impl.cpp230 sptr<Window> WindowImpl::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context) in GetTopWindowWithContext() function in OHOS::Rosen::WindowImpl
H A Dwindow_scene_session_impl.cpp2740 sptr<Window> WindowSceneSessionImpl::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context) in GetTopWindowWithContext() function in OHOS::Rosen::WindowSceneSessionImpl
/foundation/window/window_manager/previewer/src/
H A Dwindow.cpp65 sptr<Window> Window::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context) in GetTopWindowWithContext() function in OHOS::Rosen::Window
H A Dwindow_impl.cpp105 sptr<Window> WindowImpl::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context) in GetTopWindowWithContext() function in OHOS::Rosen::WindowImpl
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_manager_impl.cpp160 window = Window::GetTopWindowWithContext(context.lock()); in GetLastWindow()
/foundation/window/window_manager/wm/include/
H A Dwindow_scene_session_impl.h74 static sptr<Window> GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context = nullptr);
H A Dwindow_impl.h116 static sptr<Window> GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context = nullptr);
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_test.cpp2465 * @tc.name: GetTopWindowWithContext
2469 HWTEST_F(WindowTest, GetTopWindowWithContext, Function | SmallTest | Level2) in HWTEST_F()
2472 ASSERT_EQ(nullptr, window->GetTopWindowWithContext(nullptr)); in HWTEST_F()
2487 ASSERT_NE(nullptr, window->GetTopWindowWithContext(nullptr)); in HWTEST_F()
2493 ASSERT_EQ(nullptr, window->GetTopWindowWithContext(nullptr)); in HWTEST_F()
2496 ASSERT_EQ(nullptr, window->GetTopWindowWithContext(nullptr)); in HWTEST_F()
2504 ASSERT_EQ(nullptr, window->GetTopWindowWithContext(nullptr)); in HWTEST_F()
H A Dwindow_impl_test3.cpp1196 * @tc.name: GetTopWindowWithContext
1212 ASSERT_EQ(nullptr, sptr<Window>(window)->GetTopWindowWithContext(context)); in HWTEST_F()
1426 * @tc.desc: GetTopWindowWithContext test
1440 ASSERT_EQ(nullptr, window->GetTopWindowWithContext(context)); in HWTEST_F()
1443 ASSERT_EQ(WindowImpl::FindWindowById(topWinId), window->GetTopWindowWithContext(context)); in HWTEST_F()
H A Dwindow_scene_session_impl_test2.cpp519 * @tc.desc: GetTopWindowWithContext
530 if (windowSceneSession->GetTopWindowWithContext(context) == nullptr) { in HWTEST_F()
531 ASSERT_EQ(nullptr, windowSceneSession->GetTopWindowWithContext(context)); in HWTEST_F()
537 windowSceneSession->GetTopWindowWithContext(context); in HWTEST_F()
H A Dwindow_impl_test2.cpp656 ASSERT_EQ(nullptr, sptr<Window>(window)->GetTopWindowWithContext(context)); in HWTEST_F()
/foundation/window/window_manager/test/fuzztest/wms/window_fuzzer/
H A Dwindow_fuzzer.cpp295 window->GetTopWindowWithContext(context); in DoSomethingInterestingWithMyAPI()
799 window->GetTopWindowWithContext(context); in WindowImplFuzzTest()
/foundation/window/window_manager/previewer/include/
H A Dwindow.h127 static sptr<Window> GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context = nullptr);
H A Dwindow_impl.h58 static sptr<Window> GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context = nullptr);
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow.h572 static sptr<Window> GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context = nullptr);
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/
H A Djs_window_manager.cpp884 lists->window = Window::GetTopWindowWithContext(context->lock()); in GetTopWindowTask()

Completed in 39 milliseconds