OSDN Git Service

android-x86/sdk.git
14 years agoFix error detection for invalid command line arguments.
Raphael Moll [Wed, 19 May 2010 05:37:12 +0000 (07:37 +0200)]
Fix error detection for invalid command line arguments.

This fixes 2 edge cases:
- when an unknown extra parameter is given (it was simply
  ignored before)

  e.g.: "android update sdk foo" => foo is extra.

- when a 1-argument parameter is used and no argument is actually
  given but instead the next dash-parameter is found.

  e.g.: "android update sdk --filter (missing value) --somearg"

Change-Id: Idc34f61728411aceaf1cf33f070ac275b3798019

14 years agoAdd parsing of <uses-configuration> in the manifest.
Xavier Ducrohet [Wed, 19 May 2010 00:30:46 +0000 (17:30 -0700)]
Add parsing of <uses-configuration> in the manifest.

Change-Id: Id6f4b58c5a811b0b7e32b40162c8bd6680f2fc67

14 years agoMerge "Console-based "android update sdk""
Raphael Moll [Tue, 18 May 2010 19:36:13 +0000 (12:36 -0700)]
Merge "Console-based "android update sdk""

14 years agoConsole-based "android update sdk"
Raphael Moll [Tue, 18 May 2010 19:02:31 +0000 (21:02 +0200)]
Console-based "android update sdk"

Known limitations:
- This simulate exactly what the "update sdk" GUI does,
  namely it suggests the latest platform to install and
  updates older packages.
- It respects the default source URLs (e.g. the getenv stuff)
- there are a few options to configure behavior such as
  selecting obsolete packages and a dry-mode.
- As such, this is mostly a one-shot update step and probably
  lacks configuration that a script-based updater would want.

Non-goals:
- No way to specifically request a given package to be installed.
- No way to configure the output (e.g. the install progress might
  be annoying if the output is piped for a script)

SDK Bug 2404640

Change-Id: If0512558f048e88f2b216e34ed33aa550ff2610c

14 years agoUpdate changes.txt for the SDK tools rev 7
Xavier Ducrohet [Tue, 18 May 2010 19:23:39 +0000 (12:23 -0700)]
Update changes.txt for the SDK tools rev 7

Change-Id: I8ed3028a75011cc8218c21673308d072614baa41

14 years agoMerge "move the resource enums from the qualifier classes to sdklib."
Xavier Ducrohet [Tue, 18 May 2010 19:03:26 +0000 (12:03 -0700)]
Merge "move the resource enums from the qualifier classes to sdklib."

14 years agomove the resource enums from the qualifier classes to sdklib.
Xavier Ducrohet [Tue, 18 May 2010 00:04:26 +0000 (17:04 -0700)]
move the resource enums from the qualifier classes to sdklib.

This is so that other code (like the manifest parser) can use them.

Change-Id: I53be59bbe752e77752e90cedb528f25cf3b3792f

14 years agoFix missing @override.
Raphael Moll [Tue, 18 May 2010 06:44:56 +0000 (08:44 +0200)]
Fix missing @override.

Also fixes some javadocs.

Change-Id: Ic2bc0ae1c822f184bde63b29fdc15d897661c623

14 years agoAdd a reboot command to IDevice to allow ddmlib users to reboot devices.
Bill Napier [Mon, 17 May 2010 23:59:29 +0000 (16:59 -0700)]
Add a reboot command to IDevice to allow ddmlib users to reboot devices.

Change-Id: I8f8b792c68ec869980805c06aecf249558c6dc3f

14 years agoRefactor the manifest parser test in the correct package.
Xavier Ducrohet [Mon, 17 May 2010 21:35:48 +0000 (14:35 -0700)]
Refactor the manifest parser test in the correct package.

And don't make it use the Parser Helper that's eclipse specific.

Also fixed the versionCode parsing (bug introduced in previous CL)

Change-Id: Ie472d7d6c4847e3fae660873cca7d71e801a2a34

14 years agoMerge "Fix collect_sources_for_sdk to collect dalvik core lib sources"
Raphael Moll [Mon, 17 May 2010 12:25:57 +0000 (05:25 -0700)]
Merge "Fix collect_sources_for_sdk to collect dalvik core lib sources"

14 years agoMerge "Fix a typo."
Xavier Ducrohet [Fri, 14 May 2010 22:12:35 +0000 (15:12 -0700)]
Merge "Fix a typo."

