OSDN Git Service

android-x86/ndk.git
15 years agoSDK Updater: add comments to the XML Schema.
Raphael [Fri, 5 Jun 2009 05:17:37 +0000 (22:17 -0700)]
SDK Updater: add comments to the XML Schema.

This patch also moves the checksumType at the bottom
so that the main sdk-repository element definition
be the first thing in the file.

15 years agoMerge change 3202 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 01:54:50 +0000 (18:54 -0700)]
Merge change 3202 into donut

* changes:
  Make runtest wait for instrumentation install before running test.

15 years agoMake runtest wait for instrumentation install before running test.
Brett Chabot [Thu, 4 Jun 2009 20:50:55 +0000 (13:50 -0700)]
Make runtest wait for instrumentation install before running test.

This attempts to address bug 1872940 where runtest will attempt to
run the test before all the new packages pushed via adb sync are
actually installed. This won't completely fix the bug in all cases,
but hopefully will help most situations.

15 years agoMerge change 3228 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 00:48:15 +0000 (17:48 -0700)]
Merge change 3228 into donut

* changes:
  ADT: make sure to log exceptions that might happen when loading the SDK.

15 years agoChange scripts to support x86_64 for DDMS.
Raphael [Thu, 4 Jun 2009 23:58:55 +0000 (16:58 -0700)]
Change scripts to support x86_64 for DDMS.

15 years agoADT: make sure to log exceptions that might happen when
Raphael [Thu, 4 Jun 2009 22:13:28 +0000 (15:13 -0700)]
ADT: make sure to log exceptions that might happen when
loading the SDK.

15 years agoMerge change 3195 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 22:00:45 +0000 (15:00 -0700)]
Merge change 3195 into donut

* changes:
  Change the SDK, DDMS and Traceview to work with the new SWT libraries.

15 years agoChange the SDK, DDMS and Traceview to work with the new SWT libraries.
Xavier Ducrohet [Wed, 3 Jun 2009 23:07:36 +0000 (16:07 -0700)]
Change the SDK, DDMS and Traceview to work with the new SWT libraries.

The SDK now contains 32 and 64 bit version of SWT. DDMS and Traceview
use the archquery java app to check the architecture of the VM to decide
which version of SWT should be used to run the apps.

15 years agoMerge change 3141 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 20:16:08 +0000 (13:16 -0700)]
Merge change 3141 into donut

* changes:
  SDK Updater: Unzip archives.

15 years agoFixed valgrind handling issue.
Nicolas Catania [Thu, 4 Jun 2009 16:42:03 +0000 (09:42 -0700)]
Fixed valgrind handling issue.

Turns out valgrind always exits with error code 0 even when a leak is
detected. Instead we are now looking for an empty output.

15 years agoSDK Updater: Unzip archives.
Raphael [Thu, 4 Jun 2009 05:42:44 +0000 (22:42 -0700)]
SDK Updater: Unzip archives.

This adds the following:
- unzip archives
- if dest dir already exists (typicaly update case),
  unzips in a temp dir then swap dirs then delete
  the old install. In case of error, the old archive
  has not been lost.
- computes stats for download: percentage, speed, time left.
- compute percent for install, on top of progress bar.

The install code will need to move somewhere
out of the window. I think I'll put in the Archive
itself with the window just looping on all archives
and doing some progress bar bookeeping.

15 years agoMerge change 3016 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 18:01:14 +0000 (11:01 -0700)]
Merge change 3016 into donut

* changes:
  SDK Updater: Refactor, polish and complete the progress dialog.

15 years agoMerge change 3009 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 18:01:07 +0000 (11:01 -0700)]
Merge change 3009 into donut

* changes:
  SDK Updater: fix download URL, fix checksum computation.

15 years agoMerge change 2428 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 17:49:54 +0000 (10:49 -0700)]
Merge change 2428 into donut

* changes:
  Fix misleading comment.

15 years agoSDK Updater: Refactor, polish and complete the progress dialog.
Raphael [Wed, 3 Jun 2009 07:19:09 +0000 (00:19 -0700)]
SDK Updater: Refactor, polish and complete the progress dialog.

This splits the former ProgressTask in 2 parts:
ProgressDialog is just the SWT dialog and ProgressTask
is the task handling.

This helps avoiding confusing SWT Designer each time
I do a change in the logic. Plus it seems cleaner anyway.

