• Home
  • Raw
  • Download

Lines Matching defs:db

878         let mut db = Self { conn, gc, perboot: perboot::PERBOOT_DB.clone() };  in new()  localVariable
3298 let mut db = KeystoreDB { conn, gc: None, perboot: Arc::new(perboot::PerbootDB::new()) }; in new_test_db() localVariable
3371 let db = new_test_db()?; in test_tables() localVariable
3389 let mut db = new_test_db()?; in test_auth_token_table_invariant() localVariable
3447 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in test_persistence_for_files() localVariable
3453 let db = KeystoreDB::new(temp_dir.path(), None)?; in test_persistence_for_files() localVariable
3466 let mut db = new_test_db()?; in test_create_key_entry() localVariable
3495 let mut db = new_test_db()?; in test_add_unsigned_key() localVariable
3513 let mut db = new_test_db()?; in test_store_signed_attestation_certificate_chain() localVariable
3536 let mut db = new_test_db_with_gc(temp_dir.path(), |_, _| Ok(()))?; in test_remove_expired_certs() localVariable
3613 let mut db = new_test_db_with_gc(temp_dir.path(), |_, _| Ok(()))?; in test_dont_remove_valid_certs() localVariable
3667 let mut db = new_test_db()?; in test_delete_all_attestation_keys() localVariable
3690 let mut db = new_test_db()?; in test_rebind_alias() localVariable
3764 let mut db = new_test_db()?; in test_grant_ungrant() localVariable
3917 let mut db = new_test_db()?; in test_set_blob() localVariable
3962 let mut db = new_test_db()?; in test_insert_and_load_full_keyentry_domain_app() localVariable
4019 let mut db = new_test_db()?; in test_insert_and_load_certificate_entry_domain_app() localVariable
4090 let mut db = new_test_db()?; in test_insert_and_load_full_keyentry_domain_selinux() localVariable
4147 let mut db = new_test_db()?; in test_insert_and_load_full_keyentry_domain_key_id() localVariable
4190 let mut db = new_test_db()?; in test_check_and_update_key_usage_count_with_limited_use_key() localVariable
4213 let mut db = new_test_db()?; in test_check_and_update_key_usage_count_with_exhausted_limited_use_key() localVariable
4238 let mut db = new_test_db()?; in test_insert_and_load_full_keyentry_from_grant() localVariable
4293 let mut db = new_test_db()?; in test_insert_and_load_full_keyentry_from_grant_by_key_id() localVariable
4377 let mut db = new_test_db()?; in test_migrate_key_app_to_app() localVariable
4445 let mut db = new_test_db()?; in test_migrate_key_app_to_selinux() localVariable
4514 let mut db = new_test_db()?; in test_migrate_key_destination_occupied() localVariable
4555 let mut db = KeystoreDB::new(temp_dir.path(), None).unwrap(); in test_upgrade_0_to_1() localVariable
4701 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in test_insert_and_load_full_keyentry_domain_app_concurrently() localVariable
4732 let mut db = KeystoreDB::new(temp_dir.path(), None).unwrap(); in test_insert_and_load_full_keyentry_domain_app_concurrently() localVariable
4813 let mut db = in test_large_number_of_concurrent_db_manipulations() localVariable
4832 let mut db = new_test_db_with_gc(temp_dir1.path(), |_, _| Ok(())) in test_large_number_of_concurrent_db_manipulations() localVariable
4862 let mut db = new_test_db_with_gc(temp_dir2.path(), |_, _| Ok(())) in test_large_number_of_concurrent_db_manipulations() localVariable
4890 let mut db = new_test_db_with_gc(temp_dir4.path(), |_, _| Ok(())) in test_large_number_of_concurrent_db_manipulations() localVariable
4916 let mut db = KeystoreDB::new(temp_dir.path(), None)?; in list() localVariable
5501 let mut db = new_test_db()?; in test_last_off_body() localVariable
5518 let mut db = new_test_db()?; in test_unbind_keys_for_user() localVariable
5536 let mut db = new_test_db()?; in test_unbind_keys_for_user_removes_superkeys() localVariable
5610 let mut db = new_test_db()?; in test_store_super_key() localVariable
5668 let mut db = new_test_db()?; in test_query_all_valid_table_sizes() localVariable
5741 let mut db = new_test_db()?; in test_verify_key_table_size_reporting() localVariable
5798 let mut db = new_test_db()?; in test_verify_auth_table_size_reporting() localVariable
5815 let mut db = new_test_db()?; in test_verify_grant_table_size_reporting() localVariable
5839 let mut db = new_test_db()?; in find_auth_token_entry_returns_latest() localVariable
5875 let mut db = new_test_db()?; in test_load_key_descriptor() localVariable