| commit | dfbedb8ffb429427bf7d3dbdfd5c3fe002f02718 | [log] [tgz] | 
|---|---|---|
| author | Steven Moreland <smoreland@google.com> | Wed Jun 19 14:51:11 2019 -0700 | 
| committer | Steven Moreland <smoreland@google.com> | Thu Jun 20 19:32:23 2019 +0000 | 
| tree | e03d724abf519e3297a396a728016dbca952fe92 | |
| parent | 5b8eb35645ec7e329fe0c6462125445fc5a3697c [diff] | 
hidl_vec: move elements on resize
To avoid extra copies. Doing this also requires adding move
constructors and move assignment operators to hidl_array.
Bug: 135207394
Test: libhidl_test
Test: hidl_test
Test: reduces image size on aosp_walleye
$ cat installed-files-before.txt | awk '{s+=$1}END{print s}'
1135438223
$ cat installed-files-after.txt | awk '{s+=$1}END{print s}'
1135434327
Change-Id: I231f5c9cc959b605e6f102ff7217f338c95d5d5e