OSDN Git Service

android-x86/sdk.git
13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 19:53:17 +0000 (12:53 -0700)]
merge from open-source master

Change-Id: I01a81355942ab0a11c257fd4ffa11b6db2e71e8e

13 years agoMerge "Android.bat support for Java 64-bit."
Raphael Moll [Mon, 23 Aug 2010 19:42:23 +0000 (12:42 -0700)]
Merge "Android.bat support for Java 64-bit."

14 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 19:23:51 +0000 (12:23 -0700)]
merge from open-source master

Change-Id: I64e1967ebe526292fb445f3a63eee6341f71d309

14 years agoDisable tests using EasyMock to fix build.
Raphael Moll [Sat, 21 Aug 2010 19:17:03 +0000 (12:17 -0700)]
Disable tests using EasyMock to fix build.

We'll try to fix it in another CL later.

Change-Id: I3a0c5131e6e9398a657081a639fbfd6aa670ba97

14 years agoAndroid.bat support for Java 64-bit.
Raphael Moll [Sat, 21 Aug 2010 04:54:59 +0000 (21:54 -0700)]
Android.bat support for Java 64-bit.

android.bat: properly encode file using CRLF (not Unix mode).
find_java.bat: properly check for Java in the 64-bit ProgramFiles path.

Change-Id: I78adb4783955cfad867d29f66d7ee58a017d41c4

14 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 18:27:20 +0000 (11:27 -0700)]
merge from open-source master

Change-Id: I9d22b5e33b228b6b54234387356bc592bfb51bb8

14 years agoMerge changes Ie49a141a,I71c6f4b6
Raphael Moll [Sat, 21 Aug 2010 18:05:37 +0000 (11:05 -0700)]
Merge changes Ie49a141a,I71c6f4b6

* changes:
  UnitTest for UpdaterLogic.findPlatformToolsDependency.
  SDK Manager support for Platform-Tools

14 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 18:05:05 +0000 (11:05 -0700)]
merge from open-source master

Change-Id: I96aa9ed93ba47b0e28f73bdf3b10119a181f633e

14 years agoMerge "ADT GLE unit tests."
Raphael Moll [Sat, 21 Aug 2010 18:01:30 +0000 (11:01 -0700)]
Merge "ADT GLE unit tests."

14 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 00:11:05 +0000 (17:11 -0700)]
merge from open-source master

Change-Id: I3c7e9f4b3b1af8b39d1d0e3dba1ad3fc6d9033c0

14 years agoMerge "Force disconnect of all devices when adb connection is lost."
Brett Chabot [Sat, 21 Aug 2010 00:01:21 +0000 (17:01 -0700)]
Merge "Force disconnect of all devices when adb connection is lost."

14 years agomerge from open-source master
The Android Open Source Project [Fri, 20 Aug 2010 18:02:25 +0000 (11:02 -0700)]
merge from open-source master

Change-Id: I96edec07df6843984515ff92d3636434397a9d7e

14 years agomerge from tools_r7
The Android Open Source Project [Fri, 20 Aug 2010 17:51:08 +0000 (10:51 -0700)]
merge from tools_r7

Change-Id: I0a73800c5f6454a012d6556668aa98ddfb53db3a

14 years agoMerge sdklib manifest fix for r7. DO NOT MERGE.
Xavier Ducrohet [Wed, 18 Aug 2010 18:54:31 +0000 (11:54 -0700)]
Merge sdklib manifest fix for r7. DO NOT MERGE.

Original commit msg:
Fix missing dependency in the sdklib manifest + improved error reporting.

Change-Id: I778a839cc280db8bcc7a4a0b11378119de9aed57

14 years agoUnitTest for UpdaterLogic.findPlatformToolsDependency.
Raphael Moll [Fri, 20 Aug 2010 03:56:26 +0000 (20:56 -0700)]
UnitTest for UpdaterLogic.findPlatformToolsDependency.

