Commit Graph

566 Commits

Author SHA1 Message Date
David 'Digit' Turner
58bbcd6d17 Fix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes. 2009-06-01 22:25:30 +02:00
David 'Digit' Turner
82ae6d6700 Add docs/HOWTO.TXT to list a few important tips for NDK users
Also remove reference to docs/ROADMAP.TXT from README.TXT (doh)
2009-06-01 21:38:27 +02:00
Android (Google) Code Review
e19766ea0a Merge change 2813 into donut
* changes:
  Remove the jni-tips.html document. It contains too many swear words :-)
2009-06-01 12:18:21 -07:00
Android (Google) Code Review
3c3877c7dc 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.
2009-06-01 12:18:10 -07:00
Android (Google) Code Review
595a016713 Merge change 2771 into donut
* changes:
  SDK Updater: parse local packages, download and install remote packages.
2009-06-01 12:04:59 -07:00
Raphael
2382dd7514 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.
2009-06-01 11:38:51 -07:00
David 'Digit' Turner
a9e8d43e53 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.
2009-06-01 20:38:19 +02:00
Android (Google) Code Review
5868443aa4 Merge change 2770 into donut
* changes:
  SDK Updater stuff.
2009-06-01 11:17:19 -07:00
David 'Digit' Turner
c6f15d35f3 Remove the jni-tips.html document. It contains too many swear words :-) 2009-06-01 19:10:40 +02:00
The Android Open Source Project
5cfa1ec884 Merge commit '6f56ebc73762945f2757c66c91ef4702edd979b8' into donut 2009-05-30 11:41:37 -07:00
Raphael Moll
6f56ebc737 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
2009-05-29 16:39:42 -07:00
Android (Google) Code Review
a23df99ecf Merge change 2749 into donut
* changes:
  Make CompiledResourcesMonitor#getRClassName more error proof.
2009-05-29 15:36:42 -07:00
Xavier Ducrohet
3106768f31 Make CompiledResourcesMonitor#getRClassName more error proof. 2009-05-29 15:18:24 -07:00
Android (Google) Code Review
db7a790959 Merge change 2687 into donut
* changes:
  Add support for parsing code coverage file path to runtest and related cleanup.
2009-05-29 13:40:07 -07:00
Brett Chabot
ae68f1a865 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.
2009-05-29 13:35:13 -07:00
David 'Digit' Turner
d21c809912 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
2009-05-29 21:54:19 +02:00
Jack Palevich
055fcd23fb 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
2009-05-28 15:10:26 -07:00
Jack Palevich
dd3cf52f6f 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.
2009-05-28 15:09:59 -07:00
Android (Google) Code Review
cb9c2eaac7 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).
2009-05-28 08:58:35 -07:00
Raphael
2e46d39eb8 SDK Updater stuff. 2009-05-27 11:12:31 -07:00
Owen Lin
5f563d066d Change build path to "packages/app/Camera.apk". So that it will also
build the application code.
2009-05-27 10:19:02 -07:00
David 'Digit' Turner
5ad95c577a 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'
2009-05-27 16:04:25 +02:00
Android (Google) Code Review
e0fbae303c Merge change 2472 into donut
* changes:
  ADT #1877529: Fixes a couple potential NPEs in content assists.
2009-05-26 15:26:00 -07:00
Xavier Ducrohet
ce803ae7b9 Update some class names in plugin.xml that were not updated by the refactoring. 2009-05-26 15:09:02 -07:00
Raphael
6235bff51d 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.
2009-05-26 15:08:33 -07:00
Xavier Ducrohet
ca2281d885 Fix wrong path to externalized string file.
This is from the big refactoring that moved everything into internal.
2009-05-26 13:44:02 -07:00
Android (Google) Code Review
5ad70bbac7 Merge change 2447 into donut
* changes:
  Fix the uninstall target in the Ant build script.
2009-05-26 13:25:29 -07:00
David 'Digit' Turner
8b057ed6f6 Fix bad qemud crash on emulator startup. 2009-05-26 22:21:28 +02:00
Xavier Ducrohet
55b0512f2b 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.
2009-05-26 12:25:28 -07:00
Android (Google) Code Review
6a95ff237b Merge change 2388 into donut
* changes:
  Update Eclipse classpath file to add the android.tts package (path to package + files generated from AIDL).
2009-05-26 10:05:33 -07:00
David 'Digit' Turner
af45b39d88 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.
2009-05-26 17:07:25 +02:00
Android (Google) Code Review
3a39e9c90b Merge change 2078 into donut
* changes:
  Add simple change log to the NDK documentation.
2009-05-25 02:56:37 -07:00
Android (Google) Code Review
8c093d5d2a 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.
2009-05-25 02:10:35 -07:00
Android (Google) Code Review
ceada119d3 Merge change 2320 into donut
* changes:
  Sensors: Use a native_handle for the data channel instead of a single file descriptor.
2009-05-23 10:35:12 -07:00
Jean-Michel Trivi
04502c6e43 Update Eclipse classpath file to add the android.tts package (path to package + files generated from AIDL). 2009-05-22 17:58:23 -07:00
Android (Google) Code Review
3276b8e868 Merge change 2384 into donut
* changes:
  SDK Updater: display properties of sources and packages.
2009-05-22 17:20:35 -07:00
Android (Google) Code Review
ab78aebc24 Merge change 2348 into donut
* changes:
  Fix typo in comment.
2009-05-22 17:03:47 -07:00
Raphael
f864c1bf93 SDK Updater: display properties of sources and packages. 2009-05-22 16:51:51 -07:00
Xavier Ducrohet
dc10c2e5a3 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.
2009-05-22 15:47:13 -07:00
Phil Dubach
7c343cef7e Add XML Schema for runtest's test_defs.xml file 2009-05-22 14:56:35 -07:00
Android (Google) Code Review
0db48f76fb Merge change 2360 into donut
* changes:
  Make 'android update adb' write the USB vendor IDs in hexa.
2009-05-22 14:11:30 -07:00
Xavier Ducrohet
774ac9a0dc Make 'android update adb' write the USB vendor IDs in hexa. 2009-05-22 13:47:07 -07:00
Ken Shirriff
35787c0f99 Fix typo in comment. 2009-05-22 13:01:40 -07:00
Android (Google) Code Review
906e6529fc Merge change 2300 into donut
* changes:
  SDK Updater: some refactoring and some new features.
2009-05-22 12:30:35 -07:00
Raphael
1c7b811fe4 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.
2009-05-22 11:31:50 -07:00
Android (Google) Code Review
c35157377b Merge change 2281 into donut
* changes:
  Moved updateAdb into SdkManager and updated with new adb_usb.ini format.
2009-05-22 10:44:46 -07:00
Mike Lockwood
6834281462 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>
2009-05-22 10:03:00 -04:00
Reena Lee
96882a3406 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
2009-05-22 00:06:47 -07:00
Reena Lee
838143199e AI 149189: Adding dalvik porting guide based on content from the Android source tree under dalvik/docs/porting.html
Automated import of CL 149189
2009-05-22 00:04:27 -07:00
Wei-Ta Chen
97752d4f80 Add a timeout flag to runtest for running native tests on devices. 2009-05-21 18:17:08 -07:00