The other thing this CL does is implement the pause/close
I originally wanted: the pause button is greyed once used
by the user whilst the task completes. After, it becomes
a "Close" button if there's a result text displayed.
Closing the window using the close box is now the same as
using the pause/close button (to avoid closing the dialog
with a running thread.)

15 years agoSDK Updater: fix download URL, fix checksum computation.
Raphael [Wed, 3 Jun 2009 05:12:01 +0000 (22:12 -0700)]
SDK Updater: fix download URL, fix checksum computation.

15 years agoMerge change 2768 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 23:53:22 +0000 (16:53 -0700)]
Merge change 2768 into donut

* changes:
  Add an API demo that shows the effets of setting Bitmaps as being purgeable.

15 years agoam c91e5f15: AI 149502: - Adding sensors to PDK TOC - Added initial table of Produc...
Reena Lee [Tue, 2 Jun 2009 23:42:47 +0000 (16:42 -0700)]
am c91e5f15: AI 149502: - Adding sensors to PDK TOC   - Added initial table of Product Definition file parameters   - Added initial table of Android.mk LOCAL_* parameters

Merge commit 'c91e5f15bab34364e67b578bfa49ea5a46d1e604' into donut

* commit 'c91e5f15bab34364e67b578bfa49ea5a46d1e604':
  AI 149502: - Adding sensors to PDK TOC

15 years agoMerge commit 'e2f2e9fe594dd0cee702833a397edf1694fc61bf' into donut
The Android Open Source Project [Tue, 2 Jun 2009 23:37:56 +0000 (16:37 -0700)]
Merge commit 'e2f2e9fe594dd0cee702833a397edf1694fc61bf' into donut

15 years agoMerge commit '9e24d24b06cdb1883b03e375b28a92a9003952c7' into donut
The Android Open Source Project [Tue, 2 Jun 2009 23:37:48 +0000 (16:37 -0700)]
Merge commit '9e24d24b06cdb1883b03e375b28a92a9003952c7' into donut

15 years agoAI 149502: - Adding sensors to PDK TOC
Reena Lee [Tue, 2 Jun 2009 22:00:28 +0000 (15:00 -0700)]
AI 149502: - Adding sensors to PDK TOC
  - Added initial table of Product Definition file parameters
  - Added initial table of Android.mk LOCAL_* parameters

Automated import of CL 149502

15 years agoFix build: Add SWT dependency to SdkManager.
Raphael [Tue, 2 Jun 2009 21:08:46 +0000 (14:08 -0700)]
Fix build: Add SWT dependency to SdkManager.

15 years agoAI 149496: Backport emulator-related donut fixes into cupcake.
David Turner [Tue, 2 Jun 2009 19:30:46 +0000 (12:30 -0700)]
AI 149496: Backport emulator-related donut fixes into cupcake.
  This includes the following fixes:
  - remove potential qemud crash at system boot
  - fix GPS fix emulation
  - fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems)
  - add -prop <name>=<value> option to add system properties on boot
  - allow F5 keybinding for SEARCH on keyboard-less hardware configurations
  - allow skins to provide a "search" button
  - fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation

Automated import of CL 149496

15 years agoMerge change 2868 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 19:25:47 +0000 (12:25 -0700)]
Merge change 2868 into donut

* changes:
  SDK Updater: Placeholder pages for about and settings.

15 years agoAI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb...
Xavier Ducrohet [Tue, 2 Jun 2009 19:06:12 +0000 (12:06 -0700)]
AI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb to use.
  BUG=1890147

Automated import of CL 149491

15 years agoMerge change 2778 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 19:04:04 +0000 (12:04 -0700)]
Merge change 2778 into donut

* changes:
  Initial change to add cts tests to runtest.

15 years agoMerge changes 2853,2885 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 18:56:59 +0000 (11:56 -0700)]
Merge changes 2853,2885 into donut

* changes:
  Misc updates on the Sdklib.
  Export all ADT packages.

15 years agoInitial change to add cts tests to runtest.
Brett Chabot [Tue, 2 Jun 2009 18:46:04 +0000 (11:46 -0700)]
Initial change to add cts tests to runtest.

Adds cts test definitions to the testrunner/test_defs.xml.
Adds support for runtest --cts arg, which will run all cts tests.
This temporarily relies on the addition of a 'cts' attribute to the test
definition - a new xml format may be defined later that changes how cts tests
are identified.

