<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_modules_DnsResolver/res_cache.cpp, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/'/>
<entry>
<title>Merge "Replace manual buffer handling with std::span"</title>
<updated>2021-09-03T02:20:02+00:00</updated>
<author>
<name>Bruce Chen</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-09-03T02:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=094d9ab72cc2dd9c4d11e31a27ffc6bab0cf9733'/>
<id>094d9ab72cc2dd9c4d11e31a27ffc6bab0cf9733</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace manual buffer handling with std::span</title>
<updated>2021-08-31T08:07:32+00:00</updated>
<author>
<name>chenbruce</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-08-09T06:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=c7d6927d38419fcf9882d097fa6251da2f347b01'/>
<id>c7d6927d38419fcf9882d097fa6251da2f347b01</id>
<content type='text'>
Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I8b0b8b0cc0c1185eb9a9e99ed10a2fc109bfa1d7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I8b0b8b0cc0c1185eb9a9e99ed10a2fc109bfa1d7
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Replace StringAppendF() with fmt::format_to"</title>
<updated>2021-08-27T13:39:48+00:00</updated>
<author>
<name>Treehugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2021-08-27T13:39:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=a2f85fb635b9cfa54a0d1f9b7ec5bdb9ad531300'/>
<id>a2f85fb635b9cfa54a0d1f9b7ec5bdb9ad531300</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Subsampling DNS event for mDNS</title>
<updated>2021-08-25T06:54:01+00:00</updated>
<author>
<name>chenbruce</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-08-18T14:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=52cf009bf98d4575e67f96a732f1b715dc588d13'/>
<id>52cf009bf98d4575e67f96a732f1b715dc588d13</id>
<content type='text'>
Currently, a device generates some mDNS queries when the user uses
mDNS .local resolution.
Using the query info by subsampling events based on how interesting
they are. Because the number of mDNS query is much less than DNS
query, the mDNS subsampling rate is higer than DNS query.
- if return_code == 0,2,7 -&gt; log 1 in 1 event
- if return_code == default -&gt; log 1 in 1 event
Also allow to use experiment flag to update sub-sampling denom.

Example for dumpsys dnsresolver:
  NetId: 100
    DnsEvent subsampling map for MDNS: default:1

Bug: 197092658
Test: cd packages/modules/DnsResolver &amp;&amp; atest
      m statsd_testdrive and run "statsd_testdrive 116"
Change-Id: I76073aa9a1cea43bda2675334592ed22e96a238e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, a device generates some mDNS queries when the user uses
mDNS .local resolution.
Using the query info by subsampling events based on how interesting
they are. Because the number of mDNS query is much less than DNS
query, the mDNS subsampling rate is higer than DNS query.
- if return_code == 0,2,7 -&gt; log 1 in 1 event
- if return_code == default -&gt; log 1 in 1 event
Also allow to use experiment flag to update sub-sampling denom.

Example for dumpsys dnsresolver:
  NetId: 100
    DnsEvent subsampling map for MDNS: default:1

Bug: 197092658
Test: cd packages/modules/DnsResolver &amp;&amp; atest
      m statsd_testdrive and run "statsd_testdrive 116"
