OSDN Git Service

android-x86/ndk.git
14 years agoMerge change 26604 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 17:38:42 +0000 (13:38 -0400)]
Merge change 26604 into eclair

* changes:
  Fix the simulator. libhardware now needs a property named "default" to be set to the value "default", otherwise it won't fall back to the default implementation for a module.

14 years agoMerge change 26490 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 17:33:35 +0000 (13:33 -0400)]
Merge change 26490 into eclair

* changes:
  Fix possible NPE in DDMS plugin init.

14 years agoFix the simulator. libhardware now needs a property named "default" to be set to...
Marco Nelissen [Wed, 23 Sep 2009 16:52:22 +0000 (09:52 -0700)]
Fix the simulator. libhardware now needs a property named "default" to be set to the value "default", otherwise it won't fall back to the default implementation for a module.

14 years agoFix possible NPE in DDMS plugin init.
Xavier Ducrohet [Wed, 23 Sep 2009 00:06:31 +0000 (17:06 -0700)]
Fix possible NPE in DDMS plugin init.

Change-Id: Ie1649b319948514473e11c27b4ad126ffe2d40ef

14 years agoMerge change 26495 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 03:24:32 +0000 (23:24 -0400)]
Merge change 26495 into eclair

* changes:
  Disable menu items based on device/app selection.

14 years agoMerge change 26521 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 03:06:48 +0000 (23:06 -0400)]
Merge change 26521 into eclair

* changes:
  Force update to the next plugin.

14 years agoCreate Density based resource values when needed.
Xavier Ducrohet [Wed, 23 Sep 2009 01:32:17 +0000 (18:32 -0700)]
Create Density based resource values when needed.

This will let the layoutlib know when to scale bitmaps
that are not in the native density of the rendering.

Change-Id: I08c99666460b5b5a3ed8d0aac7fa1b7c0136fd6b

14 years agoMerge change 26471 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 02:40:48 +0000 (22:40 -0400)]
Merge change 26471 into eclair

* changes:
  Fix the qualifier match algorithm.

14 years agoForce update to the next plugin.
Xavier Ducrohet [Wed, 23 Sep 2009 01:45:44 +0000 (18:45 -0700)]
Force update to the next plugin.

Change-Id: I2f1042a087ca6227396a41d23eed26525fbbbbf6

14 years agoDisable menu items based on device/app selection.
Xavier Ducrohet [Wed, 23 Sep 2009 00:38:24 +0000 (17:38 -0700)]
Disable menu items based on device/app selection.

Change-Id: I78572430c68f2c1952a118814d4b467182004e23

14 years agoAdd legacy support for application.package property
Piotr Gurgul [Wed, 23 Sep 2009 00:28:26 +0000 (17:28 -0700)]
Add legacy support for application.package property

application.package in android_rules.xml and android_test_rules.xml has been
replaced by manifest.package which value is taken from AndroidManifest.xml.
This is because old versions of build.properties contain already
application.package property which has precedence over the extracted one
and overrides it.

Change-Id: I909e145926169922ec6ec0e179ad88c413aa85b2

14 years agoFix the qualifier match algorithm.
Xavier Ducrohet [Tue, 22 Sep 2009 22:04:35 +0000 (15:04 -0700)]
Fix the qualifier match algorithm.

Add proper support for density and keyboard state match.

Change-Id: I410aba52ee0f0d9df31fa2abdc9485054595263f

14 years agoMerge change 26441 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 21:57:40 +0000 (17:57 -0400)]
Merge change 26441 into eclair

* changes:
  Add support for Keyboard state "Soft"

14 years agoMerge change 26440 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 21:21:05 +0000 (17:21 -0400)]
Merge change 26440 into eclair

* changes:
  Add auto-generated tested.project.dir property

14 years agoMerge change 26436 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 21:18:17 +0000 (17:18 -0400)]
Merge change 26436 into eclair

* changes:
  Add a new skin to the SDK.

14 years agoAdd support for Keyboard state "Soft"
Xavier Ducrohet [Tue, 22 Sep 2009 21:16:26 +0000 (14:16 -0700)]
Add support for Keyboard state "Soft"

Change-Id: Ief65b3988973fb3b3d9edbbb99df9354ffe85663