14 years agoFix a typo.
Xavier Ducrohet [Fri, 14 May 2010 22:08:13 +0000 (15:08 -0700)]
Fix a typo.

Change-Id: I699ee939436964e0c88b7b8423b5ed6fef84add1

14 years agoMinor refactor, moving ManifestData out of the parser class.
Xavier Ducrohet [Thu, 13 May 2010 01:12:52 +0000 (18:12 -0700)]
Minor refactor, moving ManifestData out of the parser class.

Also started added new data parsing (screen support)

Change-Id: I783e973fa16598a777eec4536746e6e5b9cb3e74

14 years agoMerge "Disable --library for 'update lib-project'"
Xavier Ducrohet [Thu, 13 May 2010 23:07:21 +0000 (16:07 -0700)]
Merge "Disable --library for 'update lib-project'"

14 years agoDisable --library for 'update lib-project'
Xavier Ducrohet [Thu, 13 May 2010 23:06:32 +0000 (16:06 -0700)]
Disable --library for 'update lib-project'

Change-Id: I44f612595750ff0b0248f0206456dcf2f53bcf47

14 years agoAdd all new source folders in a single pass in new project wizard.
Xavier Ducrohet [Thu, 13 May 2010 20:59:45 +0000 (13:59 -0700)]
Add all new source folders in a single pass in new project wizard.

Change-Id: Id54bc449a64373b4ad1cb63ec48b72076c387414

14 years agoFix the library project filter to not NPE on broken projects.
Xavier Ducrohet [Thu, 13 May 2010 01:13:36 +0000 (18:13 -0700)]
Fix the library project filter to not NPE on broken projects.

Change-Id: I51ec8f699b631171fcfa92ce8cc658ba1f50e017

14 years agoRefactored the Android Manifest into sdklib.
Xavier Ducrohet [Wed, 12 May 2010 01:05:56 +0000 (18:05 -0700)]
Refactored the Android Manifest into sdklib.

API change to make it use IFileWrapper instead of IFile.

Old AndroidManifestParser changed to AndroidManifestHelper which
is now mostly wrapper methods to add Eclipse specific parameters.

Also moved ADT...AndroidConstants.CLASS_* to sdklib...SdkConstants
(needed by the parser) and removed AndroidConstants.FN_ANDROID_MANIFEST
since SdkConstants.FN_ANDROID_MANIFEST_XML existed too.

Moved the Eclipse implementation of IAbstractFile/Folder

Change-Id: I59bdbe90ba9a4c0b5bb2c4c68945b8877d4eed3d

14 years agoMerge "Fix eclipse download link."
Xavier Ducrohet [Wed, 12 May 2010 04:28:35 +0000 (21:28 -0700)]
Merge "Fix eclipse download link."

14 years agoFix eclipse download link.
Xavier Ducrohet [Wed, 12 May 2010 04:22:07 +0000 (21:22 -0700)]
Fix eclipse download link.

Change-Id: I78bc8810442efb0e78a2fca8c8ddc2e83f2be83d

14 years agoMerge "Add multi-apk export log."
Xavier Ducrohet [Wed, 12 May 2010 02:39:18 +0000 (19:39 -0700)]
Merge "Add multi-apk export log."

14 years agoAdd multi-apk export log.
Xavier Ducrohet [Tue, 11 May 2010 00:29:51 +0000 (17:29 -0700)]
Add multi-apk export log.

The log is used to confirm that new export do not conflict
with previous build. The build file can also be used to set
per-apk minor version code.

Change-Id: Ic5ad98758aa327f6a5bc1d00e66cf5437ac098e4

14 years agoMerge "Add Eclipse project files for ddmlib-tests."
Brett Chabot [Tue, 11 May 2010 19:40:36 +0000 (12:40 -0700)]
Merge "Add Eclipse project files for ddmlib-tests."

14 years agoAdd Eclipse project files for ddmlib-tests.
Brett Chabot [Tue, 11 May 2010 19:35:51 +0000 (12:35 -0700)]
Add Eclipse project files for ddmlib-tests.

Change-Id: I683a47d38d9e87461d53e691c438ffeb2c3f8afa

14 years agoFix collect_sources_for_sdk to collect dalvik core lib sources
Raphael Moll [Tue, 11 May 2010 13:37:52 +0000 (15:37 +0200)]
Fix collect_sources_for_sdk to collect dalvik core lib sources

