Commit Graph

916 Commits

Author SHA1 Message Date
Android (Google) Code Review
dd9683a824 Merge change 26441 into eclair
* changes:
  Add support for Keyboard state "Soft"
2009-09-22 17:57:40 -04:00
Android (Google) Code Review
07fc39edda Merge change 26440 into eclair
* changes:
  Add auto-generated tested.project.dir property
2009-09-22 17:21:05 -04:00
Xavier Ducrohet
14fff84f14 Add support for Keyboard state "Soft"
Change-Id: Ief65b3988973fb3b3d9edbbb99df9354ffe85663
2009-09-22 14:16:26 -07:00
Piotr Gurgul
28265ed42f Add auto-generated tested.project.dir property
Adds tested.project.dir=".." to ProjectDir/tests/build.properties in order
to indicate automatically that this is a test project and point the
tested project directory.
2009-09-22 13:58:28 -07:00
Android (Google) Code Review
36ee5dafd0 Merge change 26329 into eclair
* changes:
  Distinguish jar folders and jar files in ApkBuilder script
2009-09-22 14:44:28 -04:00
Piotr Gurgul
666d24cc3c Distinguish jar folders and jar files in ApkBuilder script
Checking if -rj parameter value is a directory or a file
and calling the appropriate function for each of them.
2009-09-22 11:28:43 -07:00
Piotr Gurgul
3cbe2b7943 Add automatic application package extraction from manifest
Automatic extraction of the application.package property has been added
leveradging xpath ant task. This reduces redundancy, removes hardcoded
application.package and solves bug with uninstalling test application
package. In order to function properly needs removing application.package
from build.properties file.
2009-09-21 21:44:00 -07:00
Android (Google) Code Review
27e73ec55b Merge change 26291 into eclair
* changes:
  Update the SDK/AVD manager toolbar icon tooltip to be consistent.
2009-09-21 20:42:14 -04:00
Android (Google) Code Review
6440b667b0 Merge change 26292 into eclair
* changes:
  Increase reusability of zipalign macrodef
2009-09-21 20:31:08 -04:00
Piotr Gurgul
9a73cd9add Increase reusability of zipalign macrodef
debug-helper macro has been renamed to zipalign-helper to reflect better its
function. Two parameters for input and output packages have been introduced.
Macro has been additionally leveradged in 'release' target where zipalign
was previously called directly, duplicating the code.
2009-09-21 17:22:34 -07:00
Android (Google) Code Review
303d694863 Merge change 26277 into eclair
* changes:
  Add an XPath Ant task to be used in the android_rules.xml file.
2009-09-21 20:22:27 -04:00
Xavier Ducrohet
54bc097702 Update the SDK/AVD manager toolbar icon tooltip to be consistent.
Change-Id: Ie4c98537035e11543dd22b870880d52506ca1b99
2009-09-21 17:20:48 -07:00
Piotr Gurgul
fddd720cf2 Add global verbosity control for SDK ant targets
The user-configurable property 'verbose' has been introduced. It is set by
default to 'false' and switching in on enables verbose mode for all the
intermediate steps for a given target.
2009-09-21 16:33:30 -07:00
Xavier Ducrohet
f8caa29838 Add an XPath Ant task to be used in the android_rules.xml file.
This task is designed to run XPath expression targetting Android XML files.
It will handle the Android namespace with the 'android' prefix, and store
the result of the XPath into a property.

Change-Id: I9094f5661d5e1ef86553ee1c54bdeca62366e0cd
classname: XPathTask
classpath: anttasks.jar, sdklib.jar

Usage:
<xpathtask input="path/of/file/to/read" output="name.of.property.to.write"
    expression="/xpath/expression/to/evaluate" />
2009-09-21 16:10:37 -07:00
Android (Google) Code Review
fbc5cc7488 Merge change 25692 into eclair
* changes:
  Fix a bug in processing jarfolders in ApkBuilder
2009-09-17 23:01:49 -04:00
Piotr Gurgul
46ec8be0cb Fix a bug in processing jarfolders in ApkBuilder
Wrong parameter has been passed to the function which resulted
in exception.
http://b/issue?id=2127927
2009-09-17 19:42:01 -07:00
Android (Google) Code Review
13130ae08d Merge change 25340 into eclair
* changes:
  Specify emma dump file location on the device explicitly
