Searched refs:async_task (Results 1 – 5 of 5) sorted by relevance
| /system/security/keystore2/src/ |
| D | gc.rs | 23 async_task, 29 use async_task::AsyncTask; 36 async_task: Arc<AsyncTask>, field 47 pub fn new_init_with<F>(async_task: Arc<AsyncTask>, init: F) -> Self in new_init_with() 56 let weak_at = Arc::downgrade(&async_task); in new_init_with() 60 async_task.queue_hi(move |shelf| { in new_init_with() 68 async_task: weak_at, in new_init_with() 73 Self { async_task, notified } in new_init_with() 81 self.async_task.queue_lo(|shelf| shelf.get_downcast_mut::<GcInternal>().unwrap().step()) in notify_gc() 91 async_task: std::sync::Weak<AsyncTask>, field [all …]
|
| D | lib.rs | 19 pub mod async_task; module
|
| D | legacy_importer.rs | 30 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()
|
| D | globals.rs | 19 use crate::async_task::AsyncTask;
|
| /system/security/keystore2/legacykeystore/ |
| D | lib.rs | 28 async_task::AsyncTask, error::anyhow_error_to_cstring, globals::SUPER_KEY, 270 async_task: AsyncTask, field 294 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder() 415 self.async_task.queue_hi(move |shelf| { in init_shelf() 428 self.async_task.queue_hi(move |shelf| { in do_serialized()
|