Skip to content
Snippets Groups Projects
  1. Sep 16, 2022
  2. Aug 18, 2022
  3. Jul 22, 2022
    • Hungming Chen's avatar
      Move struct CookieTagMap{Key, Value} to Connectivity/common · ef028028
      Hungming Chen authored
      Need to share struct CookieTagMap{Key, Value} with:
      service/src/com/android/server/connectivity/ClatCoordinator.java
      service-t/src/com/android/server/net/NetworkStatsService.java
      tests/unit/java/com/android/server/connectivity/ClatCoordinatorTest.java
      tests/unit/java/com/android/server/net/NetworkStatsServiceTest.java
      
      These files only have different package name as expected.
      
      $ diff common/src/com/android/net/module/util/bpf/CookieTagMapKey.java service-t/src/com/android/server/net/CookieTagMapKey.java
        17c17
        <- package com.android.net.module.util.bpf;
        ---
        -> package com.android.server.net;
      
      $ diff common/src/com/android/net/module/util/bpf/CookieTagMapValue.java service-t/src/com/android/server/net/CookieTagMapValue.java
        17c17
        <- package com.android.net.module.util.bpf;
        ---
        -> package com.android.server.net;
      
      Bug: 237369591
      Test: atest ConnectivityCoverageTests
      Change-Id: Ibede81376382f0dd7a032c8c988dd84c7422eece
      ef028028
  4. Jun 29, 2022
    • Hungming Chen's avatar
      Move struct {Clat*, Tether4*, TetherStats*} to connectivity module · 01f2550a
      Hungming Chen authored
      Needed because these struct classes should not be exposed.
      Only used for the connectivity module and its tests.
      
      Bug: 234160319
      Test: atest ConnectivityCoverageTests
      
      The moved files are identical.
      
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatEgress4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatEgress4Key.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatEgress4Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatEgress4Value.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatIngress6Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatIngress6Key.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatIngress6Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatIngress6Value.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/Tether4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Key.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/Tether4Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Value.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/TetherStatsKey.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/TetherStatsKey.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/TetherStatsValue.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/TetherStatsValue.java
      diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatEgress4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatEgress4Key.java
      (no diff)
      
      Change-Id: I4ce8045150bdbf04c63c5262c58a0ebcc30d395c
      01f2550a
Loading