• Home
  • Raw
  • Download

Lines Matching refs:remoteDeviceId

446 …const std::string& localDeviceId, const std::string& remoteDeviceId, const AppExecFwk::ElementName…  in RemoteConnectAbilityMappingLocked()  argument
462 if (remoteDeviceId == session.GetDestinationDeviceId()) { in RemoteConnectAbilityMappingLocked()
469 …auto& session = sessionsList.emplace_back(localDeviceId, remoteDeviceId, callerInfo, targetCompone… in RemoteConnectAbilityMappingLocked()
519 std::string remoteDeviceId = want.GetElement().GetDeviceID(); in ConnectRemoteAbility() local
520 if (!GetLocalDeviceId(localDeviceId) || !CheckDeviceId(localDeviceId, remoteDeviceId)) { in ConnectRemoteAbility()
556 std::string remoteDeviceId = want.GetElement().GetDeviceID(); in TryConnectRemoteAbility() local
557 sptr<IDistributedSched> remoteDms = GetRemoteDms(remoteDeviceId); in TryConnectRemoteAbility()
562 …int32_t ret = DistributedSchedPermission::GetInstance().GetAccountInfo(remoteDeviceId, callerInfo,… in TryConnectRemoteAbility()
576 RemoteConnectAbilityMappingLocked(connect, callerInfo.sourceDeviceId, remoteDeviceId, in TryConnectRemoteAbility()
635 std::string remoteDeviceId = want.GetElement().GetDeviceID(); in TryStartRemoteAbilityByCall() local
637 sptr<IDistributedSched> remoteDms = GetRemoteDms(remoteDeviceId); in TryStartRemoteAbilityByCall()
640 DnetworkAdapter::AnonymizeDeviceId(remoteDeviceId).c_str()); in TryStartRemoteAbilityByCall()
645 …int32_t ret = DistributedSchedPermission::GetInstance().GetAccountInfo(remoteDeviceId, callerInfo,… in TryStartRemoteAbilityByCall()
666 std::string remoteDeviceId = want.GetElement().GetDeviceID(); in StartRemoteAbilityByCall() local
667 if (!GetLocalDeviceId(localDeviceId) || !CheckDeviceId(localDeviceId, remoteDeviceId)) { in StartRemoteAbilityByCall()
800 sptr<IDistributedSched> DistributedSchedService::GetRemoteDms(const std::string& remoteDeviceId) in GetRemoteDms() argument
802 if (remoteDeviceId.empty()) { in GetRemoteDms()
806 HILOGD("GetRemoteDms connect deviceid is %s", remoteDeviceId.c_str()); in GetRemoteDms()
813 auto object = samgr->CheckSystemAbility(DISTRIBUTED_SCHED_SA_ID, remoteDeviceId); in GetRemoteDms()
816 … HILOGE("GetRemoteDms failed to get remote DistributedSched %{private}s", remoteDeviceId.c_str()); in GetRemoteDms()
831 …tedSchedService::CheckDeviceId(const std::string& localDeviceId, const std::string& remoteDeviceId) in CheckDeviceId() argument
834 if (localDeviceId.empty() || remoteDeviceId.empty() || localDeviceId == remoteDeviceId) { in CheckDeviceId()
915 const std::string& remoteDeviceId, const sptr<IRemoteObject>& connect) in DisconnectEachRemoteAbilityLocked() argument
917 sptr<IDistributedSched> remoteDms = GetRemoteDms(remoteDeviceId); in DisconnectEachRemoteAbilityLocked()
1130 std::string remoteDeviceId = session.GetDestinationDeviceId(); in ProcessConnectDied() local
1133 … std::string key = remoteDeviceId + std::to_string(static_cast<int32_t>(targetComponent)); in ProcessConnectDied()
1137 … ProcessDiedNotifyInfo notifyInfo = { remoteDeviceId, callerInfo, targetComponent }; in ProcessConnectDied()
1157 NotifyProcessDied(it->remoteDeviceId, it->callerInfo, it->targetComponent); in NotifyProcessDiedAll()
1161 void DistributedSchedService::NotifyProcessDied(const std::string& remoteDeviceId, in NotifyProcessDied() argument
1169 sptr<IDistributedSched> remoteDms = GetRemoteDms(remoteDeviceId); in NotifyProcessDied()