Skip to content
Snippets Groups Projects
  1. Apr 20, 2020
    • Jiyong Park's avatar
      Mark some aidl_interface modules as unstable · de93db85
      Jiyong Park authored
      With b/152655547, all aidl_interface modules are considered as stable
      unless it is explicitly with "unstable: true". This change marks the
      aidl_interface that are not used across updatable module bounraries
      as unstable, so that the build system does not run the API
      dumping/checking on them.
      
      Exempt-From-Owner-Approval: cherry-pick from internal
      
      Bug: 152655547
      Test: m
      Merged-In: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
      (cherry picked from commit 6c9c10c9)
      Change-Id: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
      de93db85
  2. Apr 17, 2020
    • paulhu's avatar
      [TNU06] Add roaming notification · 1f66261a
      paulhu authored
      Warn user of potential data charges if the backhaul is
      cellular and user is roaming.
      
      Bug: 145629001
      Test: atest TetheringTests
      Change-Id: I74b4f87c2f6aad09e05d3f2a779f880396885953
      1f66261a
  3. Apr 16, 2020
  4. Apr 15, 2020
    • markchien's avatar
      Remove sendMessage inside EntitlementManager · a1a0be93
      markchien authored
      EntitlementManager and its callers(Tethering and UpstreamNetworkMonitor)
      run in the same threads.
      
      Bug: 141256482
      Test: atest TetheringTests
      Change-Id: I0a376d28b123eaab2e8d00a98a4719ce983d3bb2
      a1a0be93
    • paulhu's avatar
      Add TetheringCoverageTests · 64632657
      paulhu authored
      Bug: 148636687
      Test: atest TetheringCoverageTests
            atest TetheringTests
            atest TetheringIntegrationTests
            atest NetworkStackTests
            atest CtsTetheringTest
      Change-Id: I1f2a50f16894b05e988476520ba25baba0b60d88
      Merged-In: I1f2a50f16894b05e988476520ba25baba0b60d88
      64632657
  5. Apr 14, 2020
    • paulhu's avatar
      [TNU05] Add no upstream notification · 648fc2c8
      paulhu authored
      Reminder user of unavailable tethering status if there is no
      internet access.
      
      Bug: 147818698
      Test: atest TetheringTests
      Change-Id: Ic6557f9f7703337596100cd6a477fd7239217166
      648fc2c8
    • markchien's avatar
      Do not stop IpServer when recieve wifi ap disabling state. · bdf1003c
      markchien authored
      This is used to fix the race when quickly OFF/ON wifi tethering.
      When IpServer is started/stopped, there is callback update tethering
      interface status. Before this change, IpServer is stopped when wifi
      ap is disabling. Then the next startTethering may fail in wifi because
      wifi is in disabling state.
      Error pattern: WifiService: Tethering is already active.
      No unitest for this CL but it fixed the CtsTetheringTest flakty rate
      than around 30% to 0 for more than 100 runs.
      
      Bug: 153925821
      Test: atest CtsTetheringTest --iteration 100
      Change-Id: I8b65f621abe20799a3a0d410ba1f06368746ee49
      bdf1003c
    • Lorenzo Colitti's avatar
    • Paul Hu's avatar
      Merge "Update tethering notification strings" · 6f6527e2
      Paul Hu authored
      6f6527e2
    • Lorenzo Colitti's avatar
      Don't crash when receiving an RTM_DELNEIGH or NUD_FAILED. · 330a9b9f
      Lorenzo Colitti authored
      These events don't have MAC addresses, so the code attempts to
      create an Ipv6ForwardingRule with a null MAC address. This
      crashes when attempting to get the raw MAC address bytes to send
      to netd in the TetherOffloadRuleParcel.
      
      This was not caught by unit tests because the test exercise this
      code path in a way that is not correct (by sending RTM_DELNEIGH
      and NUD_FAILED events with MAC addresses). Fix the unit tests to
      properly pass in null MAC addresses for these events.
      
      Bug: 153697068
      Test: fixed existing tests to be more realistic
      Change-Id: I26d89a81f1c448d9b4809652b079a5f5eace3924
      330a9b9f
    • markchien's avatar
      Change tethering file structure to respect its package name · d9955667
      markchien authored
      Bug: 145099347
      Test: atest TetheringTests
            atest CtsTetheringTest
      Change-Id: I7401c550fbafd17a5ed2d925b5d0e17e358af467
      d9955667
  6. Apr 13, 2020
    • Ashwini Oruganti's avatar
      Tethering: Add an exported flag in manifest · 910a0b44
      Ashwini Oruganti authored
      With b/150232615, we will need an explicit value set for the exported
      flag when intent filters are present, as the default behavior is
      changing for S+. This change adds the value reflecting the previous
      default to the manifest.
      
      Bug: 150232615
      Test: TH
      Change-Id: I25b55378df393cd4fb8932b7ae64f97eb9f1aa8e
      Merged-In: I25b55378df393cd4fb8932b7ae64f97eb9f1aa8e
      (cherry picked from commit dc03d151)
      910a0b44
    • paulhu's avatar
      Update tethering notification strings · 735047bf
      paulhu authored
      Update strings after converged with carrier.
      
      Bug: 145629001
      Bug: 147818698
      Test: atests TetheringTests
      Change-Id: I8ad34e8c93ba1547aa397a8e9c0ecc15286a2b0b
      735047bf
  7. Apr 08, 2020
  8. Apr 07, 2020
  9. Apr 06, 2020
  10. Apr 04, 2020
    • Lorenzo Colitti's avatar
      Migrate to TetherOffloadRuleParcel in IpServer · beb28405
      Lorenzo Colitti authored
      The netd tethering offload IPCs are changing from taking a list
      of primitives to taking a TetherOffloadRuleParcel. Modify their
      only caller.
      
      Bug: 140541991
      Test: atest IpServerTest
      Change-Id: I83718c80ef9d31199c87021b4dd5821717fd5ba5
      beb28405
  11. Apr 03, 2020
  12. Mar 31, 2020
    • Anton Hansson's avatar
    • paulhu's avatar
      Fix EntitlementManager issues · 4175676e
      paulhu authored
      1. Add TETHERING_ETHERNET to vaild downstream type. So starting
         ethernet tethering will do entitlement check as well.
      2. Ignore request with invalid downstream type on
         handleRequestLatestTetheringEntitlementValue()
      
      Bug: 152828758
      Bug: 152828142
      Test: atests TetheringTests CtsTetheringTest
      
      Change-Id: Id0cb59cc4681f5ffbde7be54de05a05e46f0ffb8
      4175676e
    • Anton Hansson's avatar
      Feed framework-tethering-stubs the src filegroup · cdc86584
      Anton Hansson authored
      This filegroups strips the "src" prefix away from the src path
      for the filter_packages check in droiddoc.
      
      Bug: 149293194
      Test: m update-api (no change)
      Change-Id: I5b9ffa211be9c1a7dd8f63d5e7ba2a825d0d3190
      Merged-In: I5b9ffa211be9c1a7dd8f63d5e7ba2a825d0d3190
      cdc86584
  13. Mar 30, 2020
  14. Mar 27, 2020
Loading