commit | 21942e0abacd35f1f4aad2f910f33d15cf0f3b20 | [log] [tgz] |
---|---|---|
author | Artem Iglikov <artikz@google.com> | Tue May 16 14:42:33 2017 +0100 |
committer | Artem Iglikov <artikz@google.com> | Wed May 17 15:11:49 2017 +0100 |
tree | 2c3662f110b53915b1731cf7af6f54f5584db13e | |
parent | 5e3f1103339e4b685fe636a972520732eb7c17f4 [diff] |
Add tests for routeSocketDataToOutput. Also fixes the problem where it could through IndexOutOfBoundsException instead of more natuarl EOFExcpetion in case there is not enough data in the chunk. Bug: 38081946 Bug: 37983441 Test: runtest -p com.android.server.backup frameworks-services Change-Id: Icac575a76b752922b9c2d9cc0b3cad50f4273241