Change-Id: I76073aa9a1cea43bda2675334592ed22e96a238e
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace StringAppendF() with fmt::format_to</title>
<updated>2021-08-23T15:57:43+00:00</updated>
<author>
<name>chenbruce</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-08-20T10:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=46dfd585b9bb2f7e30ac3b6804950e6018b1de1d'/>
<id>46dfd585b9bb2f7e30ac3b6804950e6018b1de1d</id>
<content type='text'>
Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: Iddcd0e69f46911ced852cf3994e6e243e9637820
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: Iddcd0e69f46911ced852cf3994e6e243e9637820
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace StringPrintf() with fmt::format()</title>
<updated>2021-08-20T06:45:36+00:00</updated>
<author>
<name>chenbruce</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-08-19T16:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=9b72daa3b7f3f33fcc5bf25269a9221cf296e904'/>
<id>9b72daa3b7f3f33fcc5bf25269a9221cf296e904</id>
<content type='text'>
Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I581c282bba1527afd2be9daf925e9ec5bd2e5cd6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I581c282bba1527afd2be9daf925e9ec5bd2e5cd6
</pre>
</div>
</content>
</entry>
<entry>
<title>use std::span for res_pquery</title>
<updated>2021-08-17T19:43:29+00:00</updated>
<author>
<name>chenbruce</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-07-25T14:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=2d831c5ef599d9e57c2e0fc66b5bd42e0248dcea'/>
<id>2d831c5ef599d9e57c2e0fc66b5bd42e0248dcea</id>
<content type='text'>
Manual buffer handling may make mistakes easily.
Replacing it by std::span.

Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I2a9ebb5c9f7eb9d09fa7bdcafe4748eb2042ca6b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Manual buffer handling may make mistakes easily.
Replacing it by std::span.

Bug: 196298216
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I2a9ebb5c9f7eb9d09fa7bdcafe4748eb2042ca6b
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement a new IPC setResolverOptions in DnsResolver</title>
<updated>2021-08-06T14:06:02+00:00</updated>
<author>
<name>Luke Huang</name>
<email>huangluke@google.com</email>
</author>
<published>2021-08-06T07:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=4bf5a443d593430bb4e8a48984584cc97cdf2d46'/>
<id>4bf5a443d593430bb4e8a48984584cc97cdf2d46</id>
<content type='text'>
1. Implement the new method added in V9, setResolverOptions
2. Add its relevant binder test and update integration test to use this
new method if the remote version is new enough.

Test: atest
Bug: 194048056
Change-Id: I9a18f11769fd154e7cc6f35090e6c8fe61853d2a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Implement the new method added in V9, setResolverOptions
2. Add its relevant binder test and update integration test to use this
new method if the remote version is new enough.

Test: atest
Bug: 194048056
Change-Id: I9a18f11769fd154e7cc6f35090e6c8fe61853d2a
</pre>
</div>
</content>
</entry>
<entry>
<title>Make resolverOptions optional in DnsResolver.</title>
<updated>2021-08-06T10:54:53+00:00</updated>
<author>
<name>Lorenzo Colitti</name>
<email>lorenzo@google.com</email>
</author>
<published>2021-08-06T04:19:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=5322e03974356bab43136d106d7b779b09d9e695'/>
<id>5322e03974356bab43136d106d7b779b09d9e695</id>
<content type='text'>
The only change is currently to make resolverOptions optional.

Test: m
Bug: 194048056
Change-Id: I42a07d2bad1b3ee0e66e3f4e2a0f068686e1d1a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only change is currently to make resolverOptions optional.

Test: m
Bug: 194048056
Change-Id: I42a07d2bad1b3ee0e66e3f4e2a0f068686e1d1a3
</pre>
</div>
</content>
</entry>
<entry>
<title>Set UNICAST-RESPONSE bit for mDNS</title>
<updated>2021-07-12T13:57:10+00:00</updated>
<author>
<name>chenbruce</name>
<email>chenbruce@google.com</email>
</author>
<published>2021-07-08T04:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_modules_DnsResolver/commit/?id=61df10c808e1cecde63b086dd2b34d0bfd82d5be'/>
<id>61df10c808e1cecde63b086dd2b34d0bfd82d5be</id>
<content type='text'>
The field is used to minimize unnecessary broadcasts on the network.

Bug: 140857615
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I54bc6f7cd41ff9687d4de8c9e87780ce805df050
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The field is used to minimize unnecessary broadcasts on the network.

Bug: 140857615
Test: cd packages/modules/DnsResolver &amp;&amp; atest
Change-Id: I54bc6f7cd41ff9687d4de8c9e87780ce805df050
</pre>
</div>
</content>
</entry>
</feed>
