Commit Graph

7990 Commits

Author SHA1 Message Date
Xavier Ducrohet
c5a89e256c 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.
2009-06-04 14:50:43 -07:00
Android (Google) Code Review
318b056568 Merge change 3141 into donut
* changes:
  SDK Updater: Unzip archives.
2009-06-04 13:16:08 -07:00
Nicolas Catania
ab80b39f16 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.
2009-06-04 09:45:32 -07:00
Raphael
f555bd3bff 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.
2009-06-03 23:08:05 -07:00
Android (Google) Code Review
db014ae68e am ab16d9f7: Merge change 3016 into donut
Merge commit 'ab16d9f7d51be7264f9066bf01846e0c98dfb5df'

* commit 'ab16d9f7d51be7264f9066bf01846e0c98dfb5df':
  SDK Updater: Refactor, polish and complete the progress dialog.
2009-06-03 13:00:18 -07:00
Android (Google) Code Review
69ed6eb6eb am afa99510: Merge change 3009 into donut
Merge commit 'afa9951064cfab5074a29c814dd1811ec7364e73'

* commit 'afa9951064cfab5074a29c814dd1811ec7364e73':
  SDK Updater: fix download URL, fix checksum computation.
2009-06-03 13:00:15 -07:00
Android (Google) Code Review
e1cd1cc8a1 am 8eb71d59: Merge change 2428 into donut
Merge commit '8eb71d59e94edf9e0581515ed7db762fc1a49a4e'

* commit '8eb71d59e94edf9e0581515ed7db762fc1a49a4e':
  Fix misleading comment.
2009-06-03 13:00:10 -07:00
Android (Google) Code Review
ab16d9f7d5 Merge change 3016 into donut
* changes:
  SDK Updater: Refactor, polish and complete the progress dialog.
2009-06-03 11:01:14 -07:00
Android (Google) Code Review
afa9951064 Merge change 3009 into donut
* changes:
  SDK Updater: fix download URL, fix checksum computation.
2009-06-03 11:01:07 -07:00
Android (Google) Code Review
8eb71d59e9 Merge change 2428 into donut
* changes:
  Fix misleading comment.
2009-06-03 10:49:54 -07:00
Raphael
5ae0e07701 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.)
2009-06-03 00:19:09 -07:00
Raphael
b997c230db SDK Updater: fix download URL, fix checksum computation. 2009-06-02 22:12:01 -07:00
Android (Google) Code Review
449a532380 am c7ee895b: Merge change 2768 into donut
Merge commit 'c7ee895b443a77c5922fdf15436b98ab30730c36'

* commit 'c7ee895b443a77c5922fdf15436b98ab30730c36':
  Add an API demo that shows the effets of setting Bitmaps as being purgeable.
2009-06-02 17:03:30 -07:00
Reena Lee
5cafb6c64e am f82429ea: 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 'f82429ea00424956d557beeebc498aa2bf7a5a9b'

* commit 'f82429ea00424956d557beeebc498aa2bf7a5a9b':
  AI 149502: - Adding sensors to PDK TOC
2009-06-02 17:03:27 -07:00
The Android Open Source Project
e5184aaad3 am 3736704e: Merge commit \'e2f2e9fe594dd0cee702833a397edf1694fc61bf\' into donut
Merge commit '3736704e9863b52bb89d5233301a7eb812b05dc4'

* commit '3736704e9863b52bb89d5233301a7eb812b05dc4':
  AI 149496: Backport emulator-related donut fixes into cupcake.
2009-06-02 17:03:24 -07:00
The Android Open Source Project
2e29ab6ba8 am c20f3b56: Merge commit \'9e24d24b06cdb1883b03e375b28a92a9003952c7\' into donut
Merge commit 'c20f3b5670aa5df697b6ee6881b1c54486055a32'

* commit 'c20f3b5670aa5df697b6ee6881b1c54486055a32':
  AI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb to use.
2009-06-02 17:03:19 -07:00
Android (Google) Code Review
c7ee895b44 Merge change 2768 into donut
* changes:
  Add an API demo that shows the effets of setting Bitmaps as being purgeable.
2009-06-02 16:53:22 -07:00
Reena Lee
f82429ea00 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
2009-06-02 16:42:47 -07:00
The Android Open Source Project
3736704e98 Merge commit 'e2f2e9fe594dd0cee702833a397edf1694fc61bf' into donut 2009-06-02 16:37:56 -07:00
The Android Open Source Project
c20f3b5670 Merge commit '9e24d24b06cdb1883b03e375b28a92a9003952c7' into donut 2009-06-02 16:37:48 -07:00
Reena Lee
c91e5f15ba 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
2009-06-02 15:00:28 -07:00
Raphael
1031a79ea3 am df399393: Fix build: Add SWT dependency to SdkManager.
Merge commit 'df399393bac20c4d5fcc4c030ff5b76bde50c0be'

* commit 'df399393bac20c4d5fcc4c030ff5b76bde50c0be':
  Fix build: Add SWT dependency to SdkManager.
2009-06-02 14:12:08 -07:00
Raphael
df399393ba Fix build: Add SWT dependency to SdkManager. 2009-06-02 14:08:46 -07:00
David Turner
e2f2e9fe59 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
2009-06-02 12:30:46 -07:00
Android (Google) Code Review
e86b8f9690 am 6eaf0e1a: Merge change 2868 into donut
Merge commit '6eaf0e1afe39436f0335584dbb7f43501fedeb81'

* commit '6eaf0e1afe39436f0335584dbb7f43501fedeb81':
  SDK Updater: Placeholder pages for about and settings.
