Protect OEMCrypto Mock and Level 3 From Null Pointers

Merge from widevine repo of http://go/wvgerrit/14502

If any OEMCrypto session call is made after Terminate is called, then
there was a null pointer access.  This is protected by the oemcrypto
adapter, but could still be a problem in unit tests which by-pass the
adapter.

bug: 21642892

Level 3 versions:
level3/arm/libwvlevel3.a  Level3 Library May 29 2015 14:03:11
level3/x86/libwvlevel3.a  Level3 Library May 29 2015 14:03:12

Change-Id: I84fd098c2faea71a79bc21658485593e22a8e994
This commit is contained in:
Fred Gylys-Colwell
2015-06-02 14:36:09 -07:00
parent 4fce36e91f
commit 92958a0e6a
3 changed files with 132 additions and 0 deletions