SDK Bug 2065790

Change-Id: If818f0268e1361d58aaa2bdd7152222cf69f279a

14 years agoOverride local keystore/alias info when using export project to export.
Xavier Ducrohet [Fri, 7 May 2010 23:17:54 +0000 (16:17 -0700)]
Override local keystore/alias info when using export project to export.

Change-Id: If4f188591b8c5154be894fdd1872a182d1b6eadc

14 years agoMerge "ApkBuilderTask is now more lenient with missing libs/ folders."
Xavier Ducrohet [Fri, 7 May 2010 21:02:42 +0000 (14:02 -0700)]
Merge "ApkBuilderTask is now more lenient with missing libs/ folders."

14 years agoApkBuilderTask is now more lenient with missing libs/ folders.
Xavier Ducrohet [Fri, 7 May 2010 20:49:28 +0000 (13:49 -0700)]
ApkBuilderTask is now more lenient with missing libs/ folders.

Change-Id: Ic40c35e7074a91fb40094d3c5e5a605ff1ea2fef

14 years agoMerge "Fix NPE when a library does not have a libs folder."
Xavier Ducrohet [Fri, 7 May 2010 20:05:10 +0000 (13:05 -0700)]
Merge "Fix NPE when a library does not have a libs folder."

14 years agoFix NPE when a library does not have a libs folder.
Xavier Ducrohet [Fri, 7 May 2010 18:01:17 +0000 (11:01 -0700)]
Fix NPE when a library does not have a libs folder.

Change-Id: I382fb659073a8d2df8d018acde37d4769ac40cc0

14 years agomerge from tools_r6
The Android Open Source Project [Fri, 7 May 2010 14:24:20 +0000 (07:24 -0700)]
merge from tools_r6

Change-Id: I8a6773e95a8597a7cdb500e1775245c31530f75d

14 years agoAdd support for code-less project.
Xavier Ducrohet [Fri, 7 May 2010 01:08:46 +0000 (18:08 -0700)]
Add support for code-less project.

Change-Id: I09e8e5b40df3b8da4b34fe4f000e98263ea5bc55

14 years agoDO NOT MERGE: cherry-pick https://review.source.android.com/14536 into tools_r6.
Brett Chabot [Mon, 3 May 2010 19:47:49 +0000 (12:47 -0700)]
DO NOT MERGE: cherry-pick https://review.source.android.com/14536 into tools_r6.

Original commit message:
------------
Attempt to fix intermittent ADT test run failures.

Change the ADT test run steps to be more deterministic:
1) Start the JDT test run listener server side connection before the client
side (this is invokked via the launch.addProcess call)
2) Don't fork off a separate thread to run the tests. This was always
redundant and inefficient anyway, since the AndroidLaunchController already
forks off a thread to perform the launch

Bug 7976

Change-Id: Ie237e7d83e1f5a945a2061506b7c302c04aef8d0

14 years agoDO NOT MERGE: Cherry pick https://review.source.android.com/14514 into tools_r6,
Brett Chabot [Thu, 6 May 2010 00:11:39 +0000 (17:11 -0700)]
DO NOT MERGE: Cherry pick https://review.source.android.com/14514 into tools_r6,

Original commit message is:
-------------------
Add more console logs during ADT test run.

This is intended to give the user more visibility the exact progress of the
test run. And also better notification of failures.

Also tweak the ADT launch action so it reports its terminated when the test
runner thread is no longer active.

Related bug 7976

Change-Id: If6d0fd94930c57750af3f18bec1c8a0a8b4792e9

14 years agoMerge "Add support for using newer Ant rules distributed by the tools."
Xavier Ducrohet [Wed, 5 May 2010 22:58:16 +0000 (15:58 -0700)]
Merge "Add support for using newer Ant rules distributed by the tools."

14 years agoMerge "Move all Ant rules under sdk/files/ant"
Xavier Ducrohet [Wed, 5 May 2010 22:57:58 +0000 (15:57 -0700)]
Merge "Move all Ant rules under sdk/files/ant"

14 years agoMerge "Add support for signing in the multi-apk ant build."
Xavier Ducrohet [Wed, 5 May 2010 22:57:49 +0000 (15:57 -0700)]
Merge "Add support for signing in the multi-apk ant build."

