Home
last modified time | relevance | path

Searched refs:enumerated (Results 1 – 15 of 15) sorted by relevance

/system/keymaster/
Drsa_keymaster1_key.cpp53 if (entry.enumerated == KM_DIGEST_NONE) { in UpdateToWorkAroundUnsupportedDigests()
55 } else if (!is_supported(entry.enumerated)) { in UpdateToWorkAroundUnsupportedDigests()
56 LOG_D("Found request for unsupported digest %u", entry.enumerated); in UpdateToWorkAroundUnsupportedDigests()
62 switch (entry.enumerated) { in UpdateToWorkAroundUnsupportedDigests()
Dec_keymaster1_key.cpp49 if (entry.enumerated == KM_DIGEST_NONE) { in UpdateToWorkAroundUnsupportedDigests()
51 } else if (!is_supported(entry.enumerated)) { in UpdateToWorkAroundUnsupportedDigests()
52 LOG_D("Found request for unsupported digest %u", entry.enumerated); in UpdateToWorkAroundUnsupportedDigests()
Drsa_keymaster1_operation.cpp53 begin_params[pos].enumerated = KM_DIGEST_NONE; in Begin()
58 switch (begin_params[pos].enumerated) { in Begin()
63 begin_params[pos].enumerated = KM_PAD_NONE; in Begin()
Dauthorization_set.cpp339 buf = append_uint32_to_buf(buf, end, param.enumerated); in serialize()
376 return copy_uint32_from_buf(buf_ptr, end, &param->enumerated); in deserialize()
558 *val = elems_[pos].enumerated; in GetTagValueEnum()
573 *val = elems_[pos].enumerated; in GetTagValueEnumRep()
654 if (entry.tag == tag && entry.enumerated == value) in ContainsEnumValue()
Decdsa_keymaster1_operation.cpp54 begin_params[pos].enumerated = KM_DIGEST_NONE; in Begin()
Dandroid_keymaster_test_utils.cpp53 os << " Enum: " << param.enumerated; in operator <<()
100 return a.enumerated == b.enumerated; in operator ==()
710 if (!is_supported(static_cast<keymaster_digest_t>(params->params[i].enumerated))) in all_digests_supported()
808 if (alg_ptr->enumerated == KM_ALGORITHM_HMAC && !all_digests_supported(params)) in generate_key()
830 if (alg_ptr->enumerated == KM_ALGORITHM_HMAC && !all_digests_supported(params)) in import_key()
Dauthorization_set_test.cpp83 EXPECT_EQ(KM_ALGORITHM_RSA, set[pos].enumerated); in TEST()
114 EXPECT_EQ(KM_PURPOSE_SIGN, set[pos].enumerated); in TEST()
118 EXPECT_EQ(KM_PURPOSE_VERIFY, set[pos].enumerated); in TEST()
140 EXPECT_EQ(KM_PURPOSE_SIGN, set[0].enumerated); in TEST()
Dsoft_keymaster_device.cpp381 *value = static_cast<KeymasterEnum>(params.params[i].enumerated); in FindTagValue()
682 if (!contains(supported_digests->second, entry.enumerated)) { in FindUnsupportedDigest()
683 LOG_I("Digest %d requested but not supported by module %s", entry.enumerated, in FindUnsupportedDigest()
685 *unsupported = static_cast<keymaster_digest_t>(entry.enumerated); in FindUnsupportedDigest()
731 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting()
Dandroid_keymaster_test_utils.h61 return pos != -1 && static_cast<KeymasterEnum>(set[pos].enumerated) == val; in contains()
69 if (static_cast<KeymasterEnum>(set[pos].enumerated) == val) in contains()
Dattestation_record.cpp192 return param.enumerated; in get_uint32_value()
/system/media/audio_route/
Daudio_route.c36 int *enumerated; member
142 ALOGE(" id=%d value=%d", j, path->setting[i].value.enumerated[j]);
332 path->setting[path_index].value.enumerated[0] = mixer_value->value; in path_add_value()
344 path->setting[path_index].value.enumerated[i] = mixer_value->value; in path_add_value()
354 path->setting[path_index].value.enumerated[mixer_value->index] = mixer_value->value; in path_add_value()
532 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
544 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
604 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state()
663 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer()
664 != ar->mixer_state[i].new_value.enumerated[j]) { in audio_route_update_mixer()
[all …]
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.cpp170 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
/system/tpm/trunks/generator/
Draw_structures_fixed.txt1210 many of the defined constants. However, the C language does not allow an enumerated type to have a
1320 A table that defines an enumerated data type will start with the word “Definition” and end with “Va…
1323 Most C compilers set the type of an enumerated value to be an integer on the machine – often 16 bit…
2267 dealing with an enumerated data type.
2294 a constant or an enumerated type
2315 an enumerated type that indicates an algorithm
2348 The value of “xx” will be indicative of the use of the enumerated type. A table of “TPM_xx”
Draw_structures.txt1210 many of the defined constants. However, the C language does not allow an enumerated type to have a
1320 A table that defines an enumerated data type will start with the word “Definition” and end with “Va…
1323 Most C compilers set the type of an enumerated value to be an integer on the machine – often 16 bit…
2267 dealing with an enumerated data type.
2294 a constant or an enumerated type
2315 an enumerated type that indicates an algorithm
2348 The value of “xx” will be indicative of the use of the enumerated type. A table of “TPM_xx”
Draw_commands_fixed.txt1765 enumerated in the detailed actions of each command. The codes associated with the unmarshaling of