OSDN Git Service

android-x86/development.git
15 years agoMerge change 2300 into donut
Android (Google) Code Review [Fri, 22 May 2009 19:30:35 +0000 (12:30 -0700)]
Merge change 2300 into donut

* changes:
  SDK Updater: some refactoring and some new features.

15 years agoSDK Updater: some refactoring and some new features.
Raphael [Fri, 22 May 2009 04:43:00 +0000 (21:43 -0700)]
SDK Updater: some refactoring and some new features.

The refactoring part involves moving as much as possible stuff
in SdkLib/internal/repository.

The UI has moved in SdkUiLib/internal/repository except a specific
public wrapper for calling the Sdk Updater window.

There are also a bunch of new classes to handle the internal
structures: Package is the base type and to match the XML element
names we have PlatformPackage, AddonPackage, DocPackage and
ToolPackage.

All headers have been fixed.

15 years agoMerge change 2281 into donut
Android (Google) Code Review [Fri, 22 May 2009 17:44:46 +0000 (10:44 -0700)]
Merge change 2281 into donut

* changes:
  Moved updateAdb into SdkManager and updated with new adb_usb.ini format.

15 years agoam 83814319: AI 149189: Adding dalvik porting guide based on content from the Android...
Reena Lee [Fri, 22 May 2009 07:06:47 +0000 (00:06 -0700)]
am 83814319: AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html

Merge commit '838143199e2270e3f103050c76cf24539ad8dfe1' into donut

* commit '838143199e2270e3f103050c76cf24539ad8dfe1':
  AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html

15 years agoAI 149189: Adding dalvik porting guide based on content from the Android source tree...
Reena Lee [Fri, 22 May 2009 07:04:27 +0000 (00:04 -0700)]
AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html

Automated import of CL 149189

15 years agoAdd a timeout flag to runtest for running native tests on devices.
Wei-Ta Chen [Thu, 21 May 2009 23:24:04 +0000 (16:24 -0700)]
Add a timeout flag to runtest for running native tests on devices.

15 years agoMoved updateAdb into SdkManager and updated with new adb_usb.ini format.
Xavier Ducrohet [Fri, 22 May 2009 00:46:12 +0000 (17:46 -0700)]
Moved updateAdb into SdkManager and updated with new adb_usb.ini format.

New format is: 1 number per line. First number is vendor ID count, followed
by  the vendor IDs themselves. Comment lines starting with # accepted.

15 years agoSdk Updater: Split UI in window and independant composites.
Raphael [Thu, 21 May 2009 22:22:50 +0000 (15:22 -0700)]
Sdk Updater: Split UI in window and independant composites.

15 years agoUpdate doc with a better way to ignore windows problematic files.
Raphael [Thu, 21 May 2009 18:47:16 +0000 (11:47 -0700)]
Update doc with a better way to ignore windows problematic files.

15 years agoMerge change 2110 into donut
Android (Google) Code Review [Thu, 21 May 2009 17:44:18 +0000 (10:44 -0700)]
Merge change 2110 into donut

* changes:
  Replaced occurences of "porting guide" with platform development kit Also added LED documentation to the TOC

15 years agoMerge change 2122 into donut
Android (Google) Code Review [Thu, 21 May 2009 17:14:27 +0000 (10:14 -0700)]
Merge change 2122 into donut

* changes:
  Add support for USB Vendor ID in the add-ons.

15 years agoMerge change 2121 into donut
Android (Google) Code Review [Thu, 21 May 2009 05:31:31 +0000 (22:31 -0700)]
Merge change 2121 into donut

* changes:
  SDK #1800921: Packages the Windows SDK in a temporary location.

15 years agoSDK #1800921: Packages the Windows SDK in a temporary location.
Raphael [Wed, 20 May 2009 21:38:23 +0000 (14:38 -0700)]
SDK #1800921: Packages the Windows SDK in a temporary location.

This changes make_windows_sdk so that it packages everything
in a temp dir. Once the build & packaging succeeds, the final
Zip is copied to the desired location.

The temp dir is *not* cleared on zip errors, which helps in
diagnosing packaging issues after the fact.

This has no impact on the build process itself (i.e. make
adb, emulator, etc.) which all happen in $SDK/out anyway.

