/foundation/distributedhardware/device_manager/commondependency/src/ |
H A D | deviceprofile_connector.cpp | 454 const std::string &remoteUdid) in DeleteAclForAccountLogOut() 456 LOGI("localUdid %{public}s, userId %{public}d, remoteUdid %{public}s.", GetAnonyString(localUdid).c_str(), userId, in DeleteAclForAccountLogOut() 457 GetAnonyString(remoteUdid).c_str()); in DeleteAclForAccountLogOut() 460 if (item.GetTrustDeviceId() == remoteUdid) { in DeleteAclForAccountLogOut() 526 const std::vector<AccessControlProfile> &profiles, const std::string &localUdid, const std::string &remoteUdid) in DeleteAppBindLevel() 531 if (item.GetTrustDeviceId() != remoteUdid || item.GetBindType() == DM_IDENTICAL_ACCOUNT || in DeleteAppBindLevel() 538 item.GetAccessee().GetAccesseeDeviceId() == remoteUdid) { in DeleteAppBindLevel() 542 LOGI("Src delete acl pkgName %{public}s, bindType %{public}d, localUdid %{public}s, remoteUdid %{public}s", in DeleteAppBindLevel() 544 GetAnonyString(remoteUdid).c_str()); in DeleteAppBindLevel() 549 item.GetAccesser().GetAccesserDeviceId() == remoteUdid) { in DeleteAppBindLevel() 453 DeleteAclForAccountLogOut(const std::string &localUdid, int32_t userId, const std::string &remoteUdid) DeleteAclForAccountLogOut() argument 525 DeleteAppBindLevel(DmOfflineParam &offlineParam, const std::string &pkgName, const std::vector<AccessControlProfile> &profiles, const std::string &localUdid, const std::string &remoteUdid) DeleteAppBindLevel() argument 562 DeleteDeviceBindLevel(DmOfflineParam &offlineParam, const std::vector<AccessControlProfile> &profiles, const std::string &localUdid, const std::string &remoteUdid) DeleteDeviceBindLevel() argument 594 DeleteServiceBindLevel(DmOfflineParam &offlineParam, const std::string &pkgName, const std::vector<AccessControlProfile> &profiles, const std::string &localUdid, const std::string &remoteUdid) DeleteServiceBindLevel() argument 897 HandleAccountLogoutEvent(int32_t remoteUserId, const std::string &remoteAccountHash, const std::string &remoteUdid, const std::string &localUdid) HandleAccountLogoutEvent() argument 915 HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, const std::string &localUdid) HandleDevUnBindEvent() argument 948 HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, int32_t tokenId, const std::string &localUdid) HandleAppUnBindEvent() argument [all...] |
/foundation/distributedhardware/device_manager/commondependency/include/ |
H A D | deviceprofile_connector.h | 109 void DeleteAclForAccountLogOut(const std::string &localUdid, int32_t userId, const std::string &remoteUdid); 133 const std::string &remoteUdid, const std::string &localUdid); 134 int32_t HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, const std::string &localUdid); 135 std::string HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, int32_t tokenId, 154 const std::string &remoteUdid); 157 const std::string &remoteUdid); 160 const std::string &remoteUdid);
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_listener/ |
H A D | lnn_lane_listener_deps_mock.cpp | 59 uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) in GenerateLaneId() argument 61 return GetLaneListenerDepsInterface()->GenerateLaneId(localUdid, remoteUdid, linkType); in GenerateLaneId()
|
H A D | lnn_lane_listener_deps_mock.h | 37 virtual uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) = 0; 58 MOCK_METHOD3(GenerateLaneId, uint64_t (const char *localUdid, const char *remoteUdid, LaneLinkType linkType));
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | device_profile_manager.cpp | 675 std::string remoteUdid; in FixDataOnDeviceOnline() 676 if (ProfileCache::GetInstance().GetUdidByNetWorkId(remoteNetworkId, remoteUdid) != DP_SUCCESS || in FixDataOnDeviceOnline() 677 remoteUdid.empty()) { in FixDataOnDeviceOnline() 683 FixRemoteDataWhenPeerIsNonOH(remoteUdid); in FixDataOnDeviceOnline() 686 FixRemoteDataWhenPeerIsOHBase(remoteUdid, localDataByOwner); in FixDataOnDeviceOnline() 774 std::string remoteUdid; in NotifyNotOHBaseOnline() 775 if (ProfileCache::GetInstance().GetUdidByNetWorkId(remoteNetworkId, remoteUdid) != DP_SUCCESS || in NotifyNotOHBaseOnline() 776 remoteUdid.empty()) { in NotifyNotOHBaseOnline() 786 int32_t ret = dpSyncAdapter_->NotOHBaseDeviceOnline(remoteUdid, remoteNetworkId, ProfileUtils::IsP2p(authForm)); in NotifyNotOHBaseOnline() 865 void DeviceProfileManager::FixRemoteDataWhenPeerIsNonOH(const std::string& remoteUdid) in FixRemoteDataWhenPeerIsNonOH() argument 901 FixRemoteDataWhenPeerIsOHBase(const std::string& remoteUdid, const std::map<std::string, std::string>& localDataByOwner) FixRemoteDataWhenPeerIsOHBase() argument [all...] |
/foundation/distributedhardware/device_manager/services/implementation/src/ |
H A D | device_manager_service_impl_lite.cpp | 470 const std::string &remoteUdid) in HandleAccountLogoutEvent() 474 (void)remoteUdid; in HandleAccountLogoutEvent() 478 void DeviceManagerServiceImpl::HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid) in HandleDevUnBindEvent() argument 481 (void)remoteUdid; in HandleDevUnBindEvent() 485 void DeviceManagerServiceImpl::HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, in HandleAppUnBindEvent() argument 489 (void)remoteUdid; in HandleAppUnBindEvent() 469 HandleAccountLogoutEvent(int32_t remoteUserId, const std::string &remoteAccountHash, const std::string &remoteUdid) HandleAccountLogoutEvent() argument
|
H A D | device_manager_service_impl.cpp | 752 const std::string &remoteUdid) in HandleAccountLogoutEvent() 758 remoteUdid, localUdid); in HandleAccountLogoutEvent() 764 authMgr_->DeleteGroup(DM_PKG_NAME, remoteUdid); in HandleAccountLogoutEvent() 767 SoftbusCache::GetInstance().GetUuidByUdid(remoteUdid, uuid); in HandleAccountLogoutEvent() 768 listener_->OnDeviceTrustChange(remoteUdid, uuid, ConvertBindTypeToAuthForm(bindType)); in HandleAccountLogoutEvent() 787 void DeviceManagerServiceImpl::HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid) in HandleDevUnBindEvent() argument 792 int32_t bindType = DeviceProfileConnector::GetInstance().HandleDevUnBindEvent(remoteUserId, remoteUdid, localUdid); in HandleDevUnBindEvent() 798 authMgr_->DeleteGroup(DM_PKG_NAME, remoteUdid); in HandleDevUnBindEvent() 801 void DeviceManagerServiceImpl::HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, in HandleAppUnBindEvent() argument 808 DeviceProfileConnector::GetInstance().HandleAppUnBindEvent(remoteUserId, remoteUdid, tokenI in HandleAppUnBindEvent() 751 HandleAccountLogoutEvent(int32_t remoteUserId, const std::string &remoteAccountHash, const std::string &remoteUdid) HandleAccountLogoutEvent() argument [all...] |
/foundation/distributedhardware/device_manager/services/implementation/include/ |
H A D | device_manager_service_impl_lite.h | 132 const std::string &remoteUdid); 133 void HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid); 134 void HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, int32_t tokenId);
|
H A D | device_manager_service_impl.h | 145 const std::string &remoteUdid); 146 void HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid); 147 void HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, int32_t tokenId);
|
/foundation/distributedhardware/device_manager/services/service/include/ |
H A D | idevice_manager_service_impl.h | 266 const std::string &remoteUdid) = 0; 267 virtual void HandleDevUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid) = 0; 268 virtual void HandleAppUnBindEvent(int32_t remoteUserId, const std::string &remoteUdid, int32_t tokenId) = 0;
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_auth_manager_third.cpp | 226 std::string remoteUdid = "remoteUdid"; in HWTEST_F() local 230 int32_t ret = authManager_->DeleteAcl(pkgName, localUdid, remoteUdid, bindLevel); in HWTEST_F() 237 ret = authManager_->DeleteAcl(pkgName, localUdid, remoteUdid, bindLevel); in HWTEST_F() 241 ret = authManager_->DeleteAcl(pkgName, localUdid, remoteUdid, bindLevel); in HWTEST_F() 245 ret = authManager_->DeleteAcl(pkgName, localUdid, remoteUdid, bindLevel); in HWTEST_F() 251 ret = authManager_->DeleteAcl(pkgName, localUdid, remoteUdid, bindLevel); in HWTEST_F() 257 ret = authManager_->DeleteAcl(pkgName, localUdid, remoteUdid, bindLevel); in HWTEST_F()
|
H A D | UTTest_dm_deviceprofile_connector.cpp | 768 std::string remoteUdid = "1"; in HWTEST_F() local 772 remoteAccountHash, remoteUdid, localUdid); in HWTEST_F() 779 std::string remoteUdid = "remoteDeviceId"; in HWTEST_F() local 783 bindType = DeviceProfileConnector::GetInstance().HandleDevUnBindEvent(remoteUserId, remoteUdid, localUdid); in HWTEST_F() 791 std::string remoteUdid = "remoteDeviceId"; in HWTEST_F() local 796 res = DeviceProfileConnector::GetInstance().HandleAppUnBindEvent(remoteUserId, remoteUdid, tokenId, localUdid); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/trans_lane/ |
H A D | lnn_trans_lane_deps_mock.cpp | 139 uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) in GenerateLaneId() argument 141 return GetTransLaneIf()->GenerateLaneId(localUdid, remoteUdid, linkType); in GenerateLaneId()
|
H A D | lnn_trans_lane_deps_mock.h | 52 virtual uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) = 0; 78 MOCK_METHOD3(GenerateLaneId, uint64_t (const char *localUdid, const char *remoteUdid, LaneLinkType linkType));
|
/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/ |
H A D | device_profile_manager.h | 91 void FixRemoteDataWhenPeerIsNonOH(const std::string& remoteUdid); 93 void FixRemoteDataWhenPeerIsOHBase(const std::string& remoteUdid,
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/ |
H A D | auth_negotiate_channel.cpp | 380 const char *remoteUdid = LnnConvertDLidToUdid(param.remoteUuid.c_str(), CATEGORY_UUID); in OpenConnection() local 381 CONN_CHECK_AND_RETURN_RET_LOGE(remoteUdid != nullptr && strlen(remoteUdid) != 0, in OpenConnection() 383 ret = strcpy_s(authConnInfo.info.ipInfo.udid, UDID_BUF_LEN, remoteUdid); in OpenConnection()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/ |
H A D | lnn_lane_link.h | 142 uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType);
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link.c | 78 uint64_t GenerateLaneId(const char *localUdid, const char *remoteUdid, LaneLinkType linkType) in GenerateLaneId() argument 80 if (localUdid == NULL || remoteUdid == NULL) { in GenerateLaneId() 86 if (strcmp(localUdid, remoteUdid) >= 0) { in GenerateLaneId() 88 smallUdid = remoteUdid; in GenerateLaneId() 90 bigUdid = remoteUdid; in GenerateLaneId() 114 Anonymize(remoteUdid, &anonyRemoteUdid); in GenerateLaneId() 116 "remoteUdid=%{public}s, linkType=%{public}d", in GenerateLaneId()
|
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/ |
H A D | dm_auth_manager.h | 512 int32_t DeleteAcl(const std::string &pkgName, const std::string &localUdid, const std::string &remoteUdid,
|
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | dm_auth_manager.cpp | 340 const std::string &remoteUdid, int32_t bindLevel) in DeleteAcl() 342 LOGI("DeleteAcl pkgName %{public}s, localUdid %{public}s, remoteUdid %{public}s, bindLevel %{public}d.", in DeleteAcl() 343 pkgName.c_str(), GetAnonyString(localUdid).c_str(), GetAnonyString(remoteUdid).c_str(), bindLevel); in DeleteAcl() 345 DeviceProfileConnector::GetInstance().DeleteAccessControlList(pkgName, localUdid, remoteUdid, bindLevel); in DeleteAcl() 353 softbusConnector_->HandleDeviceOffline(remoteUdid); in DeleteAcl() 359 hiChainAuthConnector_->DeleteCredential(remoteUdid, MultipleUserConnector::GetCurrentAccountUserID()); in DeleteAcl() 368 hiChainAuthConnector_->DeleteCredential(remoteUdid, MultipleUserConnector::GetCurrentAccountUserID()); in DeleteAcl() 339 DeleteAcl(const std::string &pkgName, const std::string &localUdid, const std::string &remoteUdid, int32_t bindLevel) DeleteAcl() argument
|
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_service_impl.cpp | 286 std::string remoteUdid = "ajdakndkwj98877"; in HWTEST_F() local 287 deviceManagerServiceImpl_->HandleAccountLogoutEvent(remoteUserId, remoteAccountHash, remoteUdid); in HWTEST_F()
|