aboutsummaryrefslogtreecommitdiffstats
path: root/ddms
Commit message (Collapse)AuthorAgeFilesLines
* SDK: Delete projects moved to tools/base or tools/swt.Raphael Moll2013-03-13179-33812/+0
| | | | Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
* SDK prebuilts: reorganize into tools/lib.Raphael Moll2013-03-061-1/+1
| | | | | | This must be submitted with prebuilts/devtools' change I3d985ed0abf. Change-Id: Icab479e0e8a5c126b0fdc213a792187a14a44f21
* Include guava in ddms manifestSiva Velusamy2013-02-111-1/+1
| | | | Change-Id: I71a829fa4043cfd810eaccc216f0ce442bbe0ccd
* Merge "Change more SDK libs to prebuilts."Raphael Moll2013-02-081-1/+1
|\
| * Change more SDK libs to prebuilts.Raphael Moll2013-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | Requires prebuilds/devtools.git I913a29e5f40db99871701461aad6fc38483015d2 To update the prebuilts, you need tools/base.git and the prebuilts/devtools/update_jars.sh script. This is supposed to be an intermediary step as we switch to tools/base. Change-Id: I3dcccfdd9dc243a22a5bfd9db6779d24285db1ac
* | Move UI data in LogCatFilter to a separate classSiva Velusamy2013-02-078-470/+160
| | | | | | | | | | | | | | | | | | | | | | There were a couple of pieces of UI data (unread count & flag indicating whether a filter is transient) associated with a filter. This CL moves both of them out into a separate class. The panel maintains a mapping from a filter to its associated UI data. The core filter class has been moved out into ddmlib. Change-Id: I325176c33094d583c0ef9abe890e5462aeeb4945
* | Move core logcat functionality from ddmuilib to ddmlibSiva Velusamy2013-02-0710-381/+33
| | | | | | | | | | | | | | Requires Change-Id Ie120f978e5c5646e086ec999c9ef5027b724cc7a in tools/base Change-Id: Ib436fa6b70ba49e48b2e7c974094c27b77c9fbb9
* | Use pid to appname mapping from ddmlib.Siva Velusamy2013-02-064-141/+11
|/ | | | | | | Replace LogCatPidToNameMapper with a call to IDevice.getClientName(pid) Change-Id: I8c29b5d29cccf29ea22536a3f270f0f8963aba64
* update classpath to point to new project namesSiva Velusamy2013-01-131-1/+1
| | | | Change-Id: Ic912fdd4b900f42ba6e406b27b911802b8337195
* SDK: switch ddmlib to prebuilts/devtools/ddmlib/ddmlib.jarRaphael Moll2013-01-1171-20259/+9
| | | | | | This also removes the ddmlib-tests.jar module. Change-Id: Id44bcc4b91ee76e22a3a50c000cda1b1e7bb972e
* Merge "Delete ALL the build.gradle from sdk.git"Raphael Moll2013-01-091-66/+0
|\
| * Delete ALL the build.gradle from sdk.gitRaphael Moll2013-01-091-66/+0
| | | | | | | | Change-Id: Ib923638c305105e84f79a18a79ece48d391129c5
* | Add test duration to XmlTestRunListener.javaBrett Chabot2013-01-071-4/+2
|/ | | | Change-Id: Iebc611a252f09e116fc0c94eddb5156b2c74aa12
* ddmlib: Add controls for OpenGL tracing via jdwpSiva Velusamy2012-12-203-0/+99
| | | | | | | | | | | | | | | | Currently, applications have to be launched with gltrace enabled for OpenGL tracing to work. This patch provides the host side support for dynamically enabling/disabling tracing on running apps. At a high level, the functionality is similar to traceview: - ClientData#FEATURE_OPENGL_TRACING indicates whether the VM on the device supports this feature. - If the feature is supported, then JDWP is used to send the enable or disable messages. - Users can trigger OpenGL tracing via a toolbar item in the DDMS device view. Change-Id: Icf5e5eade74f94cf6a74ff793533f75f1853731f
* Make ddms show Java stacks in the traditional format, for legibility.Elliott Hughes2012-12-183-103/+31
| | | | | | Also remove the need to double-click to see a stack. Change-Id: I076179b09350d1c85614c7325e2faa4848b4e8d8
* Refactor ddmlib folder structure.Xavier Ducrohet2012-12-0673-49/+19
| | | | | | | | | Move folders around to match default gradle/maven folder structure. The custom structure confused some IDEs when importing the project as a Gradle project. Change-Id: Id1409ec4eec34d61f3d87f30a7921e54e9965d2c
* Merge "Automatically enable graphics profiling if necessary"Siva Velusamy2012-12-061-0/+54
|\
| * Automatically enable graphics profiling if necessarySiva Velusamy2012-12-061-0/+54
| | | | | | | | | | | | | | Rather than rely on the user enabling the setting in developer options, we enable it automatically. Change-Id: I25360d88e8b0262dc6c5b9f503cd0e7e2958ba28
* | Merge "Fix gradle build of sdk libs by adding testutils."Xavier Ducrohet2012-12-061-0/+2
|\ \ | |/ |/|
| * Fix gradle build of sdk libs by adding testutils.Xavier Ducrohet2012-12-061-0/+2
| | | | | | | | Change-Id: I2cb3a51e2ddf914acb9129a82294b75c568c3949
* | ddms sysinfo: Add support for gfxinfoSiva Velusamy2012-12-062-7/+220
|/ | | | Change-Id: I8fdb798a0c5374a4be2825cb4be5f4f58437253e
* sysinfo: Remove unsupported views.Siva Velusamy2012-12-051-68/+42
| | | | | | | | | | | General cleanup of the SysInfo Panel: - Remove support for displaying wakelocks/alarm/sync etc info since the existing parsers were woefully out of date and didn't work anyway. - Move parsing datasets out of the SWT thread Change-Id: Iac77c322ad1db715772f585212da2330a6f9d693
* Suggest using monitor only if it is available.Siva Velusamy2012-12-041-2/+4
| | | | | | | | This is so that users who run tools out of the Android source tree built for a particular device don't see the suggestion, since monitor is not yet built during device builds. Change-Id: I8d68a52f950f928a6a6a349bc5cf4c40b1d2e474
* Install host tools in debug mode.Ying Wang2012-11-302-1/+3
| | | | Change-Id: I25cbf7fceffb521d63f766e37b1788f8a85e6fc4
* Merge "Add a listener that can save test results as an ant XML file."Brett Chabot2012-11-286-0/+873
|\
| * Add a listener that can save test results as an ant XML file.Brett Chabot2012-11-156-0/+873
| | | | | | | | | | | | Bug 7408179 Change-Id: I7c25c70996f98b3a7fc1ec6c4e3c3422626954cb
* | ddms: Fix procrank/meminfo parser for the Sysinfo panel.Siva Velusamy2012-11-205-39/+138
|/ | | | Change-Id: I86d00756242c4a3f5ac70a926065789fde428825
* ddms: Fix CPU load reader in SysinfoPanelSiva Velusamy2012-11-072-210/+372
| | | | | | | | | | | | The sysinfo panel provides a pie chart visualizer for a few "adb shell dumpsys" options. Unfortunately, most of them don't work with newer devices since the output format of the dumpsys command has changed. This CL updates the CPU load parser to work for both old and new output formats. http://code.google.com/p/android/issues/detail?id=39243 Change-Id: Ie76eedcaa7cfe13edf930104308ac824319dafa8
* Update compiler flags.Tor Norbye2012-10-263-6/+6
| | | | | | | | | | Turns off the ability to use @SuppressWarnings with optional errors is available, but off by default (see Eclipse issue 392875). This turns that off, makes missing enums in switch statements a warning, and synchronizes the settings file to all projects (except tests.) Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
* Update maven artifacts and add lint.Xavier Ducrohet2012-10-191-0/+1
| | | | | | | | | Updated the groupId of most artifacts to be more reflective of their sub-projects status in the SDK tools. Added lint artifacts. Change-Id: I900a165647a9b7d3c55b473f63c4ca4469762d7b
* nativeheap: do not set layout on parentSiva Velusamy2012-10-151-2/+0
| | | | Change-Id: If5f0c6073cfe847c8d04360cfe7b2f5e4cd58766
* ddms: Show user id only for non ownersSiva Velusamy2012-10-101-1/+1
| | | | | | | | - Makes it easier to scan - Doesn't show user id at all for phones since there are no multiple users on a phone. Change-Id: I108f220ccf0af7e1293dd6cab58705ea19014ae4
* Fix javadoc here and there.Xavier Ducrohet2012-10-024-10/+5
| | | | Change-Id: If02d0b97c294d9821a1c914547782a08b1d256fb
* Update the gradle build files.Xavier Ducrohet2012-10-022-0/+78
| | | | | | | add javadoc and source artifacts as well as POM information to upload to Maven Central. Change-Id: I51701f5a5db5b2ae41ecede115e2b36adf1fa05e
* logcat: Only listen to user generated scroll eventsSiva Velusamy2012-10-011-6/+52
| | | | | | | Scrolling behavior should not be altered when the scroll bar location changes due to the addition of new messages. Change-Id: Id38deb9f17d6d58bea6f25b33fed23c887c5cc5d
* logcat: Support auto scroll lock.Siva Velusamy2012-09-282-4/+46
| | | | | | | | | | | | | | Another go at adding support for automatically enabling/disabling scroll lock. Past attempts have been brittle because of differences in how Windows, Linux and Mac handle the scrollbar. The key to getting this work consistently across platforms seems to be in explicitly setting the range of values for the scrollbar. Setting the maximum to be a high enough value relative to the thumb allows accurate detection of even minor movements away from the bottom of the scrollbar. Change-Id: Ic3259cc4e2e8a20f3a87ce4bf234217cea792f88
* ddms: report user id if availableSiva Velusamy2012-09-104-1/+78
| | | | | | | | The HELO and APNM packets may append the user id at the end of the packet. If that data is available, display it as part of the application name. Change-Id: Ie353c2cc2895db649fc6ab6054f1c88f5d2f247f
* Enable FileListingService to properly traverse symlinks-to-directoriesOmari Stephens2012-08-231-8/+68
| | | | | Bug: 7048633 Change-Id: I85d4780286a663ab75555049f21b7215e45870d0
* Merge "Expose owner and group of FileEntry."Brian Carlstrom2012-08-231-0/+14
|\
| * Expose owner and group of FileEntry.Tsu Chiang Chuang2012-08-141-0/+14
| | | | | | | | Change-Id: Ib072508c9e00f5ac227bda89b943e217292d9640
* | junit: Rework support for parallel junit launch.Siva Velusamy2012-08-174-58/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous commit (2c57cbea0d663b) introduced support for running Junit tests concurrently on all connected devices. It relied on changing the TestIdentifier to store device information, and having a single listener that listens to test events from all devices. The change to TestIdentifier caused issues with some users of ddmlib in cases where the device info is not available all the time. This patch reverts all the changes in ddmlib, and moves the knowledge of what device tests are being run to the listener layer in ADT. So now we have a per device test listener that knows only about tests run on that device. Change-Id: Iffedcb38cdf21e349fbe38ecf9a654060b469b04
* | Fix manifest for ddms.jar due to refactoring.Xavier Ducrohet2012-08-151-1/+1
|/ | | | Change-Id: I41a8414669ba82f6053d2f5b7d582dbf32ba6e72
* More refactoring.Xavier Ducrohet2012-08-133-3/+3
| | | | | | | Move stuff out of sdklib into common and ide_common. Remove androidprefs and move the one class into common. Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
* uitest-automator: Use ddmlib for device communications.Siva Velusamy2012-08-021-2/+12
| | | | Change-Id: I2983399832a8f64b8ac0447587233baba4774311
* Update error message shown when ddms does not find adb.Siva Velusamy2012-07-311-49/+60
| | | | Change-Id: I7e949a943694a98faab5aa475808f4f071e1ade4
* ddms fileservice: update characters that need escaping.Siva Velusamy2012-07-251-2/+4
| | | | | | | Add ampersand to the list of characters that need to be escaped. Fix for http://code.google.com/p/android/issues/detail?id=34138 Change-Id: I48bdece34d41b713b3f61211528faaedc9a2b40f
* Fix classpath for ddmuilib-testsSiva Velusamy2012-07-191-1/+2
| | | | Change-Id: Ie085ec76f9033d50acf086b89748e764b33f5f0c
* Allow junit tests to be run on multiple devices.Siva Velusamy2012-07-184-28/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we allow launching an activity on multiple devices from a single launch configuration. This CL adds support for running Junit tests on all connected devices/emulators from a single launch config. At the UI level, all test results now show up as children of per device test suites. The changes are primarily in 3 different areas: - In ddmlib, the main change is to save the device name on which a particular test was run. This information is saved in the TestIdentifier that is created per test case. - In ADT, the general launch action (IAndroidLaunchAction) is modified to support launching on multiple devices. This simply loops over the existing launch action for each device for Activity Launch or Empty Launch. The Junit Launch Action is modified to launch a single Junit UI and collects the results from all devices and passes it on to the Junit UI. - ADT's ITestRunListener's are modified to look at the device on which a test was run and add results in the appropriate per device test suite. Change-Id: I936c2db2398fcad16544794441dedc714de9bea8
* Fixed DDMS network statistics parsingMichael Wright2012-06-221-2/+3
| | | | Change-Id: I6238185edd10227a01ae2f5282de18b17edb26bc
* logcat: fix potential NPESiva Velusamy2012-06-221-3/+5
| | | | | | | Fix NPE that could happen if the device goes offline even before logcat command is issued on it, Change-Id: I334caae5e42d25eff396ce0b7b7a5e44c3ed4f61