The temp dir can be passed as an argument. If not provided,
the default Cygwin $TMP is used. Otherwise /tmp is used.

I also added an usage description when parameters are missing.

15 years agoAdd support for USB Vendor ID in the add-ons.
Xavier Ducrohet [Wed, 20 May 2009 21:51:27 +0000 (14:51 -0700)]
Add support for USB Vendor ID in the add-ons.

The add-on manifest can now declare a USB vendor ID with the line
   usb-vendor=<id>
The ID must be a 16 hexadecimal value in the format 0xABCD.

The 'android' tool now has a new command 'android upate abd' that will create
a file called 'adb_usb.ini' in ~/.android/
This file will be read by adb to add support to those new vendor IDs.

15 years agoam 2fd2d2f9: AI 149080: Change default PDK app engine version to 2
Gaurav Mathur [Thu, 21 May 2009 00:22:49 +0000 (17:22 -0700)]
am 2fd2d2f9: AI 149080: Change default PDK app engine version to 2

Merge commit '2fd2d2f90e66eca36141ee594b83ed57f5a39764' into donut

* commit '2fd2d2f90e66eca36141ee594b83ed57f5a39764':
  AI 149080: Change default PDK app engine version to 2

15 years agoAI 149080: Change default PDK app engine version to 2
Gaurav Mathur [Wed, 20 May 2009 23:48:29 +0000 (16:48 -0700)]
AI 149080: Change default PDK app engine version to 2

Automated import of CL 149080

15 years agoMerge change 2118 into donut
Android (Google) Code Review [Wed, 20 May 2009 22:25:00 +0000 (15:25 -0700)]
Merge change 2118 into donut

* changes:
  Add work-around for running DDMS on 64-bit Linux.

15 years agoAdd work-around for running DDMS on 64-bit Linux.
Jack Palevich [Wed, 20 May 2009 21:36:49 +0000 (14:36 -0700)]
Add work-around for running DDMS on 64-bit Linux.

15 years agoMerge change 1736 into donut
Android (Google) Code Review [Wed, 20 May 2009 21:31:23 +0000 (14:31 -0700)]
Merge change 1736 into donut

* changes:
  Add tests definition (unit tests and stress tests) for Camera.

15 years agoReplaced occurences of "porting guide" with platform development kit
Gaurav Mathur [Wed, 20 May 2009 20:29:29 +0000 (13:29 -0700)]
Replaced occurences of "porting guide" with platform development kit
Also added LED documentation to the TOC

15 years agoMerge change 2066 into donut
Android (Google) Code Review [Wed, 20 May 2009 19:04:20 +0000 (12:04 -0700)]
Merge change 2066 into donut

* changes:
  SDK Updater: Fetch source XML, display them in tree.

15 years agoSDK Updater: Fetch source XML, display them in tree.
Raphael [Wed, 20 May 2009 06:25:54 +0000 (23:25 -0700)]
SDK Updater: Fetch source XML, display them in tree.

There's a notion of an asynchronous task with a progress bar & status UI.
That's still just experimental. Will need some refactoring, etc.

15 years agoMerge change 2030 into donut
Android (Google) Code Review [Wed, 20 May 2009 15:54:21 +0000 (08:54 -0700)]
Merge change 2030 into donut

* changes:
  Add new trace tool for displaying all the memory regions in a process.

15 years agoMerge change 2024 into donut
Android (Google) Code Review [Wed, 20 May 2009 15:54:11 +0000 (08:54 -0700)]
Merge change 2024 into donut

* changes:
  Add support for native (JNI) calls to the trace tools.

15 years agoam e557a732: AI 149055: Add initial file for LED content including doxygen code from...
Reena Lee [Wed, 20 May 2009 15:09:43 +0000 (08:09 -0700)]
am e557a732: AI 149055: Add initial file for LED content including doxygen code from lights.h

Merge commit 'e557a732807eb6f3c29630ce882c644936df1e02' into donut

* commit 'e557a732807eb6f3c29630ce882c644936df1e02':
  AI 149055: Add initial file for LED content including doxygen code from lights.h

15 years agoAI 149055: Add initial file for LED content including doxygen code from lights.h
Reena Lee [Wed, 20 May 2009 15:04:39 +0000 (08:04 -0700)]
AI 149055: Add initial file for LED content including doxygen code from lights.h

