Skip to content
Snippets Groups Projects
  1. Dec 19, 2023
    • Paul Hu's avatar
      Support mDns Known-Answer Suppression · 01f243f5
      Paul Hu authored
      Support the RFC 6762 section 7.1. Known-Answer Suppression.
      If the response contains an answer that is also present in the
      answer section and the known-answer's TTL is greater than half
      of the original TTL, suppress the response.
      
      Bug: 312657709
      Test: atest FrameworksNetTests NsdManagerTest
            Passed DUPLICAE SUPPRESSION test case of BCT
      Change-Id: I1890e9fba068c1f59a1d93c3514f0e7d07da1814
      01f243f5
  2. Dec 18, 2023
    • Kangping Dong's avatar
      Merge changes from topic "mdns-subtypes" into main · 19d05551
      Kangping Dong authored
      * changes:
        [mdns] add service-side impl for subtypes advertising
        [mdns] add support for advertising subtypes
      19d05551
    • Kangping Dong's avatar
      [mdns] add service-side impl for subtypes advertising · 5af24b65
      Kangping Dong authored
      This is the servide-side impl of the subtypes advertising added in
      aosp/2608627. See that CL for more backgrounds.
      
      Bug: 265095929
      Test: atest CtsNetTestCases FrameworksNetTests
      Change-Id: I3d6f96822ac89d12fe29c00f688d848297c25787
      5af24b65
    • Kangping Dong's avatar
      [mdns] add support for advertising subtypes · 6d618d77
      Kangping Dong authored
      This commit adds support of advertising and discovering services
      with subtypes.
      
      With this change, client can publish a new service with subtypes with
      code:
      ```
      NsdServiceInfo info = new NsdServiceInfo();
      info.setServiceName("My Service");
      info.setServiceType("_meshcop._udp");
      info.setSubtypes(Set.of("_abc"));
      
      nsdManager.registerService(info, PROTOCOL_DNS_SD, listener);
      ```
      
      Bug: 265095929
      Test: atest CtsNetTestCases FrameworksNetTests
      Change-Id: Ia83182e2d43002243d1ef4357d14a8056d7da14b
      6d618d77
  3. Dec 17, 2023
  4. Dec 16, 2023
  5. Dec 13, 2023
  6. Dec 12, 2023
Loading