Change-Id: Ie49a141ad0d25021164166aeb4405877045719bf

14 years agoSDK Manager support for Platform-Tools
Raphael Moll [Thu, 19 Aug 2010 23:55:17 +0000 (16:55 -0700)]
SDK Manager support for Platform-Tools

Changes:
- Fixed dependency (PlatformToolPackage was made to depend
  on itself... oops it should have been ToolPackage!)
- Load platform-tool from XML.
- Specify sorting order of platform-tool in list.
- Compute a platform-tool has a dependency for tool package.
- Added a totally impressive icon for the new platform-tool package.
- Update the schema comments to explicitely indicate what is new.

Change-Id: I71c6f4b61028990d051a479b919a7f55a79f87cf

14 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 22:35:31 +0000 (15:35 -0700)]
merge from open-source master

Change-Id: I86b16a803691187dc9311509042bcca68a2a9ac1

14 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 22:23:53 +0000 (15:23 -0700)]
merge from open-source master

Change-Id: I26db0ad2532f75465b4ca69463a1a593ef64e05d

14 years agoMerge "Transition from clearsilver to jsilver"
Ben Dodson [Thu, 19 Aug 2010 22:23:46 +0000 (15:23 -0700)]
Merge "Transition from clearsilver to jsilver"

14 years agoTransition from clearsilver to jsilver
Ben Dodson [Thu, 19 Aug 2010 22:15:50 +0000 (15:15 -0700)]
Transition from clearsilver to jsilver

Change-Id: Iea2fb85b246685b1c2e27866bb1c1df80fa55abe

14 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 22:07:06 +0000 (15:07 -0700)]
merge from open-source master

Change-Id: Ib2fbc41481934a38090dd1ee97d7ddec30ca8df1

14 years agoMerge "Adding property and profile viewers + misc"
Konstantin Lopyrev [Thu, 19 Aug 2010 22:06:39 +0000 (15:06 -0700)]
Merge "Adding property and profile viewers + misc"

14 years agoMerge "Increasing the changes of a device connecting properly and making sure things...
Konstantin Lopyrev [Thu, 19 Aug 2010 22:06:10 +0000 (15:06 -0700)]
Merge "Increasing the changes of a device connecting properly and making sure things are disposed of properly."

14 years agoMerge "Adding the new tree view."
Konstantin Lopyrev [Thu, 19 Aug 2010 22:05:31 +0000 (15:05 -0700)]
Merge "Adding the new tree view."

14 years agoMerge "Adding pixel perfect view, loupe and tree."
Konstantin Lopyrev [Thu, 19 Aug 2010 22:04:34 +0000 (15:04 -0700)]
Merge "Adding pixel perfect view, loupe and tree."

14 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 21:55:35 +0000 (14:55 -0700)]
merge from open-source master

Change-Id: I829f7ae2314c7415a58cbd0d82e8201ea8a99bc1

14 years agoMerge "ADT-Tests: Unit test for GRE NodeFactory."
Raphael Moll [Thu, 19 Aug 2010 21:53:36 +0000 (14:53 -0700)]
Merge "ADT-Tests: Unit test for GRE NodeFactory."

14 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 21:32:46 +0000 (14:32 -0700)]
merge from open-source master

Change-Id: I800d0c33be754591f3e11c24c209ceea77a5aeda

14 years agoMerge "Fix missing dependency in the sdklib manifest + improved error reporting."
Xavier Ducrohet [Thu, 19 Aug 2010 21:30:49 +0000 (14:30 -0700)]
Merge "Fix missing dependency in the sdklib manifest + improved error reporting."

14 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 21:09:50 +0000 (14:09 -0700)]
merge from open-source master

Change-Id: I4841849fc8f15c9614feee5e425581ce53192bf8

14 years agoMerge "ADT-Tests: add external/easymock to the classpath."
Raphael Moll [Thu, 19 Aug 2010 21:03:57 +0000 (14:03 -0700)]
Merge "ADT-Tests: add external/easymock to the classpath."