Automated import of CL 149055

15 years agoMerge change 1954 into donut
Android (Google) Code Review [Wed, 20 May 2009 09:45:40 +0000 (02:45 -0700)]
Merge change 1954 into donut

* changes:
  Add a bunch of documentation for the Android C library and the JNI interface to the NDK

15 years agoMerge change 1951 into donut
Android (Google) Code Review [Wed, 20 May 2009 09:45:00 +0000 (02:45 -0700)]
Merge change 1951 into donut

* changes:
  Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.

15 years agoAdd new trace tool for displaying all the memory regions in a process.
Jack Veenstra [Wed, 20 May 2009 00:37:00 +0000 (17:37 -0700)]
Add new trace tool for displaying all the memory regions in a process.

15 years agoMerge change 2004 into donut
Android (Google) Code Review [Wed, 20 May 2009 00:33:16 +0000 (17:33 -0700)]
Merge change 2004 into donut

* changes:
  Handle munmap() and add support for tracing JNI (native) calls.

15 years agoAdd support for native (JNI) calls to the trace tools.
Jack Veenstra [Tue, 19 May 2009 23:47:04 +0000 (16:47 -0700)]
Add support for native (JNI) calls to the trace tools.

Also fix a bug in profile_pid.cpp and add better output to
stack_dump.cpp.

15 years agoHandle munmap() and add support for tracing JNI (native) calls.
Jack Veenstra [Tue, 19 May 2009 22:07:29 +0000 (15:07 -0700)]
Handle munmap() and add support for tracing JNI (native) calls.

The munmap() kernel calls are traced but the tracing code wasn't doing
anything with them.  This caused the number of mapped regions in a process
to grow large in some cases and also caused symbol lookup errors in some
rare cases.  This change also adds support for new trace record types
for supporting JNI (native) calls from Java into native code. This helps
with constructing a more accurate call stack.

15 years agoMerge change 1958 into donut
Android (Google) Code Review [Tue, 19 May 2009 19:00:42 +0000 (12:00 -0700)]
Merge change 1958 into donut

* changes:
  Force --no-undefined at link time to generate an error when trying to generate a shared library that references undefined symbols. This can be overriden by defining LOCAL_ALLOW_UNDEFINED_SYMBOLS in your Android.mk to 'true'

15 years agoam 429fbd82: AI 149005: Change from ndk to platform\'s ndk (pndk), the ability to...
Mike Ritter [Tue, 19 May 2009 18:29:25 +0000 (11:29 -0700)]
am 429fbd82: AI 149005: Change from ndk to platform\'s ndk (pndk), the ability to make your own java callable libraries to c code.   BUG=1857858

Merge commit '429fbd82d82c5e278a546de226c193138a9a2669' into donut

* commit '429fbd82d82c5e278a546de226c193138a9a2669':
  AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.

15 years agoAI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own...
Mike Ritter [Tue, 19 May 2009 18:28:10 +0000 (11:28 -0700)]
AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.
  BUG=1857858

Automated import of CL 149005

15 years agoForce --no-undefined at link time to generate an error when trying to generate a...
David 'Digit' Turner [Tue, 19 May 2009 12:58:45 +0000 (14:58 +0200)]
Force --no-undefined at link time to generate an error when trying to generate a shared library that references undefined symbols.
This can be overriden by defining LOCAL_ALLOW_UNDEFINED_SYMBOLS in your Android.mk to 'true'

15 years agoAdd a bunch of documentation for the Android C library and the JNI interface to the NDK
David 'Digit' Turner [Tue, 19 May 2009 11:09:20 +0000 (13:09 +0200)]
Add a bunch of documentation for the Android C library and the JNI interface to the NDK

15 years agoFix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in...
David 'Digit' Turner [Tue, 19 May 2009 11:04:07 +0000 (13:04 +0200)]
Fix typo which prevented APP_CFLAGS, APP_CXXFLAGS and others to work properly in the NDK build system.

15 years agoExpose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.
David 'Digit' Turner [Tue, 19 May 2009 10:10:09 +0000 (12:10 +0200)]
Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot.

This is OK because the Zlib ABI is fixed and stable.