14 years agoAdd support for using newer Ant rules distributed by the tools.
Xavier Ducrohet [Wed, 5 May 2010 22:31:14 +0000 (15:31 -0700)]
Add support for using newer Ant rules distributed by the tools.

Right now, the Ant rules are packaged with each platform. This
is a problem when we want to release newer versions of the rules,
as we would have to respin newer rev for all major platforms just
for that.

The new mechanism has the Ant rules both in the tools folder
and in the platforms. The platform indicates which versions
it supports (support is based on the features of external tools
such as aapt, aidl and dex). The custom tasks can
figure out a newer but still compatible (ie not relying on
newer options in aapt/aidl/dex) version from the tools folder
and then uses this newer version.

Change-Id: I763533ec85fa9647ecf96ac6cbaefbfd1ad68fb0

14 years agoMove all Ant rules under sdk/files/ant
Xavier Ducrohet [Wed, 5 May 2010 21:10:40 +0000 (14:10 -0700)]
Move all Ant rules under sdk/files/ant

Change-Id: I7533b52a56c00502dce8798bf31ac50444543446

14 years agoAdd support for signing in the multi-apk ant build.
Xavier Ducrohet [Wed, 5 May 2010 20:59:01 +0000 (13:59 -0700)]
Add support for signing in the multi-apk ant build.

Change-Id: I0b0223b7fa5275995563a1a21192941bd72811cc

14 years agoMerge "Small mask calculation optimization"
Jean-Baptiste Queru [Wed, 5 May 2010 20:23:09 +0000 (13:23 -0700)]
Merge "Small mask calculation optimization"

14 years agoMerge "Add AT keyboard mappings for a BACK and MENU key"
David Turner [Wed, 5 May 2010 18:08:47 +0000 (11:08 -0700)]
Merge "Add AT keyboard mappings for a BACK and MENU key"

14 years agoSmall mask calculation optimization
Kenny Root [Wed, 5 May 2010 01:18:37 +0000 (18:18 -0700)]
Small mask calculation optimization

Get rid of loop to calculate bitmask where 2^n-1 will suffice.

Change-Id: I1d77a5c3753207663531efb407f6114ccabb1220

14 years agoAdd AT keyboard mappings for a BACK and MENU key
Bruce Beare [Tue, 4 May 2010 17:49:26 +0000 (10:49 -0700)]
Add AT keyboard mappings for a BACK and MENU key

BACK == ESC
MENU == F10

14 years agoNew If/Then/Else custom Ant rules to simplify some Ant rules logic.
Xavier Ducrohet [Wed, 5 May 2010 00:46:54 +0000 (17:46 -0700)]
New If/Then/Else custom Ant rules to simplify some Ant rules logic.

Also cleaned up some attribute of our other custom tasks to conform
to the standard convention (all lower case, all those were new in r3)

Change-Id: If328a8eb2448d95bee1f1b70928d72fde5014eeb

14 years agomerge from tools_r6
The Android Open Source Project [Tue, 4 May 2010 18:28:32 +0000 (11:28 -0700)]
merge from tools_r6

Change-Id: Ie1ceaa134273b428424524cc594c9a2d999a481f

14 years agoFix displayed message in some ant targets.
Xavier Ducrohet [Tue, 4 May 2010 18:17:04 +0000 (11:17 -0700)]
Fix displayed message in some ant targets.

Ouput properties were renamed from *.package to *.file

Change-Id: Id6885951f630a0507df0d68298778cd4cc64a4ad

14 years agoFix the Ant test rules r3
Xavier Ducrohet [Tue, 4 May 2010 17:57:05 +0000 (10:57 -0700)]
Fix the Ant test rules r3

They were created from the wrong r2 file.

Change-Id: I62dc6c631cc7c1fdac6dd7ba57a776bb576e3c1f

14 years agoMerge "First step of multiple apk support."
Xavier Ducrohet [Tue, 4 May 2010 17:08:15 +0000 (10:08 -0700)]
Merge "First step of multiple apk support."

14 years agoMerge "Resolves Issue 6219: simplify/automate "application" package name refactoring"
Xavier Ducrohet [Tue, 4 May 2010 01:18:04 +0000 (18:18 -0700)]
Merge "Resolves Issue 6219: simplify/automate "application" package name refactoring"

14 years agoFirst step of multiple apk support.
Xavier Ducrohet [Wed, 28 Apr 2010 23:28:35 +0000 (16:28 -0700)]
First step of multiple apk support.

