Loading drm/mediadrm/plugins/clearkey/aidl/DrmPlugin.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -706,7 +706,6 @@ void DrmPlugin::installSecureStop(const std::vector<uint8_t>& sessionId) { if (!res.isOk() && res.getExceptionCode() == EX_SERVICE_SPECIFIC) { status = static_cast<Status>(res.getServiceSpecificError()); } return toNdkScopedAStatus(status); if (Status::OK != status) break; } Loading Loading @@ -811,8 +810,6 @@ void DrmPlugin::sendEvent(::aidl::android::hardware::drm::EventType in_eventType const std::vector<uint8_t>& in_data) { if (mListener != nullptr) { mListener->onEvent(in_eventType, in_sessionId, in_data); } else if (mListener != nullptr) { mListener->onEvent(in_eventType, in_sessionId, in_data); } else { ALOGE("Null event listener, event not sent"); } Loading @@ -823,8 +820,6 @@ void DrmPlugin::sendExpirationUpdate(const std::vector<uint8_t>& in_sessionId, int64_t in_expiryTimeInMS) { if (mListener != nullptr) { mListener->onExpirationUpdate(in_sessionId, in_expiryTimeInMS); } else if (mListener != nullptr) { mListener->onExpirationUpdate(in_sessionId, in_expiryTimeInMS); } else { ALOGE("Null event listener, event not sent"); } Loading @@ -837,8 +832,6 @@ void DrmPlugin::sendKeysChange( bool in_hasNewUsableKey) { if (mListener != nullptr) { mListener->onKeysChange(in_sessionId, in_keyStatusList, in_hasNewUsableKey); } else if (mListener != nullptr) { mListener->onKeysChange(in_sessionId, in_keyStatusList, in_hasNewUsableKey); } else { ALOGE("Null event listener, event not sent"); } Loading Loading
drm/mediadrm/plugins/clearkey/aidl/DrmPlugin.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -706,7 +706,6 @@ void DrmPlugin::installSecureStop(const std::vector<uint8_t>& sessionId) { if (!res.isOk() && res.getExceptionCode() == EX_SERVICE_SPECIFIC) { status = static_cast<Status>(res.getServiceSpecificError()); } return toNdkScopedAStatus(status); if (Status::OK != status) break; } Loading Loading @@ -811,8 +810,6 @@ void DrmPlugin::sendEvent(::aidl::android::hardware::drm::EventType in_eventType const std::vector<uint8_t>& in_data) { if (mListener != nullptr) { mListener->onEvent(in_eventType, in_sessionId, in_data); } else if (mListener != nullptr) { mListener->onEvent(in_eventType, in_sessionId, in_data); } else { ALOGE("Null event listener, event not sent"); } Loading @@ -823,8 +820,6 @@ void DrmPlugin::sendExpirationUpdate(const std::vector<uint8_t>& in_sessionId, int64_t in_expiryTimeInMS) { if (mListener != nullptr) { mListener->onExpirationUpdate(in_sessionId, in_expiryTimeInMS); } else if (mListener != nullptr) { mListener->onExpirationUpdate(in_sessionId, in_expiryTimeInMS); } else { ALOGE("Null event listener, event not sent"); } Loading @@ -837,8 +832,6 @@ void DrmPlugin::sendKeysChange( bool in_hasNewUsableKey) { if (mListener != nullptr) { mListener->onKeysChange(in_sessionId, in_keyStatusList, in_hasNewUsableKey); } else if (mListener != nullptr) { mListener->onKeysChange(in_sessionId, in_keyStatusList, in_hasNewUsableKey); } else { ALOGE("Null event listener, event not sent"); } Loading