14 years agoADT GLE unit tests.
Raphael Moll [Thu, 19 Aug 2010 21:02:25 +0000 (14:02 -0700)]
ADT GLE unit tests.

There isn't as much as would want to here.
I need to refactor the RulesEngine to make it more testable,
the major block is that it uses the static AdtPlugin to find
the groovy files path and that doesn't exist in the UT.

Change-Id: I96c0821252d5b777665ed68153fde63d140d0ee5

14 years agoFix missing dependency in the sdklib manifest + improved error reporting.
Xavier Ducrohet [Wed, 18 Aug 2010 18:54:31 +0000 (11:54 -0700)]
Fix missing dependency in the sdklib manifest + improved error reporting.

Change-Id: I197d17ee3dcf7119fe9da4b7f29bb9bce193ff12

14 years agoMerge "ADT: support xlarge resource configuration."
Xavier Ducrohet [Wed, 18 Aug 2010 22:53:27 +0000 (15:53 -0700)]
Merge "ADT: support xlarge resource configuration."

14 years agomerge from open-source master
The Android Open Source Project [Wed, 18 Aug 2010 01:10:09 +0000 (18:10 -0700)]
merge from open-source master

Change-Id: I65d2a8a84aecc3cd0477fef83c30aa422dbc90ac

14 years agoAdding property and profile viewers + misc
Konstantin Lopyrev [Wed, 11 Aug 2010 19:45:59 +0000 (12:45 -0700)]
Adding property and profile viewers + misc

Change-Id: I04b7e6045047d303b3434dc64662ffeb36c48c24

14 years agoIncreasing the changes of a device connecting properly and making sure things are...
Konstantin Lopyrev [Tue, 10 Aug 2010 00:42:51 +0000 (17:42 -0700)]
Increasing the changes of a device connecting properly and making sure things are disposed of properly.

Change-Id: Ib1190c65c8ac9795fc0b97beacd7fd102cb95abf

14 years agoAdding the new tree view.
Konstantin Lopyrev [Fri, 6 Aug 2010 01:00:36 +0000 (18:00 -0700)]
Adding the new tree view.

Change-Id: I490f475fadaec5625352a49524ec8cb3a6e9b7d4

14 years agoAdding pixel perfect view, loupe and tree.
Konstantin Lopyrev [Fri, 30 Jul 2010 00:30:16 +0000 (17:30 -0700)]
Adding pixel perfect view, loupe and tree.

Change-Id: I9be3e9037dec5eeb240608ba8c6329fd77689bbe

14 years agoMerge "Making sure the old hierarchy viewer works with categorized properties."
Xavier Ducrohet [Wed, 18 Aug 2010 00:58:05 +0000 (17:58 -0700)]
Merge "Making sure the old hierarchy viewer works with categorized properties."

14 years agomerge from open-source master
The Android Open Source Project [Tue, 17 Aug 2010 16:54:23 +0000 (09:54 -0700)]
merge from open-source master

Change-Id: I5fdfe707f9e4cf94566bb824aea0569d4bf124b5

14 years agoMerge "Add paragraph support into MonkeyRunner documentation."
Bill Napier [Tue, 17 Aug 2010 16:49:56 +0000 (09:49 -0700)]
Merge "Add paragraph support into MonkeyRunner documentation."

14 years agomerge from open-source master
The Android Open Source Project [Mon, 16 Aug 2010 20:58:55 +0000 (13:58 -0700)]
merge from open-source master

Change-Id: I1c60017b35d3bb5428f1868a1394323301d4e713

14 years agoADT-Tests: Unit test for GRE NodeFactory.
Raphael Moll [Mon, 16 Aug 2010 20:47:21 +0000 (13:47 -0700)]
ADT-Tests: Unit test for GRE NodeFactory.

Change-Id: I33039b0be05f0eca51f1fd5c6f616d01f46a59b7

