/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/ |
H A D | session_manager.cpp | 39 Session SessionManager::GetSession(const SessionPoint &from, const std::string &targetDeviceId) con… in GetSession() 41 ZLOGD("begin. peer device:%{public}s", Anonymous::Change(targetDeviceId).c_str()); in GetSession() 46 session.targetDeviceId = targetDeviceId; in GetSession() 47 auto users = UserDelegate::GetInstance().GetRemoteUserStatus(targetDeviceId); in GetSession() 70 targetDeviceId, authType); in GetSession() 119 ret = SetValue(node[GET_NAME(targetDeviceId)], targetDeviceId) && ret; in Marshal() 130 ret = GetValue(node, GET_NAME(targetDeviceId), targetDeviceId) && ret; in Unmarshal()
|
H A D | route_head_handler_impl.cpp | 70 session_.sourceUserId, Anonymous::Change(session_.targetDeviceId).c_str()); in Init() 81 auto devInfo = DmAdapter::GetInstance().GetDeviceInfo(session_.targetDeviceId); in GetHeadDataSize() 84 Anonymous::Change(session_.targetDeviceId).c_str()); in GetHeadDataSize() 88 auto peerCap = UpgradeManager::GetInstance().GetCapability(session_.targetDeviceId, flag); in GetHeadDataSize() 168 …ret = strcpy_s(devicePair->targetId, SessionDevicePair::MAX_DEVICE_ID, session_.targetDeviceId.c_s… in PackDataBody() 209 SessionPoint local { .deviceId = session_.targetDeviceId, .appId = session_.appId }; in ParseHeadData() 213 session_.sourceUserId, Anonymous::Change(session_.targetDeviceId).c_str()); in ParseHeadData() 276 session_.targetDeviceId = in UnPackDataBody()
|
H A D | session_manager.h | 35 std::string targetDeviceId; variable 50 Session GetSession(const SessionPoint &from, const std::string &targetDeviceId) const;
|
/ohos5.0/foundation/distributedhardware/device_manager/commondependency/include/ |
H A D | deviceprofile_connector.h | 99 std::string localDeviceId, std::string targetDeviceId) = 0; 104 …vector<std::string> GetPkgNameFromAcl(std::string &localDeviceId, std::string &targetDeviceId) = 0; 115 std::string targetDeviceId) = 0; 131 std::string localDeviceId, std::string targetDeviceId); 137 …td::vector<std::string> GetPkgNameFromAcl(std::string &localDeviceId, std::string &targetDeviceId); 147 …kgName, std::vector<int32_t> &sinkBindType, std::string localDeviceId, std::string targetDeviceId);
|
/ohos5.0/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_deviceprofile_connector.cpp | 299 std::string targetDeviceId = "targetDeviceId"; variable 301 targetDeviceId); 315 std::string targetDeviceId = "targetDeviceId"; variable 317 targetDeviceId); 331 std::string targetDeviceId = "targetDeviceId"; variable 333 targetDeviceId); 448 std::string targetDeviceId; variable 450 targetDeviceId); 457 std::string targetDeviceId = "targetDeviceId"; variable 465 std::string targetDeviceId = "deviceId"; variable [all …]
|
/ohos5.0/foundation/distributedhardware/device_manager/test/servicesfuzztest/deviceprofileconnector_fuzzer/ |
H A D | device_profile_connector_fuzzer.cpp | 36 std::string targetDeviceId(reinterpret_cast<const char*>(data), size); in DeviceProfileConnectorFuzzTest() 59 DeviceProfileConnector::GetInstance().GetPkgNameFromAcl(localDeviceId, targetDeviceId); in DeviceProfileConnectorFuzzTest()
|
/ohos5.0/foundation/distributedhardware/device_manager/commondependency/src/ |
H A D | deviceprofile_connector.cpp | 278 …pkgName, std::vector<int32_t> &sinkBindType, std::string localDeviceId, std::string targetDeviceId) in CompareBindType() argument 282 …if (profiles[index].GetTrustDeviceId() != targetDeviceId || profiles[index].GetStatus() != ACTIVE)… in CompareBindType() 340 std::string localDeviceId, std::string targetDeviceId) in SyncAclByBindType() argument 347 CompareBindType(profiles, pkgName, sinkBindType, localDeviceId, targetDeviceId); in SyncAclByBindType() 365 std::string &targetDeviceId) in GetPkgNameFromAcl() argument 372 if (item.GetTrustDeviceId() != targetDeviceId || item.GetStatus() != ACTIVE) { in GetPkgNameFromAcl() 376 item.GetAccessee().GetAccesseeDeviceId() == targetDeviceId) || in GetPkgNameFromAcl() 377 (item.GetAccesser().GetAccesserDeviceId() == targetDeviceId && in GetPkgNameFromAcl()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_manager.cpp | 976 …const std::string &sourceDeviceId, const std::string &targetDeviceId, const std::string ×tamp) in SaveInfo() argument 977 …(bundleName), sessionId(sessionId), sourceDeviceId(sourceDeviceId), targetDeviceId(targetDeviceId), in SaveInfo() 985 SetValue(node[GET_NAME(targetDeviceId)], targetDeviceId); in Marshal() 995 GetValue(node, GET_NAME(targetDeviceId), targetDeviceId); in Unmarshal() 1002 … if (bundleName.empty() || sessionId.empty() || sourceDeviceId.empty() || targetDeviceId.empty() || in ToPropertyPrefix() 1006 …ame + SEPERATOR + sessionId + SEPERATOR + sourceDeviceId + SEPERATOR + targetDeviceId + SEPERATOR + in ToPropertyPrefix()
|
H A D | object_manager.h | 141 std::string targetDeviceId; member 145 const std::string &targetDeviceId, const std::string ×tamp);
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/ |
H A D | softbus_connector.h | 147 bool CheckIsOnline(const std::string &targetDeviceId);
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/ |
H A D | softbus_connector.cpp | 705 bool SoftbusConnector::CheckIsOnline(const std::string &targetDeviceId) in CheckIsOnline() argument 722 if (udid == targetDeviceId) { in CheckIsOnline()
|
/ohos5.0/foundation/distributedhardware/device_manager/test/softbusunittest/ |
H A D | UTTest_softbus_connector.cpp | 941 std::string targetDeviceId = "targetDeviceId"; variable 943 softbusConnector->CheckIsOnline(targetDeviceId);
|