commit | d658f1c02b2d56e2edf3e62897e0fcc06389fbee | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 27 13:02:34 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Mar 29 13:07:15 2017 -0700 |
tree | e952908240b514b1e0133e2f4f1fe647fd4e3053 | |
parent | 76c32a35a956fa3a4559c6ed9512f4083ec011b7 [diff] |
Add HidlSupport.java for utility methods for HIDL. The old .equals code uses Objects.deepEquals, which does not handle for, e.g. ArrayList<byte[]>. Create our own recursive HidlSupport.deepEquals and deepHashCode method to handle these edge cases. Bug: 36454147 Test: hidl_test_java Change-Id: I56dc48985486b561263c260cf43aa90f30d581d0