summaryrefslogtreecommitdiffstats
path: root/services/core/java/com/android/server/connectivity/Tethering.java
Commit message (Collapse)AuthorAgeFilesLines
* Make the dumpsys connectivity shorter and easier to read.Lorenzo Colitti2015-06-031-6/+13
| | | | | | | | | | | | | - Print NetworkFactories on one line. - Only print LegacyTypeTracker networks if they are connected, and record supported network types on a separate summary line. - Print all tethering upstreams on one line. - Summarize the state of the transition wakelock on one line. - Don't print Inet condition reports if there are none. (Currently there can never be any.) Bug: 21449922 Change-Id: Ib4b29a7fd882e6c105839a255fffecf4f346cf7e
* Modify how USB connections are handled.Nick Kralevich2015-05-131-2/+2
| | | | | | | | | | | | | | | * Introduce a new "charger only" mode. In this mode, MTP is disabled, and no file transfers can occur. * Make charger only mode the default. * Modify "persist.sys.usb.config" so it now only holds the adb status. * Make the USB settings non-persistent. Unplugging the USB connection will reset the device back to "charger only" mode. * Fixup wording per UI guidelines. TODO: Re-implement MDM restrictions for USB / MTP access controls. Bug: 18905620 Change-Id: I99a50d9132a81e98187f431166fd9fef4d437e4f
* Replace usages of deprecated Resources.getColor() and getColorStateList()Alan Viverette2015-03-181-1/+1
| | | | Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
* am "Separate NAT from forwarding."Vinit Deshpande2015-03-151-0/+11
|\ | | | | | | | | merged from goog/mirror-m-wireless-internal-release 35e36db Separate NAT from forwarding.
| * Separate NAT from forwarding.Lorenzo Colitti2015-02-271-0/+11
| | | | | | | | | | Bug: 19500693 Change-Id: I39878644e21d51def1c31d1857e815f473ef0938
* | Remove unused imports in frameworks/base.John Spurlock2015-02-281-2/+0
|/ | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Rerun entitlementcheck on sim change.Robert Greenwalt2015-01-141-0/+113
| | | | | | | Only run if entitlement is needed and tethering is running. bug:18356505 Change-Id: Ifc50189bf573e4575f747975edcce093c4870356
* Remove notification for SoftAP turned onVinit Deshpande2014-12-021-1/+2
| | | | | | | | Since we have a status icon for SoftAP, the persistent notification is no longer necessary. Bug: 17318034 Change-Id: I0c8acb643fc032c9b12feb3a9a155cf95e58eca1
* Add hasMatchedTetherApnSetting to telmgr API.Junda Liu2014-11-211-2/+6
| | | | | Bug: b/18158411 Change-Id: Id1285b79194ad21fb728fd18fb09026e51354656
* Pass the socket mark for DNS queries to dnsmasq.Lorenzo Colitti2014-08-291-8/+13
| | | | | | | | This makes tethered clients use the correct DNS servers when tethering to non-default networks like the DUN APN. Bug: 16357676 Change-Id: I8933b6de198a92c2aaf0291931ace8966ddba275
* Added notification color to all system notificationsSelim Cinek2014-08-201-0/+2
| | | | | Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
* Don't create a ConnectivityManager when the service isn't ready yet.Sreeram Ramachandran2014-07-241-9/+15
| | | | | Bug: 16550853 Change-Id: Ib244c93dc982cbfe5d065a20e4b8f0aeefb15b8f
* Fix DUN-based tethering.Robert Greenwalt2014-07-241-28/+10
| | | | | | | | It was calling into dead ConnectivityService code rather than using the new ConnectivityManager shim code. bug:15221541 Change-Id: I1e3eea8a658a162ce36673ed1cf7b1e7e4372c42
* Cleanup: Delete dead code.Sreeram Ramachandran2014-07-221-8/+0
| | | | | Bug: 15413389 Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
* Refactor wifi p2p's startDhcpServer functionRobert Greenwalt2014-07-101-1/+6
| | | | | | | | | | Add getTetheredDhcpRanges() interface and call it before calling mNwService.startTethering to update dhcp ranges. This will allow p2p apps to run well concurently with other tethering apps. Manual import of AOSP change 81546 by jianzheng.zhou@freescale.com Change-Id: Iebc62f95bdcedde80e2c1d3e9580d3f625c3b50b
* Fix public API of LinkProperties.Robert Greenwalt2014-06-081-1/+1
| | | | | bug:15142362 Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
* Fix Tethering NPENick Kralevich2014-05-271-0/+2
| | | | | Bug: 10733373 Change-Id: I1d81eb8a60be2b672b925be7577f1288fe870237
* Add Multinetwork APIRobert Greenwalt2014-05-141-1/+1
| | | | | Change-Id: I3a9cef0d416db96d05098dd989ee3fef3b1e9274 (cherry picked from commit cc5e6afa1ba0bef099bcb21a64a36bc2bf7951db)
* Categorize some system notifications.Dan Sandler2014-03-261-0/+1
| | | | Change-Id: Ia343bc276f50f488e2165056cff249a02f01d45a
* Make some notifications public (safe for secure lockscreens):Dan Sandler2014-01-301-0/+1
| | | | | | | | | | - USB connected - ADB enabled - Low storage - USB mass storage status - Tethering status Change-Id: I8224d7bcc8141fc90ac5e28d4392c52724c524a7
* am 9158825f: Move some system services to separate directoriesAmith Yamasani2013-12-191-2/+0
| | | | | * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
* Move some system services to separate directoriesAmith Yamasani2013-12-191-0/+1590
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85