This change is based on previous unsubmitted CL
https://android-git.corp.google.com/g/Gerrit#change,1702. The only delta wrt
to that change is the use of InstrumentationCtsTestRunner.

Update: rebased to latest donut.

15 years agoSDK Updater: Placeholder pages for about and settings.
Raphael [Mon, 1 Jun 2009 22:45:33 +0000 (15:45 -0700)]
SDK Updater: Placeholder pages for about and settings.

These pages are now in the SdkManager project
with a mechanism to instantiate them from the UI on demand.

15 years agoam 6d73a98d: AI 149478: Reorganized the PDK TOC. Added Dalvik content to TOC.
Reena Lee [Tue, 2 Jun 2009 07:30:42 +0000 (00:30 -0700)]
am 6d73a98d: AI 149478: Reorganized the PDK TOC.   Added Dalvik content to TOC.

Merge commit '6d73a98d6df871fbd7f19af61d84a2eb1d993b4b' into donut

* commit '6d73a98d6df871fbd7f19af61d84a2eb1d993b4b':
  AI 149478: Reorganized the PDK TOC.

15 years agoAI 149478: Reorganized the PDK TOC.
Reena Lee [Tue, 2 Jun 2009 06:48:05 +0000 (23:48 -0700)]
AI 149478: Reorganized the PDK TOC.
  Added Dalvik content to TOC.

Automated import of CL 149478

15 years agoMisc updates on the Sdklib.
Xavier Ducrohet [Tue, 2 Jun 2009 00:16:07 +0000 (17:16 -0700)]
Misc updates on the Sdklib.

- moved some code around
- made the constant in IAndroidTarget actual constant (they were not final)

15 years agoMerge change 2881 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 00:03:10 +0000 (17:03 -0700)]
Merge change 2881 into donut

* changes:
  Added the mediaapitest, mediarecordertest and stress test in the testrunner.So the partner can run the test easier.

15 years agoAdded the mediaapitest, mediarecordertest and stress test in the testrunner.So
Yu Shan Emily Lau [Mon, 1 Jun 2009 23:55:49 +0000 (16:55 -0700)]
Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
the partner can run the test easier.

15 years agoMerge change 2863 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 22:36:23 +0000 (15:36 -0700)]
Merge change 2863 into donut

* changes:
  SDK Updater: Minor change to make composite constructor compliant with SWT designer.

15 years agoSDK Updater: Minor change to make composite constructor compliant with
Raphael [Mon, 1 Jun 2009 22:21:22 +0000 (15:21 -0700)]
SDK Updater: Minor change to make composite constructor compliant with
SWT designer.

All custom params should be last. SWT Designer expects the first
arg to be the parent composite.

15 years agoExport all ADT packages.
Xavier Ducrohet [Mon, 1 Jun 2009 21:38:29 +0000 (14:38 -0700)]
Export all ADT packages.

15 years agoMerge change 2831 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 21:04:13 +0000 (14:04 -0700)]
Merge change 2831 into donut

* changes:
  Fix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes.

15 years agoAdd an API demo that shows the effets of setting Bitmaps as being purgeable.
Wei-Ta Chen [Fri, 29 May 2009 23:03:39 +0000 (16:03 -0700)]
Add an API demo that shows the effets of setting Bitmaps as being purgeable.

15 years agoAdd docs/SYSTEM-ISSUES.TXT to list important system issues that NDK developers should...
David 'Digit' Turner [Mon, 1 Jun 2009 20:24:10 +0000 (22:24 +0200)]
Add docs/SYSTEM-ISSUES.TXT to list important system issues that NDK developers should be aware of

15 years agoFix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes.
David 'Digit' Turner [Mon, 1 Jun 2009 20:25:30 +0000 (22:25 +0200)]
Fix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes.

15 years agoAdd docs/HOWTO.TXT to list a few important tips for NDK users
David 'Digit' Turner [Mon, 1 Jun 2009 19:17:04 +0000 (21:17 +0200)]
Add docs/HOWTO.TXT to list a few important tips for NDK users
Also remove reference to docs/ROADMAP.TXT from README.TXT (doh)

15 years agoMerge change 2813 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 19:18:21 +0000 (12:18 -0700)]
Merge change 2813 into donut

* changes:
  Remove the jni-tips.html document. It contains too many swear words :-)

15 years agoMerge change 2818 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 19:18:10 +0000 (12:18 -0700)]
Merge change 2818 into donut

