Home
last modified time | relevance | path

Searched refs:commonEventType (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_service_two.cpp257 std::string commonEventType = "usual.event.USER_SWITCHED"; variable
258 DeviceManagerService::GetInstance().AccountCommonEventCallback(userId, commonEventType);
259 commonEventType = "common.event.HWID_LOGIN";
260 DeviceManagerService::GetInstance().AccountCommonEventCallback(userId, commonEventType);
283 std::string commonEventType = "usual.event.USER_SWITCHED"; variable
284 DeviceManagerService::GetInstance().ScreenCommonEventCallback(commonEventType);
H A DUTTest_device_manager_service.cpp1429 std::string commonEventType = "helloworld"; variable
1431 DeviceManagerService::GetInstance().ScreenCommonEventCallback(commonEventType);
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/
H A Ddevice_manager_service_impl_lite.cpp453 …d DeviceManagerServiceImpl::AccountCommonEventCallback(int32_t userId, std::string commonEventType) in AccountCommonEventCallback() argument
456 (void)commonEventType; in AccountCommonEventCallback()
459 void DeviceManagerServiceImpl::ScreenCommonEventCallback(std::string commonEventType) in ScreenCommonEventCallback() argument
461 (void)commonEventType; in ScreenCommonEventCallback()
H A Ddevice_manager_service_impl.cpp713 …d DeviceManagerServiceImpl::AccountCommonEventCallback(int32_t userId, std::string commonEventType) in AccountCommonEventCallback() argument
715 if (commonEventType == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED || in AccountCommonEventCallback()
716 commonEventType == EventFwk::CommonEventSupport::COMMON_EVENT_HWID_LOGOUT) { in AccountCommonEventCallback()
717 authMgr_->CommonEventCallback(userId, commonEventType); in AccountCommonEventCallback()
719 commonEventType.c_str(), GetAnonyInt32(userId).c_str()); in AccountCommonEventCallback()
725 void DeviceManagerServiceImpl::ScreenCommonEventCallback(std::string commonEventType) in ScreenCommonEventCallback() argument
727 if (commonEventType == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED) { in ScreenCommonEventCallback()
/ohos5.0/foundation/distributedhardware/device_manager/services/service/include/
H A Didevice_manager_service_impl.h278 virtual void AccountCommonEventCallback(int32_t userId, std::string commonEventType) = 0;
279 virtual void ScreenCommonEventCallback(std::string commonEventType) = 0;
H A Ddevice_manager_service.h216 void AccountCommonEventCallback(int32_t userId, std::string commonEventType);
218 void ScreenCommonEventCallback(std::string commonEventType);
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/
H A Ddevice_manager_service_impl.h132 void AccountCommonEventCallback(int32_t userId, std::string commonEventType);
133 void ScreenCommonEventCallback(std::string commonEventType);
H A Ddevice_manager_service_impl_lite.h131 void AccountCommonEventCallback(int32_t userId, std::string commonEventType);
132 void ScreenCommonEventCallback(std::string commonEventType);
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp1597 void DeviceManagerService::AccountCommonEventCallback(int32_t userId, std::string commonEventType) in AccountCommonEventCallback() argument
1599 LOGI("CommonEventType: %{public}s", commonEventType.c_str()); in AccountCommonEventCallback()
1600 if (commonEventType == CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in AccountCommonEventCallback()
1607 } else if (commonEventType == CommonEventSupport::COMMON_EVENT_HWID_LOGIN) { in AccountCommonEventCallback()
1610 } else if (commonEventType == CommonEventSupport::COMMON_EVENT_HWID_LOGOUT) { in AccountCommonEventCallback()
1613 } else if (commonEventType == CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in AccountCommonEventCallback()
1648 void DeviceManagerService::ScreenCommonEventCallback(std::string commonEventType) in ScreenCommonEventCallback() argument
1654 dmServiceImpl_->ScreenCommonEventCallback(commonEventType); in ScreenCommonEventCallback()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Ddm_auth_manager.h524 void CommonEventCallback(int32_t userId, std::string commonEventType);
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Ddm_auth_manager.cpp2238 void DmAuthManager::CommonEventCallback(int32_t userId, std::string commonEventType) in CommonEventCallback() argument
2241 if (commonEventType == EventFwk::CommonEventSupport::COMMON_EVENT_HWID_LOGOUT) { in CommonEventCallback()
2243 } else if (commonEventType == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in CommonEventCallback()