Commit Graph

403 Commits

Author SHA1 Message Date
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
Baligh Uddin
444dd02175 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I63792d84acceba1b5d60be02bf4ebf8778b86f35
2016-05-04 01:28:16 -07:00
Bo Hu
4b0fd87660 Merge "Revert "Emulator: enable predexopt for some sample apps"" into nyc-dev 2016-05-02 17:20:15 +00:00
Bo Hu
14e8cd50f2 Revert "Emulator: enable predexopt for some sample apps"
because it breaks jank tests.
revert first


This reverts commit 59581fb6d4.

Change-Id: Ic4b07b28edd387826fc58df86b02bbab460c9074
2016-05-02 17:16:53 +00:00
bohu
98f2b12a2b Emulator-ATV: Increase SdkSetup HOME intent priority
Increase SdkSetup's HOME intent priority to 3, because
ATV has leanbacklauncher which uses priority 2; So that
ATV can go 'home'
bug: 28432804
Change-Id: I170c8b3fd4d3e82fd09c82e84bb8eeb32bb7c004
2016-04-28 01:47:08 +00:00
Bo Hu
4840343515 Merge "Emulator: enable predexopt for some sample apps" into nyc-dev 2016-04-28 00:13:28 +00:00
bohu
59581fb6d4 Emulator: enable predexopt for some sample apps
Some sample apps on emulator are placed on /data
partition and are not pre-dexopted.
Enable them to make the emulator system image a
little faster, especially for arm.
bug: 28312444

This should only impact SDK system images, not
real devices.

Change-Id: Icdb34512a3a6d95b4d6ffd2415835c6ba8c77fcc
2016-04-26 12:46:13 -07:00
Bo Hu
4d7fcf96be Merge "Emulator: promote SdkSetup app to privileged" into nyc-dev 2016-04-22 04:41:30 +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
bohu
27a9155b7c Emulator: promote SdkSetup app to privileged
SdkSetup app needs to run before the Launcher;
it now has to be privileged to have higher than 0 intent
priority.

bug: 28253210
Change-Id: I4dd971a90685341a3d49e0b525d5ca4a1dda2748
2016-04-20 12:03: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
Geoff Mendal
3b5977525b Import translations. DO NOT MERGE
Change-Id: I65c96e765841ed756219a3645fcee32d090aa86a
Auto-generated-cl: translation import
2016-03-18 22:47:16 -04: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
Geoff Mendal
8aae5846bb Import translations. DO NOT MERGE
Change-Id: I1cb26a8db663ce17018645566b733b379e1641bb
Auto-generated-cl: translation import
2016-02-01 05:58:32 -08:00
Geoff Mendal
7632b5179c Import translations. DO NOT MERGE
Change-Id: If4b8612a45a00216973912fdd2ad590c8689093b
Auto-generated-cl: translation import
2015-12-16 05:53:39 -08: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
Marco Loaiza
93a6e5fb1e Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app. am: a4404b1a6f am: bde2559e58
am: 4fb761b9a7

* commit '4fb761b9a7345201c646fccc6c421355c06978d5':
  Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
2015-10-26 17:31:05 +00:00
Marco Loaiza
bde2559e58 Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
am: a4404b1a6f

* commit 'a4404b1a6f425fc3a8b5f074a80f1df1b2341641':
  Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
2015-10-26 17:10:48 +00:00
Marco Loaiza
a4404b1a6f Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
We don't want to include this app in clockwork emulator images,
but is safe to change since the app is being explicity added
for the phone emulator images in build/target/product/sdk_base.mk

Bug: 24696853
Change-Id: I2e4f73fcffe9eb8957d41cd886124b7db4622c76
2015-10-23 17:46:13 +01:00
Lorenzo Colitti
b28591a2a3 Update the Connectivity debug app to the multinetwork API. am: 28bb8be0da am: bf91969961
am: 7fdd9d113d

* commit '7fdd9d113d1bb29a272e68c91ed04c7cae6e7542':
  Update the Connectivity debug app to the multinetwork API.
2015-10-22 06:22:54 +00: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
bohu
1d2bd6a914 am 5f7faa7a: am 83529e3a: Setup flags to make SDK images provisioned.
* commit '5f7faa7a31d2bd62c7640bbd0bedf462609b51c4':
  Setup flags to make SDK images provisioned.
2015-05-21 22:06:34 +00:00
bohu
83529e3a2c Setup flags to make SDK images provisioned.
USER_SETUP_COMPLETE is set to 1 so that the device can be fully functional.

