OSDN Git Service

android-x86/sdk.git
15 years agoSDK Updater: fix repo URL
Raphael [Tue, 9 Jun 2009 04:52:05 +0000 (21:52 -0700)]
SDK Updater: fix repo URL

15 years agoSDK Updater: fix for new archives.
Raphael [Tue, 9 Jun 2009 04:47:04 +0000 (21:47 -0700)]
SDK Updater: fix for new archives.

Fix for detecting MacOS platforms correctly.

Fix to account for new archives with a root folder
(the root folder is ignored).

Display why archives are not compatible (print
which OS was not compatible.)

15 years agoMerge change 3345 into donut
Android (Google) Code Review [Mon, 8 Jun 2009 20:27:35 +0000 (13:27 -0700)]
Merge change 3345 into donut

* changes:
  SDK Updater: Add optional license elements to XML schema.

15 years agoMerge change 3407 into donut
Android (Google) Code Review [Mon, 8 Jun 2009 20:24:37 +0000 (13:24 -0700)]
Merge change 3407 into donut

* changes:
  SDK updater: refactor install into Archive.

15 years agoam c3c97d1d: AI 149620: mkstubs should ignore all the methods/fields/classes with...
Xavier Ducrohet [Mon, 8 Jun 2009 18:16:44 +0000 (11:16 -0700)]
am c3c97d1d: AI 149620: mkstubs should ignore all the methods/fields/classes with default access.   External bug: code.google.com/p/android/issues/detail?id=2806   BUG=1901455

Merge commit 'c3c97d1db391f4e400343fd69be11c8b1f951ff3' into donut

* commit 'c3c97d1db391f4e400343fd69be11c8b1f951ff3':
  AI 149620: mkstubs should ignore all the methods/fields/classes with default access.

15 years agoMerge change 3359 into donut
Android (Google) Code Review [Mon, 8 Jun 2009 17:49:11 +0000 (10:49 -0700)]
Merge change 3359 into donut

* changes:
  * Added in-page TOC to all pages. * Removed "Introduction" title from all pages.

15 years agoSDK updater: refactor install into Archive.
Raphael [Thu, 4 Jun 2009 22:14:24 +0000 (15:14 -0700)]
SDK updater: refactor install into Archive.

15 years agoAI 149620: mkstubs should ignore all the methods/fields/classes with default access.
Xavier Ducrohet [Sat, 6 Jun 2009 00:06:37 +0000 (17:06 -0700)]
AI 149620: mkstubs should ignore all the methods/fields/classes with default access.
  External bug: http://code.google.com/p/android/issues/detail?id=2806
  BUG=1901455

Automated import of CL 149620

15 years agoMerge change 3342 into donut
Android (Google) Code Review [Sat, 6 Jun 2009 00:02:04 +0000 (17:02 -0700)]
Merge change 3342 into donut

* changes:
  Add revision to Android targets.

15 years agoAdd revision to Android targets.
Xavier Ducrohet [Fri, 5 Jun 2009 20:01:03 +0000 (13:01 -0700)]
Add revision to Android targets.

The add-on use the "revision" property of the manifest (if it does not
exists, it looks for the old deprecated "version" property).
The platform uses the ro.build.version.incremental which is only an integer
for builds from the build servers.
Local builds contain <buildtype>.<username>.<date>.<time>. For those will
use the date.

15 years ago* Added in-page TOC to all pages.
David Warren [Fri, 5 Jun 2009 22:11:21 +0000 (15:11 -0700)]
* Added in-page TOC to all pages.
* Removed "Introduction" title from all pages.

15 years agoSDK Updater: Add optional license elements to XML schema.
Raphael [Fri, 5 Jun 2009 20:53:08 +0000 (13:53 -0700)]
SDK Updater: Add optional license elements to XML schema.

15 years agoMerge change 3316 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 19:15:18 +0000 (12:15 -0700)]
Merge change 3316 into donut

* changes:
  Fix make_windows_sdk to make sure we're not creating files as directories :-)

15 years agoFix make_windows_sdk to make sure we're not creating
Raphael [Fri, 5 Jun 2009 18:20:23 +0000 (11:20 -0700)]
Fix make_windows_sdk to make sure we're not creating
files as directories :-)

15 years agoMerge change 3241 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 18:13:13 +0000 (11:13 -0700)]
Merge change 3241 into donut

* changes:
  New page, release_keys.jd, requested by bug 1884389. Small fix (broken link) to display_drivers.jd. Audio.jd has new right-side in-page TOC. telephony.jd fixes a bug.

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 agoNew page, release_keys.jd, requested by bug 1884389.
David Warren [Thu, 4 Jun 2009 21:59:40 +0000 (14:59 -0700)]
New page, release_keys.jd, requested by bug 1884389.
Small fix (broken link) to display_drivers.jd.
Audio.jd has new right-side in-page TOC.
telephony.jd fixes a bug.

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.