Lines Matching defs:networkId

171     LOGI("OpenP2PConnection networkId %{public}s", Utils::GetAnonyString(deviceInfo.networkId).c_str());
178 auto networkId = std::string(deviceInfo.networkId);
180 if (!ConnectionDetector::GetConnectionStatus(targetDir, networkId)) {
187 ret = ConnectionDetector::RepeatGetConnectionStatus(targetDir, networkId);
202 LOGI("Close P2P Connection networkId %{public}s", Utils::GetAnonyString(deviceInfo.networkId).c_str());
217 auto networkId = std::string(deviceInfo.networkId);
223 ret = ConnectionDetector::RepeatGetConnectionStatus(targetDir, networkId);
226 ret = ConnectionDetector::RepeatGetConnectionStatus(targetDir, networkId);
230 ret = ConnectionDetector::RepeatGetConnectionStatus(targetDir, networkId);
236 const std::string &networkId, uint32_t callingTokenId)
243 deviceManager->RemoveNetworkIdByOne(callingTokenId, networkId);
253 const std::string &networkId, uint32_t callingTokenId)
263 deviceManager->AddNetworkId(callingTokenId, networkId);
268 std::string deviceId = deviceManager->GetDeviceIdByNetworkId(networkId);
269 ret = deviceManager->MountDfsDocs(networkId, deviceId);
276 int32_t Daemon::OpenP2PConnectionEx(const std::string &networkId, sptr<IFileDfsListener> remoteReverseObj)
278 LOGI("Daemon::OpenP2PConnectionEx start, networkId %{public}s", Utils::GetAnonyString(networkId).c_str());
293 if (networkId.empty()) {
294 LOGE("Daemon::OpenP2PConnectionEx networkId is null");
298 auto res = strcpy_s(deviceInfo.networkId, networkId.size() + 1, networkId.c_str());
307 int32_t ret = ConnectionAndMount(deviceInfo, networkId, callingTokenId);
309 CleanUp(deviceInfo, networkId, callingTokenId);
316 int32_t Daemon::CloseP2PConnectionEx(const std::string &networkId)
318 LOGI("Daemon::CloseP2PConnectionEx start, networkId: %{public}s", Utils::GetAnonyString(networkId).c_str());
325 if (networkId.empty()) {
326 LOGE("[OpenP2PConnectionEx] networkId is null");
329 std::string deviceId = deviceManager->GetDeviceIdByNetworkId(networkId);
336 int32_t ret_umount = deviceManager->UMountDfsDocs(networkId, deviceId, false);
343 auto res = strcpy_s(deviceInfo.networkId, networkId.size() + 1, networkId.c_str());
348 int32_t ret = CleanUp(deviceInfo, networkId, callingTokenId);
614 LOGI("Copy localDeviceInfo.networkId: %{public}s", Utils::GetAnonyString(localDeviceInfo.networkId).c_str());
615 auto ret = daemon->RequestSendFile(srcUri, dstPath, localDeviceInfo.networkId, sessionName);
677 LOGE("[DfsListenerDeathRecipient] networkId is null");
682 LOGE("fail to get deviceId, networkId: %{public}s", Utils::GetAnonyString(*it).c_str());
687 auto res = strcpy_s(deviceInfo.networkId, it->size() + 1, it->c_str());