14 years agoADT-Tests: add external/easymock to the classpath.
Raphael Moll [Mon, 16 Aug 2010 20:41:57 +0000 (13:41 -0700)]
ADT-Tests: add external/easymock to the classpath.

Change-Id: I892f686b98efad14ac5de932030238116bf0d3d4

14 years agoWXVGA 1280x800 skin for emulator.
Raphael Moll [Thu, 12 Aug 2010 22:01:17 +0000 (15:01 -0700)]
WXVGA 1280x800 skin for emulator.

Change-Id: I42b7e24a824d42bf53efcc6cf487102021c7b8d8

14 years agoForce disconnect of all devices when adb connection is lost.
Brett Chabot [Sat, 31 Jul 2010 01:18:32 +0000 (18:18 -0700)]
Force disconnect of all devices when adb connection is lost.

Bug 2873317

Change-Id: Idc56be6dbd8912ee463295ddfe6f3b0bbf0b5125

14 years agoADT: support xlarge resource configuration.
Raphael [Thu, 12 Aug 2010 02:33:42 +0000 (19:33 -0700)]
ADT: support xlarge resource configuration.

Also added a sample device configuration for the layout editor.

Change-Id: I1ec540038d2676e1f924e74f7f2aa8000d3672b3

14 years agoMaking sure the old hierarchy viewer works with categorized properties.
Konstantin Lopyrev [Wed, 11 Aug 2010 19:52:19 +0000 (12:52 -0700)]
Making sure the old hierarchy viewer works with categorized properties.

Change-Id: Ie0406055c73881a1cc238689b05567bca09fc8b1

14 years agoAnt: ensure SDK path ends with dir separator.
Raphael Moll [Tue, 10 Aug 2010 17:20:46 +0000 (10:20 -0700)]
Ant: ensure SDK path ends with dir separator.

SDK Bug: 2906094

Change-Id: Ic4053c97c8dd5a32a2276e22644b5e09c91d52f0

14 years agomerge from open-source master
The Android Open Source Project [Tue, 10 Aug 2010 03:28:14 +0000 (20:28 -0700)]
merge from open-source master

Change-Id: I83aa7f88ba7390781d0045bff3a629b71c3143a0

14 years agoADT: Fix visibility of method so that Eclipse tests can access it.
Raphael Moll [Tue, 10 Aug 2010 02:51:44 +0000 (19:51 -0700)]
ADT: Fix visibility of method so that Eclipse tests can access it.

Also added an annotation to indicate why it has been made
public.

SDK Bug: 2906164

Change-Id: I9490467a72989392f838a8c8e7137e929721358e

14 years agoAdd paragraph support into MonkeyRunner documentation.
Bill Napier [Sun, 8 Aug 2010 05:40:09 +0000 (22:40 -0700)]
Add paragraph support into MonkeyRunner documentation.

Any strings that contain a newline are now broken up when put into the HDF.
This allows the formatters to do special per-paragraph formatting (very useful
for the HTML output).

Change-Id: If2e1dd1a6c752afe900745347ff6c9a9e4bb406d

14 years agoFix permissions: source files shouldn't be executable
Omari Stephens [Fri, 6 Aug 2010 01:37:52 +0000 (18:37 -0700)]
Fix permissions: source files shouldn't be executable

Change-Id: I4030ca07fb40e171978d8eb366b6d403e3c9ea2c

14 years agoSdkManager: support for upgrade to Schema #3.
Raphael Moll [Fri, 30 Jul 2010 22:37:25 +0000 (15:37 -0700)]
SdkManager: support for upgrade to Schema #3.

This changes the way the sdk manager looks for schema upgrades:
- when trying to load an XML, parse the root element and scan
  for our XLMNS. If it parses, get the version number at the end
  and use this directly to try to load using the right schema.
- In turn this allows us to distinguish between an incorrectly
  formatted XML (but using the right schema) versus something
  that is not our XML schema or not an XML at all, and then we
  can produce better errors for the user.