* changes:
  Add docs/STABLE-APIS.TXT which contains the list of exposed frozen APIs in the NDK. Also update README.TXT and docs/ANDROID-MK.TXT accordingly, to document the use of LOCAL_LDLIBS.

15 years agoMerge change 2771 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 19:04:59 +0000 (12:04 -0700)]
Merge change 2771 into donut

* changes:
  SDK Updater: parse local packages, download and install remote packages.

15 years agoSDK Updater: parse local packages, download and install remote packages.
Raphael [Fri, 29 May 2009 21:02:50 +0000 (14:02 -0700)]
SDK Updater: parse local packages, download and install remote packages.

The install phase is still work in progress.
The local part needs to display descriptions.
Buttons callback are generally not implemented yet.

15 years agoAdd docs/STABLE-APIS.TXT which contains the list of exposed frozen APIs in the NDK.
David 'Digit' Turner [Mon, 1 Jun 2009 18:38:19 +0000 (20:38 +0200)]
Add docs/STABLE-APIS.TXT which contains the list of exposed frozen APIs in the NDK.
Also update README.TXT and docs/ANDROID-MK.TXT accordingly, to document the use of
LOCAL_LDLIBS.

15 years agoMerge change 2770 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 18:17:19 +0000 (11:17 -0700)]
Merge change 2770 into donut

* changes:
  SDK Updater stuff.

15 years agoRemove the jni-tips.html document. It contains too many swear words :-)
David 'Digit' Turner [Mon, 1 Jun 2009 17:10:40 +0000 (19:10 +0200)]
Remove the jni-tips.html document. It contains too many swear words :-)

15 years agoMerge commit '6f56ebc73762945f2757c66c91ef4702edd979b8' into donut
The Android Open Source Project [Sat, 30 May 2009 18:41:37 +0000 (11:41 -0700)]
Merge commit '6f56ebc73762945f2757c66c91ef4702edd979b8' into donut

15 years agoAI 149397: ADT 1807821 and 1841824: Fixes in android tool
Raphael Moll [Fri, 29 May 2009 23:39:42 +0000 (16:39 -0700)]
AI 149397: ADT 1807821 and 1841824: Fixes in android tool
  - Bug 1807821: create avd -f option does nothing.
  - Bug 1841824: NPE during AVD delete or update.
  BUG=1841824,1807821

Automated import of CL 149397

15 years agoMerge change 2749 into donut
Android (Google) Code Review [Fri, 29 May 2009 22:36:42 +0000 (15:36 -0700)]
Merge change 2749 into donut

* changes:
  Make CompiledResourcesMonitor#getRClassName more error proof.

15 years agoMake CompiledResourcesMonitor#getRClassName more error proof.
Xavier Ducrohet [Fri, 29 May 2009 22:01:18 +0000 (15:01 -0700)]
Make CompiledResourcesMonitor#getRClassName more error proof.

15 years agoMerge change 2687 into donut
Android (Google) Code Review [Fri, 29 May 2009 20:40:07 +0000 (13:40 -0700)]
Merge change 2687 into donut

* changes:
  Add support for parsing code coverage file path to runtest and related cleanup.

15 years agoAdd support for parsing code coverage file path to runtest and related cleanup.
Brett Chabot [Fri, 29 May 2009 01:29:24 +0000 (18:29 -0700)]
Add support for parsing code coverage file path to runtest and related cleanup.

This change is to adapt runtest to the InstrumentationTestRunner change which
dumps coverage data to the app's local data folder, instead of a fixed file on
the sdcard.

Also fixed adb_interace.StartInstrumentationForPackage, added better handling
when generating coverage for tests with unknown coverage targets, and reduced
the duplicate definitions of the "coverage_targets.xml" definition file.

15 years agoExpose <android/log.h> which contains the declaration of /system/lib/liblog.so.
David 'Digit' Turner [Fri, 29 May 2009 19:50:25 +0000 (21:50 +0200)]
Expose <android/log.h> which contains the declaration of /system/lib/liblog.so.
This allows native application code to send logs to the kernel. Alas !

NOTE: This *is* valid for Cupcake

15 years agoUse bash instead of sh because of the '[[' command
Jack Palevich [Thu, 28 May 2009 21:53:02 +0000 (14:53 -0700)]
Use bash instead of sh because of the '[[' command

The '[[' command is not guaranteed to be present in /bin/sh, and in fact
is missing in stock Ubuntu 8.04

