Files
android/libwvdrmengine/cdm/core/test
John W. Bruce 25489dfa5b Allow 1 or 2 GetOEMPublicCertificate Calls in Metrics Tests
(This is a merge of http://go/wvgerrit/107263.)

The CryptoSessionMetricsTest suite assumed that GetOEMPublicCertificate
would only be called once, but in practice, it may be called twice,
since the first call can return OEMCrypto_ERROR_SHORT_BUFFER. This patch
updates the tests to accept 1 or 2 calls.

This patch also updates a few EXPECTs on vector lengths that should have
been ASSERTs, to avoid problems when later accessing the vector.

Bug: 169111969
Test: jenkins/ce_cdm_tests
Test: build_and_run_all_unit_tests.sh
Change-Id: I9432dd2694c7181ab57ed55f66ff6c8be0c867f9
2020-10-06 14:42:54 -07:00
..
2020-08-19 14:54:47 -07:00
2020-07-23 15:00:37 -07:00
2020-02-03 14:45:32 -08:00
2020-02-03 14:45:32 -08:00
2018-04-16 16:38:05 -07:00
2020-06-08 14:56:48 -07:00
2020-02-11 13:19:05 -08:00
2019-12-06 13:23:26 -08:00
2019-01-29 13:41:38 -08:00
2020-02-03 14:45:32 -08:00