Loading drm/libmediadrm/CryptoHal.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -332,10 +332,13 @@ ssize_t CryptoHal::decrypt(const uint8_t keyId[16], const uint8_t iv[16], return status; } secure = false; } else { } else if (destination.mType == kDestinationTypeNativeHandle) { hDestination.type = BufferType::NATIVE_HANDLE; hDestination.secureMemory = hidl_handle(destination.mHandle); secure = true; } else { android_errorWriteLog(0x534e4554, "70526702"); return UNKNOWN_ERROR; } ::SharedBuffer hSource; Loading drm/libmediadrm/ICrypto.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -369,6 +369,10 @@ status_t BnCrypto::onTransact( android_errorWriteLog(0x534e4554, "71389378"); return OK; } } else { reply->writeInt32(BAD_VALUE); android_errorWriteLog(0x534e4554, "70526702"); return OK; } AString errorDetailMsg; Loading Loading
drm/libmediadrm/CryptoHal.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -332,10 +332,13 @@ ssize_t CryptoHal::decrypt(const uint8_t keyId[16], const uint8_t iv[16], return status; } secure = false; } else { } else if (destination.mType == kDestinationTypeNativeHandle) { hDestination.type = BufferType::NATIVE_HANDLE; hDestination.secureMemory = hidl_handle(destination.mHandle); secure = true; } else { android_errorWriteLog(0x534e4554, "70526702"); return UNKNOWN_ERROR; } ::SharedBuffer hSource; Loading
drm/libmediadrm/ICrypto.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -369,6 +369,10 @@ status_t BnCrypto::onTransact( android_errorWriteLog(0x534e4554, "71389378"); return OK; } } else { reply->writeInt32(BAD_VALUE); android_errorWriteLog(0x534e4554, "70526702"); return OK; } AString errorDetailMsg; Loading