Skip to content
Snippets Groups Projects
  1. Dec 19, 2019
    • markchien's avatar
      Change Tethering package name · eda5d300
      markchien authored
      ".apex" is easy to confuse.
      Rename as below:
      apex: com.android.tethering.apex -> com.android.tethering
      apk: com.android.tethering -> com.android.networkstack.tethering
      
      Bug: 146471733
      Test: build
      
      Change-Id: I2c7647abb996539a3af6cfe0e0214a5e8927c0d6
      eda5d300
  2. Dec 16, 2019
  3. Dec 13, 2019
  4. Dec 12, 2019
  5. Dec 11, 2019
  6. Dec 08, 2019
  7. Dec 04, 2019
  8. Dec 03, 2019
    • paulhu's avatar
      Migrate tethering notification resources · 0988213c
      paulhu authored
      Migrate the resources which are only used by tethering notification
      from framework/base/core/res to tethering package resource
      folder.
      
      Bug: 122085773
      Bug: 139763854
      Test: build pass
      Change-Id: I832103090d500fd8e2e2efb9dc7151426da3f88d
      0988213c
  9. Dec 02, 2019
  10. Nov 30, 2019
    • Mark Chien's avatar
      [automerger skipped] Merge changes from topic "tether_migrate" am: e8401aff92 am: 4bb02709c5 · c1ed633e
      Mark Chien authored
      am: d2958bb368 -s ours
      am skip reason: change_id I4ed08d20f8b7476b8ecd5d018b75806dd2f22cc1 with SHA1 499c4a8c is in history
      
      Change-Id: I630b00c69238730fe5aa267a658f93edb236acc6
      c1ed633e
    • markchien's avatar
      [automerger skipped] [Tether07] Migrate Tethering into module am: ee6ad378 am: 6b828d2915 · 99abe0a2
      markchien authored
      am: 146e4976bf -s ours
      am skip reason: change_id I7e78c0e0a3e70f940a749ba2a39ece7c7ec5b9b3 with SHA1 2c4cc6f5 is in history
      
      Change-Id: Ie6a28a142e2cf75adfc3d1a45d87e9daa67423e4
      99abe0a2
    • markchien's avatar
      [automerger skipped] [Tether07] Clean up build rule for libtetheroffloadjni... · d4166df0
      markchien authored
      [automerger skipped] [Tether07] Clean up build rule for libtetheroffloadjni am: 810aa68d am: 510a354082
      am: 463265c034 -s ours
      am skip reason: change_id Ic082045bc04d3989f7f095c7a499bc0d943e4031 with SHA1 42aa1754 is in history
      
      Change-Id: I7903a9514ceecfc61e6d66e2e3ba55ed0bafb4bf
      d4166df0
    • markchien's avatar
      [Tether10]Remove UserManagerInternal usage in Tethering · 147186da
      markchien authored
      To be the unbundled application, tethering can not use UserManagerInternal
      method anymore. Replace it by listening user restriction change intent.
      
      Also fix some cleanup from
      https://android-review.googlesource.com/c/platform/frameworks/base/+/1131002
      
      Bug: 143195885
      Test: -build, flash, boot
            -atest TetheringTests
            -manual test. Add a trigger point to call
             UserManager.setUserRestriction(DISALLOW_CONFIG_TETHERING) from
             Settings. Open hotspot -> restrict tethering from new adding trigger
             point -> hotspot is OFF and Tethering settings are not available.
      
      Change-Id: I4ed08d20f8b7476b8ecd5d018b75806dd2f22cc1
      Merged-In: I4ed08d20f8b7476b8ecd5d018b75806dd2f22cc1
      147186da
    • markchien's avatar
      [Tether07] Migrate Tethering into module · ee6ad378
      markchien authored
      Now tethering would be run in dedicated service.
      TetheringManager is the interface used to communicate with
      TetheringService. The new call flow would be: ConnectivityManager
      -> ConnectivityService -> TetheringManager -> TetheringService.
      Note: the return value of #tether(), #untether() and #setUsbTethering()
      APIs would always be no error. Client can use #getLastTetherError()
      or #getTetheredIfaces or listen tether state change to check
      status of corresponding interface.
      
      Bug: 136040414
      Bug: 144742179
      Test: -build, flash, boot
            -atest TetheringTests
            -atest FrameworksNetTests
      
      Change-Id: I7e78c0e0a3e70f940a749ba2a39ece7c7ec5b9b3
      Merged-In: I7e78c0e0a3e70f940a749ba2a39ece7c7ec5b9b3
      ee6ad378
    • markchien's avatar
      [Tether07] Clean up build rule for libtetheroffloadjni · 810aa68d
      markchien authored
      - Statically include android.hardware.tetheroffload.config@1.0,
        libcutils and their dependency library.
      - Use shared-lib if there is NDK or NDK-compliant version
      - Remove android.hardware.tetheroffload.control-V1.0-java from
        service.core because it is already statically built in tethering apk
      
      Bug: 143195885
      Test: -build, flash, boot
      Change-Id: Ic082045bc04d3989f7f095c7a499bc0d943e4031
      Merged-In: Ic082045bc04d3989f7f095c7a499bc0d943e4031
      810aa68d
  11. Nov 29, 2019
    • markchien's avatar
      [Tether10]Remove UserManagerInternal usage in Tethering · 499c4a8c
      markchien authored
      To be the unbundled application, tethering can not use UserManagerInternal
      method anymore. Replace it by listening user restriction change intent.
      
      Also fix some cleanup from
      https://android-review.googlesource.com/c/platform/frameworks/base/+/1131002
      
      Bug: 143195885
      Test: -build, flash, boot
            -atest TetheringTests
            -manual test. Add a trigger point to call
             UserManager.setUserRestriction(DISALLOW_CONFIG_TETHERING) from
             Settings. Open hotspot -> restrict tethering from new adding trigger
             point -> hotspot is OFF and Tethering settings are not available.
      
      Change-Id: I4ed08d20f8b7476b8ecd5d018b75806dd2f22cc1
      499c4a8c
    • markchien's avatar
      [Tether07] Migrate Tethering into module · 2c4cc6f5
      markchien authored
      Now tethering would be run in dedicated service.
      TetheringManager is the interface used to communicate with
      TetheringService. The new call flow would be: ConnectivityManager
      -> ConnectivityService -> TetheringManager -> TetheringService.
      Note: the return value of #tether(), #untether() and #setUsbTethering()
      APIs would always be no error. Client can use #getLastTetherError()
      or #getTetheredIfaces or listen tether state change to check
      status of corresponding interface.
      
      Bug: 136040414
      Bug: 144742179
      Test: -build, flash, boot
            -atest TetheringTests
            -atest FrameworksNetTests
      
      Change-Id: I7e78c0e0a3e70f940a749ba2a39ece7c7ec5b9b3
      2c4cc6f5
  12. Nov 28, 2019
    • markchien's avatar
      [Tether07] Clean up build rule for libtetheroffloadjni · 42aa1754
      markchien authored
      - Statically include android.hardware.tetheroffload.config@1.0,
        libcutils and their dependency library.
      - Use shared-lib if there is NDK or NDK-compliant version
      - Remove android.hardware.tetheroffload.control-V1.0-java from
        service.core because it is already statically built in tethering apk
      
      Bug: 143195885
      Test: -build, flash, boot
      Change-Id: Ic082045bc04d3989f7f095c7a499bc0d943e4031
      42aa1754
  13. Nov 25, 2019
  14. Nov 22, 2019
  15. Nov 20, 2019
  16. Nov 15, 2019
  17. Nov 11, 2019
  18. Nov 08, 2019
  19. Nov 05, 2019
  20. Oct 31, 2019
  21. Oct 30, 2019
Loading