14 years agoAdd auto-generated tested.project.dir property
Piotr Gurgul [Tue, 22 Sep 2009 20:58:28 +0000 (13:58 -0700)]
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.

14 years agoAdd a new skin to the SDK.
Xavier Ducrohet [Tue, 22 Sep 2009 20:51:14 +0000 (13:51 -0700)]
Add a new skin to the SDK.

Change-Id: I988a5a4bf372c0f8608facf64314ada1e9ee791e

14 years agoMerge change 26329 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 18:44:28 +0000 (14:44 -0400)]
Merge change 26329 into eclair

* changes:
  Distinguish jar folders and jar files in ApkBuilder script

14 years agoDistinguish jar folders and jar files in ApkBuilder script
Piotr Gurgul [Tue, 22 Sep 2009 04:02:00 +0000 (21:02 -0700)]
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.

14 years agoAdd automatic application package extraction from manifest
Piotr Gurgul [Tue, 22 Sep 2009 04:40:15 +0000 (21:40 -0700)]
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.

14 years agoMerge change 26298 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 02:32:55 +0000 (22:32 -0400)]
Merge change 26298 into eclair

* changes:
  Add build path info to runtest --list_tests

14 years agoAdd build path info to runtest --list_tests
Brett Chabot [Tue, 22 Sep 2009 00:48:26 +0000 (17:48 -0700)]
Add build path info to runtest --list_tests

BUG 2133198

14 years agoMerge change 26291 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 00:42:14 +0000 (20:42 -0400)]
Merge change 26291 into eclair

* changes:
  Update the SDK/AVD manager toolbar icon tooltip to be consistent.

14 years agoMerge change 26292 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 00:31:08 +0000 (20:31 -0400)]
Merge change 26292 into eclair

* changes:
  Increase reusability of zipalign macrodef

14 years agoIncrease reusability of zipalign macrodef
Piotr Gurgul [Tue, 22 Sep 2009 00:22:34 +0000 (17:22 -0700)]
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.

14 years agoMerge change 26277 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 00:22:27 +0000 (20:22 -0400)]
Merge change 26277 into eclair

* changes:
  Add an XPath Ant task to be used in the android_rules.xml file.

14 years agoUpdate the SDK/AVD manager toolbar icon tooltip to be consistent.
Xavier Ducrohet [Tue, 22 Sep 2009 00:20:48 +0000 (17:20 -0700)]
Update the SDK/AVD manager toolbar icon tooltip to be consistent.

Change-Id: Ie4c98537035e11543dd22b870880d52506ca1b99

14 years agoAdd global verbosity control for SDK ant targets
Piotr Gurgul [Thu, 17 Sep 2009 23:59:28 +0000 (16:59 -0700)]
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.

14 years agoAdd an XPath Ant task to be used in the android_rules.xml file.
Xavier Ducrohet [Mon, 21 Sep 2009 23:10:37 +0000 (16:10 -0700)]
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" />

14 years agorenaming setJavaClassName to setPluginStubJavaClassName
Derek Sollenberger [Mon, 21 Sep 2009 13:15:38 +0000 (09:15 -0400)]
renaming setJavaClassName to setPluginStubJavaClassName

Change-Id: I1a962ed93e27615611a248b8791d3392ba36df1e

14 years agoMerge change 25854 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 18:58:41 +0000 (14:58 -0400)]
Merge change 25854 into eclair

* changes:
  Add UUID intent to BluetoothDebug app.

14 years agoMerge change 25645 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 07:01:15 +0000 (03:01 -0400)]
Merge change 25645 into eclair

* changes:
  Fix the skins to do proper dpad rotation in landscape mode.

14 years agoAdd UUID intent to BluetoothDebug app.
Jaikumar Ganesh [Fri, 18 Sep 2009 23:08:18 +0000 (16:08 -0700)]
Add UUID intent to BluetoothDebug app.

Change-Id: If1198f4f03eb261afe29f4c363924033aa49a477

14 years agoMerge change 25692 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 03:01:49 +0000 (23:01 -0400)]
Merge change 25692 into eclair

* changes:
  Fix a bug in processing jarfolders in ApkBuilder

14 years agoFix a bug in processing jarfolders in ApkBuilder
Piotr Gurgul [Fri, 18 Sep 2009 02:42:01 +0000 (19:42 -0700)]
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

