Lines Matching refs:Some
67 let mut db = KeystoreDB::new(&db_path, Some(GC.clone())).expect("Failed to open database."); in create_thread_local_db()
189 Some(format!("{}/default", keymint_descriptor)) in keymint_service_name()
196 Some(format!("{}/strongbox", keymint_descriptor)) in keymint_service_name()
223 let (keymint, hal_version) = if let Some(service_name) = service_name { in connect_keymint()
233 (km, Some(km_version * 100)) in connect_keymint()
261 Some(300) => { in connect_keymint()
270 Some(200) => { in connect_keymint()
279 Some(100) => { in connect_keymint()
324 if let Some(hal_version) = hal_version { in connect_keymint()
338 if let Some((dev, hw_info, uuid)) = devices_map.dev_by_sec_level(security_level) { in get_keymint_device()
357 if let Some((dev, hw_info, _)) = devices_map.dev_by_uuid(uuid) { in get_keymint_dev_by_uuid()
410 if let Some(dev) = &*ts_device { in get_timestamp_service()
414 *ts_device = Some(dev.clone()); in get_timestamp_service()
428 Some(instance) in get_remotely_provisioned_component_name()
436 Some(instance) in get_remotely_provisioned_component_name()