- New export type project to handle exporting a single app represented
  by multiple projects (for different minSdkVersion for instance).

- Cleaned-up the current Ant tasks and Eclipse builder to not
  deal with ApkSettings anymore. It's not possible to generate
  more than one APK in a single pass. The export project will
  handle this and call out the normal build system to export
  each variant. Make older (deprecated) attribute actually
  output a warning.

- Ant rules r3 now with support for multi apk export. Lots
  of clean up, add new properties to be overriden by the
  multi-apk export task, make older one overrideable too.

- Better handling of older rules, older tasks, etc...
  in the SetupTask used by the normal build.

- Add split by ABI to ApkSettings and use it in the
  new multi apk export.

- New custom task for multi-apk export. Replaces
  SetupTask for export-type projects. Calls out to the
  project's build.xml after setting/overriding properties.
  This also override the project's versionCode with a
  new composite one made of different values.
  Also uses a different build.xml, so added a new template:
  build.export.template.

Very much a work in progress. Still to do:
Add other types of APK split, create/update export projects,
export the build log, ...

Also, we need to refactor the normal build rules to avoid
so much duplication!

Change-Id: I57a565c60d097a5eabb40108ae1fa8cb209f2380

14 years agoMerge "Attempt to fix intermittent ADT test run failures."
Brett Chabot [Mon, 3 May 2010 22:24:04 +0000 (15:24 -0700)]
Merge "Attempt to fix intermittent ADT test run failures."

14 years agoResolves Issue 6219: simplify/automate "application" package name refactoring
Karl Ostmo [Wed, 28 Apr 2010 20:35:29 +0000 (15:35 -0500)]
Resolves Issue 6219: simplify/automate "application" package name refactoring

Change-Id: Ide90aa1649ef36568400e98b470edffa4eaed64e

14 years agoAttempt to fix intermittent ADT test run failures.
Brett Chabot [Mon, 3 May 2010 19:47:49 +0000 (12:47 -0700)]
Attempt to fix intermittent ADT test run failures.

Change the ADT test run steps to be more deterministic:
1) Start the JDT test run listener server side connection before the client
side (this is invokked via the launch.addProcess call)
2) Don't fork off a separate thread to run the tests. This was always
redundant and inefficient anyway, since the AndroidLaunchController already
forks off a thread to perform the launch

Bug 7976

Change-Id: If7d24998d6ebe1a9b2200717be6ba66c078017f9

14 years agoUpdate build dependencies in ADT build script.
Brett Chabot [Mon, 3 May 2010 16:55:54 +0000 (09:55 -0700)]
Update build dependencies in ADT build script.

Add groovy and layoutlib build dependencies, and refresh building log message.

Change-Id: I6d266d9fd8d9da7da4cf5c3d248b6fc418c430c4

14 years agoSDK Setup fixes.
Raphael Moll [Wed, 28 Apr 2010 21:23:50 +0000 (14:23 -0700)]
SDK Setup fixes.

- SDK Setup: cd to the SDK dir, to cope with the case
  where the setup is executed from a shortcut with a
  different base directory.

- SDK Manager: properly detect "update sdk" and "update avds"
  commands.

(Merge SDK Setup fix from master open Change I1f0d32ff)

Change-Id: I35fc55a5967225f19def89d5c3015dd72f26a36c

14 years agoMerge "Add more console logs during ADT test run."
Brett Chabot [Fri, 30 Apr 2010 00:25:56 +0000 (17:25 -0700)]
Merge "Add more console logs during ADT test run."

14 years agoAdd more console logs during ADT test run.
Brett Chabot [Fri, 30 Apr 2010 00:00:02 +0000 (17:00 -0700)]
Add more console logs during ADT test run.

This is intended to give the user more visibility the exact progress of the
test run. And also better notification of failures.

Also tweak the ADT launch action so it reports its terminated when the test
runner thread is no longer active.

Related bug 7976

Change-Id: Idb258dfa1c15d6937d505bd86add208b4d09d526

14 years agoMerge "Fix NPE when opening layout and target is still loading."
Raphael Moll [Thu, 29 Apr 2010 05:59:31 +0000 (22:59 -0700)]
Merge "Fix NPE when opening layout and target is still loading."