15 years agoImprove Linux 32-bit JVM detection logic.
Jack Palevich [Thu, 28 May 2009 01:06:52 +0000 (18:06 -0700)]
Improve Linux 32-bit JVM detection logic.

Now we detect if the JVM we are about to run is 32-bit or not,
rather than checking if the CPU is capable of executing 64-bit
code or not.

15 years agoMerge change 2524 into donut
Android (Google) Code Review [Thu, 28 May 2009 15:58:35 +0000 (08:58 -0700)]
Merge change 2524 into donut

* changes:
  Force the use of 32-bit toolchain binaries on 64-bit systems. This is used to reduce the number of distributable prebuilt packages (i.e. linux-x86_64 is not needed anymore).

15 years agoSDK Updater stuff.
Raphael [Tue, 26 May 2009 22:06:51 +0000 (15:06 -0700)]
SDK Updater stuff.

15 years agoChange build path to "packages/app/Camera.apk". So that it will also
Owen Lin [Fri, 22 May 2009 02:36:34 +0000 (19:36 -0700)]
Change build path to "packages/app/Camera.apk". So that it will also
build the application code.

15 years agoForce the use of 32-bit toolchain binaries on 64-bit systems.
David 'Digit' Turner [Wed, 27 May 2009 12:20:44 +0000 (14:20 +0200)]
Force the use of 32-bit toolchain binaries on 64-bit systems.
This is used to reduce the number of distributable prebuilt packages
(i.e. linux-x86_64 is not needed anymore).

Also fix build/tools/build-toolchain.sh to properly copy the GPL and LGPL
license files into the generated prebuilt packages.

Also add a .gitignore files to get less spew from 'git status'

15 years agoMerge change 2472 into donut
Android (Google) Code Review [Tue, 26 May 2009 22:26:00 +0000 (15:26 -0700)]
Merge change 2472 into donut

* changes:
  ADT #1877529: Fixes a couple potential NPEs in content assists.

15 years agoUpdate some class names in plugin.xml that were not updated by the refactoring.
Xavier Ducrohet [Tue, 26 May 2009 22:09:02 +0000 (15:09 -0700)]
Update some class names in plugin.xml that were not updated by the refactoring.

15 years agoADT #1877529: Fixes a couple potential NPEs in content assists.
Raphael [Tue, 26 May 2009 22:08:33 +0000 (15:08 -0700)]
ADT #1877529: Fixes a couple potential NPEs in content assists.

Can't reproduce the NPE in ContentAssist listed in the
bug. However if things go really wrong there are a couple
objects that can be null so let's be defensive about them.

15 years agoFix wrong path to externalized string file.
Xavier Ducrohet [Tue, 26 May 2009 20:44:02 +0000 (13:44 -0700)]
Fix wrong path to externalized string file.

This is from the big refactoring that moved everything into internal.

15 years agoMerge change 2447 into donut
Android (Google) Code Review [Tue, 26 May 2009 20:25:29 +0000 (13:25 -0700)]
Merge change 2447 into donut

* changes:
  Fix the uninstall target in the Ant build script.

15 years agoFix bad qemud crash on emulator startup.
David 'Digit' Turner [Tue, 26 May 2009 20:21:28 +0000 (22:21 +0200)]
Fix bad qemud crash on emulator startup.

15 years agoFix the uninstall target in the Ant build script.
Xavier Ducrohet [Tue, 26 May 2009 19:25:28 +0000 (12:25 -0700)]
Fix the uninstall target in the Ant build script.

the uninstall parameter is a value (the application package), but the Ant
task was incorrectly using "path" for the argument.

15 years agoMerge change 2388 into donut
Android (Google) Code Review [Tue, 26 May 2009 17:05:33 +0000 (10:05 -0700)]
Merge change 2388 into donut

* changes:
  Update Eclipse classpath file to add the android.tts package (path to package + files generated from AIDL).

15 years agoThis adds a new helper program (qemu-props) to support the emulated system.
David 'Digit' Turner [Tue, 26 May 2009 15:07:25 +0000 (17:07 +0200)]
This adds a new helper program (qemu-props) to support the emulated system.

Its purpose is to contact the 'boot-properties' service during the
boot process and to set the list of system properties read from the
emulator program through it.

It must be launched from /system/etc/init.goldfish.rc as root.

