Lines Matching refs:Daemon

74 REGISTER_SYSTEM_ABILITY_BY_ID(Daemon, FILEMANAGEMENT_DISTRIBUTED_FILE_DAEMON_SA_ID, true);
76 void Daemon::PublishSA()
89 void Daemon::RegisterOsAccount()
101 void Daemon::OnStart()
105 LOGD("Daemon has already started");
124 void Daemon::OnStop()
141 void Daemon::OnAddSystemAbility(int32_t systemAbilityId, const std::string &deviceId)
152 void Daemon::OnRemoveSystemAbility(int32_t systemAbilityId, const std::string &deviceId)
157 LOGE("Daemon::OnRemoveSystemAbility subscriberPtr is nullptr");
162 LOGI("Daemon::OnRemoveSystemAbility subscribeResult = %{public}d", subscribeResult);
169 int32_t Daemon::OpenP2PConnection(const DistributedHardware::DmDeviceInfo &deviceInfo)
200 int32_t Daemon::CloseP2PConnection(const DistributedHardware::DmDeviceInfo &deviceInfo)
211 int32_t Daemon::ConnectionCount(const DistributedHardware::DmDeviceInfo &deviceInfo)
235 int32_t Daemon::CleanUp(const DistributedHardware::DmDeviceInfo &deviceInfo,
246 LOGE("Daemon::CleanUp CloseP2PConnection failed");
252 int32_t Daemon::ConnectionAndMount(const DistributedHardware::DmDeviceInfo &deviceInfo,
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());
284 LOGE("Daemon::OpenP2PConnectionEx, new death recipient");
288 LOGE("Daemon::OpenP2PConnectionEx remoteReverseObj is nullptr");
294 LOGE("Daemon::OpenP2PConnectionEx networkId is null");
305 LOGE("Daemon::OpenP2PConnectionEx::fail to AddRemoteReverseObj");
312 LOGI("Daemon::OpenP2PConnectionEx end");
316 int32_t Daemon::CloseP2PConnectionEx(const std::string &networkId)
318 LOGI("Daemon::CloseP2PConnectionEx start, networkId: %{public}s", Utils::GetAnonyString(networkId).c_str());
350 LOGE("Daemon::CloseP2PConnectionEx disconnection failed");
353 LOGI("Daemon::CloseP2PConnectionEx end");
357 int32_t Daemon::RequestSendFile(const std::string &srcUri,
376 LOGE("Daemon event handler post push asset event fail.");
386 int32_t Daemon::PrepareSession(const std::string &srcUri,
404 LOGE("Daemon is nullptr");
444 void Daemon::StoreSessionAndListener(const std::string &physicalPath,
451 int32_t Daemon::GetRealPath(const std::string &srcUri,
461 LOGE("Daemon::GetRealPath daemon is nullptr");
503 int32_t Daemon::CheckCopyRule(std::string &physicalPath,
559 int32_t Daemon::GetRemoteCopyInfo(const std::string &srcUri, bool &isSrcFile, bool &srcIsDir)
572 sptr<IDaemon> Daemon::GetRemoteSA(const std::string &remoteDeviceId)
598 int32_t Daemon::Copy(const std::string &srcUri,
611 LOGE("Daemon::Copy daemon is nullptr");
626 int32_t Daemon::CancelCopyTask(const std::string &sessionName)
645 void Daemon::DeleteSessionAndListener(const std::string &sessionName, const int32_t socketId)
652 void Daemon::DfsListenerDeathRecipient::OnRemoteDied(const wptr<IRemoteObject> &remote)
656 LOGE("Daemon::DfsListenerDeathRecipient OnremoteDied received died notify nullptr");
698 LOGI("Daemon::DfsListenerDeathRecipient OnremoteDied end");
702 int32_t Daemon::PushAsset(int32_t userId,
706 LOGI("Daemon::PushAsset begin.");
728 LOGE("Daemon event handler post push asset event fail.");
735 int32_t Daemon::RegisterAssetCallback(const sptr<IAssetRecvCallback> &recvCallback)
737 LOGI("Daemon::RegisterAssetCallback begin.");
746 int32_t Daemon::UnRegisterAssetCallback(const sptr<IAssetRecvCallback> &recvCallback)
748 LOGI("Daemon::UnRegisterAssetCallback begin.");
757 void Daemon::StartEventHandler()