Commit Graph

90 Commits

Author SHA1 Message Date
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
Raphael Moll
66c0d68c53 AI 143304: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143304
2009-03-27 17:54:21 -07:00
Raphael Moll
9350fdf467 AI 143303: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143303
2009-03-27 17:53:01 -07:00
Raphael Moll
11d34ff88b Automated import from //branches/master/...@142745,142745 2009-03-25 15:57:47 -07:00
Raphael Moll
1de6b8b355 Automated import from //branches/master/...@142744,142744 2009-03-25 15:56:43 -07:00
Raphael Moll
e8c4a0d267 Automated import from //branches/master/...@142743,142743 2009-03-25 15:55:29 -07:00
Jack Palevich
84040fdc35 Automated import from //branches/master/...@142658,142658 2009-03-25 15:16:49 -07:00
Jean-Baptiste Queru
670bde6ff0 Automated import from //branches/master/...@142574,142574 2009-03-25 15:05:49 -07:00
Fred Quintana
71136fdbaf Automated import from //branches/master/...@142414,142414 2009-03-24 22:48:10 -07:00
Raphael Moll
8652fb4175 Automated import from //branches/master/...@142292,142292 2009-03-24 22:30:00 -07:00
Raphael Moll
c9c303f28e Automated import from //branches/master/...@142288,142288 2009-03-24 22:29:25 -07:00