Also get rid of the sample zlib sources since we don't need the static library anymore.

15 years agoam c3c7479a: AI 148985: Adding an initial file for sensors content with doxygen conte...
Reena Lee [Tue, 19 May 2009 06:24:43 +0000 (23:24 -0700)]
am c3c7479a: AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.

Merge commit 'c3c7479ab6df0650e6e63b67ec713c7267df9e82' into donut

* commit 'c3c7479ab6df0650e6e63b67ec713c7267df9e82':
  AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.

15 years agoam 6ff7572f: AI 148967: Cloned from CL 148932 by \'g4 patch\'. Original change...
Gaurav Mathur [Tue, 19 May 2009 06:24:42 +0000 (23:24 -0700)]
am 6ff7572f: AI 148967: Cloned from CL 148932 by \'g4 patch\'.   Original change by dwarren@dwarren-pdk on 2009/05/15 16:17:05.   Adding Build Cookbook to PDK.

Merge commit '6ff7572fd50f148e96d87ecb347f138f69ea810d' into donut

* commit '6ff7572fd50f148e96d87ecb347f138f69ea810d':
  AI 148967: Cloned from CL 148932 by 'g4 patch'.

15 years agoAI 148985: Adding an initial file for sensors content with doxygen content included...
Reena Lee [Tue, 19 May 2009 05:34:25 +0000 (22:34 -0700)]
AI 148985: Adding an initial file for sensors content with doxygen content included from sensors.h.

Automated import of CL 148985

15 years agoMerge change 1578 into donut
Android (Google) Code Review [Mon, 18 May 2009 23:08:39 +0000 (16:08 -0700)]
Merge change 1578 into donut

* changes:
  Teleca 2b changes.

15 years agoAI 148967: Cloned from CL 148932 by 'g4 patch'.
Gaurav Mathur [Mon, 18 May 2009 22:26:51 +0000 (15:26 -0700)]
AI 148967: Cloned from CL 148932 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/05/15 16:17:05.
  Adding Build Cookbook to PDK.

Automated import of CL 148967

15 years agoUpdate the SDK packaging to include sdkuilib.
Xavier Ducrohet [Mon, 18 May 2009 20:30:37 +0000 (13:30 -0700)]
Update the SDK packaging to include sdkuilib.

This is now necessary since the 'android' tool has a UI.

15 years agoTeleca 2b changes.
Wink Saville [Sun, 17 May 2009 03:49:28 +0000 (20:49 -0700)]
Teleca 2b changes.

15 years agoam 37ad99b3: AI 148943: Extracted the commentary from the runs to be headers for...
Reena Lee [Sat, 16 May 2009 04:32:44 +0000 (21:32 -0700)]
am 37ad99b3: AI 148943: Extracted the commentary from the runs to be headers for the log snippets for readability. Will update the steps (and commentary) in a separate CL.

Merge commit '37ad99b38686f4b31976eae75256a0ac0927ca62' into donut

* commit '37ad99b38686f4b31976eae75256a0ac0927ca62':
  AI 148943: Extracted the commentary from the runs to be headers for the log snippets for readability. Will update the steps (and commentary) in a separate CL.

15 years agoAI 148943: Extracted the commentary from the runs to be headers for the log snippets...
Reena Lee [Sat, 16 May 2009 02:07:42 +0000 (19:07 -0700)]
AI 148943: Extracted the commentary from the runs to be headers for the log snippets for readability. Will update the steps (and commentary) in a separate CL.

Automated import of CL 148943

15 years agoMerge change 1834 into donut
Android (Google) Code Review [Sat, 16 May 2009 01:51:02 +0000 (18:51 -0700)]
Merge change 1834 into donut

* changes:
  Skeleton App Windows for Sdk Updater built using SWT Designer. The window is shown when the "android" tool is invoked with no parameter.

15 years agoSkeleton App Windows for Sdk Updater built using SWT Designer.
Raphael [Sat, 16 May 2009 00:36:26 +0000 (17:36 -0700)]
Skeleton App Windows for Sdk Updater built using SWT Designer.
The window is shown when the "android" tool is invoked with no parameter.

15 years agoMerge change 1730 into donut
Android (Google) Code Review [Fri, 15 May 2009 22:21:13 +0000 (15:21 -0700)]
Merge change 1730 into donut

