/base/request/request/frameworks/native/include/ |
D | parcel_helper.h | 25 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);
|
D | request_service_interface.h | 38 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;
|
D | request_service_proxy.h | 39 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;
|
D | request_manager.h | 48 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);
|
D | notify_interface.h | 29 virtual void Done(const TaskInfo &taskInfo) = 0;
|
/base/request/request/services/service/rust/src/c_wrapper/include/ |
D | c_request_database.h | 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);
|
D | c_task_info.h | 72 struct TaskInfo { struct
|
/base/request/request/frameworks/native/src/ |
D | parcel_helper.cpp | 22 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()
|
D | request_manager.cpp | 134 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()
|
D | request_service_proxy.cpp | 142 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/ |
D | request_event.h | 51 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_;
|
D | request_notify.h | 48 void Done(const TaskInfo &taskInfo) override;
|
/base/request/request/frameworks/js/napi/src/ |
D | request_event.cpp | 89 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/ |
D | widget_context.h | 87 struct TaskInfo { struct 106 std::list<TaskInfo> runTaskInfoList_;
|
/base/update/updateservice/interfaces/kits/js/declaration/ |
D | @ohos.update.d.ts | 228 getTaskInfo(callback: AsyncCallback<TaskInfo>): void; 241 getTaskInfo(): Promise<TaskInfo>; 1213 export interface TaskInfo { interface
|
/base/update/updateservice/interfaces/inner_api/include/ |
D | message_parcel_helper.h | 47 static int32_t ReadTaskInfo(MessageParcel &reply, TaskInfo &info); 48 static int32_t WriteTaskInfo(MessageParcel &data, const TaskInfo &info);
|
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…
|
/base/request/request/services/service/rust/src/ |
D | task_info.rs | 19 pub struct TaskInfo { struct 122 impl TaskInfo { implementation 172 let task_info = TaskInfo { in from_c_struct()
|
D | task_manager.rs | 46 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()
|
D | request_service_ability.rs | 202 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/ |
D | downloaduploadmanager_fuzzer.cpp | 93 TaskInfo info; in ShowRequestFuzzTest() 101 TaskInfo info; in TouchRequestFuzzTest()
|
/base/request/request/services/service/rust/src/c_wrapper/source/ |
D | c_request_database.cpp | 285 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/ |
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…
|