Searched refs:with_transaction (Results 1 – 2 of 2) sorted by relevance
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 54 fn with_transaction<T, F>(&mut self, behavior: TransactionBehavior, f: F) -> Result<T> in with_transaction() method 90 self.with_transaction(TransactionBehavior::Immediate, |tx| { in init_tables() 105 self.with_transaction(TransactionBehavior::Deferred, |tx| { in list() 119 self.with_transaction(TransactionBehavior::Immediate, |tx| { in put() 130 self.with_transaction(TransactionBehavior::Deferred, |tx| { in get() 142 let removed = self.with_transaction(TransactionBehavior::Immediate, |tx| { in remove() 153 self.with_transaction(TransactionBehavior::Immediate, |tx| { in remove_uid() 161 self.with_transaction(TransactionBehavior::Immediate, |tx| { in remove_user()
|
/system/security/keystore2/src/ |
D | database.rs | 849 db.with_transaction(TransactionBehavior::Immediate, |tx| { in new() 1031 let (total, unused) = self.with_transaction(TransactionBehavior::Deferred, |tx| { in do_table_size_query() 1134 self.with_transaction(TransactionBehavior::Immediate, |tx| { in handle_next_superseded_blobs() 1223 self.with_transaction(TransactionBehavior::Immediate, |tx| { in cleanup_leftovers() 1244 self.with_transaction(TransactionBehavior::Immediate, |tx| { in key_exists() 1271 self.with_transaction(TransactionBehavior::Immediate, |tx| { in store_super_key() 1316 self.with_transaction(TransactionBehavior::Immediate, |tx| { in load_super_key() 1357 self.with_transaction(TransactionBehavior::Immediate, |tx| { in get_or_create_key_with() 1438 fn with_transaction<T, F>(&mut self, behavior: TransactionBehavior, f: F) -> Result<T> in with_transaction() method 1496 self.with_transaction(TransactionBehavior::Immediate, |tx| { in create_key_entry() [all …]
|