Renames a few metrics for consistency.
Renames a few metrics for consistency with the logs processing module. This CL changes the names of several metrics to be consistent with what we use for the logs parsing module. E.g. for metrics consistency, CdmSecurityLevel is referred to as "security_level" and SecurityLevel is referred to as "requested_security_level". The GetSecurityLevel method was modified to use CdmSecurityLevel instead of the previous string type. This CL is a merge from wvgerrit/28423 BUG: 37627621 BUG: 37627483 Test: Updated and ran unit tests to verify no regressions. Change-Id: Ia4a8b202325386f2e02dcda4f58010dd7957a048
This commit is contained in:
@@ -139,7 +139,7 @@ class CryptoMetrics {
|
||||
EventMetric<OEMCryptoResult> oemcrypto_report_usage_;
|
||||
EventMetric<OEMCryptoResult> oemcrypto_rewrap_device_rsa_key_;
|
||||
EventMetric<OEMCryptoResult> oemcrypto_rewrap_device_rsa_key_30_;
|
||||
EventMetric<std::string, SecurityLevel> oemcrypto_security_level_;
|
||||
EventMetric<CdmSecurityLevel, SecurityLevel> oemcrypto_security_level_;
|
||||
EventMetric<uint8_t, SecurityLevel> oemcrypto_security_patch_level_;
|
||||
EventMetric<OEMCryptoResult> oemcrypto_select_key_;
|
||||
EventMetric<OEMCryptoResult, SecurityLevel> oemcrypto_supports_usage_table_;
|
||||
|
||||
Reference in New Issue
Block a user