aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/libs
Commit message (Collapse)AuthorAgeFilesLines
* Fix RemoteAndroidTestRunnerTest.Brett Chabot2010-04-221-1/+1
| | | | | | Change the test device mock to return a String for getSerialNumber. Change-Id: I83647927160c666330ddfb5394afe837577422d7
* Merge "Supporting configurable ADB port in ddms and ddmlib."Xavier Ducrohet2010-04-213-21/+89
|\
| * Supporting configurable ADB port in ddms and ddmlib.Stefan Hilzinger2010-04-213-21/+89
| | | | | | | | | | | | | | - Moving instantiation of sSocketAddr out of static initializer block into init(). Change-Id: Ibf3b81492802859673a0e77b4701be9d004509fa
* | Merge "Make test runner parser detect runs with no tests."Brett Chabot2010-04-192-13/+46
|\ \
| * | Make test runner parser detect runs with no tests.Brett Chabot2010-04-192-13/+46
| |/ | | | | | | | | | | | | | | | | Add logic to differeniate between an incomplete test run, and a test run which completed successfully but has no tests. Fixes bug http://b.android.com/7830 Change-Id: I54068de73e068faae6e34779b91665f6d1dc1a47
* | Merge "Filter out new leak_memalign method in native heap UI"Xavier Ducrohet2010-04-191-8/+9
|\ \ | |/ |/|
| * Filter out new leak_memalign method in native heap UIXavier Ducrohet2010-04-191-8/+9
| | | | | | | | Change-Id: I39f1b7d726a0b5d26e736b404693183003ea391e
* | Merge "Moved log formatting string into separate function so it can be ↵Neal Nguyen2010-04-161-3/+11
|\ \ | |/ |/| | | resued by others."
| * Moved log formatting string into separate function so it can be resued by ↵Neal Nguyen2010-04-051-3/+11
| | | | | | | | | | | | others. Change-Id: I4e97d950587822c3a3e24c1c3d1a89ab19419f14
* | Add setTestSize to ddms test runner.Brett Chabot2010-04-063-4/+65
| | | | | | | | | | | | Also cleanup some log messages. Change-Id: Iea292c620c65e63642ef57d3082a54a1613b15bd
* | Change ddms testrunner to raise IOException to callers.Brett Chabot2010-03-263-17/+13
|/ | | | | | | This is to fit with design decision to make ddms a relatively dumb pipe, and have callers handle any reliability/retry scenarios. Change-Id: I454e0f37a7d50ba194f59aeba6a4ab9d9ed3ded8
* Handle invalid syntax response in DDMS testrunner parser.Brett Chabot2010-03-162-7/+45
| | | | | | Bug 1713395 Change-Id: Id614ddd6c74fa02b5fba6a6fb9e994bae4809bf4
* Merge "Handle new sdcard mount point in DDMS."Xavier Ducrohet2010-03-155-2/+55
|\
| * Handle new sdcard mount point in DDMS.Xavier Ducrohet2010-03-125-2/+55
| | | | | | | | | | Bug: 2482010 Change-Id: I68e7f3361bc44251b3767ffe6bcba21e649c4407
* | Fix symbol resolution for libc.Xavier Ducrohet2010-03-121-1/+1
|/ | | | | | | There's no libc_debug anymore. This prevented the resolution from working for all libc addresses. Change-Id: Id909719cd38170192b14d05f9ce5e47b640ea469
* Handle incomplete instrumentation test as a failure.Brett Chabot2010-03-102-6/+26
| | | | | | | Change instrumentation result parser to record a instrumentation test that was started, but not completed due to a run failure, as a test failure. Change-Id: I1296a9064a13ee0ba10e8352cd2cc8b54930043e
* Add support for multiple instrumentation test result listeners.Brett Chabot2010-03-103-33/+87
| | | | Change-Id: I12b273582880fadefcd233df45960811b8f16d49
* Add ability to detect incomplete test runs to InstrumentationResultParser.Brett Chabot2010-03-043-99/+146
| | | | | | And clean-up whitespace. Change-Id: Icb6bd5c8bf403fda0de436d4b9e732e7ea976267
* Extract an interface out of RemoteAndroidTestRunner so it can be mocked.Brett Chabot2010-02-272-44/+133
| | | | Change-Id: I44c6b3db304ce1203edaa7b80500eed46706e0f5
* Add support for VMs that can stream hprof data through JDWP.Xavier Ducrohet2010-01-297-96/+166
| | | | Change-Id: I0fcc8718685ddb7accd459e78821677f044135ba
* Strawman support for streaming hprof dumps.Andy McFadden2010-01-293-3/+50
| | | | | | | | | | | Send an HPDS instead of HPDU when the client VM supports it. Once additional support is added to DDMS, this will allow grabbing an hprof dump through DDMS even if the target app doesn't have permission to write to /sdcard. (The down side is that the dump must be held on the native heap while it's generated, temporarily bloating the process by a few megabytes.) For bug 2092855.
* Merge "Display VM message on profiling error"Xavier Ducrohet2010-01-283-14/+28
|\
| * Display VM message on profiling errorXavier Ducrohet2010-01-283-14/+28
| | | | | | | | | | Bug: 2160407 Change-Id: Ifcce3f12b9de8e07bc035c8b74f82911d81c490e
* | 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
* 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
* 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
* 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
* 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
* 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-0321-113/+616
|/ | | | | | | | | | | | 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-0212-37/+37
| | | | | | | 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-018-49/+170
| | | | | | | | | | | | | | | | | | | 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.