- We also then directly know when the schema version is above
  the known value of the tool and can then create the upgrade
  tools node accordingly.

Change-Id: I58c7d89d7b57dd4d5488f726e5f8b21cc4308451

14 years agoUpdate sdklib to use the new sdk organization (build tools moved)
Xavier Ducrohet [Tue, 27 Jul 2010 22:08:15 +0000 (15:08 -0700)]
Update sdklib to use the new sdk organization (build tools moved)

Also do some minor clean-up from the recent change to ProjectProperties.
FileWrapper extends java.io.File so there's no need to create a File
and then create a FileWrapper around it. Directly create a FileWrapper.

Change-Id: I3f072bf7f848d63b90fa03bec2683f6a009deb88

14 years agoMerge "SdkManager: new schema with <platform-tool> package."
Raphael Moll [Fri, 30 Jul 2010 04:09:40 +0000 (21:09 -0700)]
Merge "SdkManager: new schema with <platform-tool> package."

14 years agoMerge "SdkManager: don't use deprecated methods."
Raphael Moll [Fri, 30 Jul 2010 04:08:40 +0000 (21:08 -0700)]
Merge "SdkManager: don't use deprecated methods."

14 years agoMerge "Clean up the previous fix to ApkBuilder with regard to the keystore."
Xavier Ducrohet [Fri, 30 Jul 2010 03:52:15 +0000 (20:52 -0700)]
Merge "Clean up the previous fix to ApkBuilder with regard to the keystore."

14 years agoSdkManager: new schema with <platform-tool> package.
Raphael Moll [Thu, 29 Jul 2010 20:15:04 +0000 (13:15 -0700)]
SdkManager: new schema with <platform-tool> package.

This adds the new schema (v3), the internal definitions and
constants. However the schema v3 is not enabled as default and
the whole thing is not used by the downloader/installer yet.

Note: some files in this folder are using Windows \r\n end-of-lines.
I will convert them to Unix \n EOLs in *another* CL, not this one.

Change-Id: I327f12571ad3959e85a7b972cad98663c09cce33

14 years agoSdkManager: don't use deprecated methods.
Raphael Moll [Thu, 29 Jul 2010 17:58:20 +0000 (10:58 -0700)]
SdkManager: don't use deprecated methods.

If we're going to deprecate the parsePropertyFile(File), we might
as well stop using it ourselves.

Also removes the obsolete parsePropertyFile(File) method.

Change-Id: I811590ca583f2a89d5b7d606d70a4bc14eb6230b

14 years agoMerge "Don't rely on map to store layout device configs."
Xavier Ducrohet [Fri, 30 Jul 2010 00:46:40 +0000 (17:46 -0700)]
Merge "Don't rely on map to store layout device configs."

14 years agoClean up the previous fix to ApkBuilder with regard to the keystore.
Xavier Ducrohet [Thu, 29 Jul 2010 22:52:35 +0000 (15:52 -0700)]
Clean up the previous fix to ApkBuilder with regard to the keystore.

Change-Id: I620269355e176d9167ceb733191ee5ea8908d06a

14 years agoDon't rely on map to store layout device configs.
Xavier Ducrohet [Thu, 29 Jul 2010 00:01:55 +0000 (17:01 -0700)]
Don't rely on map to store layout device configs.

Relying on maps means that we don't control the order of the configs
in the UI. Mac/Windows show a different order already, and it's just
luck that the Mac one matches the content of the XML.

Now we keep the order from the XML and display it as-is in the UI.

Change-Id: I900f330a4ea9059fe27df2bca6c3a7a770737ae4

14 years agomerge from tools_r7
The Android Open Source Project [Thu, 29 Jul 2010 19:14:57 +0000 (12:14 -0700)]
merge from tools_r7

Change-Id: I1ae4cce619e71d379f2def3f4d6f484279b600a6

14 years agoFix broken generation of default keystore. Do not merge.
Xavier Ducrohet [Thu, 29 Jul 2010 19:05:51 +0000 (12:05 -0700)]
Fix broken generation of default keystore. Do not merge.

