History log of /external/qemu/android/utils/debug.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f0c747e01328e713891f2fa66c4f9df64f580dc2 11-Jul-2014 David 'Digit' Turner <digit@google.com> android/utils/: Proper C++ inclusion guards.

This patch ensures that all headers under android/utils/ have proper
C++ inclusion guards, by using "android/utils/compiler.h" and the
macros it defines (ANDROID_BEGIN_HEADER / ANDROID_END_HEADER).

Just general cleanup before further work.

Change-Id: If37e346a1846af43bfd01dd7fc6999e188a6d025
/external/qemu/android/utils/debug.h
7342c8a36068977855b3becfe1bc994147e837bb 21-Jan-2014 David 'Digit' Turner <digit@google.com> Fix Windows unittests build.

Turns out that emulator_common depended on a symbol (android_verbose)
that was declared outside of the module, for no good reason. This
broke the Windows build of emulator_unittests, so fix the glitch
by moving the symbol declaration to the appropriate location.

Change-Id: I325e79435c0c2cfcfa9850689bd6d0b09c40eac1
/external/qemu/android/utils/debug.h
c8aa2c570d30098da59f1967d5158024ed28570d 06-Apr-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Implements SDKCtlSocket that implements communication protocol wih SdkController

In addition, this CL contains some minor tweaks to async-socket, and
async-socket-connector that improve tracebility.

Change-Id: Ib1309b19dcd02e96379155fea7015019d93160e7
/external/qemu/android/utils/debug.h
a7383ef4eb8d3863c8d582ea0d6b2ddb42125cba 29-Mar-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Implements asynchronous socket API

This is pretty basic API that allows to asynchronously connect to a socket, and
perform asynchronous read from / write to the connected socket.

Since all the operations (including connection) are asynchronous, all the
operation results are reported back to the client of this API via set of
callbacks that client supplied to this API.

Change-Id: I2a18f5b9c575ab7825c9e5a086f4cd9fb6b130ec
/external/qemu/android/utils/debug.h
9d36fe7e6f0c5ece4de1b29ec78a15c37c158b1d 26-Mar-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Implements an asynchronous socket connector with retries

The typical usage of the API is as such:

1. The client creates an async connector instance by calling async_socket_connector_new
routine, supplying there address of the socket to connect, and a callback
to invoke on connection events.
2. The client then proceeds with calling async_socket_connector_connect that
would initiate connection attempts.

The main job on the client side falls on the client's callback routine that
serves the connection events. Once connection has been initiated, the connector
will invoke that callback to report current connection status.

In general, there are three connection events passed to the callback:
1. Success.
2. Failure.
3. Retry.

Typically, when client's callback is called for successful connection, the
client will pull connected socket's FD from the connector, and then this FD
will be used by the client for I/O on the connected socket. If socket's FD
is pulled by the client, it must return ASC_CB_KEEP from the callback.

When client's callback is invoked with an error (ASC_CONNECTION_FAILED event),
the client has an opportunity to review the error (available in 'errno'), and
either abort the connection by returning ASC_CB_ABORT, or schedule a retry
by returning ASC_CB_RETRY from the callback. If client returns ASC_CB_ABORT
from the callback, the connector will stop connection attempts, and will
self-destruct. If ASC_CB_RETRY is returned from the callback, the connector
will retry connection attempt after timeout that was set by the caller in the
call to async_socket_connector_new routine.

When client's callback is invoked with ASC_CONNECTION_RETRY, the client has an
opportunity to cancel further connection attempts by returning ASC_CB_ABORT,
or it can allow another connection attempt by returning ASC_CB_RETRY.

The client has no control over the lifespan of initialized connector instance.
It always self-destructs after client's cllback returns with a status other
than ASC_CB_RETRY.

Change-Id: I39b0057013e45ee10d1ef98905b8a5210656a26c
/external/qemu/android/utils/debug.h
8dd31e8e10fc3ca10192368acf19d2345eeddde7 16-Feb-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Multi-touch emulation support

Change-Id: I311dc55fe10f41637775baa330a7c732ff317f51
/external/qemu/android/utils/debug.h
bf45fc2a26358b7ec52cb17bb9d6ed67d6483b01 27-Feb-2012 Vladimir Chtchetkine <vchtchetkine@google.com> Enables ADBD tracing in emulator.

When running inside the emulator, guest's adbd can connect to 'adb-debug' qemud
service that can display adb trace messages on condition that emulator has been
started with '-debug adb' option.

This CL contains emulator code that enables that.

Change-Id: I6720deef0833fd02e2fe80deeaafbcf517de0c33
/external/qemu/android/utils/debug.h
d86c724b74e6c04a89219d87559d0b580e100445 10-Dec-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implement ADB communication over QEMU pipe

Change-Id: I62ff5898c7a955aaaa8af8f7ee7ed018af860f80
/external/qemu/android/utils/debug.h
db611d57e0da9acd7ecf2a4a9b2a63e7620fe54d 02-Nov-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implements sensors emulation using a connected Android device

There are three major things in this CL:
1. Abstract a connection with an Android device that is connected to the host via
USB, and there is a TCP port forwarding to this device via 'adb forward' command.
This abstraction is implemented in android/android-device.*
2. A client for android device API that talks to an app on the connected device that
provides values for sensors available on the device. This is implemented in
android/sensors-port.*
3. Changes to the sensor emulation code in android/hw-sensors.c to use sensors port
(when available) for sensors emulation.

Change-Id: I12901e8db6b6a6262fc1703ed96a9f714335d666
/external/qemu/android/utils/debug.h
cb88e79ecbd16dea5f2201fd12320db5945db83e 26-Aug-2011 David 'Digit' Turner <digit@android.com> Add hw.gpu.enabled hardware property

This patch adds a new hardware property to enable GPU emulation
(named hw.gpu.enabled). It is currently disabled by default.

It also modifies the UI code to display the GL output properly
inside the UI window. And sets the kernel parameter qemu.gles
to either 0 or 1 to indicate to the guest system's GLES libraries
whether to use GPU emulation or fallback to the software renderer.

A future patch will also add auto-detection of desktop GL capabilities.
For example, if the emulator is started on a headless server without
an X11/GL display, hw.gpu.enabled will be forced to 'no', forcing the
guest to use the software renderer.

Another patch will allow to change the property from the command-line
for debugging purpose.

NOTE: If you want to test GPU emulation, change the default value of
the property in android/avd/hardware-properties.ini from 'no'
to 'yes'. You will need to run a ToT master AOSP tree with
the following pending patches applied:

https://review.source.android.com/25797
https://review.source.android.com/25154
https://review.source.android.com/25759

Change-Id: I1fa3512be24395244fd5068f2bf59ad54db5c7d5
/external/qemu/android/utils/debug.h
4ed09fd35085c96ae8edbda87757187f75eeac8d 18-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Video capturing code for Linux, and Windows

Contains API that connects to a camera device, and pulls video frames from it
on request from the client.

Change-Id: If1d80c57611afff637a7734ce5c3a2c874cfc85a
/external/qemu/android/utils/debug.h
5389aa19033153c09556d1362a8b8a56abccb8f5 16-Feb-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Merge memory checking from sandbox

Change-id: Ibce845d0
/external/qemu/android/utils/debug.h
9877e2e3e3c2df64de306b48f80a4f5d0b028d95 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/external/qemu/android/utils/debug.h
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/utils/debug.h
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/utils/debug.h
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/android/utils/debug.h
df7881f07f53b041dc0568be8528e9dbb74994cc 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/qemu/android/utils/debug.h