Home
last modified time | relevance | path

Searched refs:mMockError (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DSession.h31 : mSessionId(sessionId), mMockError(clearkeydrm::OK) {} in Session()
48 void setMockError(CdmResponseType error) { mMockError = error; } in setMockError()
49 CdmResponseType getMockError() const { return mMockError; } in getMockError()
59 CdmResponseType mMockError; variable
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DDrmPlugin.cpp76 mMockError(Status::OK) { in DrmPlugin()
332 if (mMockError != Status::OK) { in getOfflineLicenseKeySetIds()
334 return toNdkScopedAStatus(toMockStatus(mMockError)); in getOfflineLicenseKeySetIds()
354 if (mMockError != Status::OK) { in getOfflineLicenseState()
356 return toNdkScopedAStatus(toMockStatus(mMockError)); in getOfflineLicenseState()
772 if (mMockError != Status::OK) { in removeOfflineLicense()
773 return toNdkScopedAStatus(toMockStatus(mMockError)); in removeOfflineLicense()
943 mMockError = Status::ERROR_DRM_RESOURCE_CONTENTION; in setPropertyString()
945 mMockError = Status::ERROR_DRM_SESSION_LOST_STATE; in setPropertyString()
947 mMockError = Status::ERROR_DRM_FRAME_TOO_LARGE; in setPropertyString()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/
DDrmPlugin.h199 Status mMockError; member
202 session->setMockError(static_cast<CdmResponseType>(mMockError)); in processMockError()
203 mMockError = Status::OK; in processMockError()