OEMCrypto v16.1

Merge of http://go/wvgerrit/93404

This CL updates the Widevine CDM to support OEMCrypto v16.1

Test: Tested in 16.2 CL
Bug: 141247171
Change-Id: I69bd993500f6fb63bf6010c8b0250dc7acc3d71b
This commit is contained in:
Fred Gylys-Colwell
2020-01-18 10:11:24 -08:00
parent 7e2619e379
commit 7665614b2e
132 changed files with 12331 additions and 9341 deletions

View File

@@ -194,6 +194,21 @@ void CryptoMetrics::Serialize(WvCdmMetrics::CryptoMetrics *crypto_metrics)
crypto_metrics->mutable_oemcrypto_set_decrypt_hash());
crypto_metrics->set_allocated_oemcrypto_resource_rating_tier(
oemcrypto_resource_rating_tier_.ToProto());
oemcrypto_prep_and_sign_license_request_.ToProto(
crypto_metrics
->mutable_oemcrypto_prep_and_sign_license_request_time_us());
oemcrypto_prep_and_sign_renewal_request_.ToProto(
crypto_metrics
->mutable_oemcrypto_prep_and_sign_renewal_request_time_us());
oemcrypto_prep_and_sign_provisioning_request_.ToProto(
crypto_metrics
->mutable_oemcrypto_prep_and_sign_provisioning_request_time_us());
oemcrypto_load_license_.ToProto(
crypto_metrics->mutable_oemcrypto_load_license_time_us());
oemcrypto_load_renewal_.ToProto(
crypto_metrics->mutable_oemcrypto_load_renewal_time_us());
oemcrypto_load_provisioning_.ToProto(
crypto_metrics->mutable_oemcrypto_load_provisioning_time_us());
}
SessionMetrics::SessionMetrics() : session_id_(""), completed_(false) {}