Skip to content
Snippets Groups Projects
  1. Apr 22, 2020
  2. Apr 20, 2020
  3. Apr 18, 2020
  4. Apr 17, 2020
    • Chalard Jean's avatar
      [TNU06] Add roaming notification · 4580c832
      Chalard Jean authored
      Warn user of potential data charges if the backhaul is
      cellular and user is roaming.
      
      Bug: 145629001
      Test: atest TetheringTests
      Change-Id: I74b4f87c2f6aad09e05d3f2a779f880396885953
      Merged-In: I74b4f87c2f6aad09e05d3f2a779f880396885953
      (cherry picked from commit 1af69e5b8f339bde5b70886d80960ce22c847245, aosp/1237026)
      4580c832
  5. Apr 16, 2020
    • Paul Hu's avatar
      [TNU05.1] Address aosp/1237036 leftover comments · 5e9c40c0
      Paul Hu authored
      Bug: 147818698
      Test: atest TetheringTests
      Change-Id: Ife738339aeae00d2063fea6918b50204daef24fc
      Merged-In: Ife738339aeae00d2063fea6918b50204daef24fc
      (cherry picked from commit c638ae6436509df092ab8814bb5b64591878229d, aosp/1287133)
      5e9c40c0
    • Mark Chien's avatar
    • Mark Chien's avatar
      Remove sendMessage inside EntitlementManager · 30c0da71
      Mark Chien authored
      EntitlementManager and its callers(Tethering and UpstreamNetworkMonitor)
      run in the same threads.
      
      Bug: 141256482
      Test: atest TetheringTests
      Merged-In: I0a376d28b123eaab2e8d00a98a4719ce983d3bb2
      Change-Id: I0a376d28b123eaab2e8d00a98a4719ce983d3bb2
      30c0da71
    • Paul Hu's avatar
      [TNU05] Add no upstream notification · af6a2a33
      Paul Hu authored
      Reminder user of unavailable tethering status if there is no
      internet access.
      
      Bug: 147818698
      Test: atest TetheringTests
      Change-Id: Ic6557f9f7703337596100cd6a477fd7239217166
      Merged-In: Ic6557f9f7703337596100cd6a477fd7239217166
      (cherry picked from commit ac1b098acc504b60e85b3dcd22941f4e293865ae, aosp/1237036)
      af6a2a33
    • Mark Chien's avatar
      Do not stop IpServer when recieve wifi ap disabling state. · 8c98b3d3
      Mark Chien 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
      Merged-In: I8b65f621abe20799a3a0d410ba1f06368746ee49
      Change-Id: I8b65f621abe20799a3a0d410ba1f06368746ee49
      8c98b3d3
    • Amit Mahajan's avatar
      DO NOT MERGE Remove references of telephony-stubs. · ee27d552
      Amit Mahajan authored
      Since it's not used for now.
      
      Test: TH
      Bug: 153304048
      Merged-in: I1812818c3d49463c3840a98212bbab58a110359a
      Change-Id: I1812818c3d49463c3840a98212bbab58a110359a
      ee27d552
  6. Apr 14, 2020
    • paulhu's avatar
      Add TetheringCoverageTests · d1ebb1e3
      paulhu authored
      Bug: 148636687
      Test: atest TetheringCoverageTests
            atest TetheringTests
            atest TetheringIntegrationTests
            atest NetworkStackTests
            atest CtsTetheringTest
      Change-Id: I1f2a50f16894b05e988476520ba25baba0b60d88
      d1ebb1e3
    • Paul Hu's avatar
      13113c45
    • Paul Hu's avatar
      Update tethering notification strings · 8fae1ba0
      Paul Hu authored
      Update strings after converged with carrier.
      
      Bug: 145629001
      Bug: 147818698
      Test: atests TetheringTests
      Change-Id: I8ad34e8c93ba1547aa397a8e9c0ecc15286a2b0b
      Merged-In: I8ad34e8c93ba1547aa397a8e9c0ecc15286a2b0b
      (cherry picked from commit d4a1bd7b73991c4197b49a3ff36e7683273ae736, aosp/1284584)
      8fae1ba0
    • Lorenzo Colitti's avatar
      Don't crash when receiving an RTM_DELNEIGH or NUD_FAILED. · 6f532ba3
      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
      Merged-In: I26d89a81f1c448d9b4809652b079a5f5eace3924
      Change-Id: I26d89a81f1c448d9b4809652b079a5f5eace3924
      6f532ba3
    • markchien's avatar
      Change tethering file structure to respect its package name · 7dc2dcc3
      markchien authored
      Bug: 145099347
      Test: atest TetheringTests
            atest CtsTetheringTest
      Change-Id: I7401c550fbafd17a5ed2d925b5d0e17e358af467
      Merged-In: I7401c550fbafd17a5ed2d925b5d0e17e358af467
      7dc2dcc3
  7. Apr 13, 2020
    • Ashwini Oruganti's avatar
      Tethering: Add an exported flag in manifest · af37b0a7
      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 9226d6c835cd57d10a7562f18143dbaae8601b43)
      af37b0a7
    • Jiyong Park's avatar
      Mark some aidl_interface modules as unstable · 6c9c10c9
      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.
      
      Bug: 152655547
      Test: m
      Change-Id: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb
      6c9c10c9
  8. Apr 10, 2020
  9. Apr 09, 2020
    • Luke Huang's avatar
      Use the lastest frozen netd_aidl_interface in framework · d2007811
      Luke Huang authored
      Bug: 140541991
      Test: build
      Merged-In: I984969e09f8d5196945a7412c51bd8880223ad9e
      Change-Id: I984969e09f8d5196945a7412c51bd8880223ad9e
      d2007811
    • Paul Hu's avatar
      Address aosp/1274403 leftover comment · fab349c0
      Paul Hu authored
      Bug: 152828142
      Test: atest EntitlementManagerTest
      
      Change-Id: I81f2d268c9f26bc4488b06032477a73d071f73f8
      Merged-In: I81f2d268c9f26bc4488b06032477a73d071f73f8
      (cherry picked from commit 9fe0a868e909a4cd1c1c63bf981441f1b9128890)
      fab349c0
  10. Apr 08, 2020
    • Automerger Merge Worker's avatar
      Fix TetheringIntegrationTests failure · b33911c1
      Automerger Merge Worker authored
      Bug: 150644681
      Test: atest TetheringIntegrationTests
      Change-Id: I5a537eca9b1aab3694a11a2dab147a31f289314c
      Merged-In: I5a537eca9b1aab3694a11a2dab147a31f289314c
      (cherry picked from commit f626b8a5388746d163600a5eccb60e22cb1071bf)
      b33911c1
    • Mark Chien's avatar
      Add TetheringServiceTest unitest · 47c8b0f8
      Mark Chien authored
      Bug: 145490751
      Test: atest TetheringTests
      
      Change-Id: Ia9e3232467c7db0e566cced84f3c72bbcd6512d6
      Merged-In: I68cd403302848c041444e6d47652435d67f59273
      (cherry picked from commit 790a4dd7d3aa813f15fe95c5bf3cef6dd734ce32)
      47c8b0f8
  11. Apr 07, 2020
  12. Apr 06, 2020
    • Lorenzo Colitti's avatar
      Migrate to TetherOffloadRuleParcel in IpServer · e6107d24
      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
      Merged-In: I83718c80ef9d31199c87021b4dd5821717fd5ba5
      Change-Id: I83718c80ef9d31199c87021b4dd5821717fd5ba5
      e6107d24
Loading