/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/ |
H A D | session_manager.cpp | 45 session.sourceDeviceId = from.deviceId; in GetSession() 118 ret = SetValue(node[GET_NAME(sourceDeviceId)], sourceDeviceId) && ret; in Marshal() 129 ret = GetValue(node, GET_NAME(sourceDeviceId), sourceDeviceId) && ret; in Unmarshal()
|
H A D | route_head_handler_impl.cpp | 69 session_.appId.c_str(), Anonymous::Change(session_.sourceDeviceId).c_str(), in Init() 163 … strcpy_s(devicePair->sourceId, SessionDevicePair::MAX_DEVICE_ID, session_.sourceDeviceId.c_str()); in PackDataBody() 210 …SessionPoint peer { .deviceId = session_.sourceDeviceId, .userId = session_.sourceUserId, .appId =… in ParseHeadData() 212 session_.appId.c_str(), Anonymous::Change(session_.sourceDeviceId).c_str(), in ParseHeadData() 274 session_.sourceDeviceId = in UnPackDataBody()
|
H A D | session_manager.h | 34 std::string sourceDeviceId;
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_call_test.cpp | 171 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 196 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 275 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 306 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 321 mockCallerInfo.sourceDeviceId = ""; 449 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 475 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 489 callerInfo.sourceDeviceId = ""; 494 callerInfo.sourceDeviceId = MOCK_DEVICE_ID; 669 callerInfo.sourceDeviceId = localDeviceId; in AddSession() [all …]
|
H A D | distributed_sched_service_first_test.cpp | 567 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 606 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 703 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 753 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 779 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 805 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 831 callerInfo.sourceDeviceId = localDeviceId; 857 callerInfo.sourceDeviceId = localDeviceId; 1478 callerInfo.sourceDeviceId = localDeviceId; 1512 callerInfo.sourceDeviceId = localDeviceId; [all …]
|
H A D | distributed_sched_stub_test.cpp | 304 callerInfo.sourceDeviceId = ""; 327 callerInfo.sourceDeviceId = ""; 374 callerInfo.sourceDeviceId = ""; 427 callerInfo.sourceDeviceId = ""; 448 callerInfo.sourceDeviceId = ""; 916 callerInfo.sourceDeviceId = ""; 952 callerInfo.sourceDeviceId = ""; 982 std::string sourceDeviceId = ""; variable 1635 callerInfo.sourceDeviceId = ""; 1680 callerInfo.sourceDeviceId = ""; [all …]
|
H A D | distributed_sched_service_second_test.cpp | 316 callerInfo.sourceDeviceId = "255.255.255.255"; 487 callerInfo.sourceDeviceId = "255.255.255.255"; 648 callerInfo.sourceDeviceId = "255.255.255.255"; 678 callerInfo.sourceDeviceId = "255.255.255.255"; 724 callerInfo.sourceDeviceId = "255.255.255.255"; 753 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 863 callerInfo.sourceDeviceId = "255.255.255.255"; 947 callerInfo.sourceDeviceId = "255.255.255.255"; 1096 callerInfo.sourceDeviceId = LOCAL_DEVICEID; 1297 callerInfo.sourceDeviceId = localDeviceId; [all …]
|
H A D | distributed_sched_continuation_test.cpp | 1119 callerInfo.sourceDeviceId = "255.255.255.255"; 1163 callerInfo.sourceDeviceId = "255.255.255.255"; 1203 callerInfo.sourceDeviceId = "255.255.255.255"; 1237 callerInfo.sourceDeviceId = "255.255.255.255"; 1274 callerInfo.sourceDeviceId = "255.255.255.255"; 1314 callerInfo.sourceDeviceId = "255.255.255.255"; 1655 callerInfo.sourceDeviceId = "123456"; 1758 callerInfo.sourceDeviceId = "123456"; 1790 callerInfo.sourceDeviceId = "123456"; 1816 callerInfo.sourceDeviceId = "123456"; [all …]
|
H A D | distributed_sched_permission_test.cpp | 763 callerInfo.sourceDeviceId = ""; 784 callerInfo.sourceDeviceId = deviceId_; 843 callerInfo.sourceDeviceId = deviceId_; 945 callerInfo.sourceDeviceId = ""; 963 callerInfo.sourceDeviceId = "deviceId_"; 1019 callerInfo.sourceDeviceId = deviceId_; 1074 callerInfo.sourceDeviceId = deviceId_;
|
H A D | distributed_sched_connect_test.cpp | 160 callerInfo.sourceDeviceId = localDeviceId; in AddSession() 187 callerInfo.sourceDeviceId = localDeviceId; in AddConnectInfo() 913 callerInfo.sourceDeviceId = localDeviceId; 947 callerInfo.sourceDeviceId = localDeviceId; 1011 callerInfo.sourceDeviceId = localDeviceId; 1195 callerInfo.sourceDeviceId = localDeviceId;
|
H A D | mock_distributed_sched.cpp | 89 int32_t uid, const std::string& sourceDeviceId) in DisconnectAbilityFromRemote() argument
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_permission.cpp | 210 .networkId = callerInfo.sourceDeviceId, in CheckDstSameAccount() 241 .networkId = callerInfo.sourceDeviceId, in CheckAclList() 358 !CheckDeviceSecurityLevel(callerInfo.sourceDeviceId, want.GetElement().GetDeviceID())) { in CheckGetCallerPermission() 490 … std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(callerInfo.sourceDeviceId); in CheckAccountAccessPermission() 499 .networkId = callerInfo.sourceDeviceId, in CheckAccountAccessPermission() 556 !CheckDeviceSecurityLevel(callerInfo.sourceDeviceId, want.GetElement().GetDeviceID())) { in CheckMigrateStartCtrlPer() 582 !CheckDeviceSecurityLevel(callerInfo.sourceDeviceId, want.GetElement().GetDeviceID())) { in CheckCollaborateStartCtrlPer() 637 … uint32_t dAccessToken = AccessToken::AccessTokenKit::AllocLocalTokenID(callerInfo.sourceDeviceId, in CheckBackgroundPermission() 723 … uint32_t dAccessToken = AccessToken::AccessTokenKit::AllocLocalTokenID(callerInfo.sourceDeviceId, in CheckTargetAbilityVisible()
|
H A D | distributed_sched_stub.cpp | 307 PARCEL_READ_HELPER(data, String, callerInfo.sourceDeviceId); in GetStartAbilityFromRemoteExParam() 470 PARCEL_READ_HELPER(data, String, callerInfo.sourceDeviceId); in SendResultFromRemoteInner() 779 PARCEL_READ_HELPER(data, String, callerInfo.sourceDeviceId); in ReadDataForConnect() 836 string sourceDeviceId; in DisconnectAbilityFromRemoteInner() local 837 PARCEL_READ_HELPER(data, String, sourceDeviceId); in DisconnectAbilityFromRemoteInner() 856 string sourceDeviceId; in NotifyProcessDiedFromRemoteInner() local 857 PARCEL_READ_HELPER(data, String, sourceDeviceId); in NotifyProcessDiedFromRemoteInner() 861 callerInfo.sourceDeviceId = sourceDeviceId; in NotifyProcessDiedFromRemoteInner() 1167 callerInfo.sourceDeviceId = data.ReadString(); in NotifyMissionsChangedFromRemoteInner() 1219 std::string sourceDeviceId; in CallerInfoUnmarshalling() local [all …]
|
H A D | distributed_sched_service.cpp | 436 callerInfo.sourceDeviceId = localDeviceId; in GetCallerInfo() 1710 callerInfo.sourceDeviceId = localDeviceId; in StartRemoteAbilityByCall() 1844 callerInfo.sourceDeviceId.empty() || localDeviceId == callerInfo.sourceDeviceId) { in ReleaseAbilityFromRemote() 2124 if (sourceDeviceId == destinationDeviceId || sourceDeviceId == localDeviceId) { in CheckDeviceIdFromRemote() 2241 int32_t uid, const std::string& sourceDeviceId) in DisconnectAbilityFromRemote() argument 2252 sourceDeviceId.empty() || localDeviceId == sourceDeviceId) { in DisconnectAbilityFromRemote() 2286 if (callerInfo.sourceDeviceId == connectInfo.callerInfo.sourceDeviceId in NotifyProcessDiedFromRemote() 2496 : sourceDeviceId_(sourceDeviceId), in ConnectAbilitySession() 2517 callerInfo.sourceDeviceId == callerInfo_.sourceDeviceId && in IsSameCaller() 2843 callerInfo.sourceDeviceId = localDeviceId; in SetCallerInfo() [all …]
|
H A D | distributed_sched_proxy.cpp | 87 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in StartAbilityFromRemote() 122 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in SendResultFromRemote() 346 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in ConnectAbilityFromRemote() 366 int32_t uid, const std::string& sourceDeviceId) in DisconnectAbilityFromRemote() argument 384 PARCEL_WRITE_HELPER(data, String, sourceDeviceId); in DisconnectAbilityFromRemote() 405 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in NotifyProcessDiedFromRemote() 667 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in NotifyMissionsChangedFromRemote() 826 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in StartAbilityByCallFromRemote() 873 PARCEL_WRITE_HELPER(data, String, callerInfo.sourceDeviceId); in ReleaseAbilityFromRemote() 931 PARCEL_WRITE_HELPER(data, String, info.callerInfo.sourceDeviceId); in StartFreeInstallFromRemote() [all …]
|
H A D | dms_token_callback.cpp | 61 …CallerInfo callerInfo = {.uid = callerUid, .sourceDeviceId = localDeviceId, .accessToken = accessT… in SendResult()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/continue/ |
H A D | dsched_continue.h | 44 DSchedContinueInfo(const std::string& sourceDeviceId, const std::string& sourceBundleName, in DSchedContinueInfo() argument 46 …: sourceDeviceId_(sourceDeviceId), sourceBundleName_(sourceBundleName), sinkDeviceId_(sinkDeviceId… in DSchedContinueInfo() 49 …DSchedContinueInfo(const std::string& sourceDeviceId, const std::string& sinkDeviceId, int32_t mis… in DSchedContinueInfo() argument 50 : sourceDeviceId_(sourceDeviceId), sinkDeviceId_(sinkDeviceId), missionId_(missionId) {} in DSchedContinueInfo()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
H A D | caller_info.h | 36 std::string sourceDeviceId; member
|
H A D | distributed_sched_service.h | 144 int32_t uid, const std::string& sourceDeviceId) override; 232 const std::string& destinationDeviceId, const std::string& sourceDeviceId); 336 ConnectAbilitySession(const std::string& sourceDeviceId, const std::string& destinationDeviceId,
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_manager.cpp | 445 if (saveInfo.sourceDeviceId.empty() || saveInfo.bundleName.empty()) { in GetObjectData() 446 saveInfo.sourceDeviceId = splitKeys[SOURCE_DEVICE_UDID_INDEX]; in GetObjectData() 522 std::string networkId = DmAdaper::GetInstance().ToNetworkID(saveInfo.sourceDeviceId); in PullAssets() 976 …const std::string &sourceDeviceId, const std::string &targetDeviceId, const std::string ×tamp) in SaveInfo() argument 977 …: bundleName(bundleName), sessionId(sessionId), sourceDeviceId(sourceDeviceId), targetDeviceId(tar… in SaveInfo() 984 SetValue(node[GET_NAME(sourceDeviceId)], sourceDeviceId); in Marshal() 994 GetValue(node, GET_NAME(sourceDeviceId), sourceDeviceId); in Unmarshal() 1002 … if (bundleName.empty() || sessionId.empty() || sourceDeviceId.empty() || targetDeviceId.empty() || in ToPropertyPrefix() 1006 …return bundleName + SEPERATOR + sessionId + SEPERATOR + sourceDeviceId + SEPERATOR + targetDeviceI… in ToPropertyPrefix()
|
H A D | object_manager.h | 140 std::string sourceDeviceId; member 144 …nfo(const std::string &bundleName, const std::string &sessionId, const std::string &sourceDeviceId,
|
/ohos5.0/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_distributed_sched.h | 99 int32_t uid, const std::string &sourceDeviceId) override in DisconnectAbilityFromRemote() argument 139 …int32_t UpdateOsdSwitchValueFromRemote(int32_t switchVal, const std::string &sourceDeviceId) overr… in UpdateOsdSwitchValueFromRemote() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | event_convertor.h | 50 int64_t sourceDeviceId = 0; member
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_sched_mission_manager.cpp | 512 auto deviceId = callerInfo.sourceDeviceId; in StartSyncMissionsFromRemote() 760 std::u16string u16DevId = Str8ToStr16(callerInfo.sourceDeviceId); in NotifyMissionsChangedFromRemote() 761 RebornMissionCache(callerInfo.sourceDeviceId, missionInfoSet); in NotifyMissionsChangedFromRemote() 910 callerInfo.sourceDeviceId = localUuid; in GenerateCallerInfo()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/ |
H A D | udmf_service_impl.cpp | 266 std::string sourceDeviceId = unifiedData.GetRuntime()->deviceId; in ProcessUri() local 267 if (localDeviceId != sourceDeviceId) { in ProcessUri() 275 if (localDeviceId == sourceDeviceId && query.tokenId == unifiedData.GetRuntime()->tokenId) { in ProcessUri()
|