Home
last modified time | relevance | path

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

/system/security/keystore2/src/database/
Dversioning.rs77 pub fn upgrade_database<F>(tx: &Transaction, current_version: u32, upgraders: &[F]) -> Result<()> in upgrade_database()
81 if upgraders.len() < current_version as usize { in upgrade_database()
87 db_version = upgraders[db_version as usize](tx).with_context(|| { in upgrade_database()
104 let upgraders: Vec<_> = (0..30_u32) in upgrade_database_test() localVariable
153 upgrade_database(&tx, to, &upgraders).unwrap(); in upgrade_database_test()