Commit Graph

415 Commits

Author SHA1 Message Date
Yu Shan Emily Lau
6ae4dd48b6 AI 145444: am: CL 145062 Took out the muisc player test from the continuous build test.
Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 145444
2009-04-09 13:55:20 -07:00
Raphael Moll
d4ee68f401 AI 145402: am: CL 145004 ADT #1761064: Properly refresh manifest activity list on framework reload.
Issue: when the SDK gets (re)loaded, the uiRootNode changes
  in the UiTreeBlock. However the TreeViewer is using a
  content provider which root node was not updated. The fix is
  to make the content provider dynamically ask for the root
  node to the tree block. Instead of depending on the class
  directly, a new interface is passed for this.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145402
2009-04-09 13:09:46 -07:00
Xavier Ducrohet
b20c95f355 AI 145394: Fix 'android create project': it was swapping activity and package names (bug #1781137)
BUG=1781137

Automated import of CL 145394
2009-04-09 12:55:15 -07:00
Dianne Hackborn
be5fc8d7c0 AI 145382: API review: change new media keycode names to avoid ambiguity.
Updates the key maps.  During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...!  So this is now changed to match.
  BUG=1779435

Automated import of CL 145382
2009-04-09 12:31:12 -07:00
Xavier Ducrohet
7215471a97 AI 145380: Fixes for add-on build
Automated import of CL 145380
2009-04-09 12:21:52 -07:00
Xavier Ducrohet
55081c290b AI 145229: Make the mismatch API level/minSdkVersion a warning instead of an error.
BUG=1779278

Automated import of CL 145229
2009-04-08 18:44:51 -07:00
Raphael Moll
a49714f9b9 AI 145204: ADT #1761137: collect_sources_for_sdk.sh fails on the Mac
It's really time to let the hackish bash/sed version go away,
  especially since it's really really slow, and provide a
  better python version instead.
  BUG=1761137

Automated import of CL 145204
2009-04-08 15:16:47 -07:00
Raphael Moll
c3e4be85ab AI 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/...

Automated import of CL 145099
2009-04-08 13:39:28 -07:00
Xavier Ducrohet
89f2842e04 AI 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/...

Automated import of CL 145098
2009-04-08 13:36:48 -07:00
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
Raphael Moll
931838e07e AI 145083: ADT #1777728: fix NPE when AVD list is empty
BUG=1777728

Automated import of CL 145083
2009-04-08 12:43:22 -07:00
Yu Shan Emily Lau
28ac69a6e6 AI 145062: Took out the muisc player test from the continuous build test.
BUG=1683748,1678380

Automated import of CL 145062
2009-04-08 10:14:18 -07:00
Raphael Moll
0a7d0399c6 AI 145004: ADT #1761064: Properly refresh manifest activity list on framework reload.
Issue: when the SDK gets (re)loaded, the uiRootNode changes
  in the UiTreeBlock. However the TreeViewer is using a
  content provider which root node was not updated. The fix is
  to make the content provider dynamically ask for the root
  node to the tree block. Instead of depending on the class
  directly, a new interface is passed for this.
  BUG=1761064

Automated import of CL 145004
2009-04-07 20:31:00 -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
Raphael Moll
7bfaaa8c46 AI 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.
  BUG=1722971

Automated import of CL 144940
2009-04-07 16:30:57 -07:00
Xavier Ducrohet
6778fc22a4 AI 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).
  BUG=1775936

Automated import of CL 144938
2009-04-07 16:27:46 -07:00
Xavier Ducrohet
1d0c9f3363 AI 144935: ApiDemos contains new API, and we must force the target to cupcake.
BUG=1575649

Automated import of CL 144935
2009-04-07 16:04:04 -07:00
Xavier Ducrohet
5993ade9b0 AI 144921: Fix add-on javadoc display in Eclipse (bug #1775744)
BUG=1775744

Automated import of CL 144921
2009-04-07 14:24:32 -07:00
Brett Chabot
1d8b77c7bf AI 144902: Fix default src lookup for code coverage.
Automated import of CL 144902
2009-04-07 12:48:44 -07:00
David Turner
b2cd5057ed AI 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)
  BUG=1750126,1731936

Automated import of CL 144595
2009-04-05 14:23:15 -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
57a70ad700 AI 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
  BUG=1596727

Automated import of CL 144565
2009-04-03 17:48:40 -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
Xavier Ducrohet
dcb36ed62d AI 144533: Reformat JetBoy samples to match code style.
BUG=1596727

Automated import of CL 144533
2009-04-03 16:23:56 -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
Jean-Michel Trivi
e7837ffa1f AI 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.
BUG=1596727

Automated import of CL 144509
2009-04-03 15:01:10 -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
d7c946dcef AI 144487: ADT: Add "New String" refactoring to the other Resource Chooser.
BUG=1722971

Automated import of CL 144487
2009-04-03 13:33:43 -07:00
Raphael Moll
bc659bb756 AI 144486: ADT: Call the Extract String Refactoring to create a new XML String
ID when selecting a string reference.
  BUG=1722971

Automated import of CL 144486
2009-04-03 13:32:32 -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
Xavier Ducrohet
01cdf8fe24 AI 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.
  BUG=1736754

Automated import of CL 144366
2009-04-02 21:44:15 -07:00
Eric Fischer
d1bc5b4177 AI 144355: Automated g4 rollback of changelist 144335.
*** Reason for rollback ***
  Roll back US Spanish import because it made the build too big.
  *** Original change description ***
  Import US Spanish translations, and a few Japanese changes.

Automated import of CL 144355
2009-04-02 21:42:02 -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
Eric Fischer
c203e21123 AI 144335: Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144335
2009-04-02 16:39:19 -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
Brett Chabot
979e0dc0c5 AI 144320: ADT: Fix debugger launch connection when debugging Android JUnit
BUG=1753089

Automated import of CL 144320
2009-04-02 15:36:04 -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
Raphael Moll
b41d8daf77 AI 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.
  BUG=1722971

Automated import of CL 144283
2009-04-02 13:42:29 -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
Brett Chabot
ad41d46aa3 AI 144260: Add constant for test file name in runtest.
Automated import of CL 144260
2009-04-02 11:50:35 -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
Xavier Ducrohet
a248b46de4 AI 144252: Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
BUG=1683892

Automated import of CL 144252
2009-04-02 11:32:07 -07:00