Searched refs:cm (Results 1 – 3 of 3) sorted by relevance
120 auto cm = ComponentManager::GetInstance(); in RunTestCommand() local121 if (cm == nullptr) { in RunTestCommand()125 uint32_t handle = cm->AddRegisterListener(testFlow); in RunTestCommand()136 if (!cm->Connect()) { in RunTestCommand()152 cm->Disconnect(); in RunTestCommand()153 cm->DeleteRegisterListener(handle); in RunTestCommand()
226 auto cm = ComponentManager::GetInstance(); in ReconnectAccessibility() local227 if (cm == nullptr) { in ReconnectAccessibility()231 cm->Disconnect(); in ReconnectAccessibility()232 if (!cm->Connect()) { in ReconnectAccessibility()
441 auto cm = ComponentManager::GetInstance(); in WukongScreenCap() local447 cm->Disconnect(); in WukongScreenCap()448 if (!cm->Connect()) { in WukongScreenCap()