bug: 21164174
Change-Id: Ibd5db3a939df56b8e8963a3fa056db9c49b96f5e
2015-05-21 14:13:05 -07:00
Lorenzo Colitti
44458cdb10 am 3af7f82f: am e149ffe2: Add network callback logging to the Connectivity app in dev tools.
* commit '3af7f82ff33a1655fe5431d68391bf070877580c':
  Add network callback logging to the Connectivity app in dev tools.
2015-05-18 15:32:34 +00: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
Elliott Hughes
ce6c2eb5cc am a6e89ce3: Merge "Remove unnecessary theme attribute for Sync Test"
* commit 'a6e89ce3322117825cfd83aa740ea97d8606dd06':
  Remove unnecessary theme attribute for Sync Test
2015-05-05 01:21:50 +00:00
Naman Dwivedi
f6b781683c Remove unnecessary theme attribute for Sync Test
Dont know why but there's a theme attribute for SyncAdapterDrive activity havingvalue as Theme.Light resulting in a beautiful Gingerbread screen.

Change-Id: I4f74243152a212197e1881e8f65acf1cbb7dfad8
2015-05-04 23:29:45 +05:30
Elliott Hughes
c2bdb7bd42 am 4a2828c6: Merge "Fix ActivityNotFound Exception in Dev Tools"
* commit '4a2828c6d29c47421473bdf671c67499130c1e02':
  Fix ActivityNotFound Exception in Dev Tools
2015-05-04 17:25:01 +00:00
Naman Dwivedi
951836c554 Fix ActivityNotFound Exception in Dev Tools
Developer Settings->Dev Tools->Package Browser->Package Summary->Click on ony activity. Force close as ShowActivity is not declared in AndoridManifest.

Change-Id: Ic1b74dc08c83023418912a5f82b127f5537710cd
2015-05-04 19:32:46 +05:30
Geoff Mendal
0e42241a53 Import translations. DO NOT MERGE
Change-Id: I461c4742b99b6bc590347a72a2da621eda19c994
Auto-generated-cl: translation import
2015-04-22 06:52:30 -07:00
Etan Cohen
0650f6cdd4 Merge commit 'c84e7b11e598d5a6c07c754755382279e194efcb' into merge 2015-03-30 16:54:20 -07:00
Pierre Vandwalle
c84e7b11e5 add wifi power calculation
Change-Id: I3176d835454b1324403b844d075709ba277a7189
2015-03-24 19:40:32 -07:00
Geoff Mendal
ec01b2f200 Import translations. DO NOT MERGE
Change-Id: Ic7184b89c152d64d174c3efc1136d39b4f8354a2
Auto-generated-cl: translation import
2015-03-21 02:20:39 -07:00
Geoff Mendal
e3e13c36a3 Import translations. DO NOT MERGE
Change-Id: I44190f89c510bb0307eedda601ceaedcbe0b8baa
Auto-generated-cl: translation import
2015-02-26 17:24:12 -08:00
Geoff Mendal
f3e48a7a42 Import translations. DO NOT MERGE
Change-Id: Ia44e79adec985b6c119c558285d12eb089bab2d6
Auto-generated-cl: translation import
2015-02-12 11:30:45 -08:00
Narayan Kamath
4b952f0df3 Add an explicit dependency on org.apache.http.legacy.
bug: 18027885
Change-Id: Ie3a251fd63ec25a3c5cb46c80236f43724166331
2015-02-05 15:04:30 +00:00
Lorenzo Colitti
cdaf5c4478 am d0834b36: am 864b2b32: am 85018408: Add a button to the debug app to call reportBadNetwork.
* commit 'd0834b363575d6cac6618124f3334720166473c6':
  Add a button to the debug app to call reportBadNetwork.
2014-12-19 10:54:27 +00: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
3e2d32ce49 am 850fe6a3: am 5cc7f9ba: am d00a0a73: Development: Connectivity: Fix receiver leakage
* commit '850fe6a3aff202a1e6f7a4328ac6dcf2e6b7f55b':
  Development: Connectivity: Fix receiver leakage
2014-11-04 03:53:00 +00: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
Geoff Mendal
a7d179790b Import translations. DO NOT MERGE
Change-Id: I26297d327aa6e7fc536e6f4b3819a4f174544d5a
Auto-generated-cl: translation import
2014-10-20 05:54:12 -07:00
Marcin Kosiba
036220cf33 Revert "DevTools - add support for WifiScanner and Passpoint"
The commit has broken the build.

This reverts commit b06e03add7.

Change-Id: Id58a9535ecca86cf353e6e0921e3cdcb7ea2f127
2014-08-04 11:10:45 +01:00