Android 5.1.1 release 25
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlYw/T8ACgkQ6K0/gZqxDnhYyACfX49r7I/mv5W1/Jjt05X4u+92
3osAn3Z0iQavelbuElZoCl1KG9LbdEpx
=v5UA
-----END PGP SIGNATURE-----
libutils: Fix integer overflows in VectorImpl.

Use external/safe-iop to check for overflows on arithmetic
operations.

Also remove an unnecessary copy of Vector/SharedBuffer from
codeflinger and use the copy from libutils instead.

Note that some of the unit tests are somewhat useless due to
test-runner limitations : gtest's ability to filter on abort message
doesn't work when combined with messages formatted by android's logging
system.

bug: 22953624

(cherry picked from commit c609c31fb56ae434caa2d0153cd0a2f74a715071)

Change-Id: I61644633db6b54fa230683615de9724f7fabf6fb
17 files changed