History log of /sdk/ddms/app/src/com/android/ddms/UIThread.java
Revision Date Author Comments
613f55001e7f39590d02227179f6f272ae8ab96f 28-Jan-2012 Jeff Sharkey <jsharkey@android.com> Show detailed network statistics from xt_qtaguid.

New panel that shows live network statistics by reading xt_qtaguid
proc file across adb. Shows all tags for selected UID on a chart
with 30 seconds of history. Each tag is presented as unique series,
with the overall usage in grey. Table below the chart shows running
totals of known tags.

Includes options to pause, reset, and change polling frequency.

Bug: 5194997
Change-Id: I72d43ab51aaf93ecfd6d45fcd452c7230cdee5b7
ab36f4e7488358dea4ab6b54ee2b7bef3da0232b 21-Dec-2011 Tor Norbye <tnorbye@google.com> Update SDK codebase to JDK 6

This changeset makes the SDK codebase compile with source=1.6 (which
means it also requires JDK 6). This means that methods implementing an
interface requires @Override's. It also means we can start using APIs
like the ArrayDeque class and methods like String#isEmpty().

This changeset looks big but the change is trivial: it's basically
adding @Override in all the places that need it, along with some other
automatic Eclipse cleanup in certain files (such as reordering imports
where they were incorrectly ordered (because older versions of Eclipse
didn't always handle inner classes right)), as well as cleaning up
trailing whitespace and removing some $NON-NLS-1$ markers on lines
where there aren't any string literals anymore.

This changeset also sets the source and target JDK level to 6 in the
Eclipse compiler .settings file, and synchronizes this file to all the
other Eclipse SDK projects.

Change-Id: I6a9585aa44c3dee9a5c00739ab22fbdbcb9f8275
578ecf62a07b7c38c818a8dcec6038f2827c9bc6 13-Oct-2011 Raphael <raphael@google.com> DDMS: Fix menu to not say "SWT". Do not merge.

SDK Bug: 20615

(cherry picked from commit a84dcfef93b62171ede7e3743adb04e2ade5b290)

Change-Id: I14c2e3f3df52517b4511a700f67e1ada623cae1f
a84dcfef93b62171ede7e3743adb04e2ade5b290 13-Oct-2011 Raphael <raphael@google.com> DDMS: Fix menu to not say "SWT"

SDK Bug: 20615

Change-Id: Id59b96bb8b1beb92c3887b1581bd7969cae4262f
7f11f7bddb3fde2ac44499094c28a923f00873e2 10-Oct-2011 Siva Velusamy <vsiva@google.com> Make the new heap panel to be the default.

The old implementation can be used via the env var
ANDROID_DDMS_OLD_HEAP_PANEL=1

Change-Id: Iaf6320d3af73d94d0712e476f8a33d07349f415a
88ee5dd5573f9700f6d5983af524b8eaf82665be 20-Sep-2011 Siva Velusamy <vsiva@google.com> New implementation of native heap - layout only.

Address resolution to symbols to come in future CL's.
bfde12592b821ef00973e0eedf663752ca789087 25-Aug-2011 Siva Velusamy <vsiva@google.com> Move creation of LogCatReceiver to a separate factory.

Until now there was only one instance of LogCatReceiver. This
instance would listen to the logcat output from the currently
selected device.

This patch modifies this behavior to make one LogCatReceiver
responsible for listening to only one device. If there are multiple
devices, then multiple instances of LogCatReceivers are instantiated.
The instantiation is also moved to a separate factory.

This modification allows for the scenario where the LogCatReceiver's
can be instantiated independent of the UI, and are reused by the UI
whenever needed.

Change-Id: I46008cbd5ee41880372a62e7e09634ce2d2fc122
f35c5c55a2d644a7705637b4ff99aa6417d7577b 23-Aug-2011 Siva Velusamy <vsiva@google.com> Make the logcat fifo size user configurable.

Add a preference where users can set the size of the message list.
Defaults to 1000.

Change-Id: Ia888c3802f07607274bfbdca0ade8fbda009ba55
bbd4f1dff7c6940bf4439569f19e8705cd2c3818 22-Aug-2011 Siva Velusamy <vsiva@google.com> Open SDK stats dialog from an existing shell.

This patch addresses Issue #15267. The primary issue is that the SDK
stats permission dialog was opened from a separate Job, and this
dialog shows up when the user opens the preference page for the
first time. Since both of them happen to be modal dialogs, the
behavior is inconsistent, and many times results in a blocked UI.

The patch fixes this issue by opening up the stats dialog as a child
of the preference page dialog within ADT, and as a child of a new
shell within DDMS.

Change-Id: I8c9ed9e9bbfac855435690f287b4f60975f336fb
4f7dbc53dbf6879365e54ffd1f8d13de69fec3ac 19-Aug-2011 Siva Velusamy <vsiva@google.com> Add support for Select All and Copy to Clipboard actions.

Change-Id: Idbf3bc093f2a049b5e0e0cd9605a6f8bdc8f7723
4000b0448ad1edd0aee7882a974bf02c829669ca 17-Aug-2011 Siva Velusamy <vsiva@google.com> Make new logcat view to be the default in DDMS.

The old view can be activated by setting the env variable
ANDROID_USE_OLD_LOGCAT_VIEW.

Change-Id: I006aaba26f323b12b6da70f22f8584ad76fb5041
ec7f13dae12a4b1ddfd3ab8c21550b617b941a40 12-Aug-2011 Siva Velusamy <vsiva@google.com> Use fonts as specified in preferences.

Update DDMS preference dialog to show only font preference when using
the new logcat view. The font preference key is obtained from
LogCatPanel in the new view so that the Eclipse ddms plugin can
also reuse most of the code.

Change-Id: I61afba27cde45ff8214e83b6fadfe488f6c954bb
625b7ea2b82c3f4948bb8bae55f631f85e9c04a9 04-Aug-2011 Siva Velusamy <vsiva@google.com> Save/Restore the width of all columns in the LogCatPanel table.

Create all columns using TableHelper.createTableColumn which adds
listeners that save the column width whenever they are resized by
the user, and restores them on subsequent creations.

Change-Id: I35d09a981b94aa086899e3bf74f2243029c60b2b
2ecd3a82201d03a35ab124f466941dce4d4be637 03-Aug-2011 Siva Velusamy <vsiva@google.com> Initial implementation of the new logcat panel.

This logcat panel will show up in ddms if it is launched with -Dcom.android.ddms.useNewLogCatView.
Currently, this implementation only displays a table with a list of logcat messages. It lacks
features such as filters, go-to source of exception, export to log, user preferences, etc.
Future patches should enhance the UI to achieve feature parity with older UI.

Change-Id: I3dde3c590c839318ce57bb5f005627f580ebb06c
81e6255a2998b05465952004b6f4b4c2331270b4 03-Aug-2011 Siva Velusamy <vsiva@google.com> Conditionally create old logcat view.

As a first step towards replacing the logcat view, wrap the code that creates
and manages the current logcat view to first check which implementation to use.
The old implementation is used unless a JVM property
"com.android.ddms.useNewLogCatView" is set.

Change-Id: Idbdfcc55f0f5f28f7004b010875b89de8a4cea12
9058318f1052d7813e1c4989fdad49735d65b523 21-Apr-2011 Raphael Moll <ralf@android.com> Use SwtMenuBar for DDMS.

Change-Id: I32121a336e5b3256ef1661fff5afe84741295d08
8f7e536747d1d4a26c12c147057f49cd22654794 08-Apr-2011 Xavier Ducrohet <xav@android.com> Put some new icons.

- ddms and (one of) hierarchy viewer perspective.
- feature about for traceview/hierarchyviewer
- use the draw9patch icon for the resource view in ADT
- use the emulator icon for the emulator control view in DDMS
- use the new android icon for the ADT wizard.

Also standardized on <toolsname>-<size>.png for the icon names.
ADT uses android-##.png

Change-Id: I1ce2a0dae5d256049b381552bd89aef717f51da6
9fd1167924dca792834cade14772e2be5a55b3d5 12-Feb-2011 Pierre Zurek <pierrezurek@gmail.com> Added a New Folder action in File Explorer.

This action allows the user to create a new folder if the current
selection in the tree is a folder. It executes the "mkdir" command
on the device. If an error occurs during execution, a popup is
displayed.

Change-Id: Id94485502849679ee9c753882b3e46f30e0edd1e
ff0b9891ab1650c6d06509ad4ae202c77e202cc3 30-Sep-2010 Pierre Zurek <pierrezurek@gmail.com> Allow the user to set the ADBHOST variable.

With those changes the ADBHOST variable can be
directly set in the Preferences of DDMS and Eclipse,
so that the user can reset adb from inside those
two programs.

Change-Id: I94b24744e8daa3b3b2fe5a3db39203b39cb093ac
af47437d806484ba944338a981965b31d1bd81a6 19-Oct-2010 Tor Norbye <tnorbye@google.com> Fix ddms filechooser behavior and Mac accelerator

Fix a couple of issues in ddms:

First, fix the code to remember the path you last opened the file
chooser with; if there is nothing in $lastImageSaveDir, it should look
at $imageSaveDir (which is the variable the default setting
($user.home) is initialized into).

Second, and this seems to be Mac specific, the
FileDialog.getFilterPath() call does not return the path you have
navigated to, which means that on the Mac it never sets
$lastImageSaveDir correctly - it always sets it to the original
suggestion. The fix is trivial - use File#getParent instead which does
the String manipulation to extract the parent portion of a string
which represents a path.

Finally, on Macs (only), make the keybindings use the Command key
instead of the Control key since that's the norm.

Change-Id: I1b0f381606f5373ddad973754e49ce07856a9bae
020a428e1dd0231555e5ef855e3e6eca38e59c48 27-Sep-2010 Xavier Ducrohet <xav@android.com> Make the tools work with the new location of adb.

adb has been moved to the platform-tools folder.

This changes ADT, DDMS, HierarchyViewer which all care
where adb is (to launch it).

Also fixed the local SDK parser of the SDK Updater to find
the platform-tools package.

Change-Id: I3c869159d7b0e0ad9aaea06f376b7ba3e53bfc7f
9db3286c710abeb2c9478c2f95657d945a55d176 21-Jul-2010 Xavier Ducrohet <xav@android.com> Update the ddmlib api for push/pull/install

The API now throws SyncException instead of returning SyncResult.

The IDevice API to install/uninstall now returns a single
InstallException that encapsulate all the other ddmlib
exception.

Also, the recently added exceptions now don't extend IOException
anymore.

Change-Id: Ib334c4157a6add1882233dfaaa032aea1910eede
e312b2800018fcfe7fad0b1c883127f1364a17d0 23-Jun-2010 Xavier Ducrohet <xav@android.com> Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks.

Also cleaned up the abstraction layer to load images from ddmuilib since
its image are now always located inside ddmuilib jar.

Change-Id: Id9d283df18a05b7b5593e4593e90dac6e5548b94
1ec0b6529b371425aea3004e403c4df1dfc55aa6 15-May-2010 Xavier Ducrohet <xav@android.com> Fix a typo.

Change-Id: I699ee939436964e0c88b7b8423b5ed6fef84add1
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
3b9b9b5678aa54cc82621a8563079fc13d5fa8e4 30-Jan-2010 Xavier Ducrohet <xav@android.com> Add support for VMs that can stream hprof data through JDWP. Do not merge

Integrated from master for inclusion in the SDK Tools r5

Change-Id: Ifad984f5b0ae187428cb7d871b039dddf0db4ba7
44783788698204a0dc3b311f5b6add970fb40f40 30-Jan-2010 Xavier Ducrohet <xav@android.com> Add support for VMs that can stream hprof data through JDWP.

Change-Id: I0fcc8718685ddb7accd459e78821677f044135ba
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
312c9ed171a7fff530b3b7a4e6a87ead9b0d6522 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
0c44ff52ccfbafa1bfa5dbd49be773dd8e922678 25-Sep-2009 Xavier Ducrohet <xav@android.com> Sync DDMS/Traceview/Android version on the repository source.

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
4242a9e3569ece6a825fb253f0803178359267b2 23-Sep-2009 Xavier Ducrohet <xav@android.com> Disable menu items based on device/app selection.

Change-Id: I78572430c68f2c1952a118814d4b467182004e23
bcf38645bef192b380f0d338b263aea075cd1aeb 03-Sep-2009 Xavier Ducrohet <xav@android.com> Add method profiling support to DDMS.

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
2143c56c55f6ef9439b26070d7139b2c907ca3da 02-Sep-2009 Xavier Ducrohet <xav@android.com> Add "Dump HPROF file" to DDMS/DDMS plugin

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
5542fe492293223a81e604a49aa6fa55b1719847 15-May-2009 Xavier Ducrohet <xav@android.com> Make the ddmlib API use IDevice instead of Device

Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.
55a2c71f27d3e0b8344597c7f281e687cb7aeb1b 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
82ea7a177797b844b252effea5c7c7c5d63ea4ac 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
1506a206c0a5e3b593c4c61a62b8805b64e98daf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution