Searched refs:idsig_path (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Virtualization/apkdmverity/src/ |
D | main.rs | 199 let idsig_path = test_dir.join("test.apk.idsig"); in prepare_inputs() localVariable 201 create_block_aligned_file(&idsig_path, idsig); in prepare_inputs() 202 (apk_path, idsig_path) in prepare_inputs() 217 let (apk_path, idsig_path) = prepare_inputs(test_dir.path(), apk, idsig); in run_test_with_hash() 220 let ret = enable_verity(&apk_path, &idsig_path, name, roothash).unwrap(); in run_test_with_hash() 230 hash_backing_file: &idsig_path, in run_test_with_hash() 339 let (apk_path, idsig_path) = prepare_inputs(test_dir.path(), apk, idsig); in inputs_are_block_devices() 343 let idsig_size = fs::metadata(&idsig_path).unwrap().len(); in inputs_are_block_devices() 355 &idsig_path, in inputs_are_block_devices()
|
/packages/modules/Virtualization/compos/common/ |
D | compos_client.rs | 225 idsig_path: &Path, in prepare_idsig() 227 if !idsig_path.exists() { in prepare_idsig() 229 let idsig_file = File::create(idsig_path).context("Failed to create idsig file")?; in prepare_idsig() 237 let idsig_file = File::open(idsig_path).context("Failed to open idsig file")?; in prepare_idsig()
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | v4.rs | 124 pub fn from_idsig_path<P: AsRef<Path>>(idsig_path: P) -> Result<Self> { in from_idsig_path() 125 let idsig = fs::File::open(idsig_path).context("Cannot find idsig file")?; in from_idsig_path() 354 let idsig_path = format!("{}.idsig", TEST_APK_PATH); in parse_and_compose() localVariable 355 let mut v4_signature = V4Signature::from_idsig_path(&idsig_path).unwrap(); in parse_and_compose() 360 assert_eq!(fs::read(&idsig_path).unwrap(), output.get_ref().as_slice()); in parse_and_compose()
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | verify.rs | 238 fn get_apk_root_hash_from_idsig<P: AsRef<Path>>(idsig_path: P) -> Result<Box<[u8]>> { in get_apk_root_hash_from_idsig() 239 Ok(V4Signature::from_idsig_path(idsig_path)?.hashing_info.raw_root_hash) in get_apk_root_hash_from_idsig()
|