Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_dms_handler.cpp50 DistributedHardware::DmDeviceInfo localDeviceInfo; in IsContinue() local
51 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in IsContinue()
59 if (it->first.srcNetworkId_ == localDeviceInfo.networkId && it->first.srcBundleName_ == bundleName) { in IsContinue()
61 DistributedData::Anonymous::Change(localDeviceInfo.networkId).c_str(), bundleName.c_str()); in IsContinue()
64 if (it->first.dstNetworkId_ == localDeviceInfo.networkId && it->first.destBundleName_ == bundleName) { in IsContinue()
66 DistributedData::Anonymous::Change(localDeviceInfo.networkId).c_str(), bundleName.c_str()); in IsContinue()
71 DistributedData::Anonymous::Change(localDeviceInfo.networkId).c_str(), bundleName.c_str()); in IsContinue()
79 DistributedHardware::DmDeviceInfo localDeviceInfo; in GetDstBundleName() local
80 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in GetDstBundleName()
88 if (it->first.srcNetworkId_ == localDeviceInfo in GetDstBundleName()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_dms_handler_test.cpp43 DistributedHardware::DmDeviceInfo localDeviceInfo; in HWTEST_F() local
44 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in HWTEST_F()
45 std::string localNetworkId = localDeviceInfo.networkId; in HWTEST_F()
69 DistributedHardware::DmDeviceInfo localDeviceInfo; in HWTEST_F() local
70 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in HWTEST_F()
71 std::string localNetworkId = localDeviceInfo.networkId; in HWTEST_F()
118 DistributedHardware::DmDeviceInfo localDeviceInfo; in HWTEST_F() local
119 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in HWTEST_F()
120 std::string localNetworkId = localDeviceInfo.networkId; in HWTEST_F()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
H A Dchannel_request.h34 ChannelRequest(const ModuleType moduleType, bool isReceiver, const CastLocalDevice &localDeviceInfo, in ChannelRequest()
38 localDeviceInfo(localDeviceInfo), in ChannelRequest()
58 CastLocalDevice localDeviceInfo; member
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/
H A Dchannel_request.h34 ChannelRequest(const ModuleType moduleType, bool isReceiver, const CastLocalDevice &localDeviceInfo, in ChannelRequest()
38 localDeviceInfo(localDeviceInfo), in ChannelRequest()
58 CastLocalDevice localDeviceInfo; member
/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_get_local_device_info_rsp.h43 void SetLocalDeviceInfo(const DmDeviceInfo &localDeviceInfo) in SetLocalDeviceInfo() argument
45 localDeviceInfo_ = localDeviceInfo; in SetLocalDeviceInfo()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_common.c88 static int32_t RegisterDeviceWithType(const NSTACKX_LocalDeviceInfoV2 *localDeviceInfo, int registerType);
875 static int CheckLocalDeviceInfo(const NSTACKX_LocalDeviceInfo *localDeviceInfo) in CheckLocalDeviceInfo() argument
882 if (localDeviceInfo == NULL) { in CheckLocalDeviceInfo()
887 if (!StringHasEOF(localDeviceInfo->deviceId, sizeof(localDeviceInfo->deviceId)) || in CheckLocalDeviceInfo()
888 !StringHasEOF(localDeviceInfo->name, sizeof(localDeviceInfo->name))) { in CheckLocalDeviceInfo()
893 if (localDeviceInfo->ifNums > NSTACKX_MAX_LISTENED_NIF_NUM) { in CheckLocalDeviceInfo()
894 DFINDER_LOGE(TAG, "invalid iface number %u", localDeviceInfo->ifNums); in CheckLocalDeviceInfo()
896 } else if (localDeviceInfo in CheckLocalDeviceInfo()
907 DeviceInfoV2Init(NSTACKX_LocalDeviceInfoV2 *v2, const NSTACKX_LocalDeviceInfo *localDeviceInfo, bool hasDeviceHash, uint64_t deviceHash) DeviceInfoV2Init() argument
918 RegisterDeviceWithDeviceHash(const NSTACKX_LocalDeviceInfo *localDeviceInfo, bool hasDeviceHash, uint64_t deviceHash) RegisterDeviceWithDeviceHash() argument
947 NSTACKX_RegisterDevice(const NSTACKX_LocalDeviceInfo *localDeviceInfo) NSTACKX_RegisterDevice() argument
986 NSTACKX_RegisterDeviceAn(const NSTACKX_LocalDeviceInfo *localDeviceInfo, uint64_t deviceHash) NSTACKX_RegisterDeviceAn() argument
1011 RegisterDeviceWithType(const NSTACKX_LocalDeviceInfoV2 *localDeviceInfo, int registerType) RegisterDeviceWithType() argument
1042 NSTACKX_RegisterDeviceV2(const NSTACKX_LocalDeviceInfoV2 *localDeviceInfo) NSTACKX_RegisterDeviceV2() argument
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_connection.cpp59 int port = socket_.Bind(channelRequest_.localDeviceInfo.ipAddress, channelRequest_.localPort); in Connect()
60 CLOGD("Start server socket, localIp:%s, bindPort:%{public}d", channelRequest_.localDeviceInfo.ipAddress.c_str(), in Connect()
82 int port = socket_.Bind(request.localDeviceInfo.ipAddress, request.localPort); in StartListen()
83 CLOGD("Start server socket, localIp:%s, bindPort:%{public}d", request.localDeviceInfo.ipAddress.c_str(), port); in StartListen()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
H A Dtcp_connection.cpp59 int port = socket_.Bind(channelRequest_.localDeviceInfo.ipAddress, channelRequest_.localPort); in Connect()
60 CLOGD("Start server socket, localIp:%s, bindPort:%{public}d", channelRequest_.localDeviceInfo.ipAddress.c_str(), in Connect()
82 int port = socket_.Bind(request.localDeviceInfo.ipAddress, request.localPort); in StartListen()
83 CLOGD("Start server socket, localIp:%s, bindPort:%{public}d", request.localDeviceInfo.ipAddress.c_str(), port); in StartListen()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/
H A Dnstackx.h178 DFINDER_EXPORT int32_t NSTACKX_RegisterDevice(const NSTACKX_LocalDeviceInfo *localDeviceInfo);
184 DFINDER_EXPORT int32_t NSTACKX_RegisterDeviceAn(const NSTACKX_LocalDeviceInfo *localDeviceInfo, uint64_t deviceHash);
187 DFINDER_EXPORT int32_t NSTACKX_RegisterDeviceV2(const NSTACKX_LocalDeviceInfoV2 *localDeviceInfo);
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Ddaemon.cpp604 DistributedHardware::DmDeviceInfo localDeviceInfo{}; in Copy()
605 int errCode = deviceManager.GetLocalDeviceInfo(IDaemon::SERVICE_NAME, localDeviceInfo); in Copy()
614 LOGI("Copy localDeviceInfo.networkId: %{public}s", Utils::GetAnonyString(localDeviceInfo.networkId).c_str()); in Copy()
615 auto ret = daemon->RequestSendFile(srcUri, dstPath, localDeviceInfo.networkId, sessionName); in Copy()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/
H A Ddevice_manager_agent.cpp855 DistributedHardware::DmDeviceInfo localDeviceInfo{}; in InitLocalNodeInfo()
856 int errCode = deviceManager.GetLocalDeviceInfo(IDaemon::SERVICE_NAME, localDeviceInfo); in InitLocalNodeInfo()
860 localDeviceInfo_.SetCid(string(localDeviceInfo.networkId)); in InitLocalNodeInfo()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/
H A Dipc_cmd_parser.cpp266 DmDeviceInfo localDeviceInfo; in ON_IPC_READ_RESPONSE() local
267 DecodeDmDeviceInfo(reply, localDeviceInfo); in ON_IPC_READ_RESPONSE()
268 pRsp->SetLocalDeviceInfo(localDeviceInfo); in ON_IPC_READ_RESPONSE()
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/
H A Dipc_cmd_parser.cpp564 DmDeviceInfo localDeviceInfo; in ON_IPC_CMD() local
565 int32_t result = DeviceManagerService::GetInstance().GetLocalDeviceInfo(localDeviceInfo); in ON_IPC_CMD()
566 if (!EncodeDmDeviceInfo(localDeviceInfo, reply)) { in ON_IPC_CMD()

Completed in 14 milliseconds