/base/request/request/services/service/rust/src/c_wrapper/source/ |
D | c_request_database.cpp | 156 bool WriteRequestTaskInfo(CTaskInfo *taskInfo) in WriteRequestTaskInfo() argument 160 insertValues.PutLong("task_id", taskInfo->commonData.taskId); in WriteRequestTaskInfo() 161 insertValues.PutLong("uid", taskInfo->commonData.uid); in WriteRequestTaskInfo() 162 insertValues.PutInt("action", taskInfo->commonData.action); in WriteRequestTaskInfo() 163 insertValues.PutInt("mode", taskInfo->commonData.mode); in WriteRequestTaskInfo() 164 insertValues.PutLong("ctime", taskInfo->commonData.ctime); in WriteRequestTaskInfo() 165 insertValues.PutLong("mtime", taskInfo->commonData.mtime); in WriteRequestTaskInfo() 166 insertValues.PutInt("reason", taskInfo->commonData.reason); in WriteRequestTaskInfo() 167 insertValues.PutInt("gauge", taskInfo->commonData.gauge); in WriteRequestTaskInfo() 168 insertValues.PutInt("retry", taskInfo->commonData.retry); in WriteRequestTaskInfo() [all …]
|
/base/request/request/services/service/rust/src/c_wrapper/include/ |
D | c_request_database.h | 120 bool RecordRequestTaskInfo(CTaskInfo *taskInfo); 126 void GetCommonTaskInfo(std::shared_ptr<OHOS::NativeRdb::ResultSet> resultSet, TaskInfo &taskInfo); 127 int TouchRequestTaskInfo(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, 129 int QueryRequestTaskInfo(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, 131 int TouchTaskInfoAttachment(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, 133 int QueryTaskInfoAttachment(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, 135 CTaskInfo *BuildCTaskInfo(const TaskInfo &taskInfo);
|
/base/request/request/frameworks/js/napi/src/ |
D | napi_utils.cpp | 330 napi_value Convert2JSValue(napi_env env, TaskInfo &taskInfo) in Convert2JSValue() argument 334 if (taskInfo.withSystem) { in Convert2JSValue() 335 napi_set_named_property(env, value, "uid", Convert2JSValue(env, taskInfo.uid)); in Convert2JSValue() 336 napi_set_named_property(env, value, "bundle", Convert2JSValue(env, taskInfo.bundle)); in Convert2JSValue() 337 taskInfo.url = ""; in Convert2JSValue() 338 taskInfo.data = ""; in Convert2JSValue() 339 if (taskInfo.action == Action::UPLOAD) { in Convert2JSValue() 340 taskInfo.files.clear(); in Convert2JSValue() 341 taskInfo.forms.clear(); in Convert2JSValue() 344 napi_set_named_property(env, value, "url", Convert2JSValue(env, taskInfo.url)); in Convert2JSValue() [all …]
|
D | request_event.cpp | 154 std::shared_ptr<TaskInfo> taskInfo; in On() local 155 if (GetCache(jsParam.task->GetTid(), taskInfo) && taskInfo != nullptr) { in On() 156 if (!NeedNotify(jsParam.type, taskInfo)) { in On() 159 listener->RequestCallBack(jsParam.type, jsParam.task->GetTid(), BuildNotifyData(taskInfo)); in On() 168 bool RequestEvent::NeedNotify(const std::string &type, std::shared_ptr<TaskInfo> &taskInfo) in NeedNotify() argument 170 if (type == EVENT_FAIL && taskInfo->progress.state != State::FAILED) { in NeedNotify() 173 if (type == EVENT_COMPLETE && taskInfo->progress.state != State::COMPLETED) { in NeedNotify() 176 if (!taskInfo->progress.sizes.empty()) { in NeedNotify() 177 uint64_t processed = taskInfo->progress.processed; in NeedNotify() 178 int64_t totalSise = taskInfo->progress.sizes[0]; in NeedNotify() [all …]
|
D | notify_stub.cpp | 157 auto taskInfo = std::make_shared<TaskInfo>(); in OnDone() local 158 ParcelHelper::UnMarshal(data, *taskInfo); in OnDone() 159 REQUEST_HILOGI("task %{public}s done", taskInfo->tid.c_str()); in OnDone() 161 auto item = JsTask::taskMap_.find(taskInfo->tid); in OnDone() 166 RequestEvent::AddCache(taskInfo->tid, taskInfo); in OnDone()
|
D | js_task.cpp | 339 *result = NapiUtils::Convert2JSValue(context->env_, context->taskInfo); in TouchInner() 348 RequestManager::GetInstance()->Touch(context->tid, context->token, context->taskInfo); in TouchInner() 542 TaskInfo taskInfo; in Query() member 560 context->taskInfo.withSystem = true; in Query() 561 *result = NapiUtils::Convert2JSValue(context->env_, context->taskInfo); in Query() 569 context->innerCode_ = RequestManager::GetInstance()->Query(context->tid, context->taskInfo); in Query()
|
D | request_notify.cpp | 89 void RequestNotify::Done(const TaskInfo &taskInfo) in Done() argument
|
/base/update/updateservice/services/engine/src/ |
D | update_service_impl_firmware.cpp | 216 int32_t UpdateServiceImplFirmware::GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, in GetTaskInfo() argument 224 taskInfo.existTask = true; in GetTaskInfo() 225 taskInfo.taskBody.status = static_cast<UpgradeStatus>(task.status); in GetTaskInfo() 226 taskInfo.taskBody.progress = task.progress; in GetTaskInfo() 227 taskInfo.taskBody.versionDigestInfo.versionDigest = task.taskId; in GetTaskInfo() 230 StringUtils::GetBoolStr(taskInfo.existTask).c_str(), CAST_INT(taskInfo.taskBody.status), in GetTaskInfo() 231 taskInfo.taskBody.progress); in GetTaskInfo()
|
D | update_service.cpp | 199 int32_t UpdateService::GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &busi… in GetTaskInfo() argument 206 return onlineUpdater->GetTaskInfo(info, taskInfo, businessError); in GetTaskInfo() 373 TaskInfo taskInfo; in BuildTaskInfoDump() local 376 service->GetTaskInfo(upgradeInfo, taskInfo, businessError); in BuildTaskInfoDump() 377 if (!taskInfo.existTask) { in BuildTaskInfoDump() 383 dprintf(fd, "Progress: %d\n", taskInfo.taskBody.progress); in BuildTaskInfoDump() 384 dprintf(fd, "UpgradeStatus: %d\n", taskInfo.taskBody.status); in BuildTaskInfoDump() 385 dprintf(fd, "SubStatus: %d\n", taskInfo.taskBody.subStatus); in BuildTaskInfoDump() 386 for (auto &iter : taskInfo.taskBody.errorMessages) { in BuildTaskInfoDump()
|
D | update_service_stub.cpp | 145 TaskInfo taskInfo = {}; in GetTaskInfoStub() local 147 int32_t ret = service->GetTaskInfo(upgradeInfo, taskInfo, businessError); in GetTaskInfoStub() 150 MessageParcelHelper::WriteTaskInfo(reply, taskInfo); in GetTaskInfoStub()
|
/base/request/request/frameworks/native/include/ |
D | notify_interface.h | 29 virtual void Done(const TaskInfo &taskInfo) = 0;
|
/base/hiviewdfx/hicollie/frameworks/native/ |
D | watchdog_inner.h | 52 static void FfrtCallback(uint64_t taskId, const char *taskInfo, uint32_t delayedTaskCount); 53 …tic void SendFfrtEvent(const std::string &msg, const std::string &eventName, const char *taskInfo);
|
D | watchdog_inner.cpp | 382 void WatchdogInner::FfrtCallback(uint64_t taskId, const char *taskInfo, uint32_t delayedTaskCount) in FfrtCallback() argument 385 desc += taskInfo; in FfrtCallback() 392 WatchdogInner::SendFfrtEvent(desc, "SERVICE_BLOCK", taskInfo); in FfrtCallback() 401 WatchdogInner::SendFfrtEvent(desc, "SERVICE_WARNING", taskInfo); in FfrtCallback() 412 …ogInner::SendFfrtEvent(const std::string &msg, const std::string &eventName, const char * taskInfo) in SendFfrtEvent() argument 427 "MODULE_NAME", taskInfo, in SendFfrtEvent()
|
/base/useriam/user_auth_framework/services/context/src/ |
D | widget_context.cpp | 261 TaskInfo taskInfo { in ExecuteAuthList() local 265 runTaskInfoList_.push_back(taskInfo); in ExecuteAuthList() 291 runTaskInfoList_.end(), [authType] (const TaskInfo &taskInfo) { in StopAuthList() argument 292 return (taskInfo.authType == authType); in StopAuthList() 402 for (auto &taskInfo : runTaskInfoList_) { in StopAllRunTask() local 404 taskInfo.task->Stop(); in StopAllRunTask()
|
/base/request/request/frameworks/js/napi/include/ |
D | request_notify.h | 48 void Done(const TaskInfo &taskInfo) override;
|
D | request_event.h | 93 static NotifyData BuildNotifyData(const std::shared_ptr<TaskInfo> &taskInfo); 96 static bool NeedNotify(const std::string &type, std::shared_ptr<TaskInfo> &taskInfo);
|
D | js_task.h | 67 TaskInfo taskInfo; member
|
/base/request/request/services/service/rust/src/ |
D | request_binding.rs | 47 pub fn RecordRequestTaskInfo(taskInfo: *const CTaskInfo) -> bool; in RecordRequestTaskInfo()
|
/base/update/updateservice/interfaces/inner_api/include/ |
D | iservice_online_updater.h | 62 …virtual int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessEr…
|
D | update_service_kits.h | 74 …virtual int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessEr…
|
D | update_service_kits_impl.h | 72 …int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessError) fin…
|
/base/update/updateservice/services/engine/include/ |
D | update_service_impl_firmware.h | 66 …int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessError) fin…
|
D | update_service_proxy.h | 65 …int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessError) ove…
|
D | update_service.h | 76 …int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessError) ove…
|
/base/update/updateservice/interfaces/inner_api/engine/ |
D | update_service_kits_impl.cpp | 253 int32_t UpdateServiceKitsImpl::GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessErr… in GetTaskInfo() argument 258 return updateService->GetTaskInfo(info, taskInfo, businessError); in GetTaskInfo()
|