Merge "Allow INVALID_INPUT_LENGTH for oversized messages" into android10-tests-dev am: a004802ce6

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1201701

Change-Id: I1bf2d29bbef19bffda0ddbf0ff1a01f94260941f