OSDN Git Service
Xavier Ducrohet [Sat, 18 Apr 2009 19:24:51 +0000 (12:24 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:23:40 +0000 (12:23 -0700)]
AI 146847: am: CL 146845 Fix detecting "home" activities when parsing the Android Manifest
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146847
Xavier Ducrohet [Sat, 18 Apr 2009 19:16:30 +0000 (12:16 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:15:12 +0000 (12:15 -0700)]
AI 146808: am: CL 146806 Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146808
Xavier Ducrohet [Sat, 18 Apr 2009 19:07:19 +0000 (12:07 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:05:57 +0000 (12:05 -0700)]
AI 146784: am: CL 146783 Update New project wizard with the less confusing "Build Target" label.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146784
Xavier Ducrohet [Sat, 18 Apr 2009 19:04:11 +0000 (12:04 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:02:53 +0000 (12:02 -0700)]
AI 146778: am: CL 146776 fix NPE in AvdManager
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146778
Raphael Moll [Sat, 18 Apr 2009 18:58:11 +0000 (11:58 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Sat, 18 Apr 2009 18:56:49 +0000 (11:56 -0700)]
AI 146771: am: CL 146770 ADT #
1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146771
Xavier Ducrohet [Fri, 17 Apr 2009 18:43:03 +0000 (11:43 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Fri, 17 Apr 2009 18:41:48 +0000 (11:41 -0700)]
AI 146750: am: CL 146747 Add the JetCreator tools and docs to the SDK (mac/windows only).
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146750
Raphael Moll [Fri, 17 Apr 2009 18:34:25 +0000 (11:34 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Fri, 17 Apr 2009 18:33:07 +0000 (11:33 -0700)]
AI 146744: am: CL 146720 ADT Jar Stubber: generate stubbed jar.
This also reorganizes some source so it's 90% refactoring.
There will be more filtering to do in another CL.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146744
Xavier Ducrohet [Fri, 17 Apr 2009 18:22:28 +0000 (11:22 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Fri, 17 Apr 2009 18:21:13 +0000 (11:21 -0700)]
AI 146740: am: CL 146692 Clean up the output of "android list targets" and fix the image.sysdir.# to only be present if the image folders really contain *.img files.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146740
Xavier Ducrohet [Fri, 17 Apr 2009 18:19:40 +0000 (11:19 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Fri, 17 Apr 2009 18:18:24 +0000 (11:18 -0700)]
AI 146739: am: CL 146689 Broken AVDs are now loaded by default, and we provide a way to fix one (new) type of error (wrong paths to the system image)
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146739
Xavier Ducrohet [Fri, 17 Apr 2009 18:10:03 +0000 (11:10 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Fri, 17 Apr 2009 18:08:12 +0000 (11:08 -0700)]
AI 146736: am: CL 146674 "Target" nomenclature fixes
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146736
Jean-Michel Trivi [Fri, 17 Apr 2009 00:00:36 +0000 (17:00 -0700)]
Merge branch 'readonly-p4-donut' into donut
Jean-Michel Trivi [Thu, 16 Apr 2009 23:59:25 +0000 (16:59 -0700)]
AI 146645: am: CL 146643 Clean up and commenting of the JetBoy JET demo code:
Fixed JetPlayer initialization code and pause when the app loses focus.
Removed mute mask hack.
Cleaned up event ID declaration and check (event value is a byte, not a String).
Add extensive comments for the JetPlayer code.
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 146645
Raphael Moll [Thu, 16 Apr 2009 23:03:41 +0000 (16:03 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Thu, 16 Apr 2009 23:02:29 +0000 (16:02 -0700)]
AI 146634: am: CL 146631 ADT #
1793333: fix Widget disposed in SdkTargetSelector.
This happens when you open the Windows > Prefs > Android panel
while an SDK is initially loading or when you change the
SDK in the pref panel. The target change listener was not
properly removed since the field was not properly disposed.
This also removed the multiple selection handling in the
SdkTargetSelector, which we never use. In the unlikely event
we want to use it later, it would be trivial to add it back.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146634
Raphael Moll [Thu, 16 Apr 2009 20:00:16 +0000 (13:00 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Thu, 16 Apr 2009 19:59:01 +0000 (12:59 -0700)]
AI 146597: am: CL 146595 ADT #
1794560: prevent from loading more than one SDK at once.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146597
Jeffrey Sharkey [Thu, 16 Apr 2009 19:33:44 +0000 (12:33 -0700)]
Merge branch 'readonly-p4-donut' into donut
Jeffrey Sharkey [Thu, 16 Apr 2009 19:32:29 +0000 (12:32 -0700)]
AI 146481: am: CL 146394 Add ExampleAppWidgetConfigure to manifest and correct update issues.
This adds widget configuration to manifest so we don't crash when trying to insert. We also correctly push a second update once prefix title has been saved; previously we showed a stale title until next widget update. Also return the title prefix correctly for a given appWidgetId.
Original author: jsharkey
Merged from: //branches/cupcake/...
Automated import of CL 146481
Jean-Michel Trivi [Thu, 16 Apr 2009 17:48:44 +0000 (10:48 -0700)]
Merge branch 'readonly-p4-donut' into donut
Jean-Michel Trivi [Thu, 16 Apr 2009 17:46:34 +0000 (10:46 -0700)]
AI 146478: am: CL 146372 Add audio assets used for the generation of the JET data that is used in the JET SDK sample "JetBoy". This includes the JetCreator project and the Logic file for the music.
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 146478
Xavier Ducrohet [Wed, 15 Apr 2009 18:45:10 +0000 (11:45 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Wed, 15 Apr 2009 18:43:56 +0000 (11:43 -0700)]
AI 146352: am: CL 146351 Fix aidl 2 issues: aidl file change for parcelable didnt trigger a recompilation. Folder creation failed if parent folder didn't exist.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146352
Raphael Moll [Wed, 15 Apr 2009 18:16:37 +0000 (11:16 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Wed, 15 Apr 2009 18:15:19 +0000 (11:15 -0700)]
AI 146336: am: CL 146335 ADT: Rework the Manifest class browser.
For ADT #
1603194, it is desirable to select the Instrumentation
Runner class from the android.jar. The class browser was filtering
it out. The class browser has been changed like this:
- include all source & jar package roots
- a checkbox let the user toggle between searching only sources
(of the project) or anything in the classpath (thus include jars.)
The default is to include everything for the instrumentation and only
the source for other browsers.
Also improved a bit the filter by not iterating over the hierarchy
and filtering out abstract classes (which was not needed before.)
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146336
David Turner [Wed, 15 Apr 2009 13:51:28 +0000 (06:51 -0700)]
Merge branch 'readonly-p4-donut' into donut
David Turner [Wed, 15 Apr 2009 13:50:15 +0000 (06:50 -0700)]
AI 146315: am: CL 146314 modify GSM emulation to accomodate 1.0 and 1.1 system images.
without this, networking doesn't work well when using the 1.1 add-on with
the cupcake sdk
Original author: digit
Merged from: //branches/cupcake/...
Automated import of CL 146315
Raphael Moll [Tue, 14 Apr 2009 23:59:10 +0000 (16:59 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 14 Apr 2009 23:57:57 +0000 (16:57 -0700)]
AI 146250: am: CL 146238 ADT #
1761064: Properly refresh UiTreeBlock when SDK is reloaded.
The fix I did last week was just refreshing the UiRootNode
but it turns out we need to refresh the DescriptorFilters too
(since they are null when there's no SDK.) So the old fix was
wrong, what we need is to generate a new tree model when the
SDK is reloaded.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146250
Raphael Moll [Tue, 14 Apr 2009 23:56:23 +0000 (16:56 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 14 Apr 2009 23:55:07 +0000 (16:55 -0700)]
AI 146249: am: CL 146237 ADT #
1789339: Manifest editor now displays all extra sub-elements.
Bug description is to add support for <uses-configuration>.
Currently the Manifest editor already supports <uses-sdk> (which is an
element node, not an attribute) by exposing it as a manifest attribute.
That doesn't scale. So instead just provide a tree for all <manifest>
child elements that are not handled in other pages. Currently that
contains uses-sdk and uses-configuration but the nice part of it is that
it will pick up automatically any new manfiest sub elements in the future.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146249
Xavier Ducrohet [Tue, 14 Apr 2009 23:53:32 +0000 (16:53 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Tue, 14 Apr 2009 23:52:16 +0000 (16:52 -0700)]
AI 146248: am: CL 146233 Update Eclipse feature licenses to mention embedded jar files licences.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146248
Xavier Ducrohet [Tue, 14 Apr 2009 23:49:53 +0000 (16:49 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Tue, 14 Apr 2009 23:48:35 +0000 (16:48 -0700)]
AI 146247: am: CL 146229 Fix aidl error parsing (BUG #
1789273)
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146247
Mike Ritter [Tue, 14 Apr 2009 20:58:45 +0000 (13:58 -0700)]
Merge branch 'readonly-p4-donut' into donut
Mike Ritter [Tue, 14 Apr 2009 20:57:14 +0000 (13:57 -0700)]
AI 146204: am: CL 146203 New .jd files, modified Pdk.mk to fix doxygen </div> bug on line 25 of *-source.html files, removed extraneous SDK examples.
Original author: mritter
Merged from: //branches/cupcake/...
Automated import of CL 146204
Raphael Moll [Tue, 14 Apr 2009 01:50:01 +0000 (18:50 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 14 Apr 2009 01:48:47 +0000 (18:48 -0700)]
AI 146035: am: CL 146034 ADT #
1786173: NPW should not overwritte user-customized path
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146035
Xavier Ducrohet [Tue, 14 Apr 2009 01:41:42 +0000 (18:41 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Tue, 14 Apr 2009 01:40:32 +0000 (18:40 -0700)]
AI 146024: am: CL 146023 Make the add-on implement getPath for IAndroidTarget.SAMPLES (only if the add-on actually has samples) (BUG #
1781751)
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146024
Raphael Moll [Tue, 14 Apr 2009 01:27:59 +0000 (18:27 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 14 Apr 2009 01:26:49 +0000 (18:26 -0700)]
AI 145985: am: CL 145929 ADT #
1781076: fix missing \n in "android delete avd"
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 145985
Raphael Moll [Tue, 14 Apr 2009 01:22:26 +0000 (18:22 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 14 Apr 2009 01:21:16 +0000 (18:21 -0700)]
AI 145983: am: CL 145911 ADT #
1778786: tool to generate stubbed jar file.
This is only a preliminary CL. More will follow but this is
a good start, with the following caveats:
What it does:
- take an input jar, a list of includes, a list of excludes.
- generate actual Java source for the filtered classes.
What it doesn't do yet:
- some more work on filtering inner elements (methods, etc.)
- properly generate inner classes.
- hide synthetic fields.
- some classes body are missing
- directly generate a stubbed bytecode/jar rather than source.
I'll likely want to keep the source generator for debugging
purposes or if we want to integrate with a build system instead.
- classpath will be changed in the final CL to refer to the external
ASM lib rather than the project. I need the source for debugging
rigth now.
- will review comments before submitting.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 145983
Xavier Ducrohet [Mon, 13 Apr 2009 15:27:09 +0000 (08:27 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Mon, 13 Apr 2009 15:25:32 +0000 (08:25 -0700)]
AI 145844: am: CL 145394 Fix 'android create project': it was swapping activity and package names (bug #
1781137)
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 145844
Andy Stadler [Fri, 10 Apr 2009 23:26:02 +0000 (16:26 -0700)]
Merge branch 'readonly-p4-donut' into donut
Andy Stadler [Fri, 10 Apr 2009 23:24:46 +0000 (16:24 -0700)]
AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
Android (Google) Code Review [Fri, 10 Apr 2009 17:48:20 +0000 (10:48 -0700)]
Merge change 69 into donut
* changes:
Added single quotes around the shell command sent to the device. Without the quotes, the shell split the command and the echo statement gets dropped.
Xavier Ducrohet [Fri, 10 Apr 2009 02:42:09 +0000 (19:42 -0700)]
AI 145622: am: CL 145380 Fixes for add-on build
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 145622
Niko Catania [Thu, 9 Apr 2009 23:50:54 +0000 (16:50 -0700)]
Added single quotes around the shell command sent to the device.
Without the quotes, the shell split the command and the echo statement
gets dropped.
Xavier Ducrohet [Thu, 9 Apr 2009 21:45:56 +0000 (14:45 -0700)]
AI 145520: am: CL 145229 Make the mismatch API level/minSdkVersion a warning instead of an error.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 145520
Raphael Moll [Thu, 9 Apr 2009 21:27:04 +0000 (14:27 -0700)]
AI 145487: am: CL 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.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 145487
Raphael Moll [Thu, 9 Apr 2009 21:10:03 +0000 (14:10 -0700)]
AI 145468: am: CL 145083 ADT #
1777728: fix NPE when AVD list is empty
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 145468
Yu Shan Emily Lau [Thu, 9 Apr 2009 20:55:20 +0000 (13:55 -0700)]
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
Raphael Moll [Thu, 9 Apr 2009 20:09:46 +0000 (13:09 -0700)]
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
Raphael Moll [Wed, 8 Apr 2009 20:39:28 +0000 (13:39 -0700)]
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
Xavier Ducrohet [Wed, 8 Apr 2009 20:36:48 +0000 (13:36 -0700)]
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
Xavier Ducrohet [Wed, 8 Apr 2009 20:34:04 +0000 (13:34 -0700)]
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
Xavier Ducrohet [Wed, 8 Apr 2009 20:31:14 +0000 (13:31 -0700)]
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
Brett Chabot [Wed, 8 Apr 2009 20:27:38 +0000 (13:27 -0700)]
AI 145095: am: CL 144902 Fix default src lookup for code coverage.
Original author: brettchabot
Merged from: //branches/cupcake/...
Automated import of CL 145095
Brett Chabot [Wed, 8 Apr 2009 01:35:27 +0000 (18:35 -0700)]
AI 144980: Fix runtest --coverage.
Automated import of CL 144980
Evan Millar [Wed, 8 Apr 2009 00:21:32 +0000 (17:21 -0700)]
AI 144927: Fix throttling in scripted monkeys (bug #
1739843).
BUG=
1739843
Automated import of CL 144927
David Turner [Sun, 5 Apr 2009 21:22:25 +0000 (14:22 -0700)]
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
Xavier Ducrohet [Sat, 4 Apr 2009 00:49:02 +0000 (17:49 -0700)]
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
Xavier Ducrohet [Fri, 3 Apr 2009 23:27:41 +0000 (16:27 -0700)]
AI 144539: am: CL 144533 Reformat JetBoy samples to match code style.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 144539
Jean-Michel Trivi [Fri, 3 Apr 2009 22:03:07 +0000 (15:03 -0700)]
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
Niko Catania [Fri, 3 Apr 2009 21:12:46 +0000 (14:12 -0700)]
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
Raphael Moll [Fri, 3 Apr 2009 20:35:57 +0000 (13:35 -0700)]
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
Raphael Moll [Fri, 3 Apr 2009 20:31:58 +0000 (13:31 -0700)]
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
Xavier Ducrohet [Fri, 3 Apr 2009 05:22:29 +0000 (22:22 -0700)]
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
Mike Lockwood [Fri, 3 Apr 2009 04:41:55 +0000 (21:41 -0700)]
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
Niko Catania [Thu, 2 Apr 2009 23:52:26 +0000 (16:52 -0700)]
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
Eric Fischer [Thu, 2 Apr 2009 23:42:12 +0000 (16:42 -0700)]
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
Brett Chabot [Thu, 2 Apr 2009 22:37:39 +0000 (15:37 -0700)]
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
Raphael Moll [Thu, 2 Apr 2009 20:42:45 +0000 (13:42 -0700)]
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
Brett Chabot [Thu, 2 Apr 2009 18:52:48 +0000 (11:52 -0700)]
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
Xavier Ducrohet [Thu, 2 Apr 2009 18:36:53 +0000 (11:36 -0700)]
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
Mike Ritter [Thu, 2 Apr 2009 08:26:29 +0000 (01:26 -0700)]
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
Raphael Moll [Wed, 1 Apr 2009 19:30:50 +0000 (12:30 -0700)]
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
Brett Chabot [Wed, 1 Apr 2009 02:15:42 +0000 (19:15 -0700)]
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
Raphael Moll [Wed, 1 Apr 2009 00:27:19 +0000 (17:27 -0700)]
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
Raphael Moll [Wed, 1 Apr 2009 00:23:46 +0000 (17:23 -0700)]
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
Raphael Moll [Wed, 1 Apr 2009 00:19:15 +0000 (17:19 -0700)]
AI 143879: am: CL 143876 Include hprof-conv in SDK (bug #
1640225)
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 143879
Jeffrey Sharkey [Tue, 31 Mar 2009 23:58:03 +0000 (16:58 -0700)]
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
Brett Chabot [Tue, 31 Mar 2009 22:19:13 +0000 (15:19 -0700)]
AI 143819: am: CL 143765 Rename tests.xml to test_defs.xml
Original author: brettchabot
Merged from: //branches/cupcake/...
Automated import of CL 143819
Raphael Moll [Tue, 31 Mar 2009 22:10:16 +0000 (15:10 -0700)]
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
Yu Shan Emily Lau [Tue, 31 Mar 2009 18:25:02 +0000 (11:25 -0700)]
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
Brett Chabot [Tue, 31 Mar 2009 18:14:05 +0000 (11:14 -0700)]
AI 143688: am: CL 143562 Usability fixes for runtest.py
Original author: brettchabot
Merged from: //branches/cupcake/...
Automated import of CL 143688
Xavier Ducrohet [Tue, 31 Mar 2009 18:02:33 +0000 (11:02 -0700)]
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