No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 2f82fcdd6c Ensure service type ends with a dot in discovery
Historical behavior of onServiceFound is to include a dot at the end of
the service type. To avoid inconsistencies between behavior of new and
older backend, which would be hard to predict/handle for apps, ensure
that the same format is used. This means a dot must be added when using
the new backend.

Implement this by creating the callback service types based on
MdnsServiceInfo obtained from MdnsDiscoveryManager, rather than the
service type that was provided by the calling app. This avoids
inconsistencies as the calling app may or may not include dots
originally, and it may use subtypes ("_sub._type._tcp.local" or even
"_type._tcp.local,_sub"), which would result in callbacks giving invalid
service types, or inconsistent with S/T behavior.

Fixes: 281776253
Test: atest
Change-Id: I677ee885d1ee8e6a09773f21e4dd53e96faee748
2023-05-12 10:35:36 +09:00
bpf_progs remove inprocess tethering 2023-04-28 20:11:14 +00:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Cronet Stop checking for QUIC success in CTS tests 2023-04-21 14:06:30 +01:00
framework Merge "Expose internal representation of transport types." 2023-05-02 06:43:07 +00:00
framework-t Remove the ServiceTypeClient after socket destroyed 2023-05-11 15:17:21 +08:00
nearby Merge "Update the instructions for configuring Fast Pair provider simulator." 2023-04-25 09:05:35 +00:00
netd get rid of needless use of NONEXISTENT_COOKIE which is simply 0 2023-04-19 11:53:38 +00:00
service Merge "Use private dns port definition in static lib" 2023-05-11 11:48:27 +00:00
service-t Ensure service type ends with a dot in discovery 2023-05-12 10:35:36 +09:00
tests Ensure service type ends with a dot in discovery 2023-05-12 10:35:36 +09:00
Tethering Merge "remove inprocess tethering" 2023-05-05 20:31:58 +00:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Allow jchalard@, maze@ and reminv@ to approve fixes for flaky tests. 2022-10-06 09:06:20 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING [Cronet] Filter out large tests from presubmit 2023-04-03 18:10:01 +00:00