Home
last modified time | relevance | path

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

/packages/modules/Virtualization/microdroid_manager/src/
Dioutil.rs77 let test_file = test_dir.path().join("test.txt"); in test_wait_for_file() localVariable
85 rename(temp_file, test_file) in test_wait_for_file()
88 let test_file = test_dir.path().join("test.txt"); in test_wait_for_file() localVariable
89 let mut file = wait_for_file(test_file, Duration::from_secs(5))?; in test_wait_for_file()
99 let test_file = test_dir.path().join("test.txt"); in test_wait_for_file_fails() localVariable
100 let file = wait_for_file(test_file, Duration::from_secs(1)); in test_wait_for_file_fails()
/packages/modules/Virtualization/libs/vbmeta/src/
Dlib.rs212 let test_file = test_dir.path().join("test.img"); in unsigned_image_does_not_have_public_key() localVariable
217 test_file.to_str().unwrap(), in unsigned_image_does_not_have_public_key()
223 let vbmeta = VbMetaImage::verify_path(test_file).context("verify_path")?; in unsigned_image_does_not_have_public_key()
230 let test_file = test_dir.path().join("test.img"); in signed_image_has_valid_vbmeta() localVariable
235 test_file.to_str().unwrap(), in signed_image_has_valid_vbmeta()
243 let vbmeta = VbMetaImage::verify_path(&test_file).context("verify_path")?; in signed_image_has_valid_vbmeta()
264 .open(&test_file) in signed_image_has_valid_vbmeta()
271 VbMetaImage::verify_path(test_file), in signed_image_has_valid_vbmeta()
/packages/modules/Virtualization/libs/dice/driver/src/
Dlib.rs208 let test_file = tempfile::NamedTempFile::new()?; in test_write_bcc_to_file_read_from_file() localVariable
209 serde_cbor::to_writer(test_file.as_file(), &dice_artifacts)?; in test_write_bcc_to_file_read_from_file()
210 test_file.as_file().sync_all()?; in test_write_bcc_to_file_read_from_file()
212 let dice = DiceDriver::from_file(test_file.as_ref())?; in test_write_bcc_to_file_read_from_file()
/packages/modules/Bluetooth/system/gd/docs/testing/
Dcert_test.md103 * `--test_file=<file_name>`: Running only tests listed in `<file_name>`