commit | 32bd071ecbd37f2186c0d2ba249d4f35cc7c178d | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Jan 13 15:44:29 2022 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Thu Jan 13 15:57:00 2022 +0900 |
tree | f11c981e5f5c11dad16e23ca377ec7b58b7b7725 | |
parent | 3b38b120719b67b4cde67aa84a5e19010376c7a2 [diff] |
Minor simplifications in bpf_existence_test. 1. Use set instead of vector. This simplifies the code a bit. 2. Use proper NDK constants and functions to check the device OS version. Test: test-only change Test: passes on flame running qt-dev build (no-op) Test: passes on flame running RQ3A build Test: passes on raven running SP2A build Test: passes on barbet running aosp/master Change-Id: Ie13e1df674e50fcfb70811bc0dccae515cbb6e1c