14 years agoFix NPE when opening layout and target is still loading.
Raphael Moll [Thu, 29 Apr 2010 01:56:42 +0000 (18:56 -0700)]
Fix NPE when opening layout and target is still loading.

Change-Id: Ie4541646447669162ee303ef02d9bb81513e8e1e

14 years agoMerge "Ant: Add customizable targets between the default ones."
Xavier Ducrohet [Wed, 28 Apr 2010 23:26:59 +0000 (16:26 -0700)]
Merge "Ant: Add customizable targets between the default ones."

14 years agoAnt: Add customizable targets between the default ones.
Xavier Ducrohet [Wed, 28 Apr 2010 22:35:12 +0000 (15:35 -0700)]
Ant: Add customizable targets between the default ones.

Change-Id: I5f187584afb91814ccba4e984c4c45c24557aaae

14 years agoSDK Setup fixes.
Raphael Moll [Wed, 28 Apr 2010 21:23:50 +0000 (14:23 -0700)]
SDK Setup fixes.

- SDK Setup: cd to the SDK dir, to cope with the case
  where the setup is executed from a shortcut with a
  different base directory.

- SDK Manager: properly detect "update sdk" and "update avds"
  commands.

Change-Id: I1f0d32fffd71d3fa0856e753a80505f3dcd076d1

14 years agoMerge "Add ABI filtering and version code injection in the Ant rules and tasks."
Xavier Ducrohet [Wed, 28 Apr 2010 00:32:10 +0000 (17:32 -0700)]
Merge "Add ABI filtering and version code injection in the Ant rules and tasks."

14 years agoMerge "Add rev 3 of the ant rules."
Xavier Ducrohet [Wed, 28 Apr 2010 00:31:53 +0000 (17:31 -0700)]
Merge "Add rev 3 of the ant rules."

14 years agoMerge "Shorten the default help from the "android" script."
Raphael Moll [Wed, 28 Apr 2010 00:30:21 +0000 (17:30 -0700)]
Merge "Shorten the default help from the "android" script."

14 years agoMerge "Fix NPE in the DDMS plugin device view."
Raphael Moll [Wed, 28 Apr 2010 00:30:04 +0000 (17:30 -0700)]
Merge "Fix NPE in the DDMS plugin device view."

14 years agoAdd ABI filtering and version code injection in the Ant rules and tasks.
Xavier Ducrohet [Wed, 28 Apr 2010 00:05:04 +0000 (17:05 -0700)]
Add ABI filtering and version code injection in the Ant rules and tasks.

Change-Id: Ic8e41c1ad5343b32d2766427ba271a79c88b3b66

14 years agoAdd rev 3 of the ant rules.
Xavier Ducrohet [Tue, 27 Apr 2010 22:57:52 +0000 (15:57 -0700)]
Add rev 3 of the ant rules.

For now they are the same as the r2.
Also modified SetupTask to deal better with older tools.

Change-Id: I22ff809ace3ff81fb6852a707165165a9b4ec88a

14 years agoShorten the default help from the "android" script.
Raphael Moll [Tue, 27 Apr 2010 22:49:26 +0000 (15:49 -0700)]
Shorten the default help from the "android" script.

Changes:
- Default is to print the global options and the
  list of verbs/objects but not their detailed
  options.
- Using "android --help create" shows all possible
  "create xyz" options.
- Using "android --help create project" shows only
  the options for this particular command.
- As usual an incomplete command will prints its
  specific options as help.

SDK Bug 2436537

Change-Id: Icb95504ac9a048e5870fad396f3c4382ca5a1f8f

14 years agoFix NPE in the DDMS plugin device view.
Raphael Moll [Tue, 27 Apr 2010 22:38:35 +0000 (15:38 -0700)]
Fix NPE in the DDMS plugin device view.

Change-Id: I771cc215e21f4deb93c85eabce649b275fab3ef4

14 years agomerge from tools_r6
The Android Open Source Project [Tue, 27 Apr 2010 17:37:06 +0000 (10:37 -0700)]
merge from tools_r6

Change-Id: I6db896a231718a1e7ab879676af4c0d4e26c5950

14 years agoAdd missing windres to build SDK Setup.exe using MinGW/Linux
Raphael [Fri, 16 Apr 2010 02:41:05 +0000 (19:41 -0700)]
Add missing windres to build SDK Setup.exe using MinGW/Linux

(This mirrors what we did with the emulator in Change Ib4ce944b )

