Commit Graph

144 Commits

Author SHA1 Message Date
Xavier Ducrohet
3489bba692 AI 145097: am: CL 144935 ApiDemos contains new API, and we must force the target to cupcake.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145097
2009-04-08 13:34:04 -07:00
Xavier Ducrohet
45b80973b3 AI 145096: am: CL 144921 Fix add-on javadoc display in Eclipse (bug #1775744)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145096
2009-04-08 13:31:14 -07:00
Brett Chabot
134d899218 AI 145095: am: CL 144902 Fix default src lookup for code coverage.
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 145095
2009-04-08 13:27:38 -07:00
Brett Chabot
2b6643b596 AI 144980: Fix runtest --coverage.
Automated import of CL 144980
2009-04-07 18:35:27 -07:00
Evan Millar
565067aeb0 AI 144927: Fix throttling in scripted monkeys (bug #1739843).
BUG=1739843

Automated import of CL 144927
2009-04-07 17:21:32 -07:00
David Turner
d7484a2ff5 AI 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/...

Automated import of CL 144596
2009-04-05 14:22:25 -07:00
Xavier Ducrohet
382b479bbd AI 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/...

Automated import of CL 144567
2009-04-03 17:49:02 -07:00
Xavier Ducrohet
46132107e6 AI 144539: am: CL 144533 Reformat JetBoy samples to match code style.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 144539
2009-04-03 16:27:41 -07:00
Jean-Michel Trivi
62464e0187 AI 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/...

Automated import of CL 144510
2009-04-03 15:03:07 -07:00
Niko Catania
a6dc2abe8d AI 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.

Automated import of CL 144500
2009-04-03 14:12:46 -07:00
Raphael Moll
8ec960039f AI 144489: am: CL 144487 ADT: Add "New String" refactoring to the other Resource Chooser.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 144489
2009-04-03 13:35:57 -07:00
Raphael Moll
f23d59c068 AI 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/...

Automated import of CL 144488
2009-04-03 13:31:58 -07:00
Xavier Ducrohet
bb10b2afb6 AI 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/...

Automated import of CL 144382
2009-04-02 22:22:29 -07:00
Mike Lockwood
a98128aff5 AI 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

Automated import of CL 144372
2009-04-02 21:41:55 -07:00
Niko Catania
2e990b97d3 AI 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
  BUG=1601432

Automated import of CL 144340
2009-04-02 16:52:26 -07:00
Eric Fischer
f8e7fcf2af AI 144336: am: CL 144335 Import US Spanish translations, and a few Japanese changes.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 144336
2009-04-02 16:42:12 -07:00
Brett Chabot
6bc8491396 AI 144322: am: CL 144320 ADT: Fix debugger launch connection when debugging Android JUnit
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144322
2009-04-02 15:37:39 -07:00
Raphael Moll
d63db799ea AI 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/...

Automated import of CL 144284
2009-04-02 13:42:45 -07:00
Brett Chabot
f61f43e16b AI 144262: am: CL 144260 Add constant for test file name in runtest.
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144262
2009-04-02 11:52:48 -07:00
Xavier Ducrohet
7e020ebebd AI 144254: am: CL 144252 Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 144254
2009-04-02 11:36:53 -07:00
Mike Ritter
c073ab2871 AI 144166: am: CL 144164 Adding droiddocs/javadocs usage to Pdk-docs to get correct style.
Original author: mritter
  Merged from: //branches/cupcake/...

Automated import of CL 144166
2009-04-02 01:26:29 -07:00
Raphael Moll
9ae6340786 AI 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/...

Automated import of CL 144049
2009-04-01 12:30:50 -07:00
Brett Chabot
47eccd8c05 AI 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/...

Automated import of CL 143918
2009-03-31 19:15:42 -07:00
Raphael Moll
37747492ad AI 143886: am: CL 143882 ADT #1743364: Refactor misc UI widgets together in package adt.ui.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143886
2009-03-31 17:27:19 -07:00
Raphael Moll
1edcab4738 AI 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/...

Automated import of CL 143883
2009-03-31 17:23:46 -07:00
Raphael Moll
3ae1236bc9 AI 143879: am: CL 143876 Include hprof-conv in SDK (bug #1640225)
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143879
2009-03-31 17:19:15 -07:00
Jeffrey Sharkey
a0d0f0ce62 AI 143865: am: CL 143864 Fix SDK example to correctly pass back newly-configured appWidgetId.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143865
2009-03-31 16:58:03 -07:00
Brett Chabot
2d85c0eb06 AI 143819: am: CL 143765 Rename tests.xml to test_defs.xml
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143819
2009-03-31 15:19:13 -07:00
Raphael Moll
361030c1d8 AI 143808: am: CL 143754 SdkManager: list unknown AVDs and why they didn't load.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143808
2009-03-31 15:10:16 -07:00
Yu Shan Emily Lau
a256470ec4 AI 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/...

Automated import of CL 143698
2009-03-31 11:25:02 -07:00
Brett Chabot
72731f3420 AI 143688: am: CL 143562 Usability fixes for runtest.py
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143688
2009-03-31 11:14:05 -07:00
Xavier Ducrohet
db258ddbc7 AI 143672: am: CL 143499 Fix the icon for the JUnit launch shortcut
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143672
2009-03-31 11:02:33 -07:00
Raphael Moll
2be623a300 AI 143665: am: CL 143491 ADT #1742875: Document the SDK build process and new cupcake SDK changes.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143665
2009-03-31 10:56:49 -07:00
Amith Yamasani
69811e3526 AI 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/...

Automated import of CL 143659
2009-03-31 10:51:16 -07:00
Xavier Ducrohet
c33ae50cc3 AI 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/...

Automated import of CL 143408
2009-03-27 20:54:01 -07:00
Raphael Moll
1e3355dd7d AI 143273: am: CL 143259 ADT #1743364: Refactor all wizard classes & their actions together.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143273
2009-03-27 20:42:40 -07:00
Jack Palevich
376013596d AI 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/...

Automated import of CL 143272
2009-03-27 20:39:49 -07:00
Xavier Ducrohet
5303d5c523 AI 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/...

Automated import of CL 143270
2009-03-27 20:37:00 -07:00
Xavier Ducrohet
1fd79529a9 AI 143269: am: CL 143143 Update ADT changes.txt with JUnit features, and properly restrict ADT package access.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143269
2009-03-27 20:34:05 -07:00
Raphael Moll
77708b2fd0 AI 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/...

Automated import of CL 143223
2009-03-27 19:13:58 -07:00
Dianne Hackborn
49f4090c7a AI 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/...

Automated import of CL 143220
2009-03-27 19:03:33 -07:00
Xavier Ducrohet
5d22c85df0 AI 143206: am: CL 142994 Clean up official ApiDemos to not reference Google Maps
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143206
2009-03-27 18:00:15 -07:00
Mike Lockwood
f5171c1aa7 AI 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/...

Automated import of CL 143204
2009-03-27 17:53:21 -07:00
Raphael Moll
6007018190 AI 143199: am: CL 142978 ADT #1738393: fix typo in launch controller.
Also fixed some javadoc warnings.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143199
2009-03-27 17:36:09 -07:00
Evan Millar
62c4d9bfc5 AI 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/...

Automated import of CL 143190
2009-03-27 17:10:47 -07:00
Raphael Moll
745fd90975 AI 143157: am: CL 142852 ADT fix #1682502: New XML File Wizard root combo is sometimes empty.
Two issues in fact:
  1- On some selections the resource type is determined before the
  root values are computed.
  2- Added an sdk target change listener to refresh the project's roots
  if the SDK was still loading or if the project changed targets.
  The New Project Wizard has been updated with a similar sdk change
  listener to refresh the target selector. This is useful when the NPW
  is used before the targets have finished loading, e.g. upon lauching
  Eclipse.
  Note: this requires CL 142690 to compile.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143157
2009-03-27 15:25:11 -07:00
Raphael Moll
b1c2adad16 AI 143156: am: CL 142851 ADT GLE fix #1731389: widgets dropped in <merge> lack their default layout_widht/height.
Issue: <merge> did not have layout attributes. When new widgets are
  dropped in a layout, GLE only adds layout width/height if the parent
  supports them.
  Fix: Make <merge> have layout attributes from FrameLayout. The ideal
  choice would have been ViewGroup, but since ViewGroup is abstract we
  don't have any ViewDescriptor for it. FrameLayout should provide a
  sensible replacement.
  Note: this requires CL 142780 to compile.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143156
2009-03-27 15:22:09 -07:00
Raphael Moll
0105db6763 Automated import from //branches/donutburger/...@142709,142709 2009-03-25 16:30:11 -07:00
Raphael Moll
562031f806 Automated import from //branches/donutburger/...@142708,142708 2009-03-25 16:26:44 -07:00
Raphael Moll
26aa2cdeb0 Automated import from //branches/donutburger/...@142707,142707 2009-03-25 16:23:00 -07:00