Add additional error conditions to MediaDrm
Merge of http://go/wvgerrit/70163 New codes are being added to handle resource contention, lost session state, frame size too large and insufficient security level for decryption. Also cleans up inconsistent use of tamper detected error where invalid state error should have been used. bug:111504510 bug:111505796 test: cts and gts media tests, widevine integration tests Change-Id: I96ee441717d32ccbcabaa85c8f6a0013055ce16e
This commit is contained in:
@@ -14,20 +14,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#define LOG_TAG "WidevineHidlService"
|
||||
#include <WVCryptoFactory.h>
|
||||
#include <WVDrmFactory.h>
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <binder/ProcessState.h>
|
||||
#include <hidl/HidlTransportSupport.h>
|
||||
|
||||
#include <binder/ProcessState.h>
|
||||
#include "WVCryptoFactory.h"
|
||||
#include "WVDrmFactory.h"
|
||||
|
||||
using ::android::hardware::configureRpcThreadpool;
|
||||
using ::android::hardware::joinRpcThreadpool;
|
||||
using ::android::sp;
|
||||
|
||||
using android::hardware::drm::V1_1::ICryptoFactory;
|
||||
using android::hardware::drm::V1_1::IDrmFactory;
|
||||
using wvdrm::hardware::drm::V1_2::widevine::WVCryptoFactory;
|
||||
using wvdrm::hardware::drm::V1_2::widevine::WVDrmFactory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user