Declare class for drmFactory, crypto/drmPlugins
[ Merged from http://go/wvgerrit/152493 ] Replace struct with class for WVDrmFactory, WVCryptoPlugin and WVDrmPlugin. Also fix build_all_unit_tests.sh, hidl_metrics_adapter_unittest has been renamed to hal_metrics_adapter_unittest. Test: unit tests Test: Google TV and Netflix Test: atest GtsMediaTestCases Bug: 216717460 Change-Id: I92b15510267e8f37058845be760a6ec6241bc5d7
This commit is contained in:
@@ -40,8 +40,9 @@ using wvcdm::WvContentDecryptionModule;
|
||||
const OEMCrypto_Algorithm kInvalidCryptoAlgorithm =
|
||||
static_cast<OEMCrypto_Algorithm>(-1);
|
||||
|
||||
struct WVDrmPlugin : public ::aidl::android::hardware::drm::BnDrmPlugin,
|
||||
class WVDrmPlugin : public ::aidl::android::hardware::drm::BnDrmPlugin,
|
||||
wvcdm::WvCdmEventListener {
|
||||
public:
|
||||
WVDrmPlugin(const android::sp<WvContentDecryptionModule>& cdm,
|
||||
const std::string& appPackageName,
|
||||
WVGenericCryptoInterface* crypto, bool useSpoid);
|
||||
|
||||
Reference in New Issue
Block a user