* changes:
  Make the ddmlib API use IDevice instead of Device

15 years agoUpdate ADT feature dependency.
Xavier Ducrohet [Fri, 15 May 2009 21:45:17 +0000 (14:45 -0700)]
Update ADT feature dependency.

15 years agoMake the ddmlib API use IDevice instead of Device
Xavier Ducrohet [Fri, 15 May 2009 01:19:52 +0000 (18:19 -0700)]
Make the ddmlib API use IDevice instead of Device

Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.

15 years agoADT #1844909: Tweak XML schema, add more tests.
Raphael [Fri, 15 May 2009 19:11:35 +0000 (12:11 -0700)]
ADT #1844909: Tweak XML schema, add more tests.

Change XML schema to allow for empty <libs>, e.g. one can create
and add-on that doesn't declare any extra lib.
However enforce that <archives> contains at least one <archive>
element to prevent someone from declaring a download element
that cannot actually be downloaded.

Added a couple tests for validation of empty documents.

15 years agoAdd tests definition (unit tests and stress tests) for Camera.
Owen Lin [Fri, 15 May 2009 01:55:34 +0000 (18:55 -0700)]
Add tests definition (unit tests and stress tests) for Camera.

15 years agoADT #1844909: Move sdk-repository XSD and tests from SdkManager to SdkLib.
Raphael [Fri, 15 May 2009 02:48:53 +0000 (19:48 -0700)]
ADT #1844909: Move sdk-repository XSD and tests from SdkManager to SdkLib.

15 years agoMerge change 1739 into donut
Android (Google) Code Review [Fri, 15 May 2009 02:36:03 +0000 (19:36 -0700)]
Merge change 1739 into donut

* changes:
  Fix an NPE in the New Project Wizard when no test project is specified on the second NPW page.

15 years agoFix an NPE in the New Project Wizard when no test project is specified
Raphael [Fri, 15 May 2009 02:17:39 +0000 (19:17 -0700)]
Fix an NPE in the New Project Wizard when no test project is specified
on the second NPW page.

15 years agoam 5cb2d230: AI 148875: Fix Google add-on to include Streetview, remove the add-accou...
Xavier Ducrohet [Fri, 15 May 2009 00:05:17 +0000 (17:05 -0700)]
am 5cb2d230: AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2

Merge commit '5cb2d23022cec5abc07c4dbb463be58e6d88b2c7' into donut

* commit '5cb2d23022cec5abc07c4dbb463be58e6d88b2c7':
  AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2

15 years agoAI 148875: Fix Google add-on to include Streetview, remove the add-account from the...
Xavier Ducrohet [Fri, 15 May 2009 00:04:14 +0000 (17:04 -0700)]
AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2

Automated import of CL 148875

15 years agoam 7e056ae8: AI 148870: Pinging Ryan for Dr No approval. --- Cloned from CL 14724...
Gaurav Mathur [Thu, 14 May 2009 23:18:22 +0000 (16:18 -0700)]
am 7e056ae8: AI 148870: Pinging Ryan for Dr No approval.   ---   Cloned from CL 147240 by \'g4 patch\'.   Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.   "Making PDK work in SDK environment."   This CL should be pretty straight forward and should be touching only PDK   related templates, etc. Turns out we no longer need to touch the highlightNav   code.

Merge commit '7e056ae8a20848754f85202d9d903f4a152d3027' into donut

* commit '7e056ae8a20848754f85202d9d903f4a152d3027':
  AI 148870: Pinging Ryan for Dr No approval.

15 years agoAI 148870: Pinging Ryan for Dr No approval.
Gaurav Mathur [Thu, 14 May 2009 23:02:22 +0000 (16:02 -0700)]
AI 148870: Pinging Ryan for Dr No approval.
  ---
  Cloned from CL 147240 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.
  "Making PDK work in SDK environment."
  This CL should be pretty straight forward and should be touching only PDK
  related templates, etc. Turns out we no longer need to touch the highlightNav
  code.

Automated import of CL 148870

15 years agoMerge change 1699 into donut
Android (Google) Code Review [Thu, 14 May 2009 23:00:17 +0000 (16:00 -0700)]
Merge change 1699 into donut

* changes:
  Make IDevice#getSyncService() throws an IOException.

