Home
last modified time | relevance | path

Searched refs:TaskInfo (Results 1 – 25 of 46) sorted by relevance

12

/base/request/request/frameworks/native/include/
Dparcel_helper.h25 REQUEST_API static void UnMarshal(MessageParcel &data, TaskInfo &info);
28 static void UnMarshalBase(MessageParcel &data, TaskInfo &info);
29 static bool UnMarshalFormItem(MessageParcel &data, TaskInfo &info);
30 static bool UnMarshalFileSpec(MessageParcel &data, TaskInfo &info);
31 static void UnMarshalProgress(MessageParcel &data, TaskInfo &info);
32 static bool UnMarshalMapProgressExtras(MessageParcel &data, TaskInfo &info);
33 static bool UnMarshalMapExtras(MessageParcel &data, TaskInfo &info);
34 static bool UnMarshalTaskState(MessageParcel &data, TaskInfo &info);
Drequest_service_interface.h38 virtual int32_t Query(const std::string &tid, TaskInfo &info) = 0;
39 virtual int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info) = 0;
41 virtual int32_t Show(const std::string &tid, TaskInfo &info) = 0;
Drequest_service_proxy.h39 int32_t Query(const std::string &tid, TaskInfo &info) override;
40 int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info) override;
42 int32_t Show(const std::string &tid, TaskInfo &info) override;
Drequest_manager.h48 REQUEST_API int32_t Query(const std::string &tid, TaskInfo &info);
49 REQUEST_API int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info);
51 REQUEST_API int32_t Show(const std::string &tid, TaskInfo &info);
Dnotify_interface.h29 virtual void Done(const TaskInfo &taskInfo) = 0;
/base/request/request/services/service/rust/src/c_wrapper/include/
Dc_request_database.h126 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);
Dc_task_info.h72 struct TaskInfo { struct
/base/request/request/frameworks/native/src/
Dparcel_helper.cpp22 void ParcelHelper::UnMarshal(MessageParcel &data, TaskInfo &info) in UnMarshal()
44 void ParcelHelper::UnMarshalBase(MessageParcel &data, TaskInfo &info) in UnMarshalBase()
64 bool ParcelHelper::UnMarshalFormItem(MessageParcel &data, TaskInfo &info) in UnMarshalFormItem()
80 bool ParcelHelper::UnMarshalFileSpec(MessageParcel &data, TaskInfo &info) in UnMarshalFileSpec()
98 void ParcelHelper::UnMarshalProgress(MessageParcel &data, TaskInfo &info) in UnMarshalProgress()
107 bool ParcelHelper::UnMarshalMapProgressExtras(MessageParcel &data, TaskInfo &info) in UnMarshalMapProgressExtras()
121 bool ParcelHelper::UnMarshalMapExtras(MessageParcel &data, TaskInfo &info) in UnMarshalMapExtras()
135 bool ParcelHelper::UnMarshalTaskState(MessageParcel &data, TaskInfo &info) in UnMarshalTaskState()
Drequest_manager.cpp134 int32_t RequestManager::Query(const std::string &tid, TaskInfo &info) in Query()
145 int32_t RequestManager::Touch(const std::string &tid, const std::string &token, TaskInfo &info) in Touch()
167 int32_t RequestManager::Show(const std::string &tid, TaskInfo &info) in Show()
Drequest_service_proxy.cpp142 int32_t RequestServiceProxy::Query(const std::string &tid, TaskInfo &info) in Query()
162 int32_t RequestServiceProxy::Touch(const std::string &tid, const std::string &token, TaskInfo &info) in Touch()
205 int32_t RequestServiceProxy::Show(const std::string &tid, TaskInfo &info) in Show()
/base/request/request/frameworks/js/napi/include/
Drequest_event.h51 static void AddCache(const std::string &taskId, const std::shared_ptr<TaskInfo> &info);
52 static bool GetCache(const std::string &taskId, std::shared_ptr<TaskInfo> &info);
92 static void GetDownloadInfo(const TaskInfo &infoRes, DownloadInfo &info);
93 static NotifyData BuildNotifyData(const std::shared_ptr<TaskInfo> &taskInfo);
96 static bool NeedNotify(const std::string &type, std::shared_ptr<TaskInfo> &taskInfo);
99 static std::map<std::string, std::shared_ptr<TaskInfo>> taskCache_;
Drequest_notify.h48 void Done(const TaskInfo &taskInfo) override;
/base/request/request/frameworks/js/napi/src/
Drequest_event.cpp89 std::map<std::string, std::shared_ptr<TaskInfo>> RequestEvent::taskCache_;
154 std::shared_ptr<TaskInfo> taskInfo; in On()
168 bool RequestEvent::NeedNotify(const std::string &type, std::shared_ptr<TaskInfo> &taskInfo) in NeedNotify()
218 NotifyData RequestEvent::BuildNotifyData(const std::shared_ptr<TaskInfo> &taskInfo) in BuildNotifyData()
361 std::shared_ptr<TaskInfo> infoRes; in QueryExec()
364 infoRes = std::make_shared<TaskInfo>(); in QueryExec()
376 std::shared_ptr<TaskInfo> infoRes; in QueryMimeTypeExec()
389 void RequestEvent::GetDownloadInfo(const TaskInfo &infoRes, DownloadInfo &info) in GetDownloadInfo()
450 void RequestEvent::AddCache(const std::string &taskId, const std::shared_ptr<TaskInfo> &info) in AddCache()
457 bool RequestEvent::GetCache(const std::string &taskId, std::shared_ptr<TaskInfo> &info) in GetCache()
/base/useriam/user_auth_framework/services/context/inc/
Dwidget_context.h87 struct TaskInfo { struct
106 std::list<TaskInfo> runTaskInfoList_;
/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts228 getTaskInfo(callback: AsyncCallback<TaskInfo>): void;
241 getTaskInfo(): Promise<TaskInfo>;
1213 export interface TaskInfo { interface
/base/update/updateservice/interfaces/inner_api/include/
Dmessage_parcel_helper.h47 static int32_t ReadTaskInfo(MessageParcel &reply, TaskInfo &info);
48 static int32_t WriteTaskInfo(MessageParcel &data, const TaskInfo &info);
Diservice_online_updater.h62 …virtual int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessEr…
Dupdate_service_kits.h74 …virtual int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessEr…
/base/request/request/services/service/rust/src/
Dtask_info.rs19 pub struct TaskInfo { struct
122 impl TaskInfo { implementation
172 let task_info = TaskInfo { in from_c_struct()
Dtask_manager.rs46 info_cb: Option<Box<dyn Fn(&TaskInfo) + Send + Sync + 'static>>,
195 info_cb: Box<dyn Fn(&TaskInfo) + Send + Sync + 'static>, in register_callback()
593 pub fn show(&self, uid: u64, task_id: u32) -> Option<TaskInfo> { in show() argument
607 pub fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch() argument
628 let task_info = TaskInfo::from_c_struct(c_task_info); in touch()
636 pub fn query(&self, task_id: u32, query_action: Action) -> Option<TaskInfo> { in query() argument
664 let task_info = TaskInfo::from_c_struct(c_task_info); in query()
Drequest_service_ability.rs202 pub fn show_task(&self, task_id: u32) -> Option<TaskInfo> { in show_task() argument
207 pub fn touch_task(&self, task_id: u32, token: String) -> Option<TaskInfo> { in touch_task() argument
230 pub fn query_task(&self, task_id: u32, query_permission: QueryPermission) -> Option<TaskInfo> { in query_task() argument
359 pub fn notify_task_info(task_info: &TaskInfo) { in notify_task_info() argument
437 … pub fn serialize_task_info(&self, tf: TaskInfo, reply: &mut BorrowedMsgParcel) -> IpcResult<()> { in serialize_task_info() argument
/base/request/request/test/fuzztest/downloaduploadmanager_fuzzer/
Ddownloaduploadmanager_fuzzer.cpp93 TaskInfo info; in ShowRequestFuzzTest()
101 TaskInfo info; in TouchRequestFuzzTest()
/base/request/request/services/service/rust/src/c_wrapper/source/
Dc_request_database.cpp285 TaskInfo taskInfo; in Touch()
306 TaskInfo taskInfo; in Query()
365 void GetCommonTaskInfo(std::shared_ptr<OHOS::NativeRdb::ResultSet> resultSet, TaskInfo &taskInfo) in GetCommonTaskInfo()
403 int TouchRequestTaskInfo(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, in TouchRequestTaskInfo()
438 int QueryRequestTaskInfo(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, in QueryRequestTaskInfo()
472 int TouchTaskInfoAttachment(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, in TouchTaskInfoAttachment()
515 int QueryTaskInfoAttachment(const OHOS::NativeRdb::RdbPredicates &rdbPredicates, TaskInfo &taskInfo, in QueryTaskInfoAttachment()
546 CTaskInfo *BuildCTaskInfo(const TaskInfo &taskInfo) in BuildCTaskInfo()
/base/update/updateservice/services/engine/include/
Dupdate_service_impl_firmware.h66 …int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessError) fin…
Dupdate_service_proxy.h65 …int32_t GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &businessError) ove…

12