Home
last modified time | relevance | path

Searched refs:toNdkScopedAStatus (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DCryptoPlugin.cpp40 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
46 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
52 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
58 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
64 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
73 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
80 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE, detailedError); in decrypt()
88 return toNdkScopedAStatus(Status::ERROR_DRM_FRAME_TOO_LARGE, detailedError); in decrypt()
103 return toNdkScopedAStatus(Status::ERROR_DRM_FRAME_TOO_LARGE, detailedError); in decrypt()
108 return toNdkScopedAStatus(Status::ERROR_DRM_FRAME_TOO_LARGE, detailedError); in decrypt()
[all …]
DDrmPlugin.cpp145 return toNdkScopedAStatus(Status::BAD_VALUE); in closeSession()
153 return toNdkScopedAStatus(Status::ERROR_DRM_INVALID_STATE, in closeSession()
159 return toNdkScopedAStatus(Status::OK); in closeSession()
162 return toNdkScopedAStatus(Status::ERROR_DRM_SESSION_NOT_OPENED); in closeSession()
173 return toNdkScopedAStatus(Status::BAD_VALUE); in decrypt()
175 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE); in decrypt()
186 return toNdkScopedAStatus(Status::BAD_VALUE); in encrypt()
188 return toNdkScopedAStatus(Status::ERROR_DRM_CANNOT_HANDLE); in encrypt()
195 return toNdkScopedAStatus(Status::OK); in getHdcpLevels()
215 return toNdkScopedAStatus(Status::BAD_VALUE); in getKeyRequest()
[all …]
DDrmFactory.cpp51 return toNdkScopedAStatus(Status::BAD_VALUE); in createDrmPlugin()
57 return toNdkScopedAStatus(Status::OK); in createDrmPlugin()
67 return toNdkScopedAStatus(Status::BAD_VALUE); in createCryptoPlugin()
77 return toNdkScopedAStatus(status); in createCryptoPlugin()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/
DAidlUtils.h46 inline ::ndk::ScopedAStatus toNdkScopedAStatus(::aidl::android::hardware::drm::Status status,
75 inline ::ndk::ScopedAStatus toNdkScopedAStatus(clearkeydrm::CdmResponseType res) { in toNdkScopedAStatus() function
76 return toNdkScopedAStatus(static_cast<::aidl::android::hardware::drm::Status>(res)); in toNdkScopedAStatus()