15 years agoMake IDevice#getSyncService() throws an IOException.
Xavier Ducrohet [Thu, 14 May 2009 22:18:56 +0000 (15:18 -0700)]
Make IDevice#getSyncService() throws an IOException.

This lets callers differentiate between errors when connecting to adb and
errors because adb couldn't talk to the device.

15 years agoFix bad automatic dependency computations
David 'Digit' Turner [Thu, 14 May 2009 15:16:32 +0000 (17:16 +0200)]
Fix bad automatic dependency computations

15 years agoMerge change 1681 into donut
Android (Google) Code Review [Thu, 14 May 2009 21:57:44 +0000 (14:57 -0700)]
Merge change 1681 into donut

* changes:
  Remove duplicate initialization in AdtPlugin.

15 years agoMerge change 1653 into donut
Android (Google) Code Review [Thu, 14 May 2009 21:55:55 +0000 (14:55 -0700)]
Merge change 1653 into donut

* changes:
  Fix bad dependency between generated shared libraries and the corresponding installed module. Also fixes the "make clean" target by the way.

15 years agoMerge change 1651 into donut
Android (Google) Code Review [Thu, 14 May 2009 21:51:09 +0000 (14:51 -0700)]
Merge change 1651 into donut

* changes:
  Fix the build-toolchain.sh script which doesn't work due to the new download location of the NDK sources and a small typo when using wget. Also make --force-download actually work.

15 years agoRemove duplicate initialization in AdtPlugin.
Xavier Ducrohet [Thu, 14 May 2009 20:31:11 +0000 (13:31 -0700)]
Remove duplicate initialization in AdtPlugin.

The is a remnant of the old #start() method of the Editors Plugin class.

15 years agoMerge change 1673 into donut
Android (Google) Code Review [Thu, 14 May 2009 20:19:03 +0000 (13:19 -0700)]
Merge change 1673 into donut

* changes:
  Made valgrind optional. Capture the target output.

15 years agoMerge change 1501 into donut
Android (Google) Code Review [Thu, 14 May 2009 19:56:35 +0000 (12:56 -0700)]
Merge change 1501 into donut

* changes:
  ADT #1844909: SDK manager, define XML schemas & sample XMLs

15 years agoADT #1844909: SDK manager, define XML schemas & sample XMLs
Raphael [Wed, 13 May 2009 00:10:26 +0000 (17:10 -0700)]
ADT #1844909: SDK manager, define XML schemas & sample XMLs

For reference, there's an XSD primer here:
- http://www.w3.org/TR/xmlschema-0/#NS
- http://www.w3schools.com/Schema/

15 years agoMade valgrind optional. Capture the target output.
Nicolas Catania [Thu, 14 May 2009 19:25:23 +0000 (12:25 -0700)]
Made valgrind optional. Capture the target output.

Don't fail if valgrind (system version not the google3 one) is missing.
If the test fail, print the output of the test.
Added .pyc to the gitignore file.

15 years agoFix bad dependency between generated shared libraries and the corresponding installed...
David 'Digit' Turner [Thu, 14 May 2009 15:23:35 +0000 (17:23 +0200)]
Fix bad dependency between generated shared libraries and the corresponding installed module.
Also fixes the "make clean" target by the way.

15 years agoFix the build-toolchain.sh script which doesn't work due to the new download location...
David 'Digit' Turner [Thu, 14 May 2009 14:43:03 +0000 (16:43 +0200)]
Fix the build-toolchain.sh script which doesn't work due to the new download location of the NDK sources
and a small typo when using wget. Also make --force-download actually work.

15 years agoFix a double issue regarding interrupted builds due to pre-existing errors.
Xavier Ducrohet [Thu, 14 May 2009 00:57:43 +0000 (17:57 -0700)]
Fix a double issue regarding interrupted builds due to pre-existing errors.

First, the ApkBuilder didn't cancel its run if the project had markers from JDT.
Second, the try/catch on ApkBuilder#build didn't properly test the
CoreException status severity (used getCode instead of getSeverity), so it did
not detect cancels being thrown by #abortOnBadSetup and displayed the error
in the console instead.

