Home
last modified time | relevance | path

Searched refs:remoteDeviceId (Results 1 – 9 of 9) sorted by relevance

/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/
Ddistributed_sched_service.cpp446 …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
[all …]
/foundation/aafwk/standard/frameworks/kits/appkit/test/Mock/include/
Dmock_ipc_object_stub.cpp327 std::string remoteDeviceId = data.ReadString(); in InvokerDataBusThread() local
329 if (IsDeviceIdIllegal(deviceId) || IsDeviceIdIllegal(remoteDeviceId) || sessionName.empty()) { in InvokerDataBusThread()
353 if (!current->AttachAppInfoToStubIndex(remotePid, remoteUid, remoteDeviceId, stubIndex)) { in InvokerDataBusThread()
356 if (!current->AttachCommAuthInfo(this, remotePid, remoteUid, remoteDeviceId)) { in InvokerDataBusThread()
429 std::string remoteDeviceId = data.ReadString(); in AddAuthInfo() local
430 if (IsDeviceIdIllegal(remoteDeviceId)) { in AddAuthInfo()
441 if (!current->AttachCommAuthInfo(this, remotePid, remoteUid, remoteDeviceId)) { in AddAuthInfo()
/foundation/communication/ipc/ipc/native/src/core/source/
Dipc_object_stub.cpp353 std::string remoteDeviceId = data.ReadString(); in InvokerDataBusThread() local
355 if (IsDeviceIdIllegal(deviceId) || IsDeviceIdIllegal(remoteDeviceId) || sessionName.empty()) { in InvokerDataBusThread()
379 if (!current->AttachAppInfoToStubIndex(remotePid, remoteUid, remoteDeviceId, stubIndex)) { in InvokerDataBusThread()
382 … if (!current->AttachCommAuthInfo(this, (int32_t)remotePid, (int32_t)remoteUid, remoteDeviceId)) { in InvokerDataBusThread()
455 std::string remoteDeviceId = data.ReadString(); in AddAuthInfo() local
456 if (IsDeviceIdIllegal(remoteDeviceId)) { in AddAuthInfo()
467 … if (!current->AttachCommAuthInfo(this, (int32_t)remotePid, (int32_t)remoteUid, remoteDeviceId)) { in AddAuthInfo()
477 if (!current->AttachAppInfoToStubIndex(remotePid, remoteUid, remoteDeviceId, stubIndex)) { in AddAuthInfo()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include/
Ddistributed_sched_service.h53 std::string remoteDeviceId; member
129 …const std::string& remoteDeviceId, const AppExecFwk::ElementName& element, const CallerInfo& calle…
132 const std::string& remoteDeviceId, const sptr<IRemoteObject>& connect);
133 sptr<IDistributedSched> GetRemoteDms(const std::string& remoteDeviceId);
135 bool CheckDeviceId(const std::string& localDeviceId, const std::string& remoteDeviceId);
141 void NotifyProcessDied(const std::string& remoteDeviceId, const CallerInfo& callerInfo,
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/unittest/
Ddistributed_sched_connect_test.cpp71 const std::string& remoteDeviceId, const AAFwk::Want& want) const;
75 const std::string& remoteDeviceId) const;
119 …const std::string& localDeviceId, const std::string& remoteDeviceId, const AAFwk::Want& want) const in AddSession() argument
132 remoteDeviceId, want.GetElement(), callerInfo, TargetComponent::HARMONY_COMPONENT); in AddSession()
146 const std::string& localDeviceId, const std::string& remoteDeviceId) const in AddConnectInfo()
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/syncer/
Ddistributeddb_anti_dos_sync_test.cpp106 const std::string remoteDeviceId = "real_device"; in SetUp() local
120 …or = static_cast<VirtualCommunicator *>(g_communicatorAggregator->GetCommunicator(remoteDeviceId)); in SetUp()
/foundation/communication/ipc/services/dbinder/dbinder_service/src/
Ddbinder_service.cpp485 std::string &remoteDeviceId, int pid, int uid) in OnRemoteInvokerDataBusMessage() argument
487 if (IsDeviceIdIllegal(remoteDeviceId)) { in OnRemoteInvokerDataBusMessage()
500 !data.WriteUint32(pid) || !data.WriteUint32(uid) || !data.WriteString(remoteDeviceId) || in OnRemoteInvokerDataBusMessage()
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/
Ddbinder_service.h158 std::string &remoteDeviceId, int pid, int uid);
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Ddistributed_sched_mission_manager.cpp410 std::string remoteDeviceId = Str16ToStr8(devId); in RegisterMissionListener() local
412 || localDeviceId == remoteDeviceId) { in RegisterMissionListener()
433 if (CheckOsdSwitch(remoteDeviceId) != MISSION_OSD_ENABLED) { in RegisterMissionListener()
434 NotifyOsdSwitchChanged(true, remoteDeviceId, MISSION_OSD_NOT_SUPPORTED); in RegisterMissionListener()