Skip to content
Snippets Groups Projects
  1. Nov 03, 2020
    • Nikita Ioffe's avatar
      com.android.tethering: set min_sdk_version 30 · 1fe1e539
      Nikita Ioffe authored
      Tethering is updatable apex module that was launched in R, hence it and
      all it dependencies should specify min_sdk_version <= 30.
      
      Test: m
      Bug: 171668006
      Bug: 171330443
      Change-Id: Ic91cf96dda6419d1038b0329b920f9cd24482aef
      Merged-In: Ic91cf96dda6419d1038b0329b920f9cd24482aef
      (cherry picked from commit bee20e84)
      1fe1e539
  2. Oct 30, 2020
  3. Oct 28, 2020
  4. Oct 19, 2020
    • markchien's avatar
      Add the flag and default enable selectAllPrefixRange · 29e04777
      markchien authored
      Also add MtsTetheringTest which only run if tethering mainline
      module is installed.
      
      Bug: 166057846
      Bug: 170265597
      Test: atest TetheringTests
      Change-Id: I434dda81eb5fab700d873a8ff3429b4222f0c7e6
      Merged-In: I434dda81eb5fab700d873a8ff3429b4222f0c7e6
      29e04777
  5. Oct 15, 2020
  6. Oct 13, 2020
    • Mark Chien's avatar
      Allow tethering pick prefix from all of private address range · 188bbe71
      Mark Chien authored
      Currently tethering only pick prefix from 192.168.0.0/16. There is no
      aviable tethering address if the upstream address is 192.168.x.y/16.
      This change allow tethering to pick prefix from any private address
      rnages. Now it still pick from 192.168.0.0/16 only to avoid behavior
      change. Will have follow up commit to change the configuration.
      
      Bug: 166057846
      Bug: 170265597
      Test: atest TetheringTests
            atest CtsTetheringTest
      
      Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852
      
      Change-Id: I008d5e5902a0fb41ac564c73f265e1c942c8dcad
      Merged-In: Ib6304eb8b4788e9196d0af48e72f00a6bda73a5f
      (cherry picked from commit 0a6b8bfee818734c005d9f131013580f5a23ba21)
      188bbe71
  7. Oct 12, 2020
  8. Oct 08, 2020
  9. Oct 07, 2020
  10. Oct 02, 2020
    • Anton Hansson's avatar
      Explicitly reference framework-wifi app build rule · 20dd58aa
      Anton Hansson authored
      This works around a build-system limitation where it does not know
      which jars to feed r8 to resolve all classes during proguarding.
      
      Bug: 160453030
      Bug: 169931783
      Test: build_mainline_modules.sh (with prebuilt sdk)
      Change-Id: I3d9f2049cf898b5e551a5c5764df423abaa5e92d
      20dd58aa
  11. Sep 14, 2020
  12. Sep 11, 2020
    • Makoto Onuki's avatar
      Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs · 3ef6c1ef
      Makoto Onuki authored
      Exempt-From-Owner-Approval: Cherry-picking from master
      
      Test: build / treehugger
      Bug: 146727827
      Change-Id: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
      Merged-in: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
      3ef6c1ef
    • Anton Hansson's avatar
      Simplify module visibility post build refactor · ddaad5c5
      Anton Hansson authored
      //visibility:override is no longer needed for impl_library_visibility
      to override visibility.
      
      Removing this allows the defaults module to specify better defaults.
      
      - Stub libraries are made publicly visible, via `visibility`
      - Impl libraries are private by default, but visibility is extended
        by the modules
      
      Bug: 165017290
      Test: m
      Exempt-From-Owner-Approval: build refactor
      Change-Id: Ibf35bfac5c99a21125f89ba10945f3364217b90f
      Merged-In: Ibf35bfac5c99a21125f89ba10945f3364217b90f
      (cherry picked from commit 9aed1381)
      ddaad5c5
  13. Aug 31, 2020
    • Chalard Jean's avatar
      Rename Kotlin util files to not include the Kt suffix · 14332526
      Chalard Jean authored
      Callers don't care what language the utilities are written in
      
      This is a partial cherry-pick of the change in the packages/Tethering,
      tests/net/common, tests/net/integration, wifi/tests directories. Other
      tests cannot be kept in sync as the latest versions verify platform
      functionalities that do not exist in the module branch, so disabling
      them is less time-consuming than always resolving merge conflicts.
      
      Test: builds
      Merged-In: Ie212144f36c50db223c05f3fcb6bad745842cb5e
      Change-Id: Ie212144f36c50db223c05f3fcb6bad745842cb5e
      14332526
    • Chalard Jean's avatar
      Move utils from network stack to libs. · 63e74e31
      Chalard Jean authored
      This package is using some common utilities from
      a library that used to live in the network stack.
      A better home for these utilities is frameworks/libs,
      so this topic moves the files ther and also changes
      the package of some utilities.
      
      See aosp/1350222 and aosp/1350182 for a detailed
      description of the specific files that moved.
      
      Test: checkbuild
      Original-change: aosp/1350083
      Merged-In: I76a9b7790f3997e3e6b3c2f75ba6308286457cde
      Change-Id: I76a9b7790f3997e3e6b3c2f75ba6308286457cde
      63e74e31
  14. Aug 19, 2020
    • Mark Chien's avatar
      Add usesCleartextTraffic to Tethering · d7b755f9
      Mark Chien authored
      usesCleartextTraffic needs to be true for the networkstack process so
      that the NetworkStack module can use no-encrypted probes to detect
      captive portals.
      
      When loaded in the networkstack process, all packages in process must
      set usesCleartextTraffic=true, otherwise there may be races causing
      the flag not to be set for the process.
      
      Bug: 161860610
      Test: CtsTetheringTest, TetheringTests
      
      Change-Id: If1ea472e2b7e715ab97851394dc8980ad269b7a1
      Merged-In: Ife03ee0c7096ea242eb701b297a69b471e15b436
      (cherry picked from commit 36fd800c)
      d7b755f9
  15. Aug 07, 2020
  16. Aug 05, 2020
    • Mark Chien's avatar
      Merge changes If7997341,I7584253b into mainline-prod · 88c62716
      Mark Chien authored
      * changes:
        Allow wifi p2p to use legacy dedicated address
        Address comment from aosp/1232197
      88c62716
    • markchien's avatar
      Allow wifi p2p to use legacy dedicated address · be484d2c
      markchien authored
      Some exsting applications may expect wifi p2p use legacy
      "192.168.49.1/24" address. Have a configuration for wifi p2p to
      decide whether to use legacy dedicated address or random address.
      
      Bug: 161520826
      Test: atest TetheringTests
      Change-Id: If79973416a6780ee19ee785c65772b1a2dc1fbf7
      Merged-In: If79973416a6780ee19ee785c65772b1a2dc1fbf7
      be484d2c
    • Treehugger Robot's avatar
      Address comment from aosp/1232197 · af5885b7
      Treehugger Robot authored
      1. Call maybeRemoveDeprecatedUpstreams from Tethering rather than inside
      PrivateAddressCoordinator because the building logic of this method based
      on implementation details of Tethering.
      2. Fix typo
      
      Bug: 130879722
      Test: -build, flash, boot
            -atest TetheringTests
      
      Merged-In: I7584253b728bc17fc648fc19e492ca9f7ad2ff46
      Change-Id: I7584253b728bc17fc648fc19e492ca9f7ad2ff46
      af5885b7
  17. Jul 29, 2020
    • markchien's avatar
      Always stop dhcp server even it is obsolete · a732b3a5
      markchien authored
      If dhcp server is obsolete, explicitly stop it to shut down its thread.
      
      Bug: 161418295
      Test: atest CtsTetheringTest
      Change-Id: Ic5b876bd23711ec8d832879a7baee0495246b218
      Merged-In: Ic5b876bd23711ec8d832879a7baee0495246b218
      a732b3a5
  18. Jul 13, 2020
  19. Jul 09, 2020
  20. Jul 08, 2020
    • Treehugger Robot's avatar
      Skip testPhysicalEthernet if the test run adb over network · 6faf8619
      Treehugger Robot authored
      If the test run adb over network and ethernet is available, it is likely
      that adb may run over ethernet. Then the test would fail because adb
      would break when ethernet is switching from client mode to server mode.
      
      Bug: 160389275
      Test: atest CtsTetheringTest
      
      Merged-In: I57d365d33316881c50c3bf7fd1c98926d10842d3
      Change-Id: I57d365d33316881c50c3bf7fd1c98926d10842d3
      6faf8619
  21. Jul 01, 2020
  22. Jun 30, 2020
  23. Jun 24, 2020
Loading