Commit Graph

104 Commits

Author SHA1 Message Date
Lorenzo Colitti
223fc59aca Log broadcasts in DevToolsConnectivity.
Test: manual
Change-Id: I1b9dc4d56b56dae5da779aec1d99cd7190e94a4e
2018-10-02 10:20:33 +09:00
Lorenzo Colitti
2b9b9b44be Add OWNERS for the connectivity page in the Dev Tools app.
Test: ../../../build/make/tools/checkowners.py src/com/android/development/OWNERS
Change-Id: I44da96fa7daaa6fcd0033797a7ca3f633509364b
2018-10-02 10:20:33 +09:00
Weilun Du
f11e49ee42 Fixed the bug where there are multiple developer options
BUG: 69679218

Change-Id: Ib44bf9441ecc7378d810cb55e5d9acdedbde99d6
Signed-off-by: Weilun Du <wdu@google.com>
2017-12-01 17:59:56 -08:00
Sudheer Shanka
5b6205978e Update usage of ActivityManagerNative.
Bug: 30977067
Test: N/A
Change-Id: If76488d9e7b1a33f7f5c9d65eb9254d126ef02b6
2016-11-11 15:01:34 -08:00
Svet Ganov
0d12f27537 Update app using changed private API.
Change-Id: Iced526a2392c7600fe9811dec5b2d1d804aa9610
2016-08-24 07:46:12 -07: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
Joe Onorato
795b407460 Add exponential broadcast flood to the BadBehaviorActivity.
Bug: 28196243
Change-Id: I26eb8d5f7f9bcc90bfe5aa52f3d61a44b6105006
2016-04-20 15:44:02 -07: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
Vince Harron
d1731fc950 Fix for IllegalMonitorStateException in Cache Abuser
AsyncTask.wait was being called outside of a synchronize block,
causing an IllegalMonitorStateException.  This replaces the wait
with a Thread.sleep.

BUG=b.android.com/203846

Change-Id: Ib370f702c1e0f76657292955de2406ce7f065e69
2016-03-18 16:40:49 -07: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
Dianne Hackborn
952cb1f15a Fix issue #27385109: control activity behavior without triggering...
...isUserAMonkey for testing purpose

Change-Id: If261bc860d3974796ec382dcd5f625d40ab093a5
2016-02-29 15:15:05 -08: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
Narayan Kamath
01347d965e am 361fce55: am d9fb901d: am 479cf9ff: Merge "Track changes to IActivityManager.startInstrumentation."
* commit '361fce55866e220380fdf1c81f29e5498b5fa0a7':
  Track changes to IActivityManager.startInstrumentation.
2014-05-30 11:50:55 +00:00
Narayan Kamath
fc9e3f6878 Track changes to IActivityManager.startInstrumentation.
Change-Id: Iceaecb720c2824134a1d6d13b1f3e0a16d41d76d
2014-05-30 11:33:02 +01: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
Dianne Hackborn
cb8739c53f Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
The monkey now gets told about system hangs, and does stuff about
it!  Most especially, it can collect a bug report.  Monkey wins!

Change-Id: Ic8350721e715ef21d1ec813c6aff9a83262d5faa
2013-05-06 11:16:34 -07:00
Elliott Hughes
d4f9f64beb am 2cb06fc1: am a6eaa197: Merge "Remove dead code that\'s keeping other dead code in frameworks/base alive."
* commit '2cb06fc1f079bf089ff7dfd2844b5c0935bcc1d3':
  Remove dead code that's keeping other dead code in frameworks/base alive.
2013-03-22 19:02:25 -07:00
Elliott Hughes
45b42d6c05 Remove dead code that's keeping other dead code in frameworks/base alive.
DateUtils.writeDateTime is @hide, @deprecated, was never in an API level,
but is currently kept alive by this dead code.

Change-Id: Ibafbd39113a7c505ba8ab8e93e6b526505e5eaf1
2013-03-19 11:49:22 -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
Svetoslav Ganov
00fc93c6fe Refactoring due to removing some private APIs.
Change-Id: Id00d9fa974d8cb747cebb99c5a64ed5b438b56e9
2013-01-23 00:20:07 +00:00
Dianne Hackborn
9da0812284 More on issue #7318666: hide developer options from user build
The Dev Tools app now tries to add a link to Development Settings
at the top of its list.

Also add a new "Development Settings" app that directly takes you
to the development settings activity, as a stand-alone app that
could be distributed as a regular third party app.

Change-Id: I8fe2b6a32cf4e37d69f4ce7b8d646a147b492d99
2012-10-10 19:01:09 -07:00
Jeff Sharkey
1d7f24de42 Follow RegisteredServicesCache API changes.
Bug: 7276595
Change-Id: I6064684380b7bbbec87c2345f782931d731ad5cb
2012-10-09 13:05:04 -07:00
Dianne Hackborn
d0689c0328 Remove use of private API.
Change-Id: I6c1e586af108cb1d94120295181d89c5050f5bc2
2012-09-10 14:43:16 -07:00
Dianne Hackborn
077c59a0b9 Track multi-user change.
Change-Id: I0b45ec880f6149fba5d2d83c014e1e71a6524b99
2012-09-07 13:08:27 -07:00
Dianne Hackborn
5b6b540207 New development tool for creating cache files.
Change-Id: I5d4bc5f41a08225a618f68b7afb3b5b3037d96d6
2012-07-12 14:50:08 -07:00
Dianne Hackborn
3619336b15 Remove old development settings.
These are redundant with the new ones in the settings app, and in
some cases conflict with them (or just don't work).

Change-Id: I8e03ae1d77c6dfadcd7fdfc80279b54a3f65e7df
2012-02-14 13:51:05 -08:00
Jeff Brown
8e78aabf3a Organize imports to resolve ambiguous type errors.
Fixes an ambiguous import involving OperationCanceledException.

Change-Id: Ie96b1225b44342eabb70e25ce6e43dc027b65489
2012-01-26 12:38:18 -08:00
Fred Quintana
bcc1cb9fc0 Make the sync adapter driver understand the new settingsActivity
parameter.

Bug: 5204776
Change-Id: I66c5f40f8cc460479232ecdb71c4e8e0495058c3
2011-08-25 11:27:08 -07:00
Robert Greenwalt
41bc0b87be am 4a76d154: am 82cdc8cc: Merge "Fix Development app to use netd for routes" into honeycomb-LTE
* commit '4a76d154e4d6ca532321e6f6dc9cdad3263affa3':
  Fix Development app to use netd for routes
2011-05-19 07:21:40 -07:00
Robert Greenwalt
b925721fdf Fix Development app to use netd for routes
Change-Id: I668d7165821071850a9b6011bc32eba1682e59ac
2011-05-16 10:26:16 -07:00
Brian Carlstrom
1dadaee6ce Tolerate missing AccountManager resource, not just missing resource name
Change-Id: I3885d7f8a66868cd2ca5f463d427b891548cf22f
2011-04-08 11:12:58 -07:00
Kenny Root
f9b8546aca Switch demo to use new delete observer
PackageBrowser had a delete observer that needed to be changed

Change-Id: Ie0082b9af7a14d7d48f8ae64bee42e4c8fb214d7
2011-03-01 09:36:56 -08:00