/ohos5.0/base/request/request/frameworks/native/include/ |
H A D | parcel_helper.h | 27 REQUEST_API static void UnMarshal(MessageParcel &data, TaskInfo &info); 31 static void UnMarshalBase(MessageParcel &data, TaskInfo &info); 32 static bool UnMarshalFormItem(MessageParcel &data, TaskInfo &info); 33 static bool UnMarshalFileSpec(MessageParcel &data, TaskInfo &info); 34 static void UnMarshalProgress(MessageParcel &data, TaskInfo &info); 35 static bool UnMarshalMapProgressExtras(MessageParcel &data, TaskInfo &info); 36 static bool UnMarshalMapExtras(MessageParcel &data, TaskInfo &info); 37 static bool UnMarshalTaskState(MessageParcel &data, TaskInfo &info);
|
H A D | request_service_interface.h | 40 virtual int32_t Query(const std::string &tid, TaskInfo &info) = 0; 41 virtual int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info) = 0; 43 virtual int32_t Show(const std::string &tid, TaskInfo &info) = 0;
|
H A D | request_service_proxy.h | 41 int32_t Query(const std::string &tid, TaskInfo &info) override; 42 int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info) override; 44 int32_t Show(const std::string &tid, TaskInfo &info) override;
|
H A D | request_manager.h | 33 REQUEST_API int32_t Query(const std::string &tid, TaskInfo &info); 34 REQUEST_API int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info); 36 REQUEST_API int32_t Show(const std::string &tid, TaskInfo &info);
|
H A D | request_manager_impl.h | 52 int32_t Query(const std::string &tid, TaskInfo &info); 53 int32_t Touch(const std::string &tid, const std::string &token, TaskInfo &info); 55 int32_t Show(const std::string &tid, TaskInfo &info);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-download-upload.md | 76 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly uid?: string;|@ohos.request.d.ts| 79 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly url?: string;|@ohos.request.d.ts| 81 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly tid: string;|@ohos.request.d.ts| 83 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly title: string;|@ohos.request.d.ts| 85 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly action: Action;|@ohos.request.d.ts| 86 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly mode: Mode;|@ohos.request.d.ts| 89 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly gauge: boolean;|@ohos.request.d.ts| 90 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly ctime: number;|@ohos.request.d.ts| 91 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly mtime: number;|@ohos.request.d.ts| 92 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly retry: boolean;|@ohos.request.d.ts| [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-download-upload.md | 77 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly uid?: string;|@ohos.request.d.ts| 80 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly url?: string;|@ohos.request.d.ts| 82 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly tid: string;|@ohos.request.d.ts| 84 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly title: string;|@ohos.request.d.ts| 86 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly action: Action;|@ohos.request.d.ts| 87 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly mode: Mode;|@ohos.request.d.ts| 90 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly gauge: boolean;|@ohos.request.d.ts| 91 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly ctime: number;|@ohos.request.d.ts| 92 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly mtime: number;|@ohos.request.d.ts| 93 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly retry: boolean;|@ohos.request.d.ts| [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-request-sys.md | 29 ## TaskInfo<sup>10+</sup> 43 query(id: string, callback: AsyncCallback<TaskInfo>): void 58 | callback | AsyncCallback<[TaskInfo](#taskinfo10)> | 是 | 回调函数,返回任务详细信息。 | 76 request.agent.query("123456", (err: BusinessError, taskInfo: request.agent.TaskInfo) => { 88 query(id: string): Promise<TaskInfo> 108 | Promise<[TaskInfo](#taskinfo10)> | Promise对象。返回任务详细信息的Promise对象。 | 126 request.agent.query("123456").then((taskInfo: request.agent.TaskInfo) => {
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-download-upload.md | 76 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly uid?: string;|@ohos.request.d… 79 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly url?: string;|@ohos.request.d… 81 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly tid: string;|@ohos.request.d.… 83 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly title: string;|@ohos.request.… 85 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly action: Action;|@ohos.request… 86 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mode: Mode;|@ohos.request.d.t… 89 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly gauge: boolean;|@ohos.request… 90 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly ctime: number;|@ohos.request.… 91 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mtime: number;|@ohos.request.… 92 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly retry: boolean;|@ohos.request… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-download-upload.md | 77 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly uid?: string;|@ohos.request.d… 80 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly url?: string;|@ohos.request.d… 82 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly tid: string;|@ohos.request.d.… 84 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly title: string;|@ohos.request.… 86 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly action: Action;|@ohos.request… 87 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mode: Mode;|@ohos.request.d.t… 90 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly gauge: boolean;|@ohos.request… 91 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly ctime: number;|@ohos.request.… 92 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly mtime: number;|@ohos.request.… 93 |Added|NA|Class name: TaskInfo;<br>Method or attribute name: readonly retry: boolean;|@ohos.request… [all …]
|
/ohos5.0/base/request/request/frameworks/native/src/ |
H A D | parcel_helper.cpp | 22 void ParcelHelper::UnMarshal(MessageParcel &data, TaskInfo &info) in UnMarshal() 44 void ParcelHelper::UnMarshalBase(MessageParcel &data, TaskInfo &info) in UnMarshalBase() 65 bool ParcelHelper::UnMarshalFormItem(MessageParcel &data, TaskInfo &info) in UnMarshalFormItem() 81 bool ParcelHelper::UnMarshalFileSpec(MessageParcel &data, TaskInfo &info) in UnMarshalFileSpec() 99 void ParcelHelper::UnMarshalProgress(MessageParcel &data, TaskInfo &info) in UnMarshalProgress() 108 bool ParcelHelper::UnMarshalMapProgressExtras(MessageParcel &data, TaskInfo &info) in UnMarshalMapProgressExtras() 122 bool ParcelHelper::UnMarshalMapExtras(MessageParcel &data, TaskInfo &info) in UnMarshalMapExtras() 136 bool ParcelHelper::UnMarshalTaskState(MessageParcel &data, TaskInfo &info) in UnMarshalTaskState()
|
H A D | request_manager.cpp | 45 int32_t RequestManager::Query(const std::string &tid, TaskInfo &info) in Query() 50 int32_t RequestManager::Touch(const std::string &tid, const std::string &token, TaskInfo &info) in Touch() 60 int32_t RequestManager::Show(const std::string &tid, TaskInfo &info) in Show()
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-request-sys.md | 30 ## TaskInfo<sup>10+</sup> 44 query(id: string, callback: AsyncCallback<TaskInfo>): void 59 | callback | AsyncCallback<[TaskInfo](#taskinfo10)> | Yes| Callback used to return task detai… 77 request.agent.query("123456", (err: BusinessError, taskInfo: request.agent.TaskInfo) => { 89 query(id: string): Promise<TaskInfo> 109 | Promise<[TaskInfo](#taskinfo10)> | Promise Promise used to return task details.| 127 request.agent.query("123456").then((taskInfo: request.agent.TaskInfo) => {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | frame_info.h | 24 struct TaskInfo { struct 46 std::vector<TaskInfo> layoutInfos_; argument 47 std::vector<TaskInfo> renderInfos_;
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | task.h | 48 struct TaskInfo { struct 102 static TaskInfo* GenerateTaskInfo(napi_env env, napi_value func, napi_value args, 116 TaskInfo* GetTaskInfo(napi_env env, napi_value task, Priority priority); 171 TaskInfo* currentTaskInfo_ {}; 172 std::list<TaskInfo*> pendingTaskInfos_ {}; // for a common task executes multiple times
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-download-upload.md | 5 |type有变化|类名:TaskInfo;<br>方法or属性:readonly data?: string \| Array\<FormItem>;<br>旧版本信息:?string \| Arr…
|
/ohos5.0/base/request/request/test/unittest/cpp_test/fwkTest/src/ |
H A D | parcel_helper_test.cpp | 78 TaskInfo info; 102 TaskInfo info; 130 TaskInfo info; 153 TaskInfo info; 176 TaskInfo info; 316 TaskInfo info; in MarshalBase() 360 TaskInfo info;
|
H A D | request_manager_impl_test.cpp | 50 MOCK_METHOD(int32_t, Query, (const std::string &tid, TaskInfo &info), (override)); 51 …MOCK_METHOD(int32_t, Touch, (const std::string &tid, const std::string &token, TaskInfo &info), (o… 53 MOCK_METHOD(int32_t, Show, (const std::string &tid, TaskInfo &info), (override)); 185 TaskInfo info; 199 TaskInfo info; 228 TaskInfo info;
|
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/transport/ |
H A D | file_transfer_manager.h | 53 struct TaskInfo { struct 67 std::vector<TaskInfo> taskInfos_; argument
|
/ohos5.0/base/request/request/services/src/task/ |
H A D | info.rs | 26 pub(crate) struct TaskInfo { struct 42 impl TaskInfo { implementation 142 impl TaskInfo { implementation
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/ |
H A D | js-apidiff-download-upload.md | 5 …TaskInfo;<br>Method or attribute name: readonly data?: string \| Array\<FormItem>;<br>Old version …
|
/ohos5.0/base/update/updateservice/interfaces/inner_api/feature/update/model/message_parcel/include/ |
H A D | message_parcel_helper.h | 62 static int32_t ReadTaskInfo(MessageParcel &reply, TaskInfo &info); 63 static int32_t WriteTaskInfo(MessageParcel &data, const TaskInfo &info);
|
/ohos5.0/base/request/request/services/src/manage/ |
H A D | query.rs | 21 use crate::task::info::{State, TaskInfo}; 61 pub(crate) fn show(&self, uid: u64, task_id: u32) -> Option<TaskInfo> { in show() argument 75 pub(crate) fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch() argument 97 pub(crate) fn query(&self, task_id: u32, action: Action) -> Option<TaskInfo> { in query() argument
|
H A D | task_manager.rs | 35 use crate::info::TaskInfo; 387 pub(crate) fn show(&self, uid: u64, task_id: u32) -> Option<TaskInfo> { in show() argument 394 pub(crate) fn query(&self, task_id: u32, action: Action) -> Option<TaskInfo> { in query() argument 401 pub(crate) fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch() argument
|
/ohos5.0/base/request/request/services/src/manage/events/ |
H A D | mod.rs | 21 use crate::info::TaskInfo; 127 Query(u32, Action, Sender<Option<TaskInfo>>), 128 Show(u32, u64, Sender<Option<TaskInfo>>), 129 Touch(u32, u64, String, Sender<Option<TaskInfo>>),
|