Add DDM.Chunk extension command support.
The DDM.Chunk command is a long-standing jdwp extension supported by
android. It allows clients to interact with the android DDMS system.
The command is in command-set -57 (199u) and is command 1. It has a
non-standard variable reply packet format where both errors and empty
replies are responded to with a packet without any data in it. This
non-standard behavior is matched for backwards-compatibility with
pre-existing Android runtimes. The agent implements this functionality
through a jvmti extension method. If the extension method is not
present it will reply with normal errors to callers, as though the
method was not implemented.
Test: ./tools/art/run-libjdwp-tests.sh --mode=host
Bug: 69169846
Change-Id: Id9e41f99fad536b84d4a2cb503ac4d3a0c69f252
6 files changed