Added metrics for production readiness.
[ Merge of http://go/wvgerrit/151749 ] Extended CryptoSession for recording the result of OEMCrypto_ProductionReady(). Only OEMCrypto_SUCCESS is considered "production ready". With the exception of OEMCrypto_ERROR_NOT_IMPLEMENTED, any other result is vendor-specific and indicates not being production ready. Bug: 231655151 Test: metrics_collections_unittest Change-Id: Ia0e5603d7ee1290238cce63d0194ae1aced424c1
This commit is contained in:
@@ -211,6 +211,8 @@ void CryptoMetrics::Serialize(
|
||||
oemcrypto_maximum_usage_table_header_size_.ToProto());
|
||||
crypto_metrics->set_allocated_oemcrypto_watermarking_support(
|
||||
oemcrypto_watermarking_support_.ToProto());
|
||||
crypto_metrics->set_allocated_oemcrypto_production_readiness(
|
||||
oemcrypto_production_readiness_.ToProto());
|
||||
}
|
||||
|
||||
SessionMetrics::SessionMetrics() : session_id_(""), completed_(false) {}
|
||||
|
||||
Reference in New Issue
Block a user