Searched refs:TransactionBehavior (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore2/src/database/ |
D | versioning.rs | 97 use rusqlite::{Connection, TransactionBehavior, NO_PARAMS}; 146 conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in upgrade_database_test() 152 conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in upgrade_database_test() 193 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_new_database() 230 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_new_database() 245 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_new_database() 252 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_new_database() 296 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_legacy_database() 334 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_legacy_database() 349 let tx = conn.transaction_with_behavior(TransactionBehavior::Immediate).unwrap(); in create_or_get_version_legacy_database() [all …]
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 32 params, Connection, OptionalExtension, Transaction, TransactionBehavior, NO_PARAMS, 54 fn with_transaction<T, F>(&mut self, behavior: TransactionBehavior, f: F) -> Result<T> in with_transaction() argument 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 | 90 Connection, OptionalExtension, ToSql, Transaction, TransactionBehavior, NO_PARAMS, 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() argument [all …]
|