commit | 82d4b9956d8d19db09a153b4f0ae6310dc92c441 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Mar 16 11:46:06 2021 +0900 |
committer | Maciej Żenczykowski <maze@google.com> | Mon Mar 15 21:01:42 2021 -0700 |
tree | a2429d12a0495cc3f8f8ec5422612eff5aff8eb9 | |
parent | e8e91c1726284137e39fedbd057a1f45c6ec5202 [diff] |
Add a test for TetheringUtils.setupNaSocket. Because most of the tethering tests are unprivileged, we cannot test this code on real sockets. So use an AF_UNIX socketpair. Bug: 154669942 Bug: 182785371 Test: test-only change Change-Id: I843fddb3aaeab33628438f3bcd6a4166062de962