commit | 753443ad1f601ad5fd13602cd0189f7e3842c6e1 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Mon Nov 09 20:52:01 2020 +0800 |
committer | Ken Chen <cken@google.com> | Mon Nov 09 21:15:37 2020 +0800 |
tree | 3133e43cd9710c0c713d9dac5cad445db1f38122 | |
parent | d1d1507c73b71f402a13cf904dd227c1f47e0ddc [diff] |
Fix AIBinder_linkToDeath not being called issue The linked AIBinder_DeathRecipient will be automatically unlinked if the binder is deleted. The binder needs to be retained throughout tests. Bug: 172178636 Test: 1. run a test case to kill netd locally, do things like { system("netd=$(pidof netd); kill $netd"); } 2. atest resolv_integration_test 3. check if test fail and abort immediately on the test case. Change-Id: Ic30d247d46d3b197ec9719b0db955495fc64435d
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.