Widevine HIDL service added new v1.2 media APIs, update the service to support new APIs. Merged from http://go/wvgerrit/67083 Test: Netflix and Play Movies & TV (streaming and offline playback) Test: GTS WidevineH264PlaybackTests test e.g. ANDROID_BUILD_TOP= ./android-gts/toolsefed run gts -m GtsMediaTestCases --test com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P30 Test: Widevine unit tests bug: 117570686 Change-Id: I3a2091e7c62a0d2697ef97f983fd898aedfb4519
33 lines
806 B
C++
33 lines
806 B
C++
//
|
|
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine Master
|
|
// License Agreement.
|
|
//
|
|
|
|
#ifndef WV_CREATE_PLUGIN_FACTORIES_H_
|
|
#define WV_CREATE_PLUGIN_FACTORIES_H_
|
|
|
|
#include <android/hardware/drm/1.1/ICryptoFactory.h>
|
|
#include <android/hardware/drm/1.1/IDrmFactory.h>
|
|
|
|
namespace wvdrm {
|
|
namespace hardware {
|
|
namespace drm {
|
|
namespace V1_2 {
|
|
namespace widevine {
|
|
|
|
using ::android::hardware::drm::V1_1::ICryptoFactory;
|
|
using ::android::hardware::drm::V1_1::IDrmFactory;
|
|
|
|
extern "C" {
|
|
IDrmFactory* createDrmFactory();
|
|
ICryptoFactory* createCryptoFactory();
|
|
}
|
|
|
|
} // namespace widevine
|
|
} // namespace V1_2
|
|
} // namespace drm
|
|
} // namespace hardware
|
|
} // namespace wvdrm
|
|
#endif // WV_CREATE_PLUGIN_FACTORIES_H_
|