Add watch dog timer to OEMCrypto L3
Merge from Widevine repo of http://go/wvgerrit/29861 This code adds a watchdog timer to the oemcrypto initialization. If initialization does not finish within 5 seconds, the process will abort. For branch oc-dr1-dev, unlike nyc-mr2-dev, we save a metric indicating there was a failure. Testing: see code in patch 1. Watch dog was forced while using Play Movies. The busy spinner spun for at least 5 seconds, but Play Movies was able to restart itself. b/62106796 Change-Id: Ib59f5bc4a484eff1dc386e07a4b198ecb713c69b
This commit is contained in:
committed by
Jeff Tinker
parent
a81caa5bf1
commit
08debe83c2
@@ -73,7 +73,8 @@ typedef enum OEMCryptoInitializationMode {
|
||||
OEMCrypto_INITIALIZED_USING_L3_COULD_NOT_INSTALL_KEYBOX = 12,
|
||||
OEMCrypto_INITIALIZED_USING_L1_INSTALLED_KEYBOX = 13,
|
||||
OEMCrypto_INITIALIZED_USING_L3_INVALID_L1 = 14,
|
||||
OEMCrypto_INITIALIZED_USING_L1_WITH_PROVISIONING_3_0 = 15
|
||||
OEMCrypto_INITIALIZED_USING_L1_WITH_PROVISIONING_3_0 = 15,
|
||||
OEMCrypto_INITIALIZED_L3_INITIALIZATION_FAILED = 16
|
||||
} OEMCryptoInitializationMode;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user