Files
android/libwvdrmengine/src_hidl/WVCreatePluginFactories.cpp
Edwin Wong e176b20509 Rename aidl_ include and src directories.
Test: unit tests
Test: Google TV and Netflix
Test: atest GtsMediaTestCases

Bug: 216527109
Change-Id: I3fd02c2c60da588dba3db27cea3593de25a7180f
2022-09-05 21:08:25 +00:00

34 lines
680 B
C++

//
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
// source code may only be used and distributed under the Widevine License
// Agreement.
//
#include "HidlWVCreatePluginFactories.h"
#include "HidlWVDrmFactory.h"
#include "WVCryptoFactory.h"
namespace wvdrm {
namespace hardware {
namespace drm {
namespace V1_4 {
namespace widevine {
extern "C" {
::drm::V1_4::IDrmFactory* createDrmFactory() {
return new WVDrmFactory();
}
::drm::V1_4::ICryptoFactory* createCryptoFactory() {
return new WVCryptoFactory();
}
} // extern "C"
} // namespace widevine
} // namespace V1_4
} // namespace drm
} // namespace hardware
} // namespace wvdrm