OSDN Git Service
vchtchetkine [Thu, 30 Jul 2009 00:55:53 +0000 (17:55 -0700)]
Make changes to enable driver build in new location
vchtchetkine [Wed, 29 Jul 2009 23:25:34 +0000 (16:25 -0700)]
Copy legacy driver source code as a sample for custom USB drivers
The primary usage for this code is to provide vendors / customers who for some
reasons are not satisfied with WinUsb, with a sample custom driver code that is
compliant with our AdbWinApi.dll. So vendors / customers can build their own
custom USB driver that can be recognized by AdbWinApi, and can be accessible from
adb.exe
David 'Digit' Turner [Wed, 29 Jul 2009 17:04:44 +0000 (19:04 +0200)]
Look for Android.mk in $(APP_PROJECT_PATH)/jni by default.
This gets rid of the 'sources' directory and allows all sources
of a given Android application to be in the same directory tree
without using a symlink trick.
Note that apps/<name>/Application.mk is still required though.
A later release of the NDK will get rid of it too, but the change
is too drastic for the upcoming release.
The change moves various source files from sources into their
app/<name>/project/jni directory as well.
The whole documentation is updated to reflect the change.
David 'Digit' Turner [Wed, 29 Jul 2009 17:02:21 +0000 (19:02 +0200)]
Add sample "san-angeles" program to demo OpenGL ES from native code.
Note that the app will only build against an android-4 SDK.
(Interestingly, the resulting binary runs very well under android-3).
This also adds missing license headers to the 'two-libs' sample.
David 'Digit' Turner [Mon, 27 Jul 2009 14:23:42 +0000 (16:23 +0200)]
Add OpenGL ES headers to the android-4 platform/stable APIs.
David 'Digit' Turner [Wed, 29 Jul 2009 00:26:31 +0000 (02:26 +0200)]
Add android-4 sysroot and use project's default.properties to get the right target.
Note that for now, android-4 contains the same things than android-3.
Another patch will add OpenGL ES headers and libraries to it.
Xavier Ducrohet [Tue, 28 Jul 2009 23:28:09 +0000 (16:28 -0700)]
Fix minor typo and duplicated entry in sdk.atree
Android (Google) Code Review [Tue, 28 Jul 2009 23:20:13 +0000 (16:20 -0700)]
Merge change 8885 into donut
* changes:
Add notice file to platform folder.
Xavier Ducrohet [Tue, 28 Jul 2009 23:19:23 +0000 (16:19 -0700)]
Add notice file to platform folder.
Android (Google) Code Review [Tue, 28 Jul 2009 22:00:12 +0000 (15:00 -0700)]
Merge change 8637 into donut
* changes:
Add host check for nawk/gawk in build/host-setup.sh
Android (Google) Code Review [Tue, 28 Jul 2009 22:00:00 +0000 (15:00 -0700)]
Merge change 8623 into donut
* changes:
Add a "unit-tests" sample application to perform unit testing.
Android (Google) Code Review [Tue, 28 Jul 2009 21:59:44 +0000 (14:59 -0700)]
Merge change 8622 into donut
* changes:
Fix LOCAL_CFLAGS/CPPFLAGS handling to match full Android build system.
vchtchetkine [Tue, 28 Jul 2009 19:45:33 +0000 (12:45 -0700)]
Add classes encapsulatinglegacy USB API
Added implementation for endpoints and overlapped I/O support for legacy API support.
Android (Google) Code Review [Tue, 28 Jul 2009 18:00:39 +0000 (11:00 -0700)]
Merge change 8804 into donut
* changes:
Fix SDK build break caused by including legacy support header into main API header
vchtchetkine [Tue, 28 Jul 2009 17:01:52 +0000 (10:01 -0700)]
Fix SDK build break caused by including legacy support header into main API header
usb_windows.c doesn't build with adb_legacy_api.h included into adb_api.h
Since adb_legacy_api.h is not used anywhere outside AdbWinApi.dll project, the simplest
fix would be to remove its inclusion from adb_api.h
Android (Google) Code Review [Mon, 27 Jul 2009 23:25:47 +0000 (16:25 -0700)]
Merge change 7938 into donut
* changes:
New ntro image for camera.html that shows flow for video capture.
Xavier Ducrohet [Mon, 27 Jul 2009 22:39:42 +0000 (15:39 -0700)]
Prevent SDK Updater progress dialog from showing off screen.
Android (Google) Code Review [Mon, 27 Jul 2009 22:26:38 +0000 (15:26 -0700)]
Merge change 8699 into donut
* changes:
Prevent SDK updater dialog from showing offscreen.
Xavier Ducrohet [Mon, 27 Jul 2009 22:24:38 +0000 (15:24 -0700)]
Prevent SDK updater dialog from showing offscreen.
Android (Google) Code Review [Mon, 27 Jul 2009 18:43:49 +0000 (11:43 -0700)]
Merge change 8516 into donut
* changes:
Refactor API classes to support both, WinUsb and Legacy API
David 'Digit' Turner [Mon, 27 Jul 2009 13:47:09 +0000 (15:47 +0200)]
Add host check for nawk/gawk in build/host-setup.sh
Store the result as HOST_AWK in out/host/config.mk
David 'Digit' Turner [Mon, 27 Jul 2009 10:26:17 +0000 (12:26 +0200)]
Add a "unit-tests" sample application to perform unit testing.
David 'Digit' Turner [Mon, 27 Jul 2009 10:24:58 +0000 (12:24 +0200)]
Fix LOCAL_CFLAGS/CPPFLAGS handling to match full Android build system.
Also improve BUILD_SYSTEM directory detection logic in build/core/main.mk
vchtchetkine [Fri, 24 Jul 2009 18:30:41 +0000 (11:30 -0700)]
Refactor API classes to support both, WinUsb and Legacy API
To support both, WinUsb and Legacy driver APIs we need to abstract classes
that depend on driver API details and then implement two sets of the
actual classes: one for WinUsb, and another for the Legacy drivers, so
we can choose in runtime which objects should be instantiated, depending
on what type of driver we have underneath this API.
Android (Google) Code Review [Sat, 25 Jul 2009 16:10:50 +0000 (09:10 -0700)]
Merge change 8502 into donut
* changes:
Rename ndk/build/platforms/android-1.5 into android-3 to match API levels
Android (Google) Code Review [Sat, 25 Jul 2009 16:10:27 +0000 (09:10 -0700)]
Merge change 8501 into donut
* changes:
Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.
Xavier Ducrohet [Sat, 25 Jul 2009 02:19:32 +0000 (19:19 -0700)]
First pass at a WVGA skin.
Xavier Ducrohet [Sat, 25 Jul 2009 01:01:28 +0000 (18:01 -0700)]
Delete non rotating skins and create a QVGA rotating skin.
HVGA-P and HVGA-L were redundant with HVGA which supports both orientations.
QVGA-P and QVGA-L has been replaced with QVGA which supports both orientations.
Xavier Ducrohet [Sat, 25 Jul 2009 00:17:38 +0000 (17:17 -0700)]
Add Apache Commons Compress to ADT (required by sdklib)
Android (Google) Code Review [Fri, 24 Jul 2009 20:40:35 +0000 (13:40 -0700)]
Merge change 8528 into donut
* changes:
Allow override of default symbol location for native heap library resolution
Android (Google) Code Review [Fri, 24 Jul 2009 20:40:05 +0000 (13:40 -0700)]
Merge change 8537 into donut
* changes:
Fix the update check for doc packages.
Xavier Ducrohet [Fri, 24 Jul 2009 20:36:07 +0000 (13:36 -0700)]
Fix the update check for doc packages.
Android (Google) Code Review [Fri, 24 Jul 2009 20:28:09 +0000 (13:28 -0700)]
Merge change 5271 into donut
* changes:
Script to strip out unused translations when you change the base strings.xml.
Xavier Ducrohet [Fri, 24 Jul 2009 20:19:24 +0000 (13:19 -0700)]
Allow override of default symbol location for native heap library resolution
Default location of the symbols is $ANDROID_PRODUCT_OUT/symbols.
Setting the env variable ANDROID_SYMBOLS allows you to override this location
so that DDMS goes look for the symbol in a different location when
resolving native heap addresses.
David 'Digit' Turner [Fri, 24 Jul 2009 15:56:51 +0000 (17:56 +0200)]
Rename ndk/build/platforms/android-1.5 into android-3 to match API levels
David 'Digit' Turner [Fri, 24 Jul 2009 15:42:21 +0000 (17:42 +0200)]
Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.
The previous code did only use LOCAL_CFLAGS for both C and C++ sources.
Xavier Ducrohet [Fri, 24 Jul 2009 01:25:41 +0000 (18:25 -0700)]
Add default version files into the SDK for docs/tools/platforms.
Xavier Ducrohet [Fri, 24 Jul 2009 01:02:07 +0000 (18:02 -0700)]
Also filter the list of Archives to only show the compatible ones.
Android (Google) Code Review [Fri, 24 Jul 2009 00:08:46 +0000 (17:08 -0700)]
Merge change 8438 into donut
* changes:
Add a checkbox to only show packages that are updates or new.
Xavier Ducrohet [Thu, 23 Jul 2009 23:58:54 +0000 (16:58 -0700)]
Add a checkbox to only show packages that are updates or new.
Android (Google) Code Review [Thu, 23 Jul 2009 22:35:12 +0000 (15:35 -0700)]
Merge change 8402 into donut
* changes:
Add test application
vchtchetkine [Thu, 23 Jul 2009 21:56:35 +0000 (14:56 -0700)]
Add test application
Xavier Ducrohet [Thu, 23 Jul 2009 21:43:49 +0000 (14:43 -0700)]
Fix loading of user repository and add refresh when adding/removing.
Android (Google) Code Review [Thu, 23 Jul 2009 21:11:42 +0000 (14:11 -0700)]
Merge change 8377 into donut
* changes:
Use Apache Commons Compress instead of java.util.zip
vchtchetkine [Thu, 23 Jul 2009 20:38:37 +0000 (13:38 -0700)]
Add build instructions, ignore list and remove obsolete .sln file
Xavier Ducrohet [Thu, 23 Jul 2009 19:59:42 +0000 (12:59 -0700)]
Use Apache Commons Compress instead of java.util.zip
When the SDK installer unarchives the zip files, it is important to keep
the permissions for executable (Linux/MacOS) or the tools required to
build applications (aapt, aidl, ...) won't work.
Since java.util.zip does not provide support for permissions, we now
use the Apache Commons Compress component that allows us to read the
permission from the archive.
vchtchetkine [Thu, 23 Jul 2009 17:41:24 +0000 (10:41 -0700)]
Delete files irrelevant for the new driver model
:x
Android (Google) Code Review [Thu, 23 Jul 2009 16:37:13 +0000 (09:37 -0700)]
Merge change 8232 into donut
* changes:
Refactor ADB API dll to support WinUsb
Android (Google) Code Review [Thu, 23 Jul 2009 08:26:26 +0000 (01:26 -0700)]
Merge change 8178 into donut
* changes:
Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
Android (Google) Code Review [Thu, 23 Jul 2009 03:01:20 +0000 (20:01 -0700)]
Merge change 8298 into donut
* changes:
Minor NPE fix.
Xavier Ducrohet [Thu, 23 Jul 2009 02:51:10 +0000 (19:51 -0700)]
Minor NPE fix.
Xavier Ducrohet [Thu, 23 Jul 2009 01:37:33 +0000 (18:37 -0700)]
Move ADT/DDMS plug-ins to 0.9.2
Xavier Ducrohet [Thu, 23 Jul 2009 00:39:44 +0000 (17:39 -0700)]
Add support for add-on based on preview of platforms.
Xavier Ducrohet [Wed, 22 Jul 2009 22:47:57 +0000 (15:47 -0700)]
Add GestureBuilder to the samples.
Xavier Ducrohet [Wed, 22 Jul 2009 21:08:07 +0000 (14:08 -0700)]
Fix erroneous assert.
vchtchetkine [Wed, 22 Jul 2009 20:34:53 +0000 (13:34 -0700)]
Refactor ADB API dll to support WinUsb
Android (Google) Code Review [Wed, 22 Jul 2009 16:44:57 +0000 (09:44 -0700)]
Merge change 8196 into donut
* changes:
Refactored AndroidXPathFactory into sdklib.
Xavier Ducrohet [Wed, 22 Jul 2009 16:42:20 +0000 (09:42 -0700)]
Refactored AndroidXPathFactory into sdklib.
David 'Digit' Turner [Wed, 22 Jul 2009 11:34:54 +0000 (13:34 +0200)]
Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
Android (Google) Code Review [Wed, 22 Jul 2009 10:13:22 +0000 (03:13 -0700)]
Merge change 8016 into donut
* changes:
Fix compilation of assembly files (e.g. foo.S), by removing a typo.
Android (Google) Code Review [Wed, 22 Jul 2009 01:51:25 +0000 (18:51 -0700)]
Merge change 8137 into donut
* changes:
Enforce codename value for minSdkVersion in the Ant build.
Xavier Ducrohet [Wed, 22 Jul 2009 01:34:15 +0000 (18:34 -0700)]
Enforce codename value for minSdkVersion in the Ant build.
If the Ant project is targetting a preview platform, the manifest must
declare minSdkVersion to be the platform codename.
Yu Shan Emily Lau [Mon, 20 Jul 2009 22:20:13 +0000 (15:20 -0700)]
Add the test definition of the vpn tests.
Xavier Ducrohet [Tue, 21 Jul 2009 22:25:32 +0000 (15:25 -0700)]
Use the proper URL for the google repository.
Also fix an NPE.
Android (Google) Code Review [Tue, 21 Jul 2009 20:55:53 +0000 (13:55 -0700)]
Merge change 8064 into donut
* changes:
Generalize usage of AndroidVersion instead of Api level in the SDK packages.
Xavier Ducrohet [Tue, 21 Jul 2009 20:48:37 +0000 (13:48 -0700)]
Generalize usage of AndroidVersion instead of Api level in the SDK packages.
Platform, add-on and doc packages used to use Api Level to figure out
upgrade logic. This is replaced by AndroidVersion to properly handle
codename versions.
Swarna Kumar [Tue, 21 Jul 2009 20:19:43 +0000 (13:19 -0700)]
Removing continuous attribute for the calendar provider tests.
Android (Google) Code Review [Tue, 21 Jul 2009 01:21:48 +0000 (18:21 -0700)]
Merge change 7975 into donut
* changes:
Add support for preview versions of platforms.
Xavier Ducrohet [Mon, 20 Jul 2009 21:43:50 +0000 (14:43 -0700)]
Add support for preview versions of platforms.
ro.build.version.codename is a new property indicating whether a platform
is in its release form (value = REL) or in development (value = dev branch
name such as Donut). When the codename indicates a development/preview version
then the API level must be ignored and this codename is used as a unique
identifier of the platform.
IAndroidTarget has been changed to return an instance of a new class
AndroidVersion instead of the api level directly. This class helps deals with
the logic of comparing version from targets or devices.
This change impacts all of the sdk manager to deal with targets identified by
codename instead of api level. This in turn impacts everything that relies
on the sdkmanager: ADT (build, launch, project creation), the AVD manager,
the SDK updater.
Android (Google) Code Review [Mon, 20 Jul 2009 23:49:57 +0000 (16:49 -0700)]
Merge change 7956 into donut
* changes:
Moving compatibilty mode option to spare parts
Mitsuru Oshima [Mon, 20 Jul 2009 22:52:48 +0000 (15:52 -0700)]
Moving compatibilty mode option to spare parts
David Warren [Mon, 20 Jul 2009 21:19:33 +0000 (14:19 -0700)]
New ntro image for camera.html that shows flow for video capture.
Android (Google) Code Review [Mon, 20 Jul 2009 21:10:09 +0000 (14:10 -0700)]
Merge change 7535 into donut
* changes:
Adding new file in debugging section for tcpdump and other network debugging tools.
Android (Google) Code Review [Mon, 20 Jul 2009 18:33:03 +0000 (11:33 -0700)]
Merge change 7904 into donut
* changes:
Removing calprov test suite from continuous build until to get real fix for bug
1966269
Swarna Kumar [Mon, 20 Jul 2009 18:14:10 +0000 (11:14 -0700)]
Removing calprov test suite from continuous build until to get real fix for bug
1966269
David 'Digit' Turner [Mon, 20 Jul 2009 13:38:48 +0000 (15:38 +0200)]
Fix compilation of assembly files (e.g. foo.S), by removing a typo.
Romain Guy [Fri, 10 Jul 2009 02:05:32 +0000 (19:05 -0700)]
Add new application for the SDK to let developers build their own gestures
libraries.
Android (Google) Code Review [Thu, 16 Jul 2009 21:55:39 +0000 (14:55 -0700)]
Merge change 5737 into donut
* changes:
Fix bug
1844502: Add create_test.py to generate Android.mk and AndroidManifest.xml for application tests.
David Warren [Wed, 15 Jul 2009 23:43:07 +0000 (16:43 -0700)]
Adding new file in debugging section for tcpdump and other network debugging tools.
Android (Google) Code Review [Tue, 14 Jul 2009 18:59:04 +0000 (11:59 -0700)]
Merge change 6997 into donut
* changes:
Rename IActivityWatcher to IActivityController
Raphael [Tue, 14 Jul 2009 16:33:06 +0000 (12:33 -0400)]
ADT Extract String ID: use Context.getString(id) directly,
no need for Context.getResources().
Raphael [Tue, 14 Jul 2009 15:29:18 +0000 (11:29 -0400)]
ADT Extract String ID: try to find a method or a field that will
give the Context for using resource strings.
Raphael [Tue, 14 Jul 2009 12:28:54 +0000 (08:28 -0400)]
ADT XML extract string ID: fix inverted test.
Raphael [Tue, 14 Jul 2009 12:08:02 +0000 (08:08 -0400)]
ADT XML extract string ID: generate Context.getResources() calls
depending on the Java context of the replacement.
In the input page also display the string ID values.
Dianne Hackborn [Mon, 13 Jul 2009 22:53:12 +0000 (15:53 -0700)]
Rename IActivityWatcher to IActivityController
Eric Fischer [Mon, 13 Jul 2009 22:37:18 +0000 (15:37 -0700)]
Import new translations
Raphael [Sun, 12 Jul 2009 20:05:40 +0000 (16:05 -0400)]
ADT XML extract string IDs: display existing IDs of the
selected file.
Raphael [Sun, 12 Jul 2009 18:40:41 +0000 (14:40 -0400)]
ADT XML extract string: allow selection to be the attribute name.
Raphael [Sun, 12 Jul 2009 14:41:46 +0000 (10:41 -0400)]
ADT: Extract String IDs from Layout XML strings.
This would have been part of CL #7041 if I had not forgotten
a last git commit -a --amend.
Raphael [Fri, 10 Jul 2009 23:49:31 +0000 (19:49 -0400)]
ADT: Extract String IDs from Layout XML strings.
Mathias Agopian [Sat, 11 Jul 2009 00:00:43 +0000 (17:00 -0700)]
remove the setting for fancy rotation animation
Android (Google) Code Review [Fri, 10 Jul 2009 19:09:32 +0000 (12:09 -0700)]
Merge change 6767 into donut
* changes:
Modify runtest test_defs to adjust for rename of cts-installtests.
Brett Chabot [Fri, 10 Jul 2009 16:39:26 +0000 (12:39 -0400)]
Modify runtest test_defs to adjust for rename of cts-installtests.
Android (Google) Code Review [Thu, 9 Jul 2009 19:53:30 +0000 (12:53 -0700)]
Merge change 6651 into donut
* changes:
AVD Selector: Add a "Start" button to launch the selected AVD in a new emulator. Doesn't detect if the AVD is already running; instead prints the emulator error.
Raphael [Thu, 9 Jul 2009 19:37:09 +0000 (15:37 -0400)]
AVD Selector: Add a "Start" button to launch the selected AVD in a
new emulator. Doesn't detect if the AVD is already running; instead
prints the emulator error.
Android (Google) Code Review [Wed, 8 Jul 2009 10:23:34 +0000 (03:23 -0700)]
Merge change 5763 into donut
* changes:
Remove problematic case-insensitive duplicate files. Add missing copyright/license disclaimer to build/tools/make-release.sh Add a new tool: build/tools/find-case-duplicates.sh
Raphael [Fri, 3 Jul 2009 04:41:20 +0000 (21:41 -0700)]
SDK Updater: detect when install addon or tools to deal with
updating or restarting adb.
Raphael [Thu, 2 Jul 2009 23:11:30 +0000 (16:11 -0700)]
SDK Updater: fix android.bat for Windows to change dirs to the
temp dir. This removes a locked handle to the SDK/tools and allows
the update to update its own tools folder.
Raphael [Wed, 1 Jul 2009 18:26:26 +0000 (11:26 -0700)]
Update comments in AvdManager
Android (Google) Code Review [Wed, 1 Jul 2009 17:45:14 +0000 (10:45 -0700)]
Merge change 5913 into donut
* changes:
SDK Updater: Make it possible for tools to update themselves.