summaryrefslogtreecommitdiff
path: root/core/java/android/ddm/DdmHandleHello.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ddm ChunkHandler utility methods from libcore to frameworkNikita Iashchenko2021-05-251-10/+8
| | | | | | | | | | | | | | | | | As a part of internal libcore cleanup three utility methods for ddm chunks (de)serialization were removed from the CorePlatformApi set and moved to framework. As a part of API council review made following changes: * Renamed connected/disconnected callback methods to onConnected/onDisconnected, respectively * Made unregisterHandler method a part of core api * Renamed threadNotify/enableRecentAllocations setters Bug: 154796679 Bug: 184654804 Test: m droid Change-Id: I1d43f12aaf70c7c079577d3f3248248ed39f9865
* Add package name to DDM APNM packetChester Hsieh2019-12-061-6/+8
| | | | | | | | | | | | | | DDM APNM currently only reports the application/process name. For services that need to know the underlying package name, those services need to manually resolve the process's UID and map it to the package name via the shell - a slow and error-prone process. This change adds the package name to the APNM packet so users of newer versions of DDMLib can directly get the package name. Test: manual Change-Id: I92517d5bb641cc263c0d58db667b00e67fc5e58b
* Move CLIENT_PROTOCOL_VERSION to point of useOrion Hodson2019-02-041-5/+9
| | | | | | | | Removes dependency on constant that was in libcore. Bug: b/119742461 Test: m -j100 checkbuild Change-Id: I1708652edf65789ef4bdb6e83568696f70f96bdd
* Send nativeDebuggable byte value as part of HELLO response.Oleksiy Vyalov2016-04-051-1/+4
| | | | | | Bug: 27942453 Change-Id: I4a222c88e104040b08e603e300e54a1ca2c038fe
* Report runtime information to DDMSSebastien Hertz2014-05-221-2/+20
| | | | | | | | Reports runtime's ABI and internal flags to be displayed by DDMS. Bug: 14888999 Bug: 14888124 Change-Id: I8a2d3f22f84a093be2fbc74464af6aa7b2a2bebb
* Replace native Process getpid/getuid with calls to libcore equivalents.Jeff Hao2013-07-311-1/+3
| | | | | | | | | The Process natives were getting called were getting called while handling a jdwp packet before the vm had a chance to register them. (cherry-pick of 5bce6a308fc8a3c1e449cf905b8b6e8ace4ef3e2.) Change-Id: Ia2b4f79b11e427283a712b2d0c52948f394640bf
* Support hierarchy viewer commands via DDMSiva Velusamy2013-01-161-8/+11
| | | | | | | | | | | | | | | | Hierarchy Viewer currently interfaces to the host via a socket opened by ViewServer which resides in the WindowManagerService. Since this has access to all windows, it is enabled only on debug builds. This CL adds necessary support to DDM to handle all the commands required for Hierarchy Viewer. It only misses two commands that are sent to the Window Manager (which we don't have access to from the applications). A future CL will remove the ViewServer functionality. Change-Id: I1dae316a00737b0cae4e640ccc97bf9bb1d05973
* DdmServer: add controls for OpenGL tracingSiva Velusamy2012-12-191-8/+15
| | | | | | Add a new JDWP packet to allow control of OpenGL tracing. Change-Id: Ic89e2f6299238a612df2f914581049f2cbba088c
* Report the user id of every app to ddms.Siva Velusamy2012-09-101-1/+3
| | | | | | | | | | This CL extends the HELO and APNM packets to include the user id of the application. This allows ddms users to differentiate between the same app running for multiple users. Bug 7110696. Change-Id: I490d0e3781b8fb9db65cf81188677a0955650511
* Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato2011-04-071-6/+5
| | | | | | since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
* Move VM feature strings (used by DDMS) into VM.Andy McFadden2010-01-221-4/+2
| | | | | | Until now, we used a place-holder in frameworks/base. Disable a test that shouldn't have been on.
* Log.d -> Log.vAndy McFadden2009-09-041-2/+2
| | | | Don't need "Got feature list request" from ddm-heap.
* auto import //branches/master/...@140412The Android Open Source Project2009-03-181-3/+48
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+138
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-138/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+138