OSDN Git Service

android-x86/development.git
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 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.

15 years agoAdd a new program for checking the correctness of the computed stack from a trace.
Jack Veenstra [Sat, 9 May 2009 18:56:59 +0000 (11:56 -0700)]
Add a new program for checking the correctness of the computed stack from a trace.

The check_stack program checks that the generated stack that includes both
native functions and Java methods (generated from the emulator instruction
trace plus the method trace) is consistent with the stack of Java methods
that is computed from the method trace alone. (The method trace is
generated by the Dalvik interpreter).

15 years agoMerge changes 1344,1345 into donut
Android (Google) Code Review [Tue, 12 May 2009 00:28:21 +0000 (17:28 -0700)]
Merge changes 1344,1345 into donut

* changes:
  Fix the tracing code that keeps track of the Java method stack.
  Add a "-d time" option to stack_dump to dump the stack at the given time.

15 years agoBetter output for viewing the method trace.
Jack Veenstra [Sat, 9 May 2009 18:54:37 +0000 (11:54 -0700)]
Better output for viewing the method trace.

This now keeps track of the names of the methods on the stack instead
of just the addresses.  This makes it easier to debug when something goes
wrong.

15 years agoFix the tracing code that keeps track of the Java method stack.
Jack Veenstra [Sat, 9 May 2009 18:50:34 +0000 (11:50 -0700)]
Fix the tracing code that keeps track of the Java method stack.

This fixes a bug that was causing a "stack overflow" because it sometimes
wasn't popping off a Java method when it should have.  I also changed the
showStack() method so that instead of always printing to stderr, you can
pass in a FILE* object to print to.

15 years agoMerge change 1343 into donut
Android (Google) Code Review [Mon, 11 May 2009 22:13:07 +0000 (15:13 -0700)]
Merge change 1343 into donut

* changes:
  Fix compiler warnings by changing "char*" to "const char*".

15 years agoUpdate the NDK packaging script to generate zip archives for all platforms.
Xavier Ducrohet [Mon, 11 May 2009 20:58:02 +0000 (13:58 -0700)]
Update the NDK packaging script to generate zip archives for all platforms.

15 years agoFixed bugs in the media player api demo application
James Dong [Mon, 11 May 2009 20:51:43 +0000 (13:51 -0700)]
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 1361 into donut
Android (Google) Code Review [Mon, 11 May 2009 18:54:41 +0000 (11:54 -0700)]
Merge change 1361 into donut

* changes:
  Remove hard-coded path to my home directory in build/tools/make-release.sh. Now you need to use the --prebuilt-path=<path> option to specify where to pick up the prebuilt toolchain tarballs instead, for example:

15 years agoMerge change 1360 into donut
Android (Google) Code Review [Mon, 11 May 2009 18:33:21 +0000 (11:33 -0700)]
Merge change 1360 into donut

* changes:
  remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)

15 years agoMerge change 1359 into donut
Android (Google) Code Review [Mon, 11 May 2009 18:32:53 +0000 (11:32 -0700)]
Merge change 1359 into donut

* changes:
  Remove references to 'cupcake' in all of NDK (replace with 'android-1.5')

15 years agoremove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)
David 'Digit' Turner [Mon, 11 May 2009 15:23:10 +0000 (17:23 +0200)]
remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)

15 years agoRemove hard-coded path to my home directory in build/tools/make-release.sh.
David 'Digit' Turner [Mon, 11 May 2009 15:20:26 +0000 (17:20 +0200)]
Remove hard-coded path to my home directory in build/tools/make-release.sh.
Now you need to use the --prebuilt-path=<path> option to specify where to pick up
the prebuilt toolchain tarballs instead, for example:

   build/tools/make-release.sh --prebuilt-path=/home/digit/android/ndk

Add also some other options to change the package prefix / release number / etc

15 years agoRemove references to 'cupcake' in all of NDK (replace with 'android-1.5')
David 'Digit' Turner [Mon, 11 May 2009 14:37:42 +0000 (16:37 +0200)]
Remove references to 'cupcake' in all of NDK (replace with 'android-1.5')

15 years agoAdd docs/LICENSES.TXT which indicates where to find the toolchain sources, as well...
David 'Digit' Turner [Sat, 9 May 2009 23:05:25 +0000 (01:05 +0200)]
Add docs/LICENSES.TXT which indicates where to find the toolchain sources, as well as the GPL/LGPL text files.

Note: the prebuilt binary packages used by "make-release.sh" have
been updated to include the COPYING and COPYING.LIB files.

After this patch is commited, you should be able to run "make-release.sh"
to re-generate release packages that contain docs/LICENSES.TXT as well as COPYING and COPYING.LIB

15 years agoAdd a "-d time" option to stack_dump to dump the stack at the given time.
Jack Veenstra [Sat, 9 May 2009 18:44:53 +0000 (11:44 -0700)]
Add a "-d time" option to stack_dump to dump the stack at the given time.