Commit Graph

30 Commits

Author SHA1 Message Date
Steven Moreland
bdc5faa067 Remove unused import of ServiceManagerNative.
Bug: 135768100
Test: N/A
Change-Id: Ieb11d0a7b083ba2518047596241d31887f81a916
2019-06-21 15:37:20 -07:00
Lorenzo Colitti
223fc59aca Log broadcasts in DevToolsConnectivity.
Test: manual
Change-Id: I1b9dc4d56b56dae5da779aec1d99cd7190e94a4e
2018-10-02 10:20:33 +09:00
Sudheer Shanka
5b6205978e Update usage of ActivityManagerNative.
Bug: 30977067
Test: N/A
Change-Id: If76488d9e7b1a33f7f5c9d65eb9254d126ef02b6
2016-11-11 15:01:34 -08:00
Evan Birenbaum
a1770e75d0 Make the DevTools Connectivity lock non reference counted.
To avoid a race on checking if the lock is held.

Change-Id: Iee836447ab0cf6586fa8ece570cc821cd7c6fcd4
2016-06-24 16:08:29 +00:00
Evan Birenbaum
2817836d75 Fix a crash when exiting the DevTools Connectivity page.
A lock was being released without checking if it was held, which
resulted in a crash because WifiManager.MulticastLock is reference
counted by default.

BUG=28668604

Change-Id: I306731129894d5525e974561c2680ae7db5aff4b
2016-05-24 03:36:25 +00:00
Paul Jensen
0991017843 Control WifiManager.MulticastLock from connectivity dev app
Add buttons to acquire and release the WifiManager.MulticastLock.

Change-Id: I28fd7743cb3adfeec055b6bcce2c8128b15cf2d3
2016-04-04 23:51:46 +09:00
Lorenzo Colitti
503abedac9 Change the Development app to use a lambda.
This is a cherry pick and modification of
commit 17f05f5820.

Bug: 26753820
Change-Id: I55419fac85196d86d548d455880d897015d8ea84
2016-03-11 10:31:35 +00:00
Ian Pedowitz
3f63f35fbe Revert "Upgrade the Development app to 1.8, and use a lambda."
This reverts commit 17f05f5820.

Change-Id: Idc8259a5a2fd209c19a6f548ddf8b1a09ed33966
2016-02-18 16:45:52 +00:00
Lorenzo Colitti
17f05f5820 Upgrade the Development app to 1.8, and use a lambda.
Change-Id: Ifa3836a3c5fc36a1932ea0d841e412ef238fb4bb
2016-02-18 22:23:58 +09:00
Lorenzo Colitti
0c87eb6453 Display a progress bar when a network is being brought up.
Change-Id: I5d2c14ffc6010d29ffb832cb924c6b0108fd0048
2016-02-18 16:15:39 +09:00
Lorenzo Colitti
0b3999da19 Add the ability to file a NetworkRequest for TRANSPORT_WIFI.
Change-Id: I3a2cbdbcb94a6d63e853f2dc87ed0ef737620684
2016-02-18 14:13:19 +09:00
Lorenzo Colitti
fd99d399e5 Improve the Connectivity section of the Dev Tools app.
1. Remove one more usage of startUsingNetworkFeature.
2. Use new APIs for bound HTTP requests.

Bug: 25824776
Change-Id: Ic2f30ce9ffc873be198f6ad29cf928dc33574d84
2016-02-17 12:09:09 +09:00
Lorenzo Colitti
29b766e122 Add the ability to request SUPL neworks.
Also:
 - Refactor the code to remove duplication and make it easier
   to add/change the network buttons.
 - Make the MMS network request specify TRANSPORT_CELLULAR as
   well, since that's what the system MMS service uses.

Change-Id: If8e2ca1ae22b3da3fffb0593fbb93a1d479143f3
2015-11-27 19:25:54 +09:00
Lorenzo Colitti
6553b85a96 Remove the crash button from the dev tools connectivity app.
A button that throws an NPE isn't very useful when you can just
swipe the app away from recents.

