Home
last modified time | relevance | path

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

/system/security/keystore2/src/database/
Dutils.rs17 use rusqlite::{types::FromSql, Row, Rows};
65 pub fn get<T: FromSql>(&self) -> rusqlite::Result<T> { in get()
204 impl rusqlite::types::ToSql for $entry { impl
205 fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput> {
Dversioning.rs16 use rusqlite::{params, OptionalExtension, Transaction, NO_PARAMS};
97 use rusqlite::{Connection, TransactionBehavior, NO_PARAMS};
/system/security/keystore2/legacykeystore/
Dlib.rs31 use rusqlite::{
83 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()
84 Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseBusy, .. }) in is_locked_error()
85 | Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseLocked, .. }) in is_locked_error()
112 .collect::<rusqlite::Result<Vec<String>>>() in list()
/system/security/keystore2/src/
Ddatabase.rs84 use rusqlite::{
262 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
303 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
339 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
402 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
464 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
695 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
770 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql()
1176 rows.collect::<Result<Vec<(i64, Vec<u8>)>, rusqlite::Error>>() in handle_next_superseded_blobs()
1475 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error()
[all …]
Dkey_parameter.rs108 use rusqlite::types::{Null, ToSql, ToSqlOutput};
109 use rusqlite::Result as SqlResult;
1147 use rusqlite::types::ToSql;
1148 use rusqlite::{params, Connection, NO_PARAMS};