Widevine drm aidl: address API review
Interface update in change 16810770 Bug: 214410088 Test: atest VtsAidlHalDrmTargetTest Change-Id: I19da51ef75952f5ff6c7c02e0393f574e69ee30b
This commit is contained in:
@@ -23,29 +23,26 @@ struct WVDrmFactory : public ::aidl::android::hardware::drm::BnDrmFactory {
|
||||
WVDrmFactory() {}
|
||||
virtual ~WVDrmFactory() {}
|
||||
|
||||
::ndk::ScopedAStatus createPlugin(
|
||||
::ndk::ScopedAStatus createDrmPlugin(
|
||||
const ::aidl::android::hardware::drm::Uuid& in_uuid,
|
||||
const std::string& in_appPackageName,
|
||||
std::shared_ptr<::aidl::android::hardware::drm::IDrmPlugin>* _aidl_return)
|
||||
override;
|
||||
|
||||
::ndk::ScopedAStatus createCryptoPlugin(
|
||||
const ::aidl::android::hardware::drm::Uuid& in_uuid,
|
||||
const std::vector<uint8_t>& in_initData,
|
||||
std::shared_ptr<::aidl::android::hardware::drm::ICryptoPlugin>*
|
||||
_aidl_return) override;
|
||||
|
||||
::ndk::ScopedAStatus getSupportedCryptoSchemes(
|
||||
std::vector<::aidl::android::hardware::drm::Uuid>* _aidl_return) override;
|
||||
::aidl::android::hardware::drm::CryptoSchemes* _aidl_return) override;
|
||||
|
||||
::ndk::ScopedAStatus isContentTypeSupported(const std::string& in_mimeType,
|
||||
bool* _aidl_return) override;
|
||||
|
||||
// This overloaded method is not part of the AIDL interface, it is provided
|
||||
// This method is not part of the AIDL interface, it is provided
|
||||
// for Widevine CDM.
|
||||
bool isCryptoSchemeSupported(
|
||||
const ::aidl::android::hardware::drm::Uuid& in_uuid);
|
||||
|
||||
::ndk::ScopedAStatus isCryptoSchemeSupported(
|
||||
const ::aidl::android::hardware::drm::Uuid& in_uuid,
|
||||
const std::string& in_mimeType,
|
||||
::aidl::android::hardware::drm::SecurityLevel in_securityLevel,
|
||||
bool* _aidl_return) override;
|
||||
|
||||
binder_status_t dump(int fd, const char** args, uint32_t numArgs) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user