| /foundation/multimodalinput/input/intention/cooperate/plugin/src/ |
| D | dsoftbus_handler.cpp | 40 [this] (const std::string &networkId, NetPacket &packet) { in DSoftbusHandler() 41 this->OnStartCooperate(networkId, packet);}}, in DSoftbusHandler() 43 [this] (const std::string &networkId, NetPacket &packet) { in DSoftbusHandler() 44 this->OnStopCooperate(networkId, packet);}}, in DSoftbusHandler() 46 [this] (const std::string &networkId, NetPacket &packet) { in DSoftbusHandler() 47 this->OnComeBack(networkId, packet);}}, in DSoftbusHandler() 49 [this] (const std::string &networkId, NetPacket &packet) { in DSoftbusHandler() 50 this->OnRelayCooperate(networkId, packet);}}, in DSoftbusHandler() 52 [this] (const std::string &networkId, NetPacket &packet) { in DSoftbusHandler() 53 this->OnRelayCooperateFinish(networkId, packet);}}, in DSoftbusHandler() [all …]
|
| D | mouse_location.cpp | 37 if (event.networkId == localNetworkId_) { in AddListener() 42 …FI_HILOGI("Add remote mouse location listener, networkId:%{public}s", Utility::Anonymize(event.net… in AddListener() 44 .networkId = localNetworkId_, in AddListener() 45 .remoteNetworkId = event.networkId, in AddListener() 48 listeners_[event.networkId].insert(event.pid); in AddListener() 56 if (event.networkId == localNetworkId_) { in RemoveListener() 62 .networkId = localNetworkId_, in RemoveListener() 63 .remoteNetworkId = event.networkId, in RemoveListener() 66 if (listeners_.find(event.networkId) != listeners_.end()) { in RemoveListener() 67 … FI_HILOGE("No listener for networkId:%{public}s", Utility::Anonymize(event.networkId).c_str()); in RemoveListener() [all …]
|
| D | input_device_mgr.cpp | 55 NotifyInputDeviceToRemote(notice.networkId); in OnSoftbusSessionOpened() 61 RemoveAllRemoteInputDevice(notice.networkId); in OnSoftbusSessionClosed() 73 std::string networkId = notice.networkId; in OnRemoteInputDevice() local 76 AddRemoteInputDevice(networkId, device); in OnRemoteInputDevice() 85 void InputDeviceMgr::AddVirtualInputDevice(const std::string &networkId) in AddVirtualInputDevice() argument 88 FI_HILOGI("Add virtual device from %{public}s", Utility::Anonymize(networkId).c_str()); in AddVirtualInputDevice() 89 for (const auto &device : remoteDevices_[networkId]) { in AddVirtualInputDevice() 91 AddVirtualInputDevice(networkId, device->GetId()); in AddVirtualInputDevice() 95 void InputDeviceMgr::RemoveVirtualInputDevice(const std::string &networkId) in RemoveVirtualInputDevice() argument 98 FI_HILOGI("Remove virtual device from %{public}s", Utility::Anonymize(networkId).c_str()); in RemoveVirtualInputDevice() [all …]
|
| /foundation/multimodalinput/input/intention/cooperate/plugin/include/ |
| D | dsoftbus_handler.h | 35 void OnBind(const std::string &networkId) override in OnBind() argument 37 parent_.OnBind(networkId); in OnBind() 40 void OnShutdown(const std::string &networkId) override in OnShutdown() argument 42 parent_.OnShutdown(networkId); in OnShutdown() 45 void OnConnected(const std::string &networkId) override in OnConnected() argument 47 parent_.OnConnected(networkId); in OnConnected() 50 bool OnPacket(const std::string &networkId, NetPacket &packet) override in OnPacket() argument 52 return parent_.OnPacket(networkId, packet); in OnPacket() 55 bool OnRawData(const std::string &networkId, const void *data, uint32_t dataLen) override in OnRawData() argument 70 int32_t OpenSession(const std::string &networkId); [all …]
|
| /foundation/distributedhardware/device_manager/services/softbuscache/src/ |
| D | dm_softbus_cache.cpp | 43 LOGI("SoftbusCache::SaveLocalDeviceInfo networkid %{public}s.", in SaveLocalDeviceInfo() 44 GetAnonyString(std::string(localDeviceInfo_.networkId)).c_str()); in SaveLocalDeviceInfo() 46 SaveDeviceSecurityLevel(localDeviceInfo_.networkId); in SaveLocalDeviceInfo() 53 LOGI("SoftbusCache::DeleteLocalDeviceInfo networkid %{public}s.", in DeleteLocalDeviceInfo() 54 GetAnonyString(std::string(localDeviceInfo_.networkId)).c_str()); in DeleteLocalDeviceInfo() 77 SaveDeviceSecurityLevel(localDeviceInfo_.networkId); in GetLocalDeviceInfo() 97 int32_t SoftbusCache::GetUdidByNetworkId(const char *networkId, std::string &udid) in GetUdidByNetworkId() argument 100 …int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_UDID, mUdid, size… in GetUdidByNetworkId() 109 int32_t SoftbusCache::GetUuidByNetworkId(const char *networkId, std::string &uuid) in GetUuidByNetworkId() argument 112 …int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_UUID, mUuid, size… in GetUuidByNetworkId() [all …]
|
| /foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
| D | dtbschedmgr_device_info_storage.cpp | 150 void DtbschedmgrDeviceInfoStorage::RegisterUuidNetworkIdMap(const std::string& networkId) in RegisterUuidNetworkIdMap() argument 152 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in RegisterUuidNetworkIdMap() 159 uuidNetworkIdMap_[uuid] = networkId; in RegisterUuidNetworkIdMap() 163 void DtbschedmgrDeviceInfoStorage::UnregisterUuidNetworkIdMap(const std::string& networkId) in UnregisterUuidNetworkIdMap() argument 165 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in UnregisterUuidNetworkIdMap() 195 dmDeviceInfo.deviceName, dmDeviceInfo.deviceTypeId, dmDeviceInfo.networkId); in UpdateDeviceInfoStorage() 196 std::string networkId = deviceInfo->GetNetworkId(); in UpdateDeviceInfoStorage() local 197 RegisterUuidNetworkIdMap(networkId); in UpdateDeviceInfoStorage() 199 HILOGI("Add remote device networkId %{public}s", GetAnonymStr(networkId).c_str()); in UpdateDeviceInfoStorage() 201 remoteDevices_[networkId] = deviceInfo; in UpdateDeviceInfoStorage() [all …]
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
| D | lnn_lane_select.c | 117 int32_t LaneCapCheck(const char *networkId, LaneLinkType linkType) in LaneCapCheck() argument 119 if ((networkId == NULL) || (!IsLinkTypeValid(linkType))) { in LaneCapCheck() 126 int32_t ret = linkAttr->linkCapCheck(networkId); in LaneCapCheck() 169 int32_t GetErrCodeOfLink(const char *networkId, LaneLinkType linkType) in GetErrCodeOfLink() argument 181 return LaneCapCheck(networkId, linkType); in GetErrCodeOfLink() 184 static int32_t SelectByPreferredLink(const char *networkId, const LaneSelectParam *request, in SelectByPreferredLink() argument 200 if (LaneCapCheck(networkId, preferredList[i]) != SOFTBUS_OK) { in SelectByPreferredLink() 209 return GetErrCodeOfLink(networkId, preferredList[0]); in SelectByPreferredLink() 214 static int32_t SelectByDefaultLink(const char *networkId, const LaneSelectParam *request, in SelectByDefaultLink() argument 227 if (LaneCapCheck(networkId, optionalLink[i]) != SOFTBUS_OK) { in SelectByDefaultLink() [all …]
|
| D | lnn_select_rule.c | 60 static bool GetNetCap(const char *networkId, uint32_t *local, uint32_t *remote) in GetNetCap() argument 67 ret = LnnGetRemoteNumU32Info(networkId, NUM_KEY_NET_CAP, remote); in GetNetCap() 75 static bool GetFeatureCap(const char *networkId, uint64_t *local, uint64_t *remote) in GetFeatureCap() argument 82 ret = LnnGetRemoteNumU64Info(networkId, NUM_KEY_FEATURE_CAPA, remote); in GetFeatureCap() 90 static int32_t NodeStateCheck(const char *networkId) in NodeStateCheck() argument 94 if (LnnGetRemoteNodeInfoById(networkId, CATEGORY_NETWORK_ID, &node) != SOFTBUS_OK) { in NodeStateCheck() 96 Anonymize(networkId, &anonyNetworkId); in NodeStateCheck() 97 …LNN_LOGE(LNN_LANE, "get remote node info fail, networkId=%{public}s", AnonymizeWrapper(anonyNetwor… in NodeStateCheck() 103 Anonymize(networkId, &anonyNetworkId); in NodeStateCheck() 111 static int32_t Wlan2P4GCapCheck(const char *networkId) in Wlan2P4GCapCheck() argument [all …]
|
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/accessmanager/ |
| D | access_manager.cpp | 124 …DHLOGI("AccessManager offline, networkId: %{public}s, deviceName: %{public}s, deviceTypeId: %{publ… in OnDeviceOffline() 125 GetAnonyString(deviceInfo.networkId).c_str(), GetAnonyString(deviceInfo.deviceName).c_str(), in OnDeviceOffline() 128 auto networkId = std::string(deviceInfo.networkId); in OnDeviceOffline() local 129 if (!IsIdLengthValid(networkId)) { in OnDeviceOffline() 132 std::string uuid = DHContext::GetInstance().GetUUIDByNetworkId(networkId); in OnDeviceOffline() 136 std::string udid = DHContext::GetInstance().GetUDIDByNetworkId(networkId); in OnDeviceOffline() 141 …auto ret = DistributedHardwareManagerFactory::GetInstance().SendOffLineEvent(networkId, uuid, udid, in OnDeviceOffline() 143 DHLOGI("offline result: %{public}d, networkId: %{public}s, uuid: %{public}s, udid: %{public}s", in OnDeviceOffline() 144 …ret, GetAnonyString(networkId).c_str(), GetAnonyString(uuid).c_str(), GetAnonyString(udid).c_str()… in OnDeviceOffline() 150 …DHLOGI("AccessManager online, networkId: %{public}s, deviceName: %{public}s, deviceTypeId: %{publi… in OnDeviceReady() [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
| D | dev_manager.cpp | 84 std::string DevManager::ToUUID(const std::string &networkId) in ToUUID() argument 86 return GetDevInfoFromBucket(networkId).uuid; in ToUUID() 91 return GetDevInfoFromBucket(uuid).networkId; in ToNetworkId() 115 if (detailInfo.uuid.empty() || detailInfo.networkId.empty()) { in UpdateBucket() 119 deviceInfos_.Set(detailInfo.networkId, detailInfo); in UpdateBucket() 135 auto networkId = std::string(info.networkId); in GetUnEncryptedUuid() local 136 if (networkId.empty()) { in GetUnEncryptedUuid() 137 ZLOGE("networkid empty"); in GetUnEncryptedUuid() 141 DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid); in GetUnEncryptedUuid() 143 ZLOGE("get uuid by networkid fail"); in GetUnEncryptedUuid() [all …]
|
| /foundation/multimodalinput/input/intention/cooperate/client/src/ |
| D | cooperate_client.cpp | 181 const std::string &networkId, CooperateStateCallback callback, bool isCheckPermission) in GetCooperateState() argument 186 GetCooperateStateParam param { GenerateRequestID(), networkId, isCheckPermission }; in GetCooperateState() 215 const std::string &networkId, MouseLocationListenerPtr listener) in RegisterEventListener() argument 220 if (eventListener_.find(networkId) != eventListener_.end() && in RegisterEventListener() 221 eventListener_[networkId].find(listener) != eventListener_[networkId].end()) { in RegisterEventListener() 222 …FI_HILOGE("This listener for networkId:%{public}s already exists", Utility::Anonymize(networkId).c… in RegisterEventListener() 225 RegisterEventListenerParam param { networkId }; in RegisterEventListener() 232 eventListener_[networkId].insert(listener); in RegisterEventListener() 233 …FI_HILOGI("Add listener for networkId:%{public}s successfully", Utility::Anonymize(networkId).c_st… in RegisterEventListener() 238 const std::string &networkId, MouseLocationListenerPtr listener) in UnregisterEventListener() argument [all …]
|
| /foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/connect_count/ |
| D | connect_count.cpp | 37 void ConnectCount::AddConnect(uint32_t callingTokenId, const std::string &networkId, sptr<IFileDfsL… in AddConnect() argument 41 if (connect->callingTokenId == callingTokenId && connect->networkId == networkId) { in AddConnect() 46 auto connect = std::make_shared<Connect>(callingTokenId, networkId, 1, listener); in AddConnect() 50 bool ConnectCount::CheckCount(const std::string &networkId) in CheckCount() argument 54 if (connect->networkId == networkId) { in CheckCount() 66 connect->listener->OnStatus(connect->networkId, ON_STATUS_OFFLINE); in RemoveAllConnect() 86 void ConnectCount::RemoveConnect(const std::string &networkId) in RemoveConnect() argument 90 if ((*iter)->networkId == networkId) { in RemoveConnect() 98 void ConnectCount::RemoveConnect(uint32_t callingTokenId, const std::string &networkId) in RemoveConnect() argument 102 if ((*iter)->callingTokenId == callingTokenId && (*iter)->networkId == networkId) { in RemoveConnect() [all …]
|
| /foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
| D | distributed_data_storage.h | 53 * Insert networkId + missionId to kvStore. 55 * @param networkId, the networkId to insert 61 …bool Insert(const std::string& networkId, int32_t missionId, const uint8_t* byteStream, size_t len… 64 * Delete networkId + missionId in kvStore. 66 * @param networkId, the networkId to delete 70 bool Delete(const std::string& networkId, int32_t missionId); 73 * FuzzyDelete networkId in kvStore. 75 * @param networkId, the networkId to delete 78 bool FuzzyDelete(const std::string& networkId); 81 * Query networkId + missionId in kvStore. [all …]
|
| /foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
| D | dtbschedmgr_device_info_storage.h | 45 bool GetLocalDeviceId(std::string& networkId); 49 void DeviceOfflineNotify(const std::string& networkId); 50 void OnDeviceInfoChanged(const std::string& networkId); 51 std::string GetDeviceName(std::string netWorkId); 57 * @param networkId, string 60 std::shared_ptr<DmsDeviceInfo> GetDeviceInfoById(const std::string& networkId); 63 * get uuid by networkId 65 * @param networkId 67 std::string GetUuidByNetworkId(const std::string& networkId); 70 * get udid by networkId [all …]
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
| D | lnn_distributed_net_ledger_manager.c | 45 static int32_t DlGetDeviceUuid(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceUuid() argument 49 RETURN_IF_GET_NODE_VALID(networkId, buf, info); in DlGetDeviceUuid() 57 static int32_t DlGetDeviceOfflineCode(const char *networkId, bool checkOnline, void *buf, uint32_t … in DlGetDeviceOfflineCode() argument 61 RETURN_IF_GET_NODE_VALID(networkId, buf, info); in DlGetDeviceOfflineCode() 69 static int32_t DlGetDeviceUdid(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceUdid() argument 74 RETURN_IF_GET_NODE_VALID(networkId, buf, info); in DlGetDeviceUdid() 87 static int32_t DlGetNodeSoftBusVersion(const char *networkId, bool checkOnline, void *buf, uint32_t… in DlGetNodeSoftBusVersion() argument 91 RETURN_IF_GET_NODE_VALID(networkId, buf, info); in DlGetNodeSoftBusVersion() 99 static int32_t DlGetDeviceType(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceType() argument 104 RETURN_IF_GET_NODE_VALID(networkId, buf, info); in DlGetDeviceType() [all …]
|
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/ |
| D | component_enable.cpp | 34 int32_t ComponentEnable::Enable(const std::string &networkId, const std::string &dhId, const Enable… in Enable() argument 37 if (!IsIdLengthValid(networkId) || !IsIdLengthValid(dhId)) { in Enable() 40 DHLOGD("networkId = %{public}s dhId = %{public}s.", GetAnonyString(networkId).c_str(), in Enable() 43 …DHLOGE("handler is null, networkId = %{public}s dhId = %{public}s.", GetAnonyString(networkId).c_s… in Enable() 48 auto ret = handler->RegisterDistributedHardware(networkId, dhId, param, shared_from_this()); in Enable() 50 DHLOGE("RegisterDistributedHardware failed, networkId = %{public}s dhId = %{public}s.", in Enable() 51 GetAnonyString(networkId).c_str(), GetAnonyString(dhId).c_str()); in Enable() 62 …DHLOGE("enable timeout, networkId = %{public}s dhId = %{public}s", GetAnonyString(networkId).c_str… in Enable() 72 int32_t ComponentEnable::OnRegisterResult(const std::string &networkId, const std::string &dhId, in… in OnRegisterResult() argument 75 if (!IsIdLengthValid(networkId) || !IsIdLengthValid(dhId)) { in OnRegisterResult() [all …]
|
| D | component_disable.cpp | 34 int32_t ComponentDisable::Disable(const std::string &networkId, const std::string &dhId, in Disable() argument 37 if (!IsIdLengthValid(networkId) || !IsIdLengthValid(dhId)) { in Disable() 40 DHLOGD("networkId = %{public}s dhId = %{public}s.", GetAnonyString(networkId).c_str(), in Disable() 43 …DHLOGE("handler is null, networkId = %{public}s dhId = %{public}s.", GetAnonyString(networkId).c_s… in Disable() 48 auto ret = handler->UnregisterDistributedHardware(networkId, dhId, shared_from_this()); in Disable() 50 DHLOGE("UnregisterDistributedHardware failed, networkId = %{public}s dhId = %{public}s.", in Disable() 51 GetAnonyString(networkId).c_str(), GetAnonyString(dhId).c_str()); in Disable() 62 …DHLOGE("disable timeout, networkId = %{public}s dhId = %{public}s.", GetAnonyString(networkId).c_s… in Disable() 72 int32_t ComponentDisable::OnUnregisterResult(const std::string &networkId, const std::string &dhId,… in OnUnregisterResult() argument 75 if (!IsIdLengthValid(networkId) || !IsIdLengthValid(dhId)) { in OnUnregisterResult() [all …]
|
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/utils/ |
| D | dh_context.h | 37 std::string networkId; member 46 return (networkId == other.networkId) && 55 return (networkId.compare(other.networkId) < 0) || 56 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) < 0)) || 57 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) == 0) && 59 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) == 0) && 61 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) == 0) && 74 /* Save online device UUID and networkId when devices online */ 75 …id AddOnlineDevice(const std::string &udid, const std::string &uuid, const std::string &networkId); 76 void RemoveOnlineDeviceIdEntryByNetworkId(const std::string &networkId); [all …]
|
| /foundation/distributeddatamgr/pasteboard/framework/framework/device/ |
| D | dm_adapter.cpp | 42 … PASTEBOARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "device on:%{public}.6s", deviceInfo.networkId); in OnDeviceOnline() 51 … PASTEBOARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "device off:%{public}.6s", deviceInfo.networkId); in OnDeviceOffline() 56 // authForm not vaild use networkId in OnDeviceChanged() 57 if (DeviceManager::GetInstance().IsSameAccount(deviceInfo.networkId)) { in OnDeviceChanged() 60 …OARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "device config changed:%{public}.6s", deviceInfo.networkId); in OnDeviceChanged() 115 value->Online(deviceInfo.networkId); in Initialize() 120 value->OnReady(deviceInfo.networkId); in Initialize() 126 value->Offline(deviceInfo.networkId); in Initialize() 158 DeviceManager::GetInstance().GetUdidByNetworkId(pkgName_, info.networkId, localDeviceUdid_); in GetLocalDeviceUdid() 166 std::string DMAdapter::GetDeviceName(const std::string &networkId) in GetDeviceName() argument [all …]
|
| /foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/ |
| D | dsoftbus_adapter_impl.cpp | 113 bool DSoftbusAdapterImpl::CheckDeviceOnline(const std::string &networkId) in CheckDeviceOnline() argument 126 if (std::string(deviceInfo.networkId) == networkId) { in CheckDeviceOnline() 133 int32_t DSoftbusAdapterImpl::OpenSession(const std::string &networkId) in OpenSession() argument 140 if (!DSoftbusAdapterImpl::CheckDeviceOnline(networkId)) { in OpenSession() 141 …FI_HILOGE("CheckDeviceOnline failed, networkId:%{public}s", Utility::Anonymize(networkId).c_str()); in OpenSession() 144 int32_t ret = OpenSessionLocked(networkId); in OpenSession() 158 void DSoftbusAdapterImpl::CloseSession(const std::string &networkId) in CloseSession() argument 162 if (auto iter = sessions_.find(networkId); iter != sessions_.end()) { in CloseSession() 166 Utility::Anonymize(networkId).c_str()); in CloseSession() 177 int32_t DSoftbusAdapterImpl::FindConnection(const std::string &networkId) in FindConnection() argument [all …]
|
| /foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/ |
| D | dp_device_manager.cpp | 117 dmDeviceInfo.deviceName, dmDeviceInfo.networkId, dmDeviceInfo.deviceTypeId); in GetTrustedDeviceList() 127 deviceInfo.deviceName, deviceInfo.networkId, deviceInfo.deviceTypeId); in OnDeviceOnline() 130 std::string networkId = deviceInfo.networkId; in OnDeviceOnline() local 131 DistributedDeviceProfile::ProfileCache::GetInstance().OnNodeOnline(networkId); in OnDeviceOnline() 138 std::string networkId = deviceInfo.networkId; in OnDeviceOffline() local 139 DpDeviceManager::GetInstance().OnNodeOffline(networkId); in OnDeviceOffline() 140 DistributedDeviceProfile::ProfileCache::GetInstance().OnNodeOffline(networkId); in OnDeviceOffline() 160 HILOGI("online networkId = %{public}s", in OnNodeOnline() 165 std::string networkId = deviceInfo->GetNetworkId(); in OnNodeOnline() local 167 remoteDeviceInfoMap_[networkId] = deviceInfo; in OnNodeOnline() [all …]
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
| D | lnn_distributed_net_ledger.h | 33 int32_t (*getInfo)(const char *netWorkId, bool checkOnline, void *info, uint32_t len); 58 …emoteNodeInfoByKey(const char *key, NodeInfo *info); /* key means udid/uuid/networkId/macAddr/ip */ 60 bool LnnSetDLDeviceNickName(const char *networkId, const char *name); 61 bool LnnSetDLP2pInfo(const char *networkId, const P2pInfo *info); 62 bool LnnSetRemoteScreenStatusInfo(const char *networkId, bool isScreenOn); 68 int32_t LnnGetDLHeartbeatTimestamp(const char *networkId, uint64_t *timestamp); 69 int32_t LnnGetDLOnlineTimestamp(const char *networkId, uint64_t *timestamp); 70 int32_t LnnSetDLHeartbeatTimestamp(const char *networkId, const uint64_t timestamp); 71 int32_t LnnGetDLBleDirectTimestamp(const char *networkId, uint64_t *timestamp); 73 int32_t LnnSetDLBleDirectTimestamp(const char *networkId, uint64_t timestamp); [all …]
|
| /foundation/communication/dsoftbus/core/common/security/permission/ |
| D | softbus_trans_permission.json | 92 "DEVID": "NETWORKID", 105 "DEVID": "NETWORKID", 118 "DEVID": "NETWORKID", 131 "DEVID": "NETWORKID", 144 "DEVID": "NETWORKID", 156 "DEVID": "NETWORKID", 181 "DEVID": "NETWORKID", 219 "DEVID": "NETWORKID", 232 "DEVID": "NETWORKID", 244 "DEVID": "NETWORKID", [all …]
|
| /foundation/multimedia/media_library/frameworks/services/media_distributed/src/device_manage/ |
| D | medialibrary_device.cpp | 103 …MediaLibraryDevice::TryToGetTargetDevMLInfos(const std::string &udid, const std::string &networkId) in TryToGetTargetDevMLInfos() argument 114 devsInfoInter_->SyncMLDeviceInfos(udid, networkId); in TryToGetTargetDevMLInfos() 133 deviceInfoMap_[networkId].versionId = version; in TryToGetTargetDevMLInfos() 135 networkId.substr(0, TRIM_LENGTH).c_str(), version.c_str()); in TryToGetTargetDevMLInfos() 184 deviceInfoMap_[mldevInfo.networkId] = mldevInfo; in OnGetDevSecLevel() 196 deviceInfoMap_[devInfo.networkId] = mldevInfo; in DevOnlineProcess() 208 std::vector<std::string> devices = { mldevInfo.networkId }; in DevOnlineProcess() 212 [this, deviceUdid = mldevInfo.deviceUdid, networkId = mldevInfo.networkId]() { in DevOnlineProcess() 213 this->TryToGetTargetDevMLInfos(deviceUdid, networkId); in DevOnlineProcess() 220 MEDIA_INFO_LOG("dev online network id %{private}s", deviceInfo.networkId); in OnDeviceOnline() [all …]
|
| /foundation/communication/ipc/services/dbinder/dbinder_service/src/socket/ |
| D | dbinder_remote_listener.cpp | 53 socket, DBinderService::ConvertToSecureDeviceID(info.networkId).c_str(), info.name); in ServerOnBind() 55 serverSocketInfos_[info.networkId] = socket; in ServerOnBind() 80 std::string networkId; in ClientOnShutdown() local 85 networkId = it->first; in ClientOnShutdown() 92 if (!networkId.empty()) { in ClientOnShutdown() 93 EraseDeviceLock(networkId); in ClientOnShutdown() 94 DBinderService::GetInstance()->ProcessOnSessionClosed(networkId); in ClientOnShutdown() 239 …d::shared_ptr<DeviceLock> DBinderRemoteListener::QueryOrNewDeviceLock(const std::string &networkId) in QueryOrNewDeviceLock() argument 242 auto it = deviceLockMap_.find(networkId); in QueryOrNewDeviceLock() 249 DBinderService::ConvertToSecureDeviceID(networkId).c_str()); in QueryOrNewDeviceLock() [all …]
|