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
ID when selecting a string reference.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 144490
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
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
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
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
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
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
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
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
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
+ 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
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
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
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
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
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