- Mar 26, 2020
-
-
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)
-
- Mar 25, 2020
-
-
Vladimir Marko authored
-
Treehugger Robot authored
-
Vladimir Marko authored
(cherry picked from commit 577707e0) Test: m out/soong/.intermediates/frameworks/base/packages/Tethering/common/TetheringLib/framework-tethering/android_common/package-check.stamp Bug: 151314205 Merged-In: I248c36b2cf2f5776978c4fd2322d3b73ade309ff Change-Id: Iddeeb6648f1ed2a31eebf04eb465ea675fb610ae
-
Lorenzo Colitti authored
Otherwise, if another downstream of the same type reappears, the code would fire a callback with the previous list of clients. Bug: 150644681 Test: atest TetheringIntegrationTests:EthernetTetheringTest --rerun-until-failure 100 Change-Id: I6b34ea747ae1831001077f44879bb6828dcecc96
-
Paul Hu authored
-
Treehugger Robot authored
-
markchien authored
Bug: 151918384 Test: m Change-Id: Icef8b363aae97dd020d618bcb397f661aa6c4750 Merged-In: Icef8b363aae97dd020d618bcb397f661aa6c4750
-
Paul Hu authored
-
Paul Hu authored
-
Chalard Jean authored
-
- Mar 24, 2020
-
-
Treehugger Robot authored
-
Lorenzo Colitti authored
Test: builds Bug: 150644681 Change-Id: I68123e6dd04ccae5da2ecd7526c11d9f835d1d57
-
markchien authored
Bug: 151156820 Test: m atest TetetheringTests Clean CP from ag/10747732 Change-Id: Ieb1483c146aa2f7d8f251157e6e81d71c44ae899 Merged-In: Ieb1483c146aa2f7d8f251157e6e81d71c44ae899
-
paulhu authored
If tethering is restricted to the user, show restricted notification to notify the user. Bug: 122085773 Test: atest TetheringTests Change-Id: Ic5baca2d6102886f4c3530ce1e321b5dab6ea9d7
-
paulhu authored
Add new test for TetheringNotificationUpdater Bug: 122085773 Bug: 130596698 Test: atest TetheringTests Change-Id: I0db3df3e85dd6a8c3989c8bc66a06c50f45a0c15
-
paulhu authored
Tethering notification can be customized by different subid. Thus update notification when active data subid changed. Bug: 122085773 Bug: 130596698 Test: atest TetheringTests Change-Id: I799d713326cfbf4dc96c712c6b15ed5a4ac18dd2
-
- Mar 23, 2020
-
-
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
-
Remi NGUYEN VAN authored
* changes: Remove usage of Context.NETWORK_STACK_SERVICE Remove NETWORK_STACK_SERVICE constant
-
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
-
- Mar 20, 2020
-
-
Anton Hansson authored
-
Anton Hansson authored
Bug: 147768409 Test: m checkapi Merged-In: Idd041f0fbeca411ea23e49786a50dd7feb77ef45 Change-Id: I3da71661048b1f66522696e9333c2c14a224fe9f
-
Anton Hansson authored
-
- Mar 19, 2020
-
-
Kumar Anand authored
Update string for no upstream and cellular roaming notification. Bug: 145629001 Bug: 147818698 Test: atest TetheringTests Change-Id: I7302cf351b0a9a42ad5a543f61ab084de189f282
-
Mark Chien authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Lorenzo Colitti authored
When the Ethernet interface becomes unavailable (e.g., because the cable was unplugged or the interface was removed), or when setEthernetTethering(false) is called, release the Ethernet interface request. This ensures that: - The Ethernet interface immediately becomes available for use in client mode. - If an interface later becomes available, tethering is not automatically started. This is consistent with what happens for other downstream types such as wifi and USB. Evey time one of those downstreams goes down, tethering is stopped and will not be restarted. Test: manual Bug: 148824036 Change-Id: Iaf85e800569f2e08c39f7ebb96f8aa34f6e53133
-
markchien authored
Bug: 151243698 Test: atest TetheringTests Change-Id: I87ef1d451eefa6998b9793c4eacabae978376d24 Merged-In: I87ef1d451eefa6998b9793c4eacabae978376d24
-
markchien authored
Per API review: - @IntDef defined on the type integer parameter - have getters on each parameter that is set in the TetheringRequest.Builder - new added API should not be deprecated Below APIs is moved from system-current to module-lib-current that only plafrom code(e.g. ConnectivityManager and Settings) can use them. TetheringRequest. onTetherableInterfaceRegexpsChanged, TetheringInterfaceRegexps: Only platform code can use them because interfaces by regular expressions are a mechanism which is planning to be deprecated. Also rename some constants for easier to understand. Bug: 149858697 Bug: 151243337 Test: m doc-comment-check-docs atest TetheringTests Change-Id: I45cb21d5bc919f6d32c42650326597d5173ea028 Merged-In: Idd041f0fbeca411ea23e49786a50dd7feb77ef45
-
Anton Hansson authored
This adds metalava api tracking generation to the module stub rules, to make sure we know exactly what API a particular module stub exports. Bug: 147768409 Test: m update-api check-api Exempt-From-Owner-Approval: approved internally Change-Id: Iaf2ef5b5751eb208d119ddbc74481239366fe581 Merged-In: Iaf2ef5b5751eb208d119ddbc74481239366fe581 (cherry picked from commit e7c52c7e)
-
paulhu authored
Add string for client number notification Bug: 122085773 Test: atest TetheringTests Change-Id: Icc4e59ce3b2d8d4c1c7883c2f9d040d3ce563f09
-
Paul Hu authored
-
- Mar 18, 2020
-
-
Junyu Lai authored
-
paulhu authored
Add string for no upstream and cellular roaming notification. Bug: 145629001 Bug: 147818698 Test: atest TetheringTests Change-Id: I30f68d83344f66fb3ef77abf3f8748c3eb1276f0
-
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)
-
- Mar 17, 2020
-
-
Mark Chien authored
-
- Mar 16, 2020
-
-
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
-
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
-
Mark Chien authored
-