2009-09-17 15:23:23 -04:00
Android (Google) Code Review
8399a2bf6d Merge change 25229 into eclair
* changes:
  Add support for new framebuffer protocol over adb.
2009-09-16 20:11:48 -04:00
Piotr Gurgul
089585b7c6 Specify emma dump file location on the device explicitly
This is to avoid using default location for the emma dump file (coverage.ec)
which is generated on the device. Pointing out the custom location (which
for now is the same as the default one) is more straightforward and
will be important if the default location changes in the future.
2009-09-16 16:32:57 -07:00
Xavier Ducrohet
7b88b7525b Add support for new framebuffer protocol over adb.
This is backward compatible with the original protocol.

Change-Id: I93e811cb7775a10af82e70f31ae66d4cd74636b5
2009-09-16 16:30:50 -07:00
Piotr Gurgul
aead155ef2 Clean up temporary files after generating coverage report
After generating coverage report instrumentation.dir and files coverage.ec
and coverage.em are being deleted. As Emma treats both files incrementally,
running 'ant coverage' in the project with these files already existing
may produce unexpected results.
2009-09-16 10:43:19 -07:00
Piotr Gurgul
519e10746d Replace -no-sign and -debug-sign with macrodef attribute
Instead of setting property indicating if package should be signed
with debug key in separate targets, this information is being passed
as a package-helper macrodef parameter.
2009-09-15 16:46:21 -07:00
Android (Google) Code Review
b57c64fa71 Merge change 25008 into eclair
* changes:
  Reorganize android_rules and android_test_rules
2009-09-15 18:58:34 -04:00
Android (Google) Code Review
28e5f75c74 Merge change 24918 into eclair
* changes:
  Put back support for hardware.ini at the top level of an add-on.
2009-09-15 18:50:59 -04:00
Piotr Gurgul
05bf40edec Reorganize android_rules and android_test_rules
Instrumentation-related targets have been moved from android_test_rules to
android_rules for better consistency. Chain of target dependencies has
been modified in order to make it more natural.
2009-09-15 14:55:32 -07:00
Android (Google) Code Review
973def409f Merge change 24944 into eclair
* changes:
  SDK Updater: fix wrong error when unable to get repository.xml
2009-09-14 20:13:32 -04:00
Android (Google) Code Review
e336525b21 Merge change 24650 into eclair
* changes:
  Add <jarfile> tag to ApkBuilder ant task
2009-09-14 18:48:55 -04:00
Raphael
8151879a7d SDK Updater: fix wrong error when unable to get repository.xml
BUG 2095530

Change-Id: I19622378b8da049f1c3416b8e0951ecc1f7475f0
2009-09-14 15:35:54 -07:00
Android (Google) Code Review
3c8abc50a0 Add <jarfile> tag to ApkBuilder ant task
ApkBuilder ant task accepts now the new tag - <jarfile>, used for passing
emma_device.jar to ApkBuilder.

Change-Id: I1757d265609406bc06da370ab0204018a4c8fc4d
2009-09-14 14:44:54 -07:00
Xavier Ducrohet
80c767f761 Put back support for hardware.ini at the top level of an add-on.
Change-Id: Ifb4e567e69f0f5e6ffde8f98c636336cf1289e42
2009-09-14 14:14:09 -07:00
Raphael
2196fd0317 android tool: support --target symbolic target names
BUG 2056746

Change-Id: I579e58f7c63cf404cd11af394f41ed7f998593ce
2009-09-10 16:06:32 -07:00
Android (Google) Code Review
5d0e8840cd Merge change 24500 into eclair
* changes:
  ADT GLE: support multiple selection and alternate selection.
2009-09-10 16:35:13 -04:00
Android (Google) Code Review
1d2a56bb21 Merge change 24455 into eclair
* changes:
  Support for hardware.ini per skin in add-ons.
2009-09-10 15:53:38 -04:00
Raphael
fc033f2836 ADT GLE: support multiple selection and alternate selection.
Change-Id: Ia7ce5fb2365898fdcae73eacbaf6d08b091d7586
2009-09-09 23:53:01 -07:00
Android (Google) Code Review
f4c4102ca9 Merge change 23594 into eclair
* changes:
  Add ant-based code coverage support to Android SDK