14 years agoFix the skins to do proper dpad rotation in landscape mode.
David 'Digit' Turner [Fri, 18 Sep 2009 00:19:09 +0000 (17:19 -0700)]
Fix the skins to do proper dpad rotation in landscape mode.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:27:17 +0000 (14:27 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoMerge change 25538 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 20:01:19 +0000 (16:01 -0400)]
Merge change 25538 into eclair

* changes:
  Do not install libsampleplugin by default.

14 years agoMerge change 25340 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 19:23:23 +0000 (15:23 -0400)]
Merge change 25340 into eclair

* changes:
  Specify emma dump file location on the device explicitly

14 years agoDo not install libsampleplugin by default.
Patrick Scott [Thu, 17 Sep 2009 19:06:19 +0000 (15:06 -0400)]
Do not install libsampleplugin by default.

This avoids installing the library during a normal build. When building
SampleBrowserPlugin, the library will be packaged in the apk.

14 years agoMerge change 25229 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 00:11:48 +0000 (20:11 -0400)]
Merge change 25229 into eclair

* changes:
  Add support for new framebuffer protocol over adb.

14 years agoSpecify emma dump file location on the device explicitly
Piotr Gurgul [Wed, 16 Sep 2009 20:29:07 +0000 (13:29 -0700)]
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.

14 years agoAdd support for new framebuffer protocol over adb.
Xavier Ducrohet [Wed, 16 Sep 2009 03:09:08 +0000 (20:09 -0700)]
Add support for new framebuffer protocol over adb.

This is backward compatible with the original protocol.

Change-Id: I93e811cb7775a10af82e70f31ae66d4cd74636b5

14 years agoMerge change 25298 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 19:04:27 +0000 (15:04 -0400)]
Merge change 25298 into eclair

* changes:
  Clean up temporary files after generating coverage report

14 years agoMerge change 25165 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 18:23:10 +0000 (14:23 -0400)]
Merge change 25165 into eclair

* changes:
  Remove IM from code coverage targets.

14 years agoClean up temporary files after generating coverage report
Piotr Gurgul [Wed, 16 Sep 2009 17:43:19 +0000 (10:43 -0700)]
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.

14 years agoMerge change 25093 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:17:14 +0000 (22:17 -0400)]
Merge change 25093 into eclair

* changes:
  Added new telephony unittest target.

14 years agoMerge change 24203 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:03:26 +0000 (20:03 -0400)]
Merge change 24203 into eclair

* changes:
  Updating samplePlugin to use java surface views.

14 years agoMerge change 23489 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:03:09 +0000 (20:03 -0400)]
Merge change 23489 into eclair

* changes:
  adding support for plugins to use the java view system.

14 years agoMerge change 25163 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:01:49 +0000 (20:01 -0400)]
Merge change 25163 into eclair

* changes:
  Replace -no-sign and -debug-sign with macrodef attribute

14 years agoRemove IM from code coverage targets.
Brett Chabot [Tue, 15 Sep 2009 23:56:37 +0000 (16:56 -0700)]
Remove IM from code coverage targets.

Necessary since IM is no longer part of the Android source tree.

14 years agoReplace -no-sign and -debug-sign with macrodef attribute
Piotr Gurgul [Tue, 15 Sep 2009 23:38:40 +0000 (16:38 -0700)]
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.

14 years agoMerge change 25140 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 23:40:06 +0000 (19:40 -0400)]
Merge change 25140 into eclair

* changes:
  Add 64bit SWT to Mac SDK build.

14 years agoUpdating samplePlugin to use java surface views.
Derek Sollenberger [Tue, 8 Sep 2009 22:36:29 +0000 (18:36 -0400)]
Updating samplePlugin to use java surface views.

Change-Id: I1b925ce3a6aeb0bd5464a7d5711449029944d7de

14 years agoadding support for plugins to use the java view system.
Derek Sollenberger [Tue, 1 Sep 2009 20:27:31 +0000 (16:27 -0400)]
adding support for plugins to use the java view system.

Change-Id: I7305300dfc09e3e0968a1e61c21a6a2cdb983594

14 years agoMerge change 25008 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 22:58:34 +0000 (18:58 -0400)]
Merge change 25008 into eclair