15 years agoADT: remove an obsolete import from the manifest.
Xavier Ducrohet [Thu, 14 May 2009 00:41:07 +0000 (17:41 -0700)]
ADT: remove an obsolete import from the manifest.

15 years agoADT: Refactoring classes dealing with android resources out of the editor.
Xavier Ducrohet [Thu, 14 May 2009 00:34:09 +0000 (17:34 -0700)]
ADT: Refactoring classes dealing with android resources out of the editor.

Basically:
editors.resources.manager -> resources.manager
editors.resources.configurations -> resources.configurations

This is to make it less confusing between the "Resources editors" and the
class parsing/handling Android resources (either in a project or in the
framework).
Also moved the ResourceExplorerView out of the resources editors, and clean
up a few other misc classes.

15 years agoADT: Move more packages into internal:
Xavier Ducrohet [Thu, 14 May 2009 00:23:00 +0000 (17:23 -0700)]
ADT: Move more packages into internal:

editors -> adt.internal.editors.

This also marks the final refactoring of combining previous editors/common
plugin under the adt package.

15 years agoADT: Move more packages into internal.
Xavier Ducrohet [Thu, 14 May 2009 00:13:15 +0000 (17:13 -0700)]
ADT: Move more packages into internal.

common.project -> adt.internal.project
adt.resources -> adt.internal.resources
adt.wizards.* -> adt.internal.wizards
adt.ui -> adt.internal.ui

15 years agoADT: Move more packages into internal
Xavier Ducrohet [Wed, 13 May 2009 23:58:07 +0000 (16:58 -0700)]
ADT: Move more packages into internal

project.*
refactorings.*

Also: moved the export wizard from project.export to wizards.export, moved some
actions out of project into the new internal package actions.

15 years agoADT: Remove StreamHelper and integrate it in AdtPlugin.
Xavier Ducrohet [Wed, 13 May 2009 23:46:31 +0000 (16:46 -0700)]
ADT: Remove StreamHelper and integrate it in AdtPlugin.

StreamHelper was used before by AdtPlugin, DdmsPlugin and EditorsPlugin. It's now
only used by AdtPlugin, so the only 2 methods in it can go in AdtPlugin.
I merged the externalized string in the messages.properties file used by AdtPlugin.

15 years agoMoved more ADT packages into internal.
Xavier Ducrohet [Wed, 13 May 2009 23:37:55 +0000 (16:37 -0700)]
Moved more ADT packages into internal.

adt.build
adt.launch.*
adt.preferences

Also started combining adt and common.

15 years agoUpdate ADT to use the refactored sdklib from previous patch.
Xavier Ducrohet [Wed, 13 May 2009 22:06:27 +0000 (15:06 -0700)]
Update ADT to use the refactored sdklib from previous patch.

15 years agoMerge change 1571 into donut
Android (Google) Code Review [Wed, 13 May 2009 22:04:17 +0000 (15:04 -0700)]
Merge change 1571 into donut

* changes:
  Move some classes that have non ready APIs to internal packages

15 years agoMove some classes that have non ready APIs to internal packages
Xavier Ducrohet [Wed, 13 May 2009 21:53:49 +0000 (14:53 -0700)]
Move some classes that have non ready APIs to internal packages

- com.android.sdklib.avd -> com.android.sdklib.internal.avd
- com.android.sdklib.project -> com.android.sdklib.internal.project

15 years agoam c331aeb: AI 148799: New TOC for PDK -- should be less cluttered and u
Gaurav Mathur [Wed, 13 May 2009 20:57:23 +0000 (13:57 -0700)]
am c331aeb: AI 148799: New TOC for PDK -- should be less cluttered and u

Merge commit 'c331aeb8d65805a3a1129ecdea62567b6c7bb24b' into donut

* commit 'c331aeb8d65805a3a1129ecdea62567b6c7bb24b':
  AI 148799: New TOC for PDK -- should be less cluttered and uses folding to better

15 years agoAI 148799: New TOC for PDK -- should be less cluttered and uses folding to better
Gaurav Mathur [Wed, 13 May 2009 20:53:51 +0000 (13:53 -0700)]
AI 148799: New TOC for PDK -- should be less cluttered and uses folding to better
  organize

Automated import of CL 148799

