Commit Graph

100 Commits

Author SHA1 Message Date
Raphael Moll
a8b79aee32 AI 145170: am: CL 145099 am: CL 144940 ADT #1722971: Fix refactoring menu contribution for Eclipse 3.3/3.4 on Linux/Mac.
The fix is that a menu contribution should redefine the menu that it is
  contributing too. In this case it seems the JDT is not yet loaded or at
  least hasn't defined the menu that we're contributing too, so we need to
  define it. This definition is extracted from the jdt.ui/plugin.xml from
  3.4 in order to define the same group names in the same order.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145170
2009-04-08 19:07:04 -07:00
Xavier Ducrohet
2ae3b8f24b AI 145169: am: CL 145098 am: CL 144938 Fix the classpath container cache for project targeting add-ons (bug #1775936).
Also renamed the container for add-ons to include the base platform name (so that at least a version is displayed).
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145169
2009-04-08 19:04:11 -07:00
Xavier Ducrohet
c71c173e07 AI 145166: am: CL 145097 am: CL 144935 ApiDemos contains new API, and we must force the target to cupcake.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145166
2009-04-08 19:01:04 -07:00
Xavier Ducrohet
29d2a8ded5 AI 145163: am: CL 145096 am: CL 144921 Fix add-on javadoc display in Eclipse (bug #1775744)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145163
2009-04-08 18:57:57 -07:00
Brett Chabot
eb42174923 AI 145161: am: CL 145095 am: CL 144902 Fix default src lookup for code coverage.
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145161
2009-04-08 18:55:01 -07:00
Brett Chabot
c28739a303 AI 145141: am: CL 144980 Fix runtest --coverage.
Original author: brettchabot

Automated import of CL 145141
2009-04-08 13:43:14 -07:00
Evan Millar
fb7c34758a AI 145122: am: CL 144927 Fix throttling in scripted monkeys (bug #1739843).
Original author: emillar

Automated import of CL 145122
2009-04-08 13:28:35 -07:00
David Turner
d4e48c3aa4 AI 144597: am: CL 144596 am: CL 144595 Fix the AVD configuration code to support "sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory)
Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation.
  Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly.
  Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options
  Add new documentation for QEMUD and CharDriverState objects
  Update the Audio documentation with ASCII graphics (because I'm an artist too)
  Original author: digit
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144597
2009-04-05 14:23:05 -07:00
Xavier Ducrohet
c775995df3 AI 144568: am: CL 144567 am: CL 144565 Improve the JetBoy samples
- use theme instead of window feature to remove titlebar
  - remove useless Layouts
  - Make custom view works in layout editor.
  - remove some warnings
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144568
2009-04-03 17:49:30 -07:00
Xavier Ducrohet
dfd26a838a AI 144542: am: CL 144539 am: CL 144533 Reformat JetBoy samples to match code style.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144542
2009-04-03 16:28:23 -07:00
Jean-Michel Trivi
cfe4476f03 AI 144511: am: CL 144510 am: CL 144509 Checking in Sonivox' JetBoy code sample. The java code still has a FIXME for cleanup and review to be done before final SDK build.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144511
2009-04-03 15:04:27 -07:00
Niko Catania
55ebbc4e1a AI 144501: am: CL 144500 Added support for some extra make arguments for some testsuite.
For instance the libstdc++ testsuite requires BIONIC_TESTS=1 to
  actually build the tests.
  * development/testrunner/test_defs.py:
  Parse the new extra_make_args attribute.
  * development/testrunner/runtest.py:
  Added support for extra make arguments. Some testsuite requires this to actually be built.
  Changed the log statement to log what is actually being done.
  * development/testrunner/test_defs.xml:
  Added extra make argument to enable the libstdc++ tests.
  Original author: niko

Automated import of CL 144501
2009-04-03 14:13:05 -07:00
Raphael Moll
085bd7bd57 AI 144491: am: CL 144489 am: CL 144487 ADT: Add "New String" refactoring to the other Resource Chooser.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144491
2009-04-03 13:37:10 -07:00
Raphael Moll
45857dfe38 AI 144490: am: CL 144488 am: CL 144486 ADT: Call the Extract String Refactoring to create a new XML String
ID when selecting a string reference.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144490
2009-04-03 13:34:00 -07:00
Xavier Ducrohet
17915d4e6d AI 144419: am: CL 144382 am: CL 144366 Activity Launcher filters out unlauncheable activity (bug #1736754)
Activities that do not have an action, or that are set to not be exported cannot be launched from 'am start...' so they should not be considered when finding an activity to launch.
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144419
2009-04-02 23:52:36 -07:00
Mike Lockwood
8dc883fe46 AI 144415: am: CL 144372 Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
  making LocationManager.updateProviders() unnecessary.
  Removed LocationManager.updateProviders()
  Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
  of enabling or disabling a single location provider.
  This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
  BUG=1729031
  Original author: lockwood

Automated import of CL 144415
2009-04-02 23:41:32 -07:00
Niko Catania
247286697f AI 144412: am: CL 144340 Added support to run native tests on the device.
The tests name must start with 'test_'.
  Tests should return 0 on success, 1 on failure.
  * development/testrunner/test_defs.xml:
  Added new element to represent native tests.
  * development/testrunner/test_defs.py:
  Added handling of the new <test-native> element.
  The testsuite has new IsNative method.
  TestDefinition's iterator is ordered by test names.
  Added GetDescription() method to access the optional description.
  * development/testrunner/runtest.py:
  Print the description next to the test name if applicable
  (runtest_py -l)
  Added a _RunNativeTest method to run a test on the target, report
  the status and clean up the test after the run.
  Added
  Original author: niko

Automated import of CL 144412
2009-04-02 23:33:53 -07:00
Eric Fischer
2962188689 AI 144411: am: CL 144336 am: CL 144335 Import US Spanish translations, and a few Japanese changes.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144411
2009-04-02 23:31:16 -07:00
Brett Chabot
90d63fa3a4 AI 144408: am: CL 144322 am: CL 144320 ADT: Fix debugger launch connection when debugging Android JUnit
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144408
2009-04-02 23:23:38 -07:00
Raphael Moll
a2f0d15ace AI 144402: am: CL 144284 am: CL 144283 ADT: Enhance Resource Chooser with ability to create new XML strings.
That's a first pass. There's a fair bit of refactoring
  involved, so it's split in two CLs. Next CL will add more
  functionality.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144402
2009-04-02 23:07:49 -07:00
Brett Chabot
50c588cc2c AI 144396: am: CL 144262 am: CL 144260 Add constant for test file name in runtest.
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144396
2009-04-02 22:51:49 -07:00
Xavier Ducrohet
891bad051d AI 144394: am: CL 144254 am: CL 144252 Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144394
2009-04-02 22:46:50 -07:00
Mike Ritter
4ba021dfe8 AI 144207: am: CL 144166 am: CL 144164 Adding droiddocs/javadocs usage to Pdk-docs to get correct style.
Original author: mritter
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 144207
2009-04-02 10:36:49 -07:00
Jack Palevich
7d8b5a10c8 AI 144152: Improve the documentation for this class.
Explain how it's different than ProcessBuilder
  Explain that you have to call close when you're done with the pty's file
  descriptor.
  Note in the doc comment that the implementation relies on a private
  FileDescriptor API.
  Also remove an unused method.

Automated import of CL 144152
2009-04-02 10:17:29 -07:00
Jack Palevich
74285ab548 AI 144124: Avoid leaking a pty file descriptor when quitting the terminal.
BUG=1750582

Automated import of CL 144124
2009-04-02 10:04:28 -07:00
Raphael Moll
57392cb174 AI 144095: am: CL 144049 am: CL 144048 ADT #1743364: Uncomment the system resource chooser code.
Rationale: we want to keep that code around, so we need to compile
  it to make sure it doesn't use obsoleted APIs. That does it.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 144095
2009-04-02 09:27:21 -07:00
Jack Palevich
a5370e95c4 AI 144089: Make "Term" build against the public Android API.
This was done by making a private copy of android.term.Exec.
  BUG=1750582

Automated import of CL 144089
2009-04-02 09:22:07 -07:00
Brett Chabot
ac2a8469f2 AI 143919: am: CL 143918 am: CL 143917 ADT Android JUnit: Change logic to provide an explicit project or package to run to the device InstrumentationTestRunner, instead of providing the potentially huge list of test classes. Discontinue support for running all tests in a source folder.
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143919
2009-03-31 19:16:14 -07:00
Raphael Moll
99a0b5c4a2 AI 143887: am: CL 143886 am: CL 143882 ADT #1743364: Refactor misc UI widgets together in package adt.ui.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143887
2009-03-31 17:26:38 -07:00
Raphael Moll
4ca8a78df7 AI 143885: am: CL 143883 am: CL 143881 AVD #1703143: delete AVDs not loaded correctly.
This covers the case where an AVD has an invalid target
  or is missing its AVD folder or the config.ini in it.
  Made some cosmetic cleanup too.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143885
2009-03-31 17:24:12 -07:00
Raphael Moll
dc9a9a7bf7 AI 143880: am: CL 143879 am: CL 143876 Include hprof-conv in SDK (bug #1640225)
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143880
2009-03-31 17:20:54 -07:00
Jeffrey Sharkey
ba5dfbf9f4 AI 143867: am: CL 143865 am: CL 143864 Fix SDK example to correctly pass back newly-configured appWidgetId.
Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143867
2009-03-31 17:01:02 -07:00
Brett Chabot
a3a8aeb15c AI 143831: am: CL 143819 am: CL 143765 Rename tests.xml to test_defs.xml
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143831
2009-03-31 14:51:13 -07:00
Raphael Moll
42ab43b51a AI 143828: am: CL 143808 am: CL 143754 SdkManager: list unknown AVDs and why they didn't load.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143828
2009-03-31 14:48:14 -07:00
Yu Shan Emily Lau
94967f1cd6 AI 143717: am: CL 143698 am: CL 143596 Removed all the obsoleted media related functional test suite. (incl, very old meidaProvider,
RingToneSettings and the flaky Music Player test.
  Original author: yslau
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143717
2009-03-31 14:25:11 -07:00
Brett Chabot
9bec3079c9 AI 143713: am: CL 143688 am: CL 143562 Usability fixes for runtest.py
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143713
2009-03-31 14:21:33 -07:00
Xavier Ducrohet
363efea89c AI 143701: am: CL 143672 am: CL 143499 Fix the icon for the JUnit launch shortcut
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143701
2009-03-31 14:18:00 -07:00
Raphael Moll
11fcb51439 AI 143693: am: CL 143665 am: CL 143491 ADT #1742875: Document the SDK build process and new cupcake SDK changes.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143693
2009-03-31 14:16:11 -07:00
Amith Yamasani
ebaef5ec19 AI 143689: am: CL 143659 am: CL 143472 Reduce dictionary size.
Changed the tree structure to have variable length nodes to save an average of 21% on the dictionary size.
  Created a shortened English dictionary for Dream - 50K words.
  Added a shortened Spanish dictionary for Dream - 32K words.
  Original author: yamasani
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143689
2009-03-31 14:14:19 -07:00
Xavier Ducrohet
153b961cb6 AI 143410: am: CL 143408 am: CL 143407 Prevent reinstalling APKs during launch if they have not been recompiled since the previous launch.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143410
2009-03-27 20:06:23 -07:00
Raphael Moll
f4ecf73761 AI 143401: am: CL 143273 am: CL 143259 ADT #1743364: Refactor all wizard classes & their actions together.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143401
2009-03-27 20:01:34 -07:00
Jack Palevich
e16e1457df AI 143400: am: CL 143272 am: CL 143256 Make the Term emulator work with the most recent keyboard IME.
+ Makes the "Enter" key work again.
  + Makes the "Delete" key delete just one character each time you press it
  instead of two.
  Original author: jackpal
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143400
2009-03-27 20:00:31 -07:00
Xavier Ducrohet
5398a409ab AI 143399: am: CL 143270 am: CL 143149 Make ADT look for javadoc in docs/reference for the optional libraries (to match the base docs).
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143399
2009-03-27 19:59:24 -07:00
Xavier Ducrohet
970bafbfae AI 143398: am: CL 143269 am: CL 143143 Update ADT changes.txt with JUnit features, and properly restrict ADT package access.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143398
2009-03-27 19:58:10 -07:00
Raphael Moll
f26fda34c6 AI 143373: am: CL 143223 am: CL 143034 ADT #1738834: Properly validate project name, package name and
activity name for "create project".
  Also validate AVD name for "create avd".
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143373
2009-03-27 19:29:45 -07:00
Dianne Hackborn
b520b3deb3 AI 143370: am: CL 143220 am: CL 143022 New spare parts feature. Spare parts is only in engineering builds, so I am hoping it is okay to check in -- it's the same as updating sample code etc.
Original author: hackbod
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143370
2009-03-27 19:26:11 -07:00
Xavier Ducrohet
84fdbb813f AI 143357: am: CL 143206 am: CL 142994 Clean up official ApiDemos to not reference Google Maps
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143357
2009-03-27 19:11:10 -07:00
Mike Lockwood
923043d3fc AI 143355: am: CL 143204 am: CL 142988 Remove emulator support from user builds.
Saves us 52K in /system partition.
  BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143355
2009-03-27 19:08:42 -07:00
Raphael Moll
f4d5d5c082 AI 143350: am: CL 143199 am: CL 142978 ADT #1738393: fix typo in launch controller.
Also fixed some javadoc warnings.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143350
2009-03-27 19:02:53 -07:00
Evan Millar
84426e4d3f AI 143341: am: CL 143190 am: CL 142951 Change the way we handle monkey throttling. We now will only sleep after complete down/[move]/up sequences. This avoids unwanted long pressing. We will need to add code to explicitly long press at some point.
Original author: emillar
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143341
2009-03-27 18:51:49 -07:00