The location of the debug keystore was validated (to make sure
it was not a directory or an unreadable file), but it also threw
an exception if the file didn't exist, preventing the creation
from happening.

This is integrated from master.

Change-Id: I4025bb7282c1c4ea5dd56d6c2497c9c670ee5579

14 years agoMerge "Fix broken generation of default keystore."
Xavier Ducrohet [Thu, 29 Jul 2010 19:09:40 +0000 (12:09 -0700)]
Merge "Fix broken generation of default keystore."

14 years agoFix broken generation of default keystore.
Xavier Ducrohet [Thu, 29 Jul 2010 19:05:51 +0000 (12:05 -0700)]
Fix broken generation of default keystore.

The location of the debug keystore was validated (to make sure
it was not a directory or an unreadable file), but it also threw
an exception if the file didn't exist, preventing the creation
from happening.

Change-Id: I2fc7d7be10ee4b85db3eab5ef4ee429681c8c5e9

14 years agoADT GLE2: minor unit tests
Raphael Moll [Sat, 24 Jul 2010 02:51:36 +0000 (22:51 -0400)]
ADT GLE2: minor unit tests

Change-Id: I231b272363bf1d9652093c747fd2db865f1658c7

14 years agoMerge ""create alternate layout" default to no qualifier."
Xavier Ducrohet [Wed, 28 Jul 2010 19:04:33 +0000 (12:04 -0700)]
Merge ""create alternate layout" default to no qualifier."

14 years agoMerge "Update ddms (all) and 'android' (linux/mac) to user explicit classpath"
Xavier Ducrohet [Wed, 28 Jul 2010 19:04:25 +0000 (12:04 -0700)]
Merge "Update ddms (all) and 'android' (linux/mac) to user explicit classpath"

14 years agoMerge "Release MonkeyRunner into open source."
Bill Napier [Wed, 28 Jul 2010 00:05:03 +0000 (17:05 -0700)]
Merge "Release MonkeyRunner into open source."

14 years agomerge from tools_r7
The Android Open Source Project [Tue, 27 Jul 2010 23:56:16 +0000 (16:56 -0700)]
merge from tools_r7

Change-Id: I1a0c4091d4fcb8c4fc31d574f8973e7fff4b6b6f

14 years agoFix missing goto label in android.bat
Xavier Ducrohet [Tue, 27 Jul 2010 23:52:25 +0000 (16:52 -0700)]
Fix missing goto label in android.bat

Change-Id: I1da6089cabe4a00567f2b7d1a7e5d2847f5799d4

14 years agoRelease MonkeyRunner into open source.
Bill Napier [Tue, 27 Jul 2010 23:18:34 +0000 (16:18 -0700)]
Release MonkeyRunner into open source.

Change-Id: Ie08e493e700e3e4c85270629f68547a08b7457d4

14 years ago"create alternate layout" default to no qualifier.
Xavier Ducrohet [Tue, 27 Jul 2010 23:17:08 +0000 (16:17 -0700)]
"create alternate layout" default to no qualifier.

Previously the dialog opened with all qualifiers set up
which would make most users default to making a very restrictive
layout.

