Home
last modified time | relevance | path

Searched refs:Status_V1_2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp63 [&](Status_V1_2 hStatus, uint32_t hBytesWritten, hidl_string hDetailedError) { in decrypt()
92 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
98 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
106 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
111 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
118 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, "source is a nullptr"); in decrypt_1_2()
123 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, "invalid buffer size"); in decrypt_1_2()
135 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, "destination is a nullptr"); in decrypt_1_2()
140 _hidl_cb(Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE, 0, "invalid buffer size"); in decrypt_1_2()
153 _hidl_cb(Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE, 0, "subsample clear size overflow"); in decrypt_1_2()
[all …]
DDrmPlugin.cpp80 mMockError(Status_V1_2::OK) { in DrmPlugin()
152 if (session->getMockError() != Status_V1_2::OK) { in closeSession()
164 Status_V1_2 DrmPlugin::getKeyRequestCommon(const hidl_vec<uint8_t>& scope, in getKeyRequestCommon()
179 return Status_V1_2::ERROR_DRM_CANNOT_HANDLE; in getKeyRequestCommon()
190 return Status_V1_2::BAD_VALUE; in getKeyRequestCommon()
199 return Status_V1_2::ERROR_DRM_SESSION_NOT_OPENED; in getKeyRequestCommon()
200 } else if (session->getMockError() != Status_V1_2::OK) { in getKeyRequestCommon()
207 Status_V1_2 status = static_cast<Status_V1_2>( in getKeyRequestCommon()
220 return Status_V1_2::ERROR_DRM_UNKNOWN; in getKeyRequestCommon()
248 Status_V1_2 status = getKeyRequestCommon( in getKeyRequest()
[all …]
DSession.cpp71 Status_V1_2 Session::decrypt( in decrypt()
77 if (getMockError() != Status_V1_2::OK) { in decrypt()
87 return Status_V1_2::ERROR_DRM_NO_LICENSE; in decrypt()
94 return static_cast<Status_V1_2>(status); in decrypt()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DSession.h37 typedef drm::V1_2::Status Status_V1_2; typedef
42 : mSessionId(sessionId), mMockError(Status_V1_2::OK) {} in Session()
56 Status_V1_2 decrypt(
61 void setMockError(Status_V1_2 error) {mMockError = error;} in setMockError()
62 Status_V1_2 getMockError() const {return mMockError;} in getMockError()
72 Status_V1_2 mMockError;
DTypeConvert.h71 inline Status toStatus_1_0(Status_V1_2 status) { in toStatus_1_0()
73 case Status_V1_2::ERROR_DRM_INSUFFICIENT_SECURITY: in toStatus_1_0()
74 case Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE: in toStatus_1_0()
75 case Status_V1_2::ERROR_DRM_SESSION_LOST_STATE: in toStatus_1_0()
DDrmPlugin.h66 typedef drm::V1_2::Status Status_V1_2; typedef
144 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, hidl_vec<uint8_t>(), defaultUrl); in getProvisionRequest_1_2()
170 _hidl_cb(Status_V1_2::OK, connectedLevel, maxLevel); in getHdcpLevels_1_2()
382 Status_V1_2 getKeyRequestCommon(const hidl_vec<uint8_t>& scope,
411 Status_V1_2 mMockError;
415 mMockError = Status_V1_2::OK; in processMockError()
DCryptoPlugin.h55 typedef drm::V1_2::Status Status_V1_2; typedef
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp53 typedef drm::V1_2::Status Status_V1_2; typedef
80 static status_t toStatusT_1_2(Status_V1_2 status) { in toStatusT_1_2()
82 case Status_V1_2::ERROR_DRM_SESSION_LOST_STATE: in toStatusT_1_2()
84 case Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE: in toStatusT_1_2()
86 case Status_V1_2::ERROR_DRM_INSUFFICIENT_SECURITY: in toStatusT_1_2()
414 [&](Status_V1_2 status, uint32_t hBytesWritten, hidl_string hDetailedError) { in decrypt()
415 if (status == Status_V1_2::OK) { in decrypt()
DDrmHal.cpp65 typedef drm::V1_2::Status Status_V1_2; typedef
285 static status_t toStatusT_1_2(Status_V1_2 status) { in toStatusT_1_2()
287 case Status_V1_2::ERROR_DRM_RESOURCE_CONTENTION: in toStatusT_1_2()
289 case Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE: in toStatusT_1_2()
291 case Status_V1_2::ERROR_DRM_INSUFFICIENT_SECURITY: in toStatusT_1_2()
856 [&](Status_V1_2 status, const hidl_vec<uint8_t>& hRequest, in getKeyRequest()
859 if (status == Status_V1_2::OK) { in getKeyRequest()
980 [&](Status_V1_2 status, const hidl_vec<uint8_t>& hRequest, in getProvisionRequest()
982 if (status == Status_V1_2::OK) { in getProvisionRequest()
1153 … [&](Status_V1_2 status, const HdcpLevel_V1_2& hConnected, const HdcpLevel_V1_2& hMax) { in getHdcpLevels()
[all …]