Searched refs:current_sdk (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Virtualization/microdroid_manager/src/ |
D | verify.rs | 243 let current_sdk = get_current_sdk()?; localVariable 246 verify(apk, current_sdk).context(MicrodroidError::PayloadVerificationFailed(format!( 251 extract_signed_data(apk, current_sdk) 257 let current_sdk = system_properties::read("ro.build.version.sdk")?; in get_current_sdk() localVariable 258 let current_sdk = current_sdk.ok_or_else(|| anyhow!("SDK version missing"))?; in get_current_sdk() localVariable 259 current_sdk.parse().context("Malformed SDK version") in get_current_sdk()
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | v3.rs | 76 pub fn verify<P: AsRef<Path>>(apk_path: P, current_sdk: u32) -> Result<SignedData> { in verify() 78 let (signer, mut sections) = extract_signer_and_apk_sections(apk, current_sdk)?; in verify() 83 pub fn extract_signed_data<P: AsRef<Path>>(apk_path: P, current_sdk: u32) -> Result<SignedData> { in extract_signed_data() 85 let (signer, _) = extract_signer_and_apk_sections(apk, current_sdk)?; in extract_signed_data() 91 current_sdk: u32, in extract_signer_and_apk_sections() 99 signers.into_iter().filter(|s| s.sdk_range().contains(¤t_sdk)).collect::<Vec<_>>(); in extract_signer_and_apk_sections()
|
D | v4.rs | 40 current_sdk: u32, in get_apk_digest() 43 let (signer, mut sections) = extract_signer_and_apk_sections(apk, current_sdk)?; in get_apk_digest() 152 current_sdk: u32, in create() 181 get_apk_digest(apk, current_sdk, /*verify=*/ false)?; in create() 368 let current_sdk = 31; in digest_from_apk() localVariable 370 V4Signature::create(&mut input, current_sdk, 4096, &[], HashAlgorithm::SHA256).unwrap(); in digest_from_apk()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | aidl.rs | 167 let current_sdk = system_properties::read("ro.build.version.sdk")?; in get_current_sdk() localVariable 168 let current_sdk = current_sdk.ok_or_else(|| anyhow!("SDK version missing"))?; in get_current_sdk() localVariable 169 current_sdk.parse().context("Malformed SDK version") in get_current_sdk()
|