* changes:
  Reorganize android_rules and android_test_rules

14 years agoMerge change 24918 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 22:50:59 +0000 (18:50 -0400)]
Merge change 24918 into eclair

* changes:
  Put back support for hardware.ini at the top level of an add-on.

14 years agoAdd 64bit SWT to Mac SDK build.
Xavier Ducrohet [Tue, 15 Sep 2009 22:45:19 +0000 (15:45 -0700)]
Add 64bit SWT to Mac SDK build.

Change-Id: Ie30153644733d5a22453eea2c66551e4aaa03316

14 years agoReorganize android_rules and android_test_rules
Piotr Gurgul [Tue, 15 Sep 2009 03:42:13 +0000 (20:42 -0700)]
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.

14 years agoAdded new telephony unittest target.
Nicolas Catania [Tue, 15 Sep 2009 02:06:34 +0000 (19:06 -0700)]
Added new telephony unittest target.

14 years agoMerge change 24989 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 03:57:59 +0000 (23:57 -0400)]
Merge change 24989 into eclair

* changes:
   modified:   src/com/android/commands/monkey/MonkeySourceScript.java Added the long press keyword and event.

14 years ago modified: src/com/android/commands/monkey/MonkeySourceScript.java
Yu Shan Emily Lau [Tue, 15 Sep 2009 01:41:05 +0000 (18:41 -0700)]
modified:   src/com/android/commands/monkey/MonkeySourceScript.java
Added the long press keyword and event.

modified:   src/com/android/commands/monkey/MonkeySourceScript.java

modified:   src/com/android/commands/monkey/MonkeySourceScript.java

modified:   src/com/android/commands/monkey/MonkeySourceScript.java

14 years agoMerge change 24944 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 00:13:32 +0000 (20:13 -0400)]
Merge change 24944 into eclair

* changes:
  SDK Updater: fix wrong error when unable to get repository.xml

14 years agoMerge change 24650 into eclair
Android (Google) Code Review [Mon, 14 Sep 2009 22:48:55 +0000 (18:48 -0400)]
Merge change 24650 into eclair

* changes:
  Add <jarfile> tag to ApkBuilder ant task

14 years agoSDK Updater: fix wrong error when unable to get repository.xml
Raphael [Mon, 14 Sep 2009 22:24:47 +0000 (15:24 -0700)]
SDK Updater: fix wrong error when unable to get repository.xml

BUG 2095530

Change-Id: I19622378b8da049f1c3416b8e0951ecc1f7475f0

14 years agoAdd <jarfile> tag to ApkBuilder ant task
Android (Google) Code Review [Thu, 10 Sep 2009 19:53:38 +0000 (15:53 -0400)]
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

14 years agoPut back support for hardware.ini at the top level of an add-on.
Xavier Ducrohet [Mon, 14 Sep 2009 21:14:09 +0000 (14:14 -0700)]
Put back support for hardware.ini at the top level of an add-on.

Change-Id: Ifb4e567e69f0f5e6ffde8f98c636336cf1289e42

14 years agoAdd BluetoothDebug.apk for testing and debugging Bluetooth.
Nick Pelly [Fri, 11 Sep 2009 02:14:41 +0000 (19:14 -0700)]
Add BluetoothDebug.apk for testing and debugging Bluetooth.

Currently it just registers a receiver for all Bluetooth intents,
and prints them to logcat. For example:

BTDEBUG : a.b.device.a.FOUND
BTDEBUG :  a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG :  a.b.device.e.RSSI = -35
BTDEBUG :  a.b.device.e.CLASS = 200404
BTDEBUG : a.b.adapter.a.DISCOVERY_FINISHED
BTDEBUG : a.b.device.a.BOND_STATE_CHANGED
BTDEBUG :  a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG :  a.b.device.e.BOND_STATE = 11
BTDEBUG :  a.b.device.e.PREVIOUS_BOND_STATE = 10
BTDEBUG : a.b.device.a.ACL_CONNECTED
BTDEBUG :  a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.a.NAME_CHANGED
BTDEBUG :  a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG :  a.b.device.e.NAME = "HBH-IV840"

This application is built by default, but is not installed. Use

mmm development/apps/BluetoothDebug
adb install -r $OUT/system/app/BluetoothDebug.apk

to install it. Logging will begin immediately.

