Home
last modified time | relevance | path

Searched refs:g_monitorInstance_ (Results 1 – 2 of 2) sorted by relevance

/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp116 static shared_ptr<UiEventMonitor> g_monitorInstance_ = make_shared<UiEventMonitor>(); variable
298 g_monitorInstance_->WaitScrollCompelete(); in GetAamsWindowInfos()
627 if (g_monitorInstance_ == nullptr) { in ConnectToSysAbility()
628 g_monitorInstance_ = make_shared<UiEventMonitor>(); in ConnectToSysAbility()
630 g_monitorInstance_->SetOnAbilityConnectCallback(onConnectCallback); in ConnectToSysAbility()
631 g_monitorInstance_->SetOnAbilityDisConnectCallback(onDisConnectCallback); in ConnectToSysAbility()
633 if (ability->RegisterAbilityListener(g_monitorInstance_) != RET_OK) { in ConnectToSysAbility()
668 g_monitorInstance_->RegisterUiEventListener(listener); in RegisterUiEventListener()
673 return g_monitorInstance_->WaitEventIdle(idleThresholdMs, timeoutMs); in WaitForUiSteady()
678 if (!connected_ || g_monitorInstance_ == nullptr) { in DisConnectFromSysAbility()
[all …]
/test/ostest/wukong/common/src/
Dcomponent_manager.cpp133 …std::shared_ptr<ComponentEventMonitor> g_monitorInstance_ = std::make_shared<ComponentEventMonitor… in Connect() local
140 g_monitorInstance_->SetOnAbilityConnectCallback(onConnectCallback); in Connect()
142 if (ability->RegisterAbilityListener(g_monitorInstance_) != Accessibility::RET_OK) { in Connect()