Home
last modified time | relevance | path

Searched defs:TaskId (Results 1 – 9 of 9) sorted by relevance

/base/request/request/common/utils/src/
Dtask_id.rs19 pub struct TaskId { struct
23 impl TaskId { impl
40 impl Display for TaskId { implementation
/base/request/request/frameworks/native/cache_core/src/data/
Dfile.rs80 pub(crate) fn try_restore(task_id: TaskId, handle: &'static CacheManager) -> Option<Self> { in try_restore()
98 task_id: TaskId, in try_create()
124 fn create_file(task_id: &TaskId, cache: Arc<RamCache>) -> Result<(), io::Error> { in create_file()
146 pub(crate) fn task_id(&self) -> &TaskId { in task_id()
178 ) -> Result<(TaskId, SystemTime), io::Error> { in filter_map_entry()
198 pub(super) fn update_file_cache(&'static self, task_id: TaskId, cache: Arc<RamCache>) { in update_file_cache()
231 task_id: &TaskId, in update_ram_from_file_inner()
Dram.rs46 pub(crate) fn new(task_id: TaskId, handle: &'static CacheManager, size: Option<usize>) -> Self { in new()
135 pub(crate) fn task_id(&self) -> &TaskId { in task_id()
/base/request/request/frameworks/native/cache_core/src/
Dmanage.rs74 pub fn remove(&self, task_id: TaskId) { in remove()
95 caches: &Mutex<LRUCache<TaskId, T>>, in apply_cache()
96 task_id: fn(&T) -> &TaskId, in apply_cache()
Dupdate.rs35 pub fn new(task_id: TaskId, cache_manager: &'static CacheManager) -> Self { in new()
/base/request/request/frameworks/native/cache_download/src/download/
Dtask.rs49 task_id: TaskId, in new()
202 task_id: TaskId, in download_inner()
Dcallback.rs56 task_id: TaskId, in new()
/base/request/request/frameworks/native/cache_download/src/
Dservices.rs176 pub(crate) fn task_finish(&self, task_id: &TaskId, seq: usize) { in task_finish()
199 task_id: &TaskId, in fetch_with_callback()
/base/startup/init/services/loopevent/task/
Dle_task.h65 } TaskId; typedef