New version is simpler (can't edit the qualifier value), and
let the user simply adding the ones they want.

Change-Id: I684390f58f14ab74678ac03980e6643442361ab3

14 years agoADT GLE2: Remove (or disable) debug printfs.
Raphael Moll [Tue, 27 Jul 2010 13:11:15 +0000 (09:11 -0400)]
ADT GLE2: Remove (or disable) debug printfs.

Change-Id: I3d8a0f6b4731ee78af8da33c1749423ca7b13254

14 years agoHandling adb exceptions properly
Konstantin Lopyrev [Mon, 26 Jul 2010 23:57:08 +0000 (16:57 -0700)]
Handling adb exceptions properly

Change-Id: I1209ee81adc99c232280371aa6206345e87a1094

14 years agoUpdate ddms (all) and 'android' (linux/mac) to user explicit classpath
Xavier Ducrohet [Tue, 27 Jul 2010 00:05:36 +0000 (17:05 -0700)]
Update ddms (all) and 'android' (linux/mac) to user explicit classpath

They were still using the old method of providing a jar folder
through java.ext.dirs in which to look for jar files.

The jar dependency is now explicit in the manifest, which allows
us to target ddmlib explicitely and not ddmlib-prebuilt.

Change-Id: Ic3c5708ab327a3e1fb7a7cd86fffda96e0d988dd

14 years agoMerge "Device Selector code."
Konstantin Lopyrev [Mon, 26 Jul 2010 22:32:06 +0000 (15:32 -0700)]
Merge "Device Selector code."

14 years agomerge from tools_r7
The Android Open Source Project [Mon, 26 Jul 2010 21:20:56 +0000 (14:20 -0700)]
merge from tools_r7

Change-Id: I27e0f8e3ab5a6a9d207ee969b30b7ffbb8e1b834

14 years agoFix issue with qualifier combo box not filled up in device mode DO NOT MERGE
Xavier Ducrohet [Mon, 26 Jul 2010 21:02:57 +0000 (14:02 -0700)]
Fix issue with qualifier combo box not filled up in device mode DO NOT MERGE

device mode is when the qualifier values must match what a device
would report. For instance nodpi should not be selectable.

Cherry-picked from master to tools_r7

Change-Id: I22cbd5b3522ae17d4d7f61e95ca20deeea825a79

14 years agoFix issue with qualifier combo box not filled up in device mode
Xavier Ducrohet [Mon, 26 Jul 2010 21:02:57 +0000 (14:02 -0700)]
Fix issue with qualifier combo box not filled up in device mode

device mode is when the qualifier values must match what a device
would report. For instance nodpi should not be selectable.

Change-Id: I902697d72ffad196fcaf41b1e6387cdfcbbc18da

14 years agoUpdate the ddmlib api for push/pull/install
Xavier Ducrohet [Wed, 21 Jul 2010 00:25:36 +0000 (17:25 -0700)]
Update the ddmlib api for push/pull/install

The API now throws SyncException instead of returning SyncResult.

The IDevice API to install/uninstall now returns a single
InstallException that encapsulate all the other ddmlib
exception.

Also, the recently added exceptions now don't extend IOException
anymore.

Change-Id: Ib334c4157a6add1882233dfaaa032aea1910eede

14 years agoMerge "Fix EclipseTestCollector for Eclipse 3.6's JUnit lib."
Raphael Moll [Sun, 25 Jul 2010 02:35:06 +0000 (19:35 -0700)]
Merge "Fix EclipseTestCollector for Eclipse 3.6's JUnit lib."

14 years agoMerge "Fix QualifierListTest and ConfigMatchTest unittests."
Raphael Moll [Sat, 24 Jul 2010 12:34:37 +0000 (05:34 -0700)]
Merge "Fix QualifierListTest and ConfigMatchTest unittests."

14 years agoADT GLE2: fix, don't use constant from SWT 3.5.00
Raphael Moll [Sat, 24 Jul 2010 03:35:12 +0000 (23:35 -0400)]
ADT GLE2: fix, don't use constant from SWT 3.5.00

The build server still builds using 3.4 and we
still support 3.4 at runtime.

Change-Id: I8f6ac24e77eef1daac68ee7f595fb66654762d6b

14 years agoFix SDK build for eclipse tests.
Raphael Moll [Sat, 24 Jul 2010 02:59:49 +0000 (22:59 -0400)]
Fix SDK build for eclipse tests.

Broken by Change: If04c5f8b10eeaca494a155ed6c4a25bf0d9d892c

Change-Id: I8f60da7d537af68df47119b636eaf03c49b51146

14 years agoFix EclipseTestCollector for Eclipse 3.6's JUnit lib.
Raphael Moll [Sat, 24 Jul 2010 02:43:31 +0000 (22:43 -0400)]
Fix EclipseTestCollector for Eclipse 3.6's JUnit lib.

Some method signatures have changed.

Change-Id: Iff11d8bc3ba670a59491f0b5ba50de8bad79c1bf

14 years agoFix QualifierListTest and ConfigMatchTest unittests.
Raphael Moll [Sat, 24 Jul 2010 00:51:37 +0000 (20:51 -0400)]
Fix QualifierListTest and ConfigMatchTest unittests.

testQualifierList() checks the number of qualifiers
against FolderConfiguration.INDEX_COUNT except there's
a mismatch since there was no index 13.

ConfigMatchTest was missing the new dock/night and nav state.

Change-Id: I5df0b1375a209cca5a39d93946b62b88f2688fb2

14 years agoMerge "ADT GLE2: Deal with missing custom view classes."
Raphael Moll [Fri, 23 Jul 2010 23:13:08 +0000 (16:13 -0700)]
Merge "ADT GLE2: Deal with missing custom view classes."

14 years agoDevice Selector code.
Konstantin Lopyrev [Thu, 22 Jul 2010 21:23:47 +0000 (14:23 -0700)]
Device Selector code.

Change-Id: I944315e75b72ef285bed53e5801761886f48cb24

14 years agoMerge "parse instrumentation result bundles"
Jean-Baptiste Queru [Fri, 23 Jul 2010 22:25:17 +0000 (15:25 -0700)]
Merge "parse instrumentation result bundles"

14 years agoADT GLE2: Deal with missing custom view classes.
Raphael Moll [Fri, 23 Jul 2010 20:48:12 +0000 (16:48 -0400)]
ADT GLE2: Deal with missing custom view classes.

- Detect missing view classes and replace them by a MockView.
  (This alone makes the rendering useful instead of not updating it
  on error.)
- Display the name of the missing view classes.
- Make them hot links and display the New Class Wizard to create them.

Change-Id: I20b69db5428751c4a6c1367103462b3867fa9c7d

14 years agoMerge "ADT GLE2: Properly handle custom classes."
Raphael Moll [Fri, 23 Jul 2010 17:51:13 +0000 (10:51 -0700)]
Merge "ADT GLE2: Properly handle custom classes."

14 years agoMerge changes I792947e3,Ifc7b150e
Raphael Moll [Fri, 23 Jul 2010 17:50:47 +0000 (10:50 -0700)]
Merge changes I792947e3,Ifc7b150e

* changes:
  ADT GLE2: paste element in empty layout.
  ADT GLE2: implementation paste operation.

14 years agoADT GLE2: Properly handle custom classes.
Raphael Moll [Fri, 23 Jul 2010 15:53:21 +0000 (11:53 -0400)]
ADT GLE2: Properly handle custom classes.

This makes it possible to drag'n'drop or paste a custom
class in a project that doesn't have the class. The paste
operation will succeed and the layout rendering will provide
a clear error indicating the class is missing.

Change-Id: I80bbc70cfdba68277120dff3e770ce31651e7ebc

14 years agoADT GLE2: paste element in empty layout.
Raphael Moll [Thu, 22 Jul 2010 18:48:09 +0000 (14:48 -0400)]
ADT GLE2: paste element in empty layout.

Change-Id: I792947e39d4b0ef7828f2df394bac81c0da37970

14 years agoMerge "Move tools to r8 in the dev branch."
Xavier Ducrohet [Thu, 22 Jul 2010 19:41:04 +0000 (12:41 -0700)]
Merge "Move tools to r8 in the dev branch."

14 years agoMove tools to r8 in the dev branch.
Xavier Ducrohet [Thu, 22 Jul 2010 19:40:06 +0000 (12:40 -0700)]
Move tools to r8 in the dev branch.

Change-Id: I703a4a52c0f2e76c5b19103f3b43ef203472006c