(Merge master Change I09f2e154)

14 years agoMerge "Reorder packages in SDK Updater"
Raphael Moll [Fri, 23 Apr 2010 18:06:37 +0000 (11:06 -0700)]
Merge "Reorder packages in SDK Updater"

14 years agoMerge "Fix auto launch config to respect minSdkVersion"
Raphael Moll [Fri, 23 Apr 2010 18:06:20 +0000 (11:06 -0700)]
Merge "Fix auto launch config to respect minSdkVersion"

14 years agoReorder packages in SDK Updater
Raphael Moll [Thu, 22 Apr 2010 18:34:36 +0000 (11:34 -0700)]
Reorder packages in SDK Updater

SDK Bug http://b.android.com/7920

Change-Id: I94946beda47067ff93ce288b36d525f8fb1840f2

14 years agoFix auto launch config to respect minSdkVersion
Raphael Moll [Wed, 21 Apr 2010 22:32:40 +0000 (15:32 -0700)]
Fix auto launch config to respect minSdkVersion

When launch config is in automatic mode with no
preferred AVD and minSdkVersion is smaller than the
project targert's API level, try to find an AVD
that's as close to the minSdkVersion as possible.

SDK Bug http://b.android.com/7897

Change-Id: Ied1f2db8f61c27430b466b2b7afbb5494fd0ffed

14 years agoFix RemoteAndroidTestRunnerTest.
Brett Chabot [Thu, 22 Apr 2010 19:26:19 +0000 (12:26 -0700)]
Fix RemoteAndroidTestRunnerTest.

Change the test device mock to return a String for getSerialNumber.

Change-Id: I83647927160c666330ddfb5394afe837577422d7

14 years agoMerge "Supporting configurable ADB port in ddms and ddmlib."
Xavier Ducrohet [Wed, 21 Apr 2010 21:29:47 +0000 (14:29 -0700)]
Merge "Supporting configurable ADB port in ddms and ddmlib."

14 years agoSupporting configurable ADB port in ddms and ddmlib.
Stefan Hilzinger [Tue, 20 Apr 2010 10:31:44 +0000 (11:31 +0100)]
Supporting configurable ADB port in ddms and ddmlib.

- Moving instantiation of sSocketAddr out of static initializer block
  into init().

Change-Id: Ibf3b81492802859673a0e77b4701be9d004509fa

14 years agoMerge "Make test runner parser detect runs with no tests."
Brett Chabot [Tue, 20 Apr 2010 01:52:52 +0000 (18:52 -0700)]
Merge "Make test runner parser detect runs with no tests."

14 years agoMake test runner parser detect runs with no tests.
Brett Chabot [Mon, 19 Apr 2010 20:32:08 +0000 (13:32 -0700)]
Make test runner parser detect runs with no tests.

Add logic to differeniate between an incomplete test run, and a test run which
completed successfully but has no tests.

Fixes bug http://b.android.com/7830

Change-Id: I54068de73e068faae6e34779b91665f6d1dc1a47

14 years agoMerge "Filter out new leak_memalign method in native heap UI"
Xavier Ducrohet [Mon, 19 Apr 2010 22:34:15 +0000 (15:34 -0700)]
Merge "Filter out new leak_memalign method in native heap UI"

14 years agoFilter out new leak_memalign method in native heap UI
Xavier Ducrohet [Mon, 19 Apr 2010 17:59:04 +0000 (10:59 -0700)]
Filter out new leak_memalign method in native heap UI

Change-Id: I39f1b7d726a0b5d26e736b404693183003ea391e

14 years agoAdd missing windres to build SDK Setup.exe using MinGW/Linux
Raphael [Fri, 16 Apr 2010 02:41:05 +0000 (19:41 -0700)]
Add missing windres to build SDK Setup.exe using MinGW/Linux

(This mirrors what we did with the emulator in Change Ib4ce944b )

Change-Id: I09f2e154ff89af4a0ed6629fd20846f20dbd2f5b

14 years agoMerge "Moved log formatting string into separate function so it can be resued by...
Neal Nguyen [Fri, 16 Apr 2010 17:41:54 +0000 (10:41 -0700)]
Merge "Moved log formatting string into separate function so it can be resued by others."

14 years agoAdd some missing gitignore files
Xavier Ducrohet [Mon, 12 Apr 2010 19:21:30 +0000 (12:21 -0700)]
Add some missing gitignore files