Change-Id: I582e6415fc1c856a6a4581ecf52eda11818601cf

14 years agoandroid tool: support --target symbolic target names
Raphael [Thu, 10 Sep 2009 22:14:11 +0000 (15:14 -0700)]
android tool: support --target symbolic target names

BUG 2056746

Change-Id: I579e58f7c63cf404cd11af394f41ed7f998593ce

14 years agoMerge change 24289 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 21:31:56 +0000 (17:31 -0400)]
Merge change 24289 into eclair

* changes:
   modified:   MonkeySourceScript.java

14 years ago modified: MonkeySourceScript.java
Yu Shan Emily Lau [Wed, 9 Sep 2009 01:36:50 +0000 (18:36 -0700)]
modified:   MonkeySourceScript.java

14 years agoMerge change 24500 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 20:35:13 +0000 (16:35 -0400)]
Merge change 24500 into eclair

* changes:
  ADT GLE: support multiple selection and alternate selection.

14 years agoMerge change 24455 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 19:53:38 +0000 (15:53 -0400)]
Merge change 24455 into eclair

* changes:
  Support for hardware.ini per skin in add-ons.

14 years agoMerge change 24187 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 18:20:43 +0000 (14:20 -0400)]
Merge change 24187 into eclair

* changes:
  add test app for ninepatch drawing

14 years agoadd test app for ninepatch drawing
Mike Reed [Tue, 8 Sep 2009 20:51:30 +0000 (16:51 -0400)]
add test app for ninepatch drawing

14 years agoADT GLE: support multiple selection and alternate selection.
Raphael [Thu, 10 Sep 2009 06:53:01 +0000 (23:53 -0700)]
ADT GLE: support multiple selection and alternate selection.

Change-Id: Ia7ce5fb2365898fdcae73eacbaf6d08b091d7586

14 years agoMerge change 23594 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 02:00:52 +0000 (22:00 -0400)]
Merge change 23594 into eclair

* changes:
  Add ant-based code coverage support to Android SDK

14 years agoAdd ant-based code coverage support to Android SDK
Piotr Gurgul [Wed, 2 Sep 2009 04:58:52 +0000 (21:58 -0700)]
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.

14 years agoSupport for hardware.ini per skin in add-ons.
Xavier Ducrohet [Wed, 9 Sep 2009 23:23:45 +0000 (16:23 -0700)]
Support for hardware.ini per skin in add-ons.

Change-Id: Iab230f09504a7df34faa6a27c121a79ef1ffd603

14 years agoMerge change 23595 into eclair
Android (Google) Code Review [Wed, 9 Sep 2009 22:42:18 +0000 (18:42 -0400)]
Merge change 23595 into eclair

* changes:
  fixing NPE that i see on my Mac when running idegen.sh

14 years agoAdd preferences to DDMS (plug-in/standalone) for adb time out.
Xavier Ducrohet [Tue, 8 Sep 2009 21:37:16 +0000 (14:37 -0700)]
Add preferences to DDMS (plug-in/standalone) for adb time out.

Change-Id: Ia48221e33ee5ffae4f381aa29bd99a62b148108e

14 years agoFirst pass at making adb connection timeout configurable.
Xavier Ducrohet [Tue, 8 Sep 2009 20:41:36 +0000 (13:41 -0700)]
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

14 years agoGLE: remove mcc/mnc, add clipping support.
Xavier Ducrohet [Sat, 22 Aug 2009 00:38:25 +0000 (17:38 -0700)]
GLE: remove mcc/mnc, add clipping support.

Change-Id: I9fc2ee167436ba234c6f09b1635f45b34b461c2e

14 years agoADT: Display selection and mouse hover in GLE canvas.
Raphael [Sat, 5 Sep 2009 00:56:59 +0000 (17:56 -0700)]
ADT: Display selection and mouse hover in GLE canvas.

Change-Id: Icc2f8331a099905d6e1aaa52b36cc17a7190cc4b

14 years agoMerge change 24047 into eclair
Android (Google) Code Review [Sat, 5 Sep 2009 00:56:34 +0000 (17:56 -0700)]
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.

14 years agoADT: fix an NPE that can happen when an XML file resource is being
Raphael [Sat, 5 Sep 2009 00:14:37 +0000 (17:14 -0700)]
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

