Home
last modified time | relevance | path

Searched refs:commonEventVec (Results 1 - 3 of 3) sorted by relevance

/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_dm_screen_common_event.cpp49 std::vector<std::string> commonEventVec; in HWTEST_F() local
50 bool ret = screenCommonEventManager->SubscribeScreenCommonEvent(commonEventVec, nullptr); in HWTEST_F()
52 commonEventVec.emplace_back(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON); in HWTEST_F()
53 ret = screenCommonEventManager->SubscribeScreenCommonEvent(commonEventVec, nullptr); in HWTEST_F()
H A DUTTest_dm_account_common_event.cpp47 std::vector<std::string> commonEventVec; in HWTEST_F() local
48 bool ret = accountCommonEventManager->SubscribeAccountCommonEvent(commonEventVec, nullptr); in HWTEST_F()
50 commonEventVec.emplace_back(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in HWTEST_F()
51 ret = accountCommonEventManager->SubscribeAccountCommonEvent(commonEventVec, nullptr); in HWTEST_F()
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp1994 std::vector<std::string> commonEventVec; in SubscribePackageCommonEvent() local
1995 commonEventVec.emplace_back(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in SubscribePackageCommonEvent()
1996 commonEventVec.emplace_back(CommonEventSupport::COMMON_EVENT_PACKAGE_FULLY_REMOVED); in SubscribePackageCommonEvent()
1997 if (packageCommonEventManager_->SubscribePackageCommonEvent(commonEventVec, callback)) { in SubscribePackageCommonEvent()

Completed in 4 milliseconds