| commit | 63a2b89bf9a55ebd1df1773636d40fb8fd4dc18a | [log] [tgz] |
|---|---|---|
| author | Patrick Rohr <prohr@google.com> | Wed Aug 27 15:16:49 2025 -0700 |
| committer | Patrick Rohr <prohr@google.com> | Wed Aug 27 15:21:06 2025 -0700 |
| tree | e1ec6a89281111a6bf217a737278fe45ab1c1f40 | |
| parent | 27bf5081df449fa146b9d423a1e43808172e5285 [diff] |
Recreate NetworkContext trait The NetworkContext trait is used to fetch information from the network. The impl trait is stored directly in the Driver struct so it can be easily mocked in tests. Test: TH Flag: EXEMPT mainline Change-Id: I1677079fd750a64e3668951d45e268830fda423c
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.