aboutsummaryrefslogtreecommitdiffstats
path: root/ddms
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "DDMS: Add support for profiling with VM able to send the result ↵Xavier Ducrohet2010-01-285-16/+114
|\ \ \ | |/ / | | | | | | through JDWP."
| * | DDMS: Add support for profiling with VM able to send the result through JDWP.Xavier Ducrohet2010-01-285-16/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Older VMs need to write the trace file on the SD Card which requires the appropriate permission. This new mode directly streams the trace file from the VM to DDMS. Bug: 2160407 Change-Id: Ic0e0813d8453761caecb990d85ca7e3baf1d237a
* | | am d5c86740: am 56b4806f: Merge "resolves Issue #5280: Go to problem in ↵Xavier Ducrohet2010-01-281-0/+13
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | source from Logcat." into eclair Merge commit 'd5c8674015ef40b1356629d2e8dca3f9a8b18ee3' * commit 'd5c8674015ef40b1356629d2e8dca3f9a8b18ee3': resolves Issue #5280: Go to problem in source from Logcat.
| * resolves Issue #5280: Go to problem in source from Logcat.Karl Ostmo2010-01-251-0/+13
| | | | | | | | | | | | | | | | | | This is integrated from external/master/development.git in order to not be lost when the development->sdk move is merged into external/master Change-Id: I36b6c467900c80b58342ee586f802979e8ce821c http://android.git.kernel.org/?p=platform/development.git;a=commit;h=fa974da92bec6ea9bb03ac4511622d784f04d271
* | Strawman support for streaming method profiling.Andy McFadden2010-01-273-4/+81
| | | | | | | | | | | | | | | | | | | | This will send MPSS/MPSE packets instead of MPRS/MPRE when the client VM supports them. At least, it would if the property check weren't hard-wired to false, which is done because the MPSE handling in DDMS is incomplete (currently just dumps the first 100 chars so you can see that it really got something). For bug 2160407.
* | Add com.android.calendar to sync authorities.Ken Shirriff2010-01-211-1/+2
|/ | | | bug 2388178
* Use SWT to write PNG screenshot now that we moved to SWT 3.3+Xavier Ducrohet2009-11-122-261/+7
| | | | | | BUG 2256562 Change-Id: I9a181cb799b1eadc027d6357c100fc4dfb0db012
* SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scriptsRaphael2009-11-021-0/+4
| | | | | | SDK BUG 2232091 Change-Id: I2a000054545b7865769054d1fdc733e50f06edd5
* Merge change Idc447b41 into eclairAndroid (Google) Code Review2009-10-141-0/+54
|\ | | | | | | | | * changes: UI to manage/create custom Layout Devices.
| * UI to manage/create custom Layout Devices.Xavier Ducrohet2009-10-131-0/+54
| | | | | | | | Change-Id: Idc447b4136a6f709d7a665321af68de552ec613a
* | Fix RawImage.getARGB to force alpha to 0xFF for buffers with no alpha.Xavier Ducrohet2009-10-131-1/+6
|/ | | | Change-Id: I6b95f5758c36979cca06483f1ff797ba67ecd056
* Add a copy button to the screenshot dialog.Xavier Ducrohet2009-09-301-13/+32
| | | | | | This adds the screenshot to the clipboard. Change-Id: I3509f2e5471588d749d67b70dd4d674cd0cd2057
* Sync DDMS/Traceview/Android version on the repository source.Xavier Ducrohet2009-09-253-13/+47
| | | | | | | | All apps now read source.properties located in SDK/tools to know which version they. This is used in about box display and in ping usage. Change-Id: I6620c3eb703c32bfcdfd96e6a27bffc7a123b974
* Fix colSpan for screenshot display from 3 to 4 in DDMS.Xavier Ducrohet2009-09-241-2/+2
| | | | Change-Id: I4cf92b2f6ee66cd6f8e9b224879d8459e82949b6
* Fixed screenshot command line tool to deal with new RawImageXavier Ducrohet2009-09-242-36/+128
| | | | | | Also added a rotate method to DDMS. Change-Id: I9ec2774ff0679b8b4f044341470b3dfa527f9680
* Merge change 26901 into eclairAndroid (Google) Code Review2009-09-241-15/+17
|\ | | | | | | | | * changes: Move the screenshot button above the image
| * Move the screenshot button above the imageXavier Ducrohet2009-09-241-15/+17
| | | | | | | | | | | | | | This will help when taking screenshots of large screen devices on laptop screens. Change-Id: Ief7b03d2f1711970e76f4dfe6086e3ea0d606c99
* | Make archquery use the same VM as DDMS/TraceviewXavier Ducrohet2009-09-241-11/+5
|/ | | | | | | | | | archquery is used to figure out whether the VM is 32 or 64 bit, but on MacOS X, it used the normal "java" command while the application was forced to use java 1.5 This could lead to cases where archquery ran in 1.6 64bit but the app in 1.5 32 bit, creating a mismatch and make the app using the wrong SWT version.
* Disable menu items based on device/app selection.Xavier Ducrohet2009-09-221-26/+40
| | | | Change-Id: I78572430c68f2c1952a118814d4b467182004e23
* Add support for new framebuffer protocol over adb.Xavier Ducrohet2009-09-163-14/+158
| | | | | | This is backward compatible with the original protocol. Change-Id: I93e811cb7775a10af82e70f31ae66d4cd74636b5
* Add preferences to DDMS (plug-in/standalone) for adb time out.Xavier Ducrohet2009-09-081-54/+37
| | | | Change-Id: Ia48221e33ee5ffae4f381aa29bd99a62b148108e
* First pass at making adb connection timeout configurable.Xavier Ducrohet2009-09-084-19/+41
| | | | | | ddmlib has its own preference class, so the timeout will be read from there. Change-Id: Id492372caceca0ee2c38bcfa7423bd40d20d5648
* Merge change 23909 into eclairAndroid (Google) Code Review2009-09-042-3/+23
|\ | | | | | | | | * changes: Add ddms support for contacts.
| * Add ddms support for contacts.Ken Shirriff2009-09-032-3/+23
| | | | | | | | Support the new contacts authname and the aggregation event.
* | Add method profiling support to DDMS.Xavier Ducrohet2009-09-0324-226/+771
|/ | | | | | | | | | | | New button allows to start/stop tracing. When clicking stop, DDMS downloads the trace file and starts Traceview. Also refactored some common parts of the HPROF and tracing handlers into a common class. The goal is to have a default, extensible implementation of the HPROF handler that DDMS and the plug-in can reuse. This will reduce duplicated code. Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
* Make DDMS log way less verbose.Xavier Ducrohet2009-09-0214-40/+40
| | | | | | | All the Log.i() calls were in fact debug logging, so I moved them to Log.d() Change-Id: I47b9cd8e85e630d61506c8c2df3baf245a706e03
* Add "Dump HPROF file" to DDMS/DDMS pluginXavier Ducrohet2009-09-019-54/+322
| | | | | | | | | | | | | | | | | | | This uses the (new in cupcake) VM command through JDWP. Older VMs are detected through the (also new) 'FEAT' command that notifies which features the VM supports. The hprof file is right now saved in /sdcard. Due to donut+ apps not having the SD Card permission by default, we may need to change this in the (near) future. Upon completion of the dump by the VM, DDMS will give the user a file selector to choose a place to save the file on the host machine. Future improvements: run (our own) hat, or hprof-conv and a standard hprof tool (Eclipse MAT integration for instance). This should be configurable by the user. Change-Id: I33696b0263e3d0788ad5d90cedf3cd17393d2f9b
* DDMS now queries the VM for its features.Xavier Ducrohet2009-08-314-21/+72
| | | | | | | This is a first step to support method profiling on/off and hprof dump from DDMS. Change-Id: Id95767b458a8405a31bcbe295bb969597f0e6e03
* am 686fddb0: Merge change 8528 into donutAndroid (Google) Code Review2009-07-241-1/+4
|\ | | | | | | | | | | | | Merge commit '686fddb069e0031d92453703979acd7d699cf761' * commit '686fddb069e0031d92453703979acd7d699cf761': Allow override of default symbol location for native heap library resolution
| * Allow override of default symbol location for native heap library resolutionXavier Ducrohet2009-07-241-1/+4
| | | | | | | | | | | | | | 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.
* | am e2901002: Merge change 7975 into donutAndroid (Google) Code Review2009-07-201-1/+7
|\ \ | |/ | | | | | | | | | | Merge commit 'e2901002a68d5d0debd7c5c41fbf884cb66505e8' * commit 'e2901002a68d5d0debd7c5c41fbf884cb66505e8': Add support for preview versions of platforms.
| * Add support for preview versions of platforms.Xavier Ducrohet2009-07-201-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | am 2ea1594b: Merge change 4111 into donutAndroid (Google) Code Review2009-06-173-1/+203
|\ \ | |/ | | | | | | | | | | Merge commit '2ea1594b1a62c61ee28456ed7279348ed399119a' * commit '2ea1594b1a62c61ee28456ed7279348ed399119a': Move package installation logic from ADT to ddmlib.
| * Move package installation logic from ADT to ddmlib.Brett Chabot2009-06-153-1/+203
| |
* | am 0dbf4c8b: Change scripts to support x86_64 for DDMS.Raphael2009-06-051-4/+20
|\ \ | |/ | | | | | | | | | | Merge commit '0dbf4c8bcfc95bc09cca46e523094c3be9ab0d48' * commit '0dbf4c8bcfc95bc09cca46e523094c3be9ab0d48': Change scripts to support x86_64 for DDMS.
| * Change scripts to support x86_64 for DDMS.Raphael2009-06-041-4/+20
| |
* | am 79508571: Merge change 3195 into donutAndroid (Google) Code Review2009-06-043-30/+33
|\ \ | |/ | | | | | | | | | | Merge commit '79508571c00bfdfb7e46f99d3df1c4ecd5f9a282' * commit '79508571c00bfdfb7e46f99d3df1c4ecd5f9a282': Change the SDK, DDMS and Traceview to work with the new SWT libraries.
| * Change the SDK, DDMS and Traceview to work with the new SWT libraries.Xavier Ducrohet2009-06-043-30/+33
| | | | | | | | | | | | 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.
| * Use bash instead of sh because of the '[[' commandJack Palevich2009-05-281-1/+1
| | | | | | | | | | The '[[' command is not guaranteed to be present in /bin/sh, and in fact is missing in stock Ubuntu 8.04
| * Improve Linux 32-bit JVM detection logic.Jack Palevich2009-05-281-6/+22
| | | | | | | | | | | | 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.
* | Use bash instead of sh because of the '[[' commandJack Palevich2009-05-281-1/+1
| | | | | | | | | | The '[[' command is not guaranteed to be present in /bin/sh, and in fact is missing in stock Ubuntu 8.04
* | Improve Linux 32-bit JVM detection logic.Jack Palevich2009-05-271-6/+22
| | | | | | | | | | | | 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.
* | am 06b9f977: Merge change 2118 into donutAndroid (Google) Code Review2009-05-201-0/+7
|\ \ | |/ | | | | | | | | | | Merge commit '06b9f977c36980e0e8ac4bca4fad6da0b46eac7a' * commit '06b9f977c36980e0e8ac4bca4fad6da0b46eac7a': Add work-around for running DDMS on 64-bit Linux.
| * Add work-around for running DDMS on 64-bit Linux.Jack Palevich2009-05-201-0/+7
| |
* | am d06f8e2f: Merge change 1730 into donutAndroid (Google) Code Review2009-05-1523-524/+547
|\ \ | |/ | | | | | | | | | | Merge commit 'd06f8e2f4cb97b5a397793ba7b53e62ab73925f8' * commit 'd06f8e2f4cb97b5a397793ba7b53e62ab73925f8': Make the ddmlib API use IDevice instead of Device
| * Make the ddmlib API use IDevice instead of DeviceXavier Ducrohet2009-05-1523-524/+547
| | | | | | | | | | Device is now private. All the API is using IDevice. Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.
* | am 83674be9: Merge change 1699 into donutAndroid (Google) Code Review2009-05-145-124/+123
|\ \ | |/ | | | | | | | | | | Merge commit '83674be98d72991dc907cd47bd5a73c68c949c35' * commit '83674be98d72991dc907cd47bd5a73c68c949c35': Make IDevice#getSyncService() throws an IOException.
| * Make IDevice#getSyncService() throws an IOException.Xavier Ducrohet2009-05-145-124/+123
| | | | | | | | | | This lets callers differentiate between errors when connecting to adb and errors because adb couldn't talk to the device.
* | am ae23694: Merge change 776 into donutAndroid (Google) Code Review2009-04-301-1/+2
|\ \ | |/ | | | | | | | | | | Merge commit 'ae23694d167404857034b269b6a0cce4da790d64' * commit 'ae23694d167404857034b269b6a0cce4da790d64': Make sure we request the Client allocation status even if we fail to open a debugger port for it.
| * Make sure we request the Client allocation status even if we fail to open a ↵Xavier Ducrohet2009-04-291-1/+2
| | | | | | | | debugger port for it.