292b65a6f11a37b5cbb354fab5587484c2ef4d2e |
|
12-May-2017 |
Erik Kline <ek@google.com> |
Expand logging capabilities of Tethering subsystem Introduce a SharedLog that can be shared among all Tethering components. All log entries go to the same log, and each includes its subsystem name. Additionally, all entries emitted to the system log shared the same tag, so can easily be watched. More subsystems can inherit a SharedLog, but to minimize cherry-pick conflicts we limit ourselves to these changes only. Test: as follows - built - flashed - booted - log output observed via dumpsys - runtest frameworks-net passes Bug: 32163131 Bug: 36988090 Bug: 38218697 Merged-In: Ia9d15f0dcc49ce070f8684eb8c8481310859faa5 Merged-In: I2644f518304a03da469fb9c2aa01a6d8f1a97901 Change-Id: I1229d4c55987402d84b0d4a2c8a595e0c829aa3e (cherry picked from commit 7747fd4ce055e8e1f6381062a58b867728f57d85)
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
5f2b7992cfe1149de115c6f7056d0da128b8afba |
|
10-Mar-2017 |
Erik Kline <ek@google.com> |
Tethering: support Local-only Hotspot mode for downstreams Test: as follows - built (bullhead) - flashed - booted - "runtest frameworks-net" passes Bug: 31466854 Change-Id: Ia50e28c8ce0af8cdd7ac63217d921aff213668e7
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
465c46d555c867caf40333db197ef97cff75a754 |
|
07-Mar-2017 |
Erik Kline <ek@google.com> |
request{LinkProperties,NetworkCapabilities} no longer needed Test: as follows - built (bullhead) - flashed - booted - runtest frameworks-net passes - manual USB tethering toggling between WiFi and mobile Bug: 32163131 Change-Id: I57edf5114b6361f320577c7870e40f8b3cdf74ce
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
b583b03675492280ab87f1eff30c05709cafba23 |
|
21-Feb-2017 |
Erik Kline <ek@google.com> |
Update UpstreamNetworkMonitor to use custom Handlers Test: as follows - built (bullhead) - flashed - booted - runtest frameworks-net passes Bug: 32130437 Bug: 32163131 Change-Id: I2bc3f87cdf7fa6392b4750eb8adb4ea33c6a3f43
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
32858e14caa09fbb3eb4081f114f2a99181c9643 |
|
21-Feb-2017 |
Erik Kline <ek@google.com> |
Don't request information on unregistered callbacks Test: as follows - build (bullhead) - flashed - booted - runtest frameworks-net passes Bug: 32163131 Bug: 35608572 Change-Id: I489e510ac131a7a624a652b12165104202a49f85
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
35bf06c968ecbae502efd9cfb13fff9b7ddf9d6a |
|
26-Jan-2017 |
Erik Kline <ek@google.com> |
Add ConnectivityManager.networkCapabilitiesForType() This static method returns a NetworkCapabilities instance with transports and capabilities set according to the given legacy type. Also: - add NetworkRequest.Builder.setCapabilities(), to be able to use the NetworkCapabilities instances returned from the above - update UpstreamNetworkMonitor to make immediate use of this Test: as follows - build (bullhead) - flashed - booted - runtest frameworks-net passes - WiFi to DUN upstream tethering works Bug: 32163131 Change-Id: Idfe1ddd2815c355cbf27cf29eb0e3de177de84e9
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
d2ec3919cb87931b2c143d0c1b98caf37039d882 |
|
24-Jan-2017 |
Erik Kline <ek@google.com> |
Switch to listening for all network changes. This is for use while preferred upstreams are expressed as legacy types. Test: as follows - built (bullhead) - flashed - booted - runtest frameworks-net passes - USB tethering to WiFi and DUN works Bug: 32163131 Change-Id: I76e7b6c95eb1b54e926096b2791163617bb0a818
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
efdd3f4ce04d3e1741831982ff86a58da6b542d3 |
|
20-Jan-2017 |
Erik Kline <ek@google.com> |
Address comments from previous change (320592) Test: as follows - built (bullhead) - flashed - booted - runtest frameworks-net passes - vanilla wifi-to-mobile tethering works Bug: 32163131 Change-Id: I8788cb0d93606a2893c3dbc4f22e72f450f319b8
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
dd8e8911c69dd68d268f892373b174bc7b422db8 |
|
18-Jan-2017 |
Erik Kline <ek@google.com> |
Restore legacy types when registering mobile requests Test: as follows - built (bullhead) - flashed - booted - runtest frameworks-net passes - vanilla wifi to mobile tethering (no DUN) - tested with DUN by: - adding "dun" to the APN type - adb shell settings put global tether_dun_required 1 - verified the bug exists without this fix Bug: 32163131 Bug: 34364553 Change-Id: Idf1a9a2c8191c40abed29e1789f62aefb83ed1ce
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
885a9098cf19eaee5a164c5ca771aec5926f2efd |
|
16-Jan-2017 |
Erik Kline <ek@google.com> |
Start of UpstreamNetworkMonitor unittests Test only the ConnectivityManager request and callback registering and releasing. Testing behaviour triggered by activating these callbacks will be in a separate change. Test: runtest frameworks-net Bug: 32163131 Change-Id: Ibfe66bbe2e61d81e8f13ac3b98e000d0d4534efa
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|
9bba340fd4edd5aea91d612a332f964b0d63cf34 |
|
13-Jan-2017 |
Erik Kline <ek@google.com> |
Extract UpstreamNetworkMonitor to its own file Test: as follows: - built (bullhead) - flashed - booted - runtest framworks-net passes Bug: 32163131 Change-Id: I87ff041e008e45065c9722de8130df53684fb2a9
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
|