summaryrefslogtreecommitdiff
path: root/Tethering/common/TetheringLib/src/android/net/TetheredClient.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove Tethering @TestApiAnton Hansson2020-10-151-2/+0
| | | | | | | | | | Modules shouldn't have TestApis, as documented in go/android-api-types. Additionally, nothing depends on these TestApis existing. Bug: 170395679 Test: m checkapi Exempt-From-Owner-Approval: cherry-pick Change-Id: I6e2c8298e90b4b54f0264be974d036fa08cd5632
* Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIsMakoto Onuki2020-07-141-3/+0
| | | | | | Test: build / treehugger Bug: 146727827 Change-Id: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
* Cleanup the TetheredClients APIRemi NGUYEN VAN2020-03-131-15/+26
| | | | | | | | | | Add comments to getters as requested in API review, and remove the expirationTime private field that was planned to be replaced with LinkAddress expiration. Test: atest TetheringTests Fixes: 150878126 Change-Id: Iecf65859cdeeaac2fa7b817b4f505c510424ac89
* Add tethering client callbacksRemi NGUYEN VAN2020-02-191-0/+18
| | | | | | | | | | | The callbacks are fired when the list of connected clients or their IP addresses / hostname change. Test: flashed, connected 2 devices, verified callbacks Test: atest TetheringTests Bug: 135411507 Change-Id: I96291038cf7b39a67547a5f74fcd7cbedc1ca002 Merged-In: I96291038cf7b39a67547a5f74fcd7cbedc1ca002
* Use framework-tethering-stub instead of framework-tetheringmarkchien2020-02-191-0/+3
| | | | | | | | | | | The non-updatable part of the platform now is built with framework-tethering-stub, which is a stub library of framework-tethering. Bug: 147200698 Test: m Change-Id: I97ef83f7f9b4c1376f373713036f5256318f1050 Merged-In: I97ef83f7f9b4c1376f373713036f5256318f1050
* Fix TetheredClient and TetheredClientTestRemi NGUYEN VAN2020-02-071-2/+2
| | | | | | | | | | - Ensure that addAddresses preserves the ordering of addresses - Fix assertion that was supposed to check equality of TetheredClient with a different tethering type, and used the same type. Bug: 148996181 Test: atest TetheringTests Change-Id: I86cef7b834d7ae7afa3d1d748ccac6b3a7e57ebc
* Add API for tethering clients changeRemi NGUYEN VAN2020-01-241-0/+212
Add a onClientsChanged callback to OnTetheringEventCallback. The callback will provide information on connected clients combining at least DHCP leases and WiFi AP information (WiFi AP tethering used). Test: atest TetheringTests Bug: 135411507 Change-Id: I7065d081c11bc606d691f76ac8b499dd075d6504 Merged-In: I7065d081c11bc606d691f76ac8b499dd075d6504