Switch netd_defaults to C++17

Additionally:
    - use netd_defaults everywhere (except libbpf)
    - a few clang-format and clang-tidy inspired fixes
    - runtests.sh now tries to run "adb root"
    - runtests.sh now can be used to run the benchmarks

Test: as follows
    - built, flashed, booted
    - system/netd/tests/runtests.sh passes

Change-Id: Ifbfada63cf4e541c55f51396f618fff389d664a5
diff --git a/libbpf/Android.bp b/libbpf/Android.bp
index cf16ae9..c52c336 100644
--- a/libbpf/Android.bp
+++ b/libbpf/Android.bp
@@ -54,6 +54,8 @@
     export_header_lib_headers: ["libbpf_headers"],
     local_include_dirs: ["include"],
 
+    // TODO: Enable this once sscanf errors have been fixed.
+    // defaults: ["netd_defaults"],
     cflags: [
         "-Werror",
         "-Wall",
@@ -67,6 +69,7 @@
         "BpfNetworkStatsTest.cpp",
         "BpfMapTest.cpp",
     ],
+    defaults: ["netd_defaults"],
     cflags: [
         "-Wall",
         "-Werror",