Home
last modified time | relevance | path

Searched refs:enumerated (Results 1 – 19 of 19) 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.cpp313 buf = append_uint32_to_buf(buf, end, param.enumerated); in serialize()
350 return copy_uint32_from_buf(buf_ptr, end, &param->enumerated); in deserialize()
532 *val = elems_[pos].enumerated; in GetTagValueEnum()
547 *val = elems_[pos].enumerated; in GetTagValueEnumRep()
628 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 ==()
717 if (!is_supported(static_cast<keymaster_digest_t>(params->params[i].enumerated))) in all_digests_supported()
815 if (alg_ptr->enumerated == KM_ALGORITHM_HMAC && !all_digests_supported(params)) in generate_key()
837 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.cpp342 *algorithm = static_cast<keymaster_algorithm_t>(params.params[i].enumerated); in FindAlgorithm()
672 if (!contains(supported_digests->second, entry.enumerated)) { in FindUnsupportedDigest()
673 LOG_I("Digest %d requested but not supported by module %s", entry.enumerated, in FindUnsupportedDigest()
675 *unsupported = static_cast<keymaster_digest_t>(entry.enumerated); in FindUnsupportedDigest()
721 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting()
Dandroid_keymaster_test_utils.h61 return pos != -1 && set[pos].enumerated == val; in contains()
69 if (set[pos].enumerated == val) in contains()
Dattestation_record.cpp173 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]);
333 path->setting[path_index].value.enumerated[0] = mixer_value->value; in path_add_value()
345 path->setting[path_index].value.enumerated[i] = mixer_value->value; in path_add_value()
355 path->setting[path_index].value.enumerated[mixer_value->index] = mixer_value->value; in path_add_value()
518 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
530 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
590 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state()
649 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer()
650 != ar->mixer_state[i].new_value.enumerated[j]) { in audio_route_update_mixer()
[all …]
/system/core/fingerprintd/
DFingerprintDaemonProxy.cpp93 msg->data.enumerated.finger.fid, in hal_notify_callback()
94 msg->data.enumerated.finger.gid, in hal_notify_callback()
95 msg->data.enumerated.remaining_templates); in hal_notify_callback()
97 msg->data.enumerated.finger.fid, in hal_notify_callback()
98 msg->data.enumerated.finger.gid, in hal_notify_callback()
99 msg->data.enumerated.remaining_templates); in hal_notify_callback()
/system/connectivity/shill/
DHACKING118 1. Add a new value to the Scope enumerated type in scope_logger.h.
/system/core/metricsd/
DREADME.md110 Enumeration histograms should really be used only for sampling enumerated
/system/security/keystore/
DIKeystoreService.cpp291 out->writeInt32(param.enumerated); in writeKeymasterArgumentToParcel()
/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
Draw_commands.txt1765 enumerated in the detailed actions of each command. The codes associated with the unmarshaling of