Skip to content
Snippets Groups Projects
  1. Nov 16, 2023
  2. Nov 15, 2023
  3. Nov 14, 2023
    • Paul Hu's avatar
      Check service ttl expiration · 596a5006
      Paul Hu authored
      Now, every services are cached on MdnsServiceCache, so the
      remaining TTL should be checked when retrieving services from
      the MdnsServiceCache and have a callback to notify the
      MdnsServiceTypeClient about expired services.
      
      Bug: 265787401
      Test: atest FrameworksNetTests CtsNetTestCases
      Change-Id: I99da6cc79bdf5df3c899e642e067907501bc9d4f
      596a5006
    • Motomu Utsumi's avatar
      Make ConnectivityService update BatteryStats radio power state · db537acc
      Motomu Utsumi authored
      Currently, BatteryStatsService register netd callback and track radio
      power state only for the default network.
      So, battery stats are not accurate if cellular and Wi-Fi networks are
      active at the same time.
      
      aosp/2561090 updates BatteryStatsService not to register netd callback
      on V+ devices.
      This CL updates LegacyNetworkActivityTracker to call BatteryStats API
      and update radio power state for networks including non default networks
      on V+ devices.
      
      Bug: 267870186
      Bug: 279380356
      Test: atest FrameworksNetTests
      Change-Id: I826b3b4046cc7b8aef46c13300854eaf14b1b777
      db537acc
    • Motomu Utsumi's avatar
      Track multiple network activities on V+ · 1f5ffa42
      Motomu Utsumi authored
      on V+ devices, NetworkActivityTracker adds idleTimer when the network is
      first connected and removes idleTimer when the network is disconnected
      so that activity tracker can receive netd
      onInterfaceClassActivityChanged callback for multiple networks.
      
      Bug: 267870186
      Bug: 279380356
      Test: atest FrameworksNetTests
      Change-Id: I6f3a95c27e3e58f3f60c40065f562d00431a56b1
      1f5ffa42
    • Kangping Dong's avatar
    • Kangping Dong's avatar
    • Mike Yu's avatar
      Merge changes Ia677f31a,I8d8f5752,Idc347bce into main · 68219d10
      Mike Yu authored
      * changes:
        Add abstract getValue() for class SvcParam
        Use DnsPacket.toString() for DnsSvcbPacket
        Test: A minor fix for testDnsSvcbRecord_svcParamMandatory
      68219d10
    • Motomu Utsumi's avatar
      Use netId as idleTimer label on V+ · 5fce43e5
      Motomu Utsumi authored
      Following CL adds idleTimer for multiple networks and track activities
      including non default network on V+
      Current LegacyNetworkActivityTracker uses transport type as an idleTimer
      label but this makes it difficult to have multiple idleTimers.
      So, this CL updates LegacyNetworkActivityTracker to support using netId
      as an idleTimer label.
      
      Bug: 267870186
      Bug: 279380356
      Test: atest FrameworksNetTests
      Change-Id: I0039f5624ae1d142dbacba53aa90ca9bf6d43599
      5fce43e5
    • Handa Wang's avatar
      1c6a7a71
  4. Nov 13, 2023
  5. Nov 11, 2023
    • Ken Chen's avatar
      [Test] CTS for DNS query fail-fast feature · a10c53cc
      Ken Chen authored
      For Power Saver tests, verify not only the network connectivity of
      restricted apps, but also error cause.
      
      Bug: 288340533
      Test: atest
      CtsHostsideNetworkTests: com.android.cts.net.HostsideNetworkCallbackTests
      Change-Id: I122b62891175cd4a035f3c51c5b6073b34f8fd82
      a10c53cc
  6. Nov 10, 2023
    • Henri Chataing's avatar
      c64eb2d8
    • Anton Hansson's avatar
      Fix typedef retention · f5fa3c6c
      Anton Hansson authored
      Typedef annotations are meant to have SOURCE retention, as they're
      only analyzed by metalava to produce a separate file that's actually
      consumed by the tools. Update typedefs as such.
      
      Bug: 309971481
      Test: m checkapi
      Change-Id: Ic603db350af0825c87f4d99cff2ca4f4b7e57215
      f5fa3c6c
    • Handa Wang's avatar
      implement InfraInterfaceController · d295f8f1
      Handa Wang authored
      InfraInterfaceController is used for creating an socket for
      sending/receiving ICMPv6 ND messages on the infrastructure network
      interface.
      
      Bug: 299552948
      Test: verified on a Cuttlefish
      
      Change-Id: I02eafadafbf7a04e12fe74954b4812462c532e45
      d295f8f1
Loading