Change-Id: I62ecfc6f3f4e02a3f9830409ac6a2793eff6a7c1
2015-11-21 21:58:18 +09:00
Lorenzo Colitti
28bb8be0da Update the Connectivity debug app to the multinetwork API.
1. Stop using the deprecated startUsingNetworkFeature and use
   requestNetwork instead.
2. Make use of clearCapabilities().

Bug: 23597341
Change-Id: I65cb813111947d159d2bb18f0d8a93fb726912e5
2015-10-22 08:42:37 +09:00
Lorenzo Colitti
e149ffe2e9 Add network callback logging to the Connectivity app in dev tools.
Change-Id: I6027db6330bca7c8bce1b405c0972690e8db77d9
2015-05-18 23:37:22 +09:00
Pierre Vandwalle
c84e7b11e5 add wifi power calculation
Change-Id: I3176d835454b1324403b844d075709ba277a7189
2015-03-24 19:40:32 -07:00
Lorenzo Colitti
8501840869 Add a button to the debug app to call reportBadNetwork.
Bug: 18777225
Change-Id: I964f3deb60ea509dfb647a01d2b7b357dd47209b
2014-12-17 14:22:11 +09:00
Dmitry Shmidt
d00a0a734e Development: Connectivity: Fix receiver leakage
Bug: 18229332

Change-Id: Iadd8a1a6e72cf762f6494b586b53b827edebd25d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-11-03 17:26:00 -08:00
Dmitry Shmidt
4bef5c56f8 Connectivity: Add current scan amount notification
Change-Id: I717926f804d7e13192b80e59019310dc63cc0df8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-06-12 13:47:34 -07:00
Sreeram Ramachandran
732d646f51 Use the updated RouteInfo API.
Bug: 15142362
Bug: 13885501
Change-Id: I97f1625e037c889b0cddd3db418c42c1d48b26b9
2014-06-06 14:51:59 -07:00
Sreeram Ramachandran
b24ff8773d Update the Dev Tools app to the new route add/remove API.
Cherry-pick of:
https://googleplex-android-review.git.corp.google.com/#/c/450447/

Change-Id: I629123567c907f0979e44998ef8d828b47059ec0
2014-05-14 12:26:23 +00:00
Vinit Deshapnde
9bfdb7e110 Expose WifiManager.setTdlsEnabled public API
Bug: 10221775

Change-Id: I559e4a2afd525a03c8a13fd151eca4638426d03e
2013-08-16 17:20:45 -07:00
Dmitry Shmidt
81253bc376 Connectivity: Add IP config to TDLS test
Change-Id: I70096a042faaacdaeed7d6aae16a95704202ef1d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-07-19 15:55:35 -07:00
Dmitry Shmidt
47a5a18431 Connectivity: Add TDLS test
Bug: 8539031

Change-Id: I68e9e2e93d49f29ed915a462570cb8e782e9a4f2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-07-18 16:32:30 -07:00
Dmitry Shmidt
36b2c791ee Connectivity: Add logs to Wifi Scan test
Change-Id: Iae13a841c01ee00970c0b08d57b16cad08832ff9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-05-22 13:19:00 -07:00
Dmitry Shmidt
6420ac2c74 Connectivity: Add Wifi Scan test
Initial Revision

Change-Id: I6bf5f65f877980ab889e6d08f206cd9c99e5338c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-03-11 11:35:58 -07:00
Robert Greenwalt
b925721fdf Fix Development app to use netd for routes
Change-Id: I668d7165821071850a9b6011bc32eba1682e59ac
2011-05-16 10:26:16 -07:00
Robert Greenwalt
40f7d44cac Add testing features to devtools
Fixed manifest with missing permission.
Added some connectivity api-tweakers

Change-Id: I10007938e28e8c0f550ae78a7cd6df4a817a8800
2010-10-05 12:12:18 -07:00
Robert Greenwalt
d53aa9b917 Add Conn Man testing tools.
First test toggles wifi on/off forever (must have wifi associated to start,
or at least a remembered network in range)

Second test toggles the screen on off so you can test wifi cycle from that point.

Lastly adds some network-feature tests using mms or hipri net features.

bug: 2170806
2009-10-07 14:14:45 -07:00