Home
last modified time | relevance | path

Searched refs:async_task (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore2/src/
Dgc.rs23 async_task,
28 use async_task::AsyncTask;
35 async_task: Arc<AsyncTask>, field
46 pub fn new_init_with<F>(async_task: Arc<AsyncTask>, init: F) -> Self in new_init_with()
55 let weak_at = Arc::downgrade(&async_task); in new_init_with()
59 async_task.queue_hi(move |shelf| { in new_init_with()
67 async_task: weak_at, in new_init_with()
72 Self { async_task, notified } in new_init_with()
80 self.async_task.queue_lo(|shelf| shelf.get_downcast_mut::<GcInternal>().unwrap().step()) in notify_gc()
90 async_task: std::sync::Weak<AsyncTask>, field
[all …]
Dlib.rs19 pub mod async_task; module
Dlegacy_importer.rs30 use crate::{async_task::AsyncTask, legacy_blob::LegacyBlobLoader};
45 async_task: Arc<AsyncTask>, field
97 pub fn new(async_task: Arc<AsyncTask>) -> Self { in new()
99 async_task, in new()
166 self.async_task.queue_hi(move |shelf| { in check_state()
245 self.async_task.queue_hi(move |shelf| { in do_serialized()
Dglobals.rs19 use crate::async_task::AsyncTask;
/system/security/keystore2/legacykeystore/
Dlib.rs28 async_task::AsyncTask, error::anyhow_error_to_cstring, globals::SUPER_KEY,
258 async_task: AsyncTask, field
282 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder()
402 self.async_task.queue_hi(move |shelf| { in init_shelf()
415 self.async_task.queue_hi(move |shelf| { in do_serialized()