Home
last modified time | relevance | path

Searched refs:targetDeviceId (Results 1 - 13 of 13) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/
H A Dsession_manager.cpp39 Session SessionManager::GetSession(const SessionPoint &from, const std::string &targetDeviceId) const 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) in Unmarshal()
[all...]
H A Dsession_manager.h35 std::string targetDeviceId; member in OHOS::DistributedData::Session
50 Session GetSession(const SessionPoint &from, const std::string &targetDeviceId) const;
H A Droute_head_handler_impl.cpp70 session_.sourceUserId, Anonymous::Change(session_.targetDeviceId).c_str()); in Init()
82 auto peerCap = UpgradeManager::GetInstance().GetCapability(session_.targetDeviceId, flag); in GetHeadDataSize()
83 auto devInfo = DmAdapter::GetInstance().GetDeviceInfo(session_.targetDeviceId); in GetHeadDataSize()
86 ZLOGI("type car set version. devicdId:%{public}s", Anonymous::Change(session_.targetDeviceId).c_str()); in GetHeadDataSize()
169 ret = strcpy_s(devicePair->targetId, SessionDevicePair::MAX_DEVICE_ID, session_.targetDeviceId.c_str()); in PackDataBody()
210 SessionPoint local { .deviceId = session_.targetDeviceId, .appId = session_.appId }; in ParseHeadData()
214 session_.sourceUserId, Anonymous::Change(session_.targetDeviceId).c_str()); in ParseHeadData()
277 session_.targetDeviceId = in UnPackDataBody()
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_deviceprofile_connector.cpp299 std::string targetDeviceId = "targetDeviceId"; in HWTEST_F() local
301 targetDeviceId); in HWTEST_F()
308 profile.SetTrustDeviceId("targetDeviceId"); in HWTEST_F()
315 std::string targetDeviceId = "targetDeviceId"; in HWTEST_F() local
317 targetDeviceId); in HWTEST_F()
324 profile.SetTrustDeviceId("targetDeviceId"); in HWTEST_F()
331 std::string targetDeviceId = "targetDeviceId"; in HWTEST_F() local
448 std::string targetDeviceId; HWTEST_F() local
457 std::string targetDeviceId = "targetDeviceId"; HWTEST_F() local
465 std::string targetDeviceId = "deviceId"; HWTEST_F() local
473 std::string targetDeviceId = "deviceId"; HWTEST_F() local
[all...]
H A DUTTest_dm_auth_manager_third.cpp66 bool SoftbusConnector::CheckIsOnline(const std::string &targetDeviceId) in CheckIsOnline() argument
/foundation/distributedhardware/device_manager/test/servicesfuzztest/deviceprofileconnector_fuzzer/
H A Ddevice_profile_connector_fuzzer.cpp36 std::string targetDeviceId(reinterpret_cast<const char*>(data), size); in DeviceProfileConnectorFuzzTest()
60 DeviceProfileConnector::GetInstance().GetPkgNameFromAcl(localDeviceId, targetDeviceId); in DeviceProfileConnectorFuzzTest()
/foundation/distributedhardware/device_manager/commondependency/include/
H A Ddeviceprofile_connector.h107 std::string localDeviceId, std::string targetDeviceId);
113 std::vector<std::string> GetPkgNameFromAcl(std::string &localDeviceId, std::string &targetDeviceId);
121 std::string pkgName, std::vector<int32_t> &sinkBindType, std::string localDeviceId, std::string targetDeviceId);
/foundation/distributedhardware/device_manager/commondependency/src/
H A Ddeviceprofile_connector.cpp278 std::string pkgName, std::vector<int32_t> &sinkBindType, std::string localDeviceId, std::string targetDeviceId) in CompareBindType()
282 if (profiles[index].GetTrustDeviceId() != targetDeviceId || profiles[index].GetStatus() != ACTIVE) { in CompareBindType()
340 std::string localDeviceId, std::string targetDeviceId) in SyncAclByBindType()
347 CompareBindType(profiles, pkgName, sinkBindType, localDeviceId, targetDeviceId); in SyncAclByBindType()
365 std::string &targetDeviceId) in GetPkgNameFromAcl()
372 if (item.GetTrustDeviceId() != targetDeviceId || item.GetStatus() != ACTIVE) { in GetPkgNameFromAcl()
376 item.GetAccessee().GetAccesseeDeviceId() == targetDeviceId) || in GetPkgNameFromAcl()
377 (item.GetAccesser().GetAccesserDeviceId() == targetDeviceId && in GetPkgNameFromAcl()
277 CompareBindType(std::vector<AccessControlProfile> profiles, std::string pkgName, std::vector<int32_t> &sinkBindType, std::string localDeviceId, std::string targetDeviceId) CompareBindType() argument
339 SyncAclByBindType(std::string pkgName, std::vector<int32_t> bindTypeVec, std::string localDeviceId, std::string targetDeviceId) SyncAclByBindType() argument
364 GetPkgNameFromAcl(std::string &localDeviceId, std::string &targetDeviceId) GetPkgNameFromAcl() argument
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_manager.cpp976 const std::string &sourceDeviceId, const std::string &targetDeviceId, const std::string &timestamp) in SaveInfo()
977 : bundleName(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 return bundleName + SEPERATOR + sessionId + SEPERATOR + sourceDeviceId + SEPERATOR + targetDeviceId + SEPERATOR + in ToPropertyPrefix()
975 SaveInfo(const std::string &bundleName, const std::string &sessionId, const std::string &sourceDeviceId, const std::string &targetDeviceId, const std::string &timestamp) SaveInfo() argument
H A Dobject_manager.h141 std::string targetDeviceId; member
145 const std::string &targetDeviceId, const std::string &timestamp);
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/
H A Dsoftbus_connector.h147 bool CheckIsOnline(const std::string &targetDeviceId);
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_connector.cpp723 bool SoftbusConnector::CheckIsOnline(const std::string &targetDeviceId) in CheckIsOnline() argument
740 if (udid == targetDeviceId) { in CheckIsOnline()
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_connector.cpp940 std::string targetDeviceId = "targetDeviceId"; in HWTEST_F() local
942 softbusConnector->CheckIsOnline(targetDeviceId); in HWTEST_F()

Completed in 13 milliseconds