2009-09-09 22:00:52 -04:00
Piotr Gurgul
6edb5a108e Add ant-based code coverage support to Android SDK
Target 'run-tests' launches all the unit tests against the tested project.
Target 'coverage' emma-instruments the tested project's classes,
runs the tests against instrumented classes, collects code coverage data
and extracts it to human-readable form as report.html.
android_test_rules.xml contain additional rules for test projects.
Test projects are auto-recognized by presence of the tested.project.dir
property, which will be auto-generated for tests projects. Temporarily,
please add this property manually to the build.properties file.
Current version is mainly tested with default, android generated test projects.
This version includes also fixing relative to absolute paths for
properties which are most likely to be changed by user in external
property file.
2009-09-09 18:32:03 -07:00
Xavier Ducrohet
e17ff22563 Support for hardware.ini per skin in add-ons.
Change-Id: Iab230f09504a7df34faa6a27c121a79ef1ffd603
2009-09-09 16:25:44 -07:00
Android (Google) Code Review
e8bb54b5b7 Merge change 23595 into eclair
* changes:
  fixing NPE that i see on my Mac when running idegen.sh
2009-09-09 18:42:18 -04:00
Xavier Ducrohet
171125f678 Add preferences to DDMS (plug-in/standalone) for adb time out.
Change-Id: Ia48221e33ee5ffae4f381aa29bd99a62b148108e
2009-09-08 14:44:02 -07:00
Xavier Ducrohet
2589180d6d First pass at making adb connection timeout configurable.
ddmlib has its own preference class, so the timeout will be read from there.

Change-Id: Id492372caceca0ee2c38bcfa7423bd40d20d5648
2009-09-08 13:45:23 -07:00
Xavier Ducrohet
2cc9724024 GLE: remove mcc/mnc, add clipping support.
Change-Id: I9fc2ee167436ba234c6f09b1635f45b34b461c2e
2009-09-08 11:27:56 -07:00
Raphael
9135db1149 ADT: Display selection and mouse hover in GLE canvas.
Change-Id: Icc2f8331a099905d6e1aaa52b36cc17a7190cc4b
2009-09-04 17:59:56 -07:00
Android (Google) Code Review
0eb96d6433 Merge change 24047 into eclair
* changes:
  ADT: fix an NPE that can happen when an XML file resource is being refreshed by Eclipse whilst the SDK is not finished loading.
2009-09-04 17:56:34 -07:00
Raphael
6e1ee87955 ADT: fix an NPE that can happen when an XML file resource is being
refreshed by Eclipse whilst the SDK is not finished loading.

Change-Id: I970255925d98f7b84a726fa37bf1fef3d25ab520
2009-09-04 17:14:37 -07:00
Android (Google) Code Review
0b8d690837 Merge change 24031 into eclair
* changes:
  Update revision of the tools source.properties file.
2009-09-04 16:36:27 -07:00
Xavier Ducrohet
76140555b0 Update revision of the tools source.properties file.
Change-Id: I02d257baf1e28ee02db262ba4772645002ea0020
2009-09-04 15:26:39 -07:00
Android (Google) Code Review
1c3a3c3a61 Merge change 23909 into eclair
* changes:
  Add ddms support for contacts.
2009-09-04 14:11:50 -07:00
Ken Shirriff
a0b2bacaa4 Add ddms support for contacts.
Support the new contacts authname and the aggregation event.
2009-09-03 17:58:28 -07:00
Xavier Ducrohet
3ce85131be Add method profiling support to DDMS.
New button allows to start/stop tracing. When clicking stop, DDMS downloads
the trace file and starts Traceview.

Also refactored some common parts of the HPROF and tracing handlers into a
common class. The goal is to have a default, extensible implementation
of the HPROF handler that DDMS and the plug-in can reuse. This will reduce
duplicated code.

Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
2009-09-03 16:01:27 -07:00
Android (Google) Code Review
2b6f5d17a3 Merge change 23740 into eclair
* changes:
  Add support for opening HPROF files in Eclipse.
2009-09-02 20:18:12 -07:00