2009-06-02 12:27:31 -07:00
Android (Google) Code Review
6eaf0e1afe Merge change 2868 into donut
* changes:
  SDK Updater: Placeholder pages for about and settings.
2009-06-02 12:25:47 -07:00
Xavier Ducrohet
9e24d24b06 AI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb to use.
BUG=1890147

Automated import of CL 149491
2009-06-02 12:06:12 -07:00
Android (Google) Code Review
818ff9c662 am dcd7e153: Merge change 2778 into donut
Merge commit 'dcd7e153ea86f0bd67e0cf2f740f24e8aa9185f5'

* commit 'dcd7e153ea86f0bd67e0cf2f740f24e8aa9185f5':
  Initial change to add cts tests to runtest.
2009-06-02 12:06:00 -07:00
Android (Google) Code Review
dcd7e153ea Merge change 2778 into donut
* changes:
  Initial change to add cts tests to runtest.
2009-06-02 12:04:04 -07:00
Android (Google) Code Review
a6cf186619 am 3c502eb0: Merge changes 2853,2885 into donut
Merge commit '3c502eb060b578c73df13e63aa748ef00bfe3f76'

* commit '3c502eb060b578c73df13e63aa748ef00bfe3f76':
  Misc updates on the Sdklib.
  Export all ADT packages.
2009-06-02 11:58:44 -07:00
Android (Google) Code Review
3c502eb060 Merge changes 2853,2885 into donut
* changes:
  Misc updates on the Sdklib.
  Export all ADT packages.
2009-06-02 11:56:59 -07:00
Brett Chabot
49b77117fe 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.
2009-06-02 11:46:46 -07:00
Raphael
36e11cb354 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.
2009-06-02 11:40:29 -07:00
Reena Lee
705b1646d0 am c825ab1d: am 6d73a98d: AI 149478: Reorganized the PDK TOC. Added Dalvik content to TOC.
Merge commit 'c825ab1d31af5092a9941e765159237ddd02ed88'

* commit 'c825ab1d31af5092a9941e765159237ddd02ed88':
  AI 149478: Reorganized the PDK TOC.
2009-06-02 00:36:50 -07:00
Android (Google) Code Review
a1826d8dac am 213bd6de: Merge change 2881 into donut
Merge commit '213bd6deff91eb629dc90d02437deab5eb494fb7'

* commit '213bd6deff91eb629dc90d02437deab5eb494fb7':
  Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
2009-06-02 00:36:19 -07:00
Android (Google) Code Review
b07ab9bf6f am 55b47f8d: Merge change 2863 into donut
Merge commit '55b47f8d7523ec0686dabb466cbe0620f5946cfa'

* commit '55b47f8d7523ec0686dabb466cbe0620f5946cfa':
  SDK Updater: Minor change to make composite constructor compliant with
2009-06-02 00:36:17 -07:00
Reena Lee
c825ab1d31 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.
2009-06-02 00:30:42 -07:00
Reena Lee
6d73a98d6d AI 149478: Reorganized the PDK TOC.
Added Dalvik content to TOC.

Automated import of CL 149478
2009-06-01 23:48:05 -07:00
Xavier Ducrohet
b10ffbaf3d Misc updates on the Sdklib.
- moved some code around
- made the constant in IAndroidTarget actual constant (they were not final)
2009-06-01 17:16:07 -07:00
Android (Google) Code Review
213bd6deff Merge change 2881 into donut
* changes:
  Added the mediaapitest, mediarecordertest and stress test in the testrunner.So the partner can run the test easier.
2009-06-01 17:03:10 -07:00
Yu Shan Emily Lau
ffbc7c9f59 Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
the partner can run the test easier.
2009-06-01 16:55:49 -07:00
Android (Google) Code Review
55b47f8d75 Merge change 2863 into donut
* changes:
  SDK Updater: Minor change to make composite constructor compliant with SWT designer.
2009-06-01 15:36:23 -07:00
Raphael
861624885d 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.
2009-06-01 15:21:22 -07:00
Xavier Ducrohet
8a0c221a20 Export all ADT packages. 2009-06-01 14:38:29 -07:00
Android (Google) Code Review
ddb37e12ed Merge change 2837
* changes:
  move utils/Pipe.h to the simulator
2009-06-01 14:11:15 -07:00
Android (Google) Code Review
63d9335e60 am 66620a8d: Merge change 2831 into donut
Merge commit '66620a8d4263dbb87746c54a0da36037878b70bc'

* commit '66620a8d4263dbb87746c54a0da36037878b70bc':
  Fix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes.
2009-06-01 14:06:27 -07:00
Mathias Agopian
dee76df03a move utils/Pipe.h to the simulator 2009-06-01 14:06:13 -07:00
Android (Google) Code Review
66620a8d42 Merge change 2831 into donut
* changes:
  Fix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes.
2009-06-01 14:04:13 -07:00
David 'Digit' Turner
99ae40fdfb am 3e035afa: Add docs/SYSTEM-ISSUES.TXT to list important system issues that NDK developers should be aware of
Merge commit '3e035afa638c710bbf4f4a31c657d2b6ac65838a'

* commit '3e035afa638c710bbf4f4a31c657d2b6ac65838a':
  Add docs/SYSTEM-ISSUES.TXT to list important system issues that NDK developers should be aware of
2009-06-01 13:37:54 -07:00
Wei-Ta Chen
1ba461c7b6 Add an API demo that shows the effets of setting Bitmaps as being purgeable. 2009-06-01 13:35:06 -07:00