Home
last modified time | relevance | path

Searched refs:gestureNavigationEnabledAgent_ (Results 1 - 2 of 2) sorted by relevance

/foundation/window/window_manager/wm/src/
H A Dwindow_manager.cpp91 sptr<WindowManagerAgent> gestureNavigationEnabledAgent_; member in OHOS::Rosen::WindowManager::Impl
835 if (pImpl_->gestureNavigationEnabledAgent_ == nullptr) { in RegisterGestureNavigationEnabledChangedListener()
836 pImpl_->gestureNavigationEnabledAgent_ = new (std::nothrow)WindowManagerAgent(); in RegisterGestureNavigationEnabledChangedListener()
838 if (pImpl_->gestureNavigationEnabledAgent_ != nullptr) { in RegisterGestureNavigationEnabledChangedListener()
841 pImpl_->gestureNavigationEnabledAgent_); in RegisterGestureNavigationEnabledChangedListener()
848 pImpl_->gestureNavigationEnabledAgent_ = nullptr; in RegisterGestureNavigationEnabledChangedListener()
881 pImpl_->gestureNavigationEnabledAgent_ != nullptr) { in UnregisterGestureNavigationEnabledChangedListener()
884 pImpl_->gestureNavigationEnabledAgent_); in UnregisterGestureNavigationEnabledChangedListener()
886 pImpl_->gestureNavigationEnabledAgent_ = nullptr; in UnregisterGestureNavigationEnabledChangedListener()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_manager_test.cpp693 windowManager.pImpl_->gestureNavigationEnabledAgent_ = nullptr; in HWTEST_F()
704 ASSERT_EQ(nullptr, windowManager.pImpl_->gestureNavigationEnabledAgent_); in HWTEST_F()
709 ASSERT_NE(nullptr, windowManager.pImpl_->gestureNavigationEnabledAgent_); in HWTEST_F()
725 windowManager.pImpl_->gestureNavigationEnabledAgent_ = nullptr; in HWTEST_F()
747 ASSERT_EQ(nullptr, windowManager.pImpl_->gestureNavigationEnabledAgent_); in HWTEST_F()

Completed in 6 milliseconds