Skip to content
Snippets Groups Projects
  1. Mar 26, 2020
    • Anton Hansson's avatar
      Make framework-tethering stubs use the new defaults · 5fa1704f
      Anton Hansson authored
      Makes it convenient to change all stubs from a central place.
      
      Bug: 149293194
      Test: m framework-tethering-stubs{public,system,module_libs_}api
      Exempt-From-Owner-Approval: Approved internally
      Change-Id: I330133824e78b3a8927e3d3ffbbd729bcdcb8822
      Merged-In: I330133824e78b3a8927e3d3ffbbd729bcdcb8822
      (cherry picked from commit 7939cb0a)
      5fa1704f
  2. Mar 25, 2020
  3. Mar 24, 2020
  4. Mar 23, 2020
    • junyulai's avatar
      Address API council review comment about TetheringRequest · a8b37774
      junyulai authored
      Test: atest TetheringTests FrameworksNetTests NetworkStackTests
      Bug: 152055812
      Change-Id: I0158d88e364772f9ac258bd18955edcdad266ad8
      Merged-In: I0158d88e364772f9ac258bd18955edcdad266ad8
      (this is a clean cherry-pick from ag/10796412)
      
      Change-Id: I64f1527d79085cc5dfd78c01a6c49c4df87c82e7
      a8b37774
    • Remi NGUYEN VAN's avatar
      Merge changes from topic "netstack_constant_cherrypick" · 1cd0dcc4
      Remi NGUYEN VAN authored
      * changes:
        Remove usage of Context.NETWORK_STACK_SERVICE
        Remove NETWORK_STACK_SERVICE constant
      1cd0dcc4
    • Remi NGUYEN VAN's avatar
      Remove usage of Context.NETWORK_STACK_SERVICE · fd50cff7
      Remi NGUYEN VAN authored
      The NetworkStack.getService() API should be used instead.
      
      Bug: 151243982
      Test: atest FrameworksNetTests TetheringTests
            Manual tethering test
      Merged-In: I7855090bffbe895c8349ad4903b8f2eb55515f0b
      (clean cherry-pick from internal branch)
      
      Change-Id: If4af2846a82605e828287a9a4680d5547b76b802
      fd50cff7
  5. Mar 20, 2020
  6. Mar 19, 2020
  7. Mar 18, 2020
    • Junyu Lai's avatar
    • paulhu's avatar
      [TNU1.1]Add tethering notification strings · 3355cc4f
      paulhu authored
      Add string for no upstream and cellular roaming notification.
      
      Bug: 145629001
      Bug: 147818698
      Test: atest TetheringTests
      Change-Id: I30f68d83344f66fb3ef77abf3f8748c3eb1276f0
      3355cc4f
    • junyulai's avatar
      [SP25] Rename functions that add Entry conditionally · 36a17291
      junyulai authored
      Currently, in NetworkStats, there are many methods to manipulate
      the records. However, some methods are similar and ambiguous,
      such as addEntry, addValues, setValues, addIfaceValues,
      combineValues and combineAllValues.
      
      Thus, properly grouping and renaming methods are necessary.
      In this change, for methods that add one record conditionally,
      name them addEntry.
        addValues -> addEntry
      
      Test: atest FrameworksNetTests ImsPhoneCallTrackerTest TetheringTests
      Fix: 148895143
      Change-Id: I9495a198cf247e6c79100f7ac1edcea370b071de
      Merged-In: I9495a198cf247e6c79100f7ac1edcea370b071de
      (cherry picked from ag/10700816)
      36a17291
  8. Mar 17, 2020
  9. Mar 16, 2020
    • markchien's avatar
      Support static address configuration · f053e4b6
      markchien authored
      Application can specify static ipv4 server and client address to setup
      tethering and this is one shot configuration. Tethering service would
      not save the configuration and the configuration would be reset when
      tethering stop or start failure.
      
      When startTethering callback fired, it just mean tethering is requested
      successful. Therefore, callers may call startTethering again if
      startTethering successful but do not receive following tethering active
      notification for a while. Tethering service never actually does anything
      synchronously when startTethering is called:
        -startProvisioningIfNeeded just posts a message to the handler thread.
        -enableTetheringInternal doesn't do anything synchronously, it just
        asks the downstreams to get their interfaces ready and waits for
        callbacks.
      If tethering is already enabled with a different request,
      tethering would be disabled and re-enabled.
      
      Bug: 141256482
      Test: -build, flash, boot
            -atest TetheringTests
            -atest CtsTetheringTest
      
      Change-Id: I0399917e7cefa1547d617e688225544c4fc1a231
      f053e4b6
    • Anton Hansson's avatar
      Create all variants of stubs for tethering · 064ed493
      Anton Hansson authored
      Add separate publicapi, systemapi and module_libs stubs for tethering.
      
      Bug: 147768409
      Test: m
      Test: m framework-tethering-stubs-{public,system,module_libs_}api
      Change-Id: I0ed44691b4e7080818442a9d0eb37d874f707195
      Merged-In: I0ed44691b4e7080818442a9d0eb37d874f707195
      064ed493
    • Mark Chien's avatar
      0c5f387e
Loading