History log of /frameworks/base/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.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/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.java
7462f467c11536337ea6ab582001551d49f6f06a 23-Jan-2017 Erik Kline <ek@google.com> Add test for repeated calls to registerMobileUpstreamRequest()

Test: as follows
- built
- flashed
- booted
- runtest framework-net passes
Bug: 32163131

Change-Id: I6d2519601b7a9dcfda2917118214a7ceb9dbbb7f
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.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/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.java
973c7df054bfb720a6e5585b38664e34145b3356 23-Jan-2017 Erik Kline <ek@google.com> Add test for updateMobileRequiresDun()

This test validates that when a mobile upstream has been requested
changing the "DUN required" state results in updating the requested
network appropriately.

Test: as follows
- built
- flashed
- booted
- runtest frameworks-test passes
Bug: 32163131

Change-Id: Ia3a1f6493ea348eb75e334344468a980206f618f
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.java
35eee13df402da4bd454871f980fae0da986305d 17-Jan-2017 Erik Kline <ek@google.com> Address a few unittest comments.

Test: as follows
- built (bullhead)
- flashed
- booted
- runtest frameworks-net passes
Bug: 32163131
Change-Id: I8f6002243031dceff60b3d6d377b9e25f239eb23
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.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/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.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/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.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/tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.java