Change-Id: Iba3faab3be5a78849c6e0f85cd21f532be5a5147

14 years agomerge from tools-r6
The Android Open Source Project [Thu, 8 Apr 2010 23:20:08 +0000 (16:20 -0700)]
merge from tools-r6

Change-Id: If11d893ba56c1189620e00f86b7f51bf4d698e49

14 years agoMerge "Add setTestSize to ddms test runner."
Brett Chabot [Tue, 6 Apr 2010 20:07:41 +0000 (13:07 -0700)]
Merge "Add setTestSize to ddms test runner."

14 years agoSDK Manager: Rename "add site" to "add addon-site".
Raphael [Tue, 6 Apr 2010 19:39:23 +0000 (12:39 -0700)]
SDK Manager: Rename "add site" to "add addon-site".

And add explicit information in the dialog.

SDK Bug 2283498

(merge from master Change I1f7ae926)

Change-Id: Ib5bbd02f54785c0eb473b01a055f6196933112ad

14 years agoMerge "SDK Manager: Rename "add site" to "add addon-site"."
Raphael [Tue, 6 Apr 2010 19:57:08 +0000 (12:57 -0700)]
Merge "SDK Manager: Rename "add site" to "add addon-site"."

14 years agoAdd setTestSize to ddms test runner.
Brett Chabot [Sat, 3 Apr 2010 01:58:57 +0000 (18:58 -0700)]
Add setTestSize to ddms test runner.

Also cleanup some log messages.

Change-Id: Iea292c620c65e63642ef57d3082a54a1613b15bd

14 years agoSDK Manager: add tooltips to "Create new AVD" dialog.
Raphael [Tue, 6 Apr 2010 19:03:13 +0000 (12:03 -0700)]
SDK Manager: add tooltips to "Create new AVD" dialog.

Also rewrods the "Force create" checkbox to be more
explicit -- its tooltip is not visible till the box
is enabled.

(merge from master Change Ifcb014a1)

SDK Bug 2572299

Change-Id: I06608d7f9041cd54385c4db2d24b3e604a965a8e

14 years agoSDK Manager: Rename "add site" to "add addon-site".
Raphael [Tue, 6 Apr 2010 19:39:23 +0000 (12:39 -0700)]
SDK Manager: Rename "add site" to "add addon-site".

And add explicit information in the dialog.

SDK Bug 2283498

Change-Id: I1f7ae92663b899df33751af38050d5b071f0647c

14 years agoSDK Manager: add tooltips to "Create new AVD" dialog.
Raphael [Tue, 6 Apr 2010 19:03:13 +0000 (12:03 -0700)]
SDK Manager: add tooltips to "Create new AVD" dialog.

Also rewrods the "Force create" checkbox to be more
explicit -- its tooltip is not visible till the box
is enabled.

SDK Bug 2572299

Change-Id: Ifcb014a1e93e4380406132cd59c3cbf0020c3fc1

14 years agoSDK Manager: fix error message when missing XML validator.
Raphael [Mon, 5 Apr 2010 23:44:31 +0000 (16:44 -0700)]
SDK Manager: fix error message when missing XML validator.

SDK Bug 2306644

(merge Change I2e698ea0 from master)

Change-Id: Ia4be1d58c11ebccb811005ac21cf19b8d734e0c1

14 years agoSDK Manager: fix error message when missing XML validator.
Raphael [Mon, 5 Apr 2010 23:44:31 +0000 (16:44 -0700)]
SDK Manager: fix error message when missing XML validator.

SDK Bug 2306644

Change-Id: I2e698ea0ec9225a26ff94d9973c4e0b8f297c89b

14 years agoMoved log formatting string into separate function so it can be resued by others.
Neal Nguyen [Fri, 2 Apr 2010 23:42:26 +0000 (16:42 -0700)]
Moved log formatting string into separate function so it can be resued by others.

Change-Id: I4e97d950587822c3a3e24c1c3d1a89ab19419f14

14 years agoNew GPS HAL for qemu
Mike Lockwood [Tue, 23 Feb 2010 23:49:32 +0000 (18:49 -0500)]
New GPS HAL for qemu

This will replace equivalent code in libhardware_legacy

Change-Id: I611e34a187ed8460490f793538446c11c7c83cab
Signed-off-by: Mike Lockwood <lockwood@android.com>