Lines Matching refs:encoded_alias
605 fn is_keystore_alias(encoded_alias: &str) -> bool { in is_keystore_alias()
608 Self::KNOWN_KEYSTORE_PREFIXES.iter().any(|prefix| encoded_alias.starts_with(prefix)) in is_keystore_alias()
707 let encoded_alias = &f[uid_str.len() + 1..]; in list_legacy_keystore_entries_for_uid() localVariable
708 if f.starts_with(&uid_str) && !Self::is_keystore_alias(encoded_alias) { in list_legacy_keystore_entries_for_uid()
709 result.push(Self::decode_alias(encoded_alias).context( in list_legacy_keystore_entries_for_uid()
718 fn extract_legacy_alias(encoded_alias: &str) -> Option<String> { in extract_legacy_alias()
719 if !Self::is_keystore_alias(encoded_alias) { in extract_legacy_alias()
720 Self::decode_alias(encoded_alias).ok() in extract_legacy_alias()
766 let encoded_alias = Self::encode_alias(alias); in make_legacy_keystore_entry_filename() localVariable
768 path.push(format!("{}_{}", uid, encoded_alias)); in make_legacy_keystore_entry_filename()
776 let encoded_alias = Self::encode_alias(&format!("{}_{}", prefix, alias)); in make_blob_filename() localVariable
778 path.push(format!("{}_{}", uid, encoded_alias)); in make_blob_filename()
786 let encoded_alias = Self::encode_alias(&format!("{}_{}", prefix, alias)); in make_chr_filename() localVariable
788 path.push(format!(".{}_chr_{}", uid, encoded_alias)); in make_chr_filename()
834 fn extract_keystore_alias(encoded_alias: &str) -> Option<String> { in extract_keystore_alias()
838 if let Some(alias) = encoded_alias.strip_prefix(prefix) { in extract_keystore_alias()
912 let encoded_alias = &v[uid_str.len()..]; in list_keystore_entries_for_uid() localVariable
913 Self::extract_keystore_alias(encoded_alias) in list_keystore_entries_for_uid()