15 years agoam 24a8fe8: AI 148797: Back-port the new version of the Grid.java from D
Jack Palevich [Wed, 13 May 2009 20:00:15 +0000 (13:00 -0700)]
am 24a8fe8: AI 148797: Back-port the new version of the Grid.java from D

Merge commit '24a8fe82dffacdfe2fab9d007b2a6538b5f511bc' into donut

* commit '24a8fe82dffacdfe2fab9d007b2a6538b5f511bc':
  AI 148797: Back-port the new version of the Grid.java from Donut.

15 years agoAI 148797: Back-port the new version of the Grid.java from Donut.
Jack Palevich [Wed, 13 May 2009 19:56:48 +0000 (12:56 -0700)]
AI 148797: Back-port the new version of the Grid.java from Donut.
  This new version uses "direct" java.nio.Buffer objects, which avoids a potential
  crash that may occur when "indirect" java.nio.Buffer objects are used.
  BUG=1849855

Automated import of CL 148797

15 years agoam 0355976: AI 148793: Integrating publicly posted Bluetooth content.
David Warren [Wed, 13 May 2009 19:09:32 +0000 (12:09 -0700)]
am 0355976: AI 148793: Integrating publicly posted Bluetooth content.

Merge commit '0355976f628857b2675377fa4f2de12b3b5a44aa' into donut

* commit '0355976f628857b2675377fa4f2de12b3b5a44aa':
  AI 148793: Integrating publicly posted Bluetooth content.

15 years agoam eb98133: AI 148792: 3 new pages: customization, early_suspend, and wa
David Warren [Wed, 13 May 2009 19:09:32 +0000 (12:09 -0700)]
am eb98133: AI 148792: 3 new pages: customization, early_suspend, and wa

Merge commit 'eb98133b0f66cca46ea2b8f54479fb745ddc478a' into donut

* commit 'eb98133b0f66cca46ea2b8f54479fb745ddc478a':
  AI 148792: 3 new pages: customization, early_suspend, and wakelock.

15 years agoAI 148793: Integrating publicly posted Bluetooth content.
David Warren [Wed, 13 May 2009 19:02:27 +0000 (12:02 -0700)]
AI 148793: Integrating publicly posted Bluetooth content.

Automated import of CL 148793

15 years agoAI 148792: 3 new pages: customization, early_suspend, and wakelock.
David Warren [Wed, 13 May 2009 19:00:07 +0000 (12:00 -0700)]
AI 148792: 3 new pages: customization, early_suspend, and wakelock.

Automated import of CL 148792

15 years agoam b755508: AI 148763: Adding STK to PDK.
David Warren [Wed, 13 May 2009 01:49:38 +0000 (18:49 -0700)]
am b755508: AI 148763: Adding STK to PDK.

Merge commit 'b755508480b626ab038e20259171c45af021b785' into donut

* commit 'b755508480b626ab038e20259171c45af021b785':
  AI 148763: Adding STK to PDK.

15 years agoRemove the PlatformLibrary
Xavier Ducrohet [Wed, 13 May 2009 00:55:35 +0000 (17:55 -0700)]
Remove the PlatformLibrary

This sample is not an application sample, but a framework sample.
It is moved to vendor/sample. A new "sample" vendor that will show how to create Android-based device

15 years agoAI 148763: Adding STK to PDK.
David Warren [Tue, 12 May 2009 22:44:40 +0000 (15:44 -0700)]
AI 148763: Adding STK to PDK.

Automated import of CL 148763

15 years agoMerge change 1392 into donut
Android (Google) Code Review [Tue, 12 May 2009 01:35:42 +0000 (18:35 -0700)]
Merge change 1392 into donut

* changes:
  Fixed bugs in the media player api demo application - release the MediaPlayer object when onPause - use onVideoSizeChanged listener to make sure that correct video size is known before starting playback

15 years agoMerge change 1347 into donut
Android (Google) Code Review [Tue, 12 May 2009 01:00:42 +0000 (18:00 -0700)]
Merge change 1347 into donut

* changes:
  Add a new program for checking the correctness of the computed stack from a trace.

15 years agoMerge change 1346 into donut
Android (Google) Code Review [Tue, 12 May 2009 01:00:23 +0000 (18:00 -0700)]
Merge change 1346 into donut

* changes:
  Better output for viewing the method trace.