14 years agoMerge change 24031 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 23:36:27 +0000 (16:36 -0700)]
Merge change 24031 into eclair

* changes:
  Update revision of the tools source.properties file.

14 years agoUpdate revision of the tools source.properties file.
Xavier Ducrohet [Fri, 4 Sep 2009 22:26:39 +0000 (15:26 -0700)]
Update revision of the tools source.properties file.

Change-Id: I02d257baf1e28ee02db262ba4772645002ea0020

14 years agoMerge change 23909 into eclair
Android (Google) Code Review [Fri, 4 Sep 2009 21:11:50 +0000 (14:11 -0700)]
Merge change 23909 into eclair

* changes:
  Add ddms support for contacts.

14 years agoAdd ddms support for contacts.
Ken Shirriff [Thu, 3 Sep 2009 22:26:40 +0000 (15:26 -0700)]
Add ddms support for contacts.

Support the new contacts authname and the aggregation event.

14 years agoAdd method profiling support to DDMS.
Xavier Ducrohet [Thu, 3 Sep 2009 03:06:08 +0000 (20:06 -0700)]
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

14 years agoMerge change 23740 into eclair
Android (Google) Code Review [Thu, 3 Sep 2009 03:18:12 +0000 (20:18 -0700)]
Merge change 23740 into eclair

* changes:
  Add support for opening HPROF files in Eclipse.

14 years agoAdd support for opening HPROF files in Eclipse.
Xavier Ducrohet [Thu, 3 Sep 2009 00:28:50 +0000 (17:28 -0700)]
Add support for opening HPROF files in Eclipse.

The action taken on successful HPROF dump can now be configured from
the plug-in preference to be either "save to disk" or "open in eclipse".

If a plug-in supporting .hprof files (such as Eclipse Memory Analyzer Tool)
is present then the file will just be opened in the tool.

"save to disk" does not convert the file, "open in eclipse" does convert
the hprof file (using hprof-conv present in the SDK)

Change-Id: Iceb347abb2af5a2979b6028c22dcbdc3bc7250ca

14 years agoMake DDMS log way less verbose.
Xavier Ducrohet [Thu, 3 Sep 2009 01:03:01 +0000 (18:03 -0700)]
Make DDMS log way less verbose.

All the Log.i() calls were in fact debug logging, so I moved them
to Log.d()

Change-Id: I47b9cd8e85e630d61506c8c2df3baf245a706e03

14 years agoSDK Updter: change window title to match ADT
Raphael [Wed, 2 Sep 2009 22:01:18 +0000 (15:01 -0700)]
SDK Updter: change window title to match ADT

Also change the name displayed by the "android" wrapping scripts.

Change-Id: I663e1dcadfef7caf2e42138e39b1237f08091c77

14 years agoMerge change 23664 into eclair
Android (Google) Code Review [Wed, 2 Sep 2009 21:19:07 +0000 (14:19 -0700)]
Merge change 23664 into eclair

* changes:
  Add ContactsProvider tests to runtest as 'contactsprov'

14 years agoAdd ContactsProvider tests to runtest as 'contactsprov'
Omari Stephens [Wed, 2 Sep 2009 20:01:11 +0000 (13:01 -0700)]
Add ContactsProvider tests to runtest as 'contactsprov'

Also, move GoogleContactsProvider tests from 'contactsprov' to 'gcontactsprov'
Finally, switch the gcontactsprov test to the right coverage class

14 years agoADT GLE: change error display to a separate sash.
Raphael [Wed, 2 Sep 2009 19:35:21 +0000 (12:35 -0700)]
ADT GLE: change error display to a separate sash.

This allows GEP to display both the latest error and the latest
successful rendering. The error still needs an icon and the
canvas will need to be grayed or something.

Also the LayoutCanvas will directly use the ILayoutResult and we
won't need to custom EditData in UiElementNode so the correspond
method is @deprecated (but obviously still supported for GLE1.)

Change-Id: Ia3afed836755dbd84a4511eaed0782c85a383ac9

14 years agoMerge change 23640 into eclair
Android (Google) Code Review [Wed, 2 Sep 2009 18:17:32 +0000 (11:17 -0700)]
Merge change 23640 into eclair

* changes:
  Remove unused git files.