Home
last modified time | relevance | path

Searched refs:resume (Results 1 – 10 of 10) sorted by relevance

/base/request/request/services/service/rust/src/
Dlib.rs85 fn resume(&self, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> IpcResult<()>; in resume() method
135 RequestInterfaceCode::Resume => stub.resume(data, reply), in on_remote_request()
175 fn resume(&self, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> IpcResult<()> { in resume() method
Dtask_manager.rs530 task.resume.store(false, Ordering::SeqCst); in pause()
538 pub fn resume(&self, uid: u64, task_id: u32) -> ErrorCode { in resume() method
553 task.resume.store(true, Ordering::SeqCst); in resume()
572 task.resume.store(false, Ordering::SeqCst); in stop()
827 task.resume.store(true, Ordering::SeqCst); in net_work_change_callback()
Drequest_task.rs85 pub resume: AtomicBool, field
318 resume: AtomicBool::new(false), in constructor()
496 if self.resume.load(Ordering::SeqCst) || begins > 0 || ends >= 0 { in build_download_request()
499 if self.resume.load(Ordering::SeqCst) { in build_download_request()
662 if self.resume.load(Ordering::SeqCst) { in handle_response_error()
Drequest_service.rs279 fn resume(&self, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> IpcResult<()> { in resume() method
289 let ret = RequestAbility::get_ability_instance().resume(id); in resume()
Drequest_service_ability.rs133 pub fn resume(&self, task_id: u32) -> ErrorCode { in resume() method
135 TaskManager::get_instance().resume(get_calling_uid(), task_id) in resume()
/base/request/request/test/unittest/rust/src/
Dmain.rs204 code = task_manager.resume(uid, task_id); in resume_test()
209 code = task_manager.resume(uid, task_id); in resume_test()
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/test/
DRequestOperateTask.test.ets360 * @tc.desc: Test pause resume pause background task
374 await task.resume().then(() => {
393 * @tc.desc: Test resume FOREGROUND task
406 await task.resume();
416 * @tc.desc: Test pause resume background task
431 await task.resume(async (err) => {
440 * @tc.desc: Test stop resume background task
461 await task.resume();
470 * @tc.desc: Test start resume background task
484 await task.resume();
/base/request/request/
DREADME.md95 | resume(): Promise\<boolean> | Resumes this download task. This A…
96 | resume(callback: AsyncCallback\<boolean>): void | Resumes this download task. This A…
386 downloadTask.resume().then(() => {
387 console.info('Success to resume the download task.(promise) ');
389 console.error('Failed to resume the download task.(promise) Cause: ' + JSON.stringify(err));
393 downloadTask.resume((err) => {
395 … console.error('Failed to resume the download task.(callback) Cause: ' + JSON.stringify(err));
398 console.info('Success to resume the download task.(callback) ');
/base/hiviewdfx/faultloggerd/interfaces/innerkits/callstack/include/
Dcallstack.h201 .resume = Resume,
/base/request/request/test/unittest/common/napi/requestTest/
DRequestJsunit.test.js691 downloadTask.resume(()=>{
736 downloadTask.resume().then(() => {