Home
last modified time | relevance | path

Searched refs:Transaction (Results 1 – 4 of 4) sorted by relevance

/system/security/keystore2/src/database/
Dversioning.rs16 use rusqlite::{params, OptionalExtension, Transaction, NO_PARAMS};
18 pub fn create_or_get_version(tx: &Transaction, current_version: u32) -> Result<u32> { in create_or_get_version() argument
66 pub fn update_version(tx: &Transaction, new_version: u32) -> Result<()> { in update_version() argument
77 pub fn upgrade_database<F>(tx: &Transaction, current_version: u32, upgraders: &[F]) -> Result<()> in upgrade_database() argument
79 F: Fn(&Transaction) -> Result<u32> + 'static, in upgrade_database()
106 move |tx: &Transaction| { in upgrade_database_test()
/system/security/keystore2/src/
Ddatabase.rs90 Connection, OptionalExtension, ToSql, Transaction, TransactionBehavior, NO_PARAMS,
129 fn load_from_db(key_id: i64, tx: &Transaction) -> Result<Self> { in load_from_db()
155 fn store_in_db(&self, key_id: i64, tx: &Transaction) -> Result<()> { in store_in_db()
204 fn load_from_db(blob_id: i64, tx: &Transaction) -> Result<Self> { in load_from_db()
230 fn store_in_db(&self, blob_id: i64, tx: &Transaction) -> Result<()> { in store_in_db()
832 const UPGRADERS: &'static [fn(&Transaction) -> Result<u32>] = &[Self::from_0_to_1];
859 fn from_0_to_1(tx: &Transaction) -> Result<u32> { in from_0_to_1()
877 fn init_tables(tx: &Transaction) -> Result<()> { in init_tables()
1440 F: Fn(&Transaction) -> Result<(bool, T)>, in with_transaction()
1503 tx: &Transaction, in create_key_entry_internal() argument
[all …]
/system/chre/chpp/
DREADME.md196 ## Transaction ID
198Transaction ID allows CHPP to have multiple requests outstanding for not just different commands, …
/system/security/keystore2/legacykeystore/
Dlib.rs32 params, Connection, OptionalExtension, Transaction, TransactionBehavior, NO_PARAMS,
56 F: Fn(&Transaction) -> Result<T>, in with_transaction()