Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 16 of 16) sorted by relevance

/system/librustutils/system_properties/
Dparsers_formatters.rs38 let mut chars = s.chars(); in parse_list_with() localVariable
39 let mut current = chars.next(); in parse_list_with()
48 current = chars.next() in parse_list_with()
53 current = chars.next(); in parse_list_with()
57 current = chars.next() in parse_list_with()
/system/keymint/common/src/
Dtag.rs224 chars: &[KeyCharacteristics], in characteristics_at()
228 for chars in chars { in characteristics_at()
229 if chars.security_level != sec_level { in characteristics_at()
233 result = Some(&chars.authorizations); in characteristics_at()
324 let mut chars = Vec::new(); in extract_key_characteristics() localVariable
347 chars.try_push(KeyParam::UsageCountLimit(*use_limit))? in extract_key_characteristics()
356 chars.try_push(param.clone())?; in extract_key_characteristics()
362 reject_incompatible_auth(&chars)?; in extract_key_characteristics()
365 chars.sort_by(legacy::param_compare); in extract_key_characteristics()
369 result.try_push(KeyCharacteristics { security_level: sec_level, authorizations: chars })?; in extract_key_characteristics()
[all …]
/system/libbase/
Dhex.cpp29 const char chars[] = "0123456789abcdef"; in HexString() local
34 result[2 * i] = chars[bytes8[i] >> 4]; in HexString()
35 result[2 * i + 1] = chars[bytes8[i] & 0xf]; in HexString()
/system/keymint/ta/src/
Dkeys.rs150 chars: &[KeyCharacteristics], in generate_cert()
182 chars, in generate_cert()
200 tag::characteristics_at(chars, self.hw_info.security_level)?, in generate_cert()
271 let (key_material, chars) = self.generate_key_material(params)?; in generate_key()
275 chars, in generate_key()
285 let (mut chars, keygen_info) = tag::extract_key_gen_characteristics( in generate_key_material()
290 self.add_keymint_tags(&mut chars, KeyOrigin::Generated)?; in generate_key_material()
314 Ok((key_material, chars)) in generate_key_material()
329 let (mut chars, key_material) = tag::extract_key_import_characteristics( in import_key()
339 self.add_keymint_tags(&mut chars, KeyOrigin::Imported)?; in import_key()
[all …]
Drkp.rs165 let (key_material, chars) = self.generate_key_material(&RPC_P256_KEYGEN_PARAMS)?; in generate_ecdsa_p256_keypair()
191 chars, in generate_ecdsa_p256_keypair()
Dlib.rs1085 let chars = keyblob.characteristics_at(self.hw_info.security_level)?; in convert_storage_key_to_ephemeral() localVariable
1086 if !get_bool_tag_value!(chars, StorageKey)? { in convert_storage_key_to_ephemeral()
1149 chars: &mut Vec<KeyCharacteristics>, in add_keymint_tags()
1152 for kc in chars { in add_keymint_tags()
Dcert.rs75 chars: &'a [KeyParam], in tbs_certificate()
98 crypto::ec::curve_to_signing_oid(tag::get_ec_curve(chars)?) in tbs_certificate()
306 chars: &'a [KeyCharacteristics], in attestation_extension()
312 for characteristic in chars.iter() { in attestation_extension()
/system/security/identity/util/test/java/com/android/security/identity/internal/
DHkdfTest.java44 String chars = "0123456789abcdef"; in hexEncode() local
49 result.append(chars.charAt(val / 16)); in hexEncode()
50 result.append(chars.charAt(val % 16)); in hexEncode()
/system/keymint/common/src/tag/
Dtests.rs68 let chars = vec![ in test_check_begin_params_fail() localVariable
92 expect_err!(check_begin_params(&chars, purpose, &params), msg); in test_check_begin_params_fail()
/system/security/keystore2/src/
Dutils.rs194 let (format, key_material, mut chars) = in import_keyblob_and_perform_op()
200 chars in import_keyblob_and_perform_op()
202 let asymmetric = chars.iter().any(|kp| { in import_keyblob_and_perform_op()
210 chars.extend_from_slice(upgrade_params); in import_keyblob_and_perform_op()
214 let mut import_params: Vec<KmKeyParameter> = chars in import_keyblob_and_perform_op()
/system/libsysprop/srcs/android/sysprop/
DContactsProperties.sysprop50 # We can't spell it out because a property name must be less than 32 chars.
/system/core/init/
Dproperty_service.cpp248 bool RecvChars(char* chars, size_t size, uint32_t* timeout_ms) { in RecvChars() argument
249 return RecvFully(chars, size, timeout_ms); in RecvChars()
270 std::vector<char> chars(len); in RecvString() local
271 if (!RecvChars(&chars[0], len, timeout_ms)) { in RecvString()
275 *value = std::string(&chars[0], len); in RecvString()
/system/security/keystore2/tests/legacy_blobs/
Dkeystore2_legacy_blob_tests.rs90 let id: String = id.chars().filter(|c| c.is_ascii_digit()).collect(); in keystore2_restart_service()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp488 std::string chars; in TEST_F() local
490 chars += c; in TEST_F()
491 chars += ','; in TEST_F()
495 << " instead encountered: " << chars; in TEST_F()
DREADME.md356 could be formed. These means creating images with malformed headers, illegal chars,
/system/extras/module_ndk_libs/libnativehelper/include_jni/
Djni.h836 void ReleaseStringChars(jstring string, const jchar* chars) in ReleaseStringChars()
837 { functions->ReleaseStringChars(this, string, chars); } in ReleaseStringChars()