It depends on the 'boot-properties' service being implemented by the
emulator (in a later patch). If not available, it will simply timeout.

This also fixes a potential crash in qemud which can happen in the following case:

- client sends a command to a service
- the service responds with one or more message
- the service immediately closes the connection before the client can read the data

what happened is that the FDHandler object was buffering out-going packets to the
client, but the Multiplexer acted on the disconnection immediately. This resulted
in:

- client_free() being called
-   fdhandler_shutdown() being called
-     the FDHandler being placed on the 'closing' list to be able to send
      buffered packets later. And 'receiver_close' being called
-       client_fd_close() being called, which would call client_free()
        recursively
-         the second client_free() call would free the object
-  the first client_free() call would try to free the object again
-  ==> dlmalloc() detects a double-free and immediately aborts.

the fixes simply avoids the calle to receiver_close() in fdhandler_shutdown()
since this function is called from an explicit shutdown request from the multiplexer,
it doesn't correspond to the case where the client has closed the connection itself.

15 years agoFix misleading comment.
Ken Shirriff [Tue, 26 May 2009 00:38:40 +0000 (17:38 -0700)]
Fix misleading comment.

ExpatParser defaults to UTF-8 if no encoding is specified.

15 years agoMerge change 2078 into donut
Android (Google) Code Review [Mon, 25 May 2009 09:56:37 +0000 (02:56 -0700)]
Merge change 2078 into donut

* changes:
  Add simple change log to the NDK documentation.

15 years agoMerge change 2085 into donut
Android (Google) Code Review [Mon, 25 May 2009 09:10:35 +0000 (02:10 -0700)]
Merge change 2085 into donut

* changes:
  This fixes the build to always define the ANDROID macro, and remove an empty -I from the compiler options.

15 years agoMerge change 2320 into donut
Android (Google) Code Review [Sat, 23 May 2009 17:35:12 +0000 (10:35 -0700)]
Merge change 2320 into donut

* changes:
  Sensors: Use a native_handle for the data channel instead of a single file descriptor.

15 years agoUpdate Eclipse classpath file to add the android.tts package (path to package + files...
Jean-Michel Trivi [Sat, 23 May 2009 00:58:23 +0000 (17:58 -0700)]
Update Eclipse classpath file to add the android.tts package (path to package + files generated from AIDL).

15 years agoMerge change 2384 into donut
Android (Google) Code Review [Sat, 23 May 2009 00:20:35 +0000 (17:20 -0700)]
Merge change 2384 into donut

* changes:
  SDK Updater: display properties of sources and packages.

15 years agoMerge change 2348 into donut
Android (Google) Code Review [Sat, 23 May 2009 00:03:47 +0000 (17:03 -0700)]
Merge change 2348 into donut

* changes:
  Fix typo in comment.

15 years agoSDK Updater: display properties of sources and packages.
Raphael [Fri, 22 May 2009 23:51:51 +0000 (16:51 -0700)]
SDK Updater: display properties of sources and packages.

15 years agoUpdate 'android update adb' to the new file format for 3rd USB Vendor IDs.
Xavier Ducrohet [Fri, 22 May 2009 22:47:13 +0000 (15:47 -0700)]
Update 'android update adb' to the new file format for 3rd USB Vendor IDs.

The new file format is simply 1 ID per line, no need for a count value.
Lines starting with '#' are comments and therefore ignored.

15 years agoAdd XML Schema for runtest's test_defs.xml file
Phil Dubach [Thu, 21 May 2009 23:35:22 +0000 (16:35 -0700)]
Add XML Schema for runtest's test_defs.xml file

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

* changes:
  Make 'android update adb' write the USB vendor IDs in hexa.

15 years agoMake 'android update adb' write the USB vendor IDs in hexa.
Xavier Ducrohet [Fri, 22 May 2009 20:47:07 +0000 (13:47 -0700)]
Make 'android update adb' write the USB vendor IDs in hexa.

15 years agoFix typo in comment.
Ken Shirriff [Fri, 22 May 2009 20:01:40 +0000 (13:01 -0700)]
Fix typo in comment.

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 agoSensors: Use a native_handle for the data channel instead of a single file descriptor.
Mike Lockwood [Fri, 22 May 2009 14:03:00 +0000 (10:03 -0400)]
Sensors: Use a native_handle for the data channel instead of a single file descriptor.

This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481

Signed-off-by: Mike Lockwood <lockwood@android.com>
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