commit | ad6503cf91e1ef0e3c1595e143ab9e11f0da5530 | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Fri Jul 28 11:28:52 2017 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Fri Aug 11 10:24:58 2017 +0800 |
tree | 586d63d75067bf4c8a745be1d6db90b36f7fc2cc | |
parent | 8f93ab17f91be9c170f946540fb82cd71d792891 [diff] |
Cast binder data type to uint64_t in high bits test 1. Cast fb->binder to uint64_t before shifting by 32 bits. It avoids undefined result when binder is 32-bit. 2. Swap EXPECT_EQ arguments. The first one is expected value and the second is actual value. Bug: 64118463 Test: ./binderLibTest on x86 emulator Change-Id: I4f736bd5b55db5af8598db0d5cd5fbd9ef323448 (cherry picked from commit 41eaab40d6d5372c03824ea441c5c8346fe6e7ac)