Home
last modified time | relevance | path

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

/system/keymaster/legacy_support/
Drsa_keymaster1_key.cpp50 if (entry.enumerated == KM_DIGEST_NONE) { in UpdateToWorkAroundUnsupportedDigests()
52 } else if (!is_supported(entry.enumerated)) { in UpdateToWorkAroundUnsupportedDigests()
53 LOG_D("Found request for unsupported digest %u", entry.enumerated); in UpdateToWorkAroundUnsupportedDigests()
59 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.cpp56 begin_params[pos].enumerated = KM_DIGEST_NONE; in Begin()
62 switch (begin_params[pos].enumerated) { in Begin()
67 begin_params[pos].enumerated = KM_PAD_NONE; in Begin()
Dkeymaster1_legacy_support.cpp137 if (!contains(supported_digests->second, entry.enumerated)) { in findUnsupportedDigest()
138 … LOG(WARNING) << "Digest " << entry.enumerated << " requested but not supported by KM1 hal"; in findUnsupportedDigest()
182 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting()
206 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting()
Decdsa_keymaster1_operation.cpp53 begin_params[pos].enumerated = KM_DIGEST_NONE; in Begin()
/system/media/audio_route/
Daudio_route.c36 int *enumerated; member
143 ALOGE(" id=%d value=%d", j, path->setting[i].value.enumerated[j]);
339 path->setting[path_index].value.enumerated[0] = mixer_value->value; in path_add_value()
351 path->setting[path_index].value.enumerated[i] = mixer_value->value; in path_add_value()
361 path->setting[path_index].value.enumerated[mixer_value->index] = mixer_value->value; in path_add_value()
543 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
555 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
617 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state()
676 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer()
677 != ar->mixer_state[i].new_value.enumerated[j]) { in audio_route_update_mixer()
[all …]
/system/keymaster/android_keymaster/
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()
584 *val = elems_[pos].enumerated; in GetTagValueEnum()
599 *val = elems_[pos].enumerated; in GetTagValueEnumRep()
680 if (entry.tag == tag && entry.enumerated == value) in ContainsEnumValue()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp53 os << " Enum: " << param.enumerated; in operator <<()
100 return a.enumerated == b.enumerated; in operator ==()
742 if (!is_supported(static_cast<keymaster_digest_t>(params->params[i].enumerated))) in all_digests_supported()
840 if (alg_ptr->enumerated == KM_ALGORITHM_HMAC && !all_digests_supported(params)) in generate_key()
862 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()
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()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp381 *value = static_cast<KeymasterEnum>(params.params[i].enumerated); in FindTagValue()
680 if (!contains(supported_digests->second, entry.enumerated)) { in FindUnsupportedDigest()
681 LOG_I("Digest %d requested but not supported by module %s", entry.enumerated, in FindUnsupportedDigest()
683 *unsupported = static_cast<keymaster_digest_t>(entry.enumerated); in FindUnsupportedDigest()
730 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting()
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.cpp175 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp167 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp179 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
DAndroidKeymaster4Device.cpp133 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
/system/keymaster/km_openssl/
Dattestation_record.cpp63 return param.enumerated; in get_uint32_value()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp219 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()