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
Loading