Skip to content
Snippets Groups Projects
  1. Oct 21, 2023
  2. Oct 10, 2023
  3. Oct 09, 2023
  4. Aug 23, 2023
  5. Jul 05, 2021
    • Remi NGUYEN VAN's avatar
      Apply jarjar rules on coverage tests · 0b3f20a6
      Remi NGUYEN VAN authored
      Apply their respective jarjar rules on tethering and general
      connectivity tests, then merge both into the coverage tests suite.
      This is necessary to ensure that classes covered by tests have names
      matching classes used in code.
      
      Also fix IpConnectivityLogTest to use the module utility instead of the
      hidden BitUtils, as the test would fail after internal utils are
      jarjared.
      
      Bug: 187935317
      Test: atest ConnectivityCoverageTests TetheringCoverageTests
      Original-Change: https://android-review.googlesource.com/1749680
      Merged-In: Ib95b58dab93f7adebc445b662a6d15db1ce0e7c2
      Change-Id: Ib95b58dab93f7adebc445b662a6d15db1ce0e7c2
      0b3f20a6
  6. Jun 30, 2021
    • Remi NGUYEN VAN's avatar
      Apply jarjar rules on coverage tests · 8ea5ee6d
      Remi NGUYEN VAN authored
      Apply their respective jarjar rules on tethering and general
      connectivity tests, then merge both into the coverage tests suite.
      This is necessary to ensure that classes covered by tests have names
      matching classes used in code.
      
      Also fix IpConnectivityLogTest to use the module utility instead of the
      hidden BitUtils, as the test would fail after internal utils are
      jarjared.
      
      Bug: 187935317
      Test: atest ConnectivityCoverageTests TetheringCoverageTests
      Change-Id: Ib95b58dab93f7adebc445b662a6d15db1ce0e7c2
      8ea5ee6d
  7. Feb 16, 2021
    • Bob Badour's avatar
      [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity · 97e6be27
      Bob Badour authored
      Added SPDX-license-identifier-Apache-2.0 to:
        Tethering/Android.bp
        Tethering/apex/Android.bp
        Tethering/bpf_progs/Android.bp
        Tethering/common/TetheringLib/Android.bp
        Tethering/tests/Android.bp
        Tethering/tests/integration/Android.bp
        Tethering/tests/mts/Android.bp
        Tethering/tests/privileged/Android.bp
        Tethering/tests/unit/Android.bp
        tests/cts/hostside/Android.bp
        tests/cts/hostside/aidl/Android.bp
        tests/cts/hostside/app/Android.bp
        tests/cts/hostside/app2/Android.bp
        tests/cts/hostside/certs/Android.bp
        tests/cts/net/Android.bp
        tests/cts/net/api23Test/Android.bp
        tests/cts/net/appForApi23/Android.bp
        tests/cts/net/jni/Android.bp
        tests/cts/net/native/dns/Android.bp
        tests/cts/net/native/qtaguid/Android.bp
        tests/cts/net/util/Android.bp
        tests/cts/tethering/Android.bp
      
      Bug: 68860345
      Bug: 151177513
      Bug: 151953481
      
      Test: m all
      
      Exempt-From-Owner-Approval: janitorial work
      Change-Id: I8534c580f0e2a17be146300b67b3604817b64507
      97e6be27
  8. Dec 04, 2020
  9. Oct 29, 2020
  10. Oct 26, 2020
    • markchien's avatar
      Add shared jarjar rule for tethering tests · e3126480
      markchien authored
      Also jarjar com.android.net.module.util* to
      com.android.networkstack.tethering.util*.
      
      Bug: 171670016
      Test: atest TetheringCoverageTests
      Change-Id: I3bde9ad3c41adf36da99bd944303d88ce992201c
      e3126480
  11. Sep 16, 2020
    • Hungming Chen's avatar
      Move BPF offload program from netd to mainline · 56c632ca
      Hungming Chen authored
      Test: as the follows.
      $ adb shell ls sys/fs/bpf | grep offload
      map_offload_tether_ingress_map
      map_offload_tether_limit_map
      map_offload_tether_stats_map
      prog_offload_schedcls_ingress_tether_ether
      prog_offload_schedcls_ingress_tether_rawip
      
      $ adb shell dumpsys netd --short
        TetherController
          BPF ingress map: iif(iface) v6addr -> oif(iface) srcmac ..
            13(rmnet_data3) 2401:e180:8842:6e3:bc6a:2e45:c30:f418 -> ..
          BPF stats (downlink): iif(iface) -> packets bytes errors
            13(rmnet_data3) -> 7 488 0
          BPF limit: iif(iface) -> bytes
            13(rmnet_data3) -> 9223372036854775807
      
      Log:
      bpfloader: Loaded object: /apex/com.android.tethering/etc/bpf/offload.o
      
      Change-Id: I71b7efb1f4bd6eb1cd469a0e1e4a56342dc6e579
      56c632ca
  12. Jul 16, 2020
    • markchien's avatar
      Add tethering privileged test · 88f04280
      markchien authored
      Create TetheringPrivilegedTests which have MAINLINE_NETWORK_STACK
      permission, the test can perform various network-related operations
      which need CAP_NET_RAW and CAP_NET_ADMIN capabilities.
      
      Bug: 145490751
      Test: make TetheringPrivilegedTests
      Change-Id: Ic205e5183e066766377c63336d9c5171d4875c6a
      88f04280
Loading