| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Change-Id: Id26cd578fc3faf1fee1a55f4999c3613e47c0e96
|
|
|
|
| |
Change-Id: I81567b512df04314d87dd3846b02d8895829937d
|
|
|
|
| |
Change-Id: I1587d5e6ccc0bf092bb38b2c841eb19cb006f2e7
|
|\
| |
| |
| | |
Change-Id: I8730ebf34c07bf1a5167970ee1fdce4fb3094c54
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add hw.keyboard.lid
This is used to control the lid switch virtual device.
+ Add support for a "version <number>" field to the skin format.
This will later be used for skin format #3.
+ Fix a bug where string hw properties didn't work/compile
Change-Id: I27ff3293b439917a51c584a25139264ddb1aff12
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The console's 'avd name' command returned "unknown" incorrectly.
This was due to a missing option when invoking the core, even in
the standalone case.
Fixes bug 3454261
Change-Id: I7efcfc50792231f57dc76d3c11e7968faf057e12
NOTE: This is a quick fix for tools_r10. A proper fix should instead
move the AVD name to auto-generated qemu-hardware.ini instead of
using a core command-line option.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
hw-sensors.c: Reduce default delay between sensor updates.
This reduces the default delay used between sensor updates.
This is needed to fix orientation for Honeycomb emulation since
the framework's window orientation listener now discards events
if they are spaced by more than 1 second (which happened to be
the old default).
Change-Id: I4a29bc6f905ca048aa8b753130a7a1711c3a79f3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reduces the default delay used between sensor updates.
This is needed to fix orientation for Honeycomb emulation since
the framework's window orientation listener now discards events
if they are spaced by more than 1 second (which happened to be
the old default).
Change-Id: I9194d93ab445302df1d887473b6ff5c446e13f98
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is used to control the lid switch virtual device.
+ Add support for a "version <number>" field to the skin format.
This will later be used for skin format #3.
+ Fix a bug where string hw properties didn't work/compile
Change-Id: I678a0988d2cd24169dd0c2ece96e7ab0b2822104
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch removes the need for the -m <memory> core option.
Instead, the RAM size is taken by default from qemu-hardware.ini.
Also, the default value of vm.heapSize is no longer 16MB, it is
now adjusted based on the RAM size (16/32/48 values)
+ Get rid of core -lcd-density option (use .ini file instead)
Change-Id: I93919926b61a132c7943a1bb2c41f7a3ab7f2d2f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead, pass all LCD configuration in qemu-hardware.ini.
+ Make the latter file mandatory to launch a core. You can easily
generate one by launching "emulator <options>" though.
Change-Id: I81a1938217562517e4c2bbb828aef934033c29a5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do not write the core's hardware configuration file to a temporary file.
Instead, stored it under the AVD's content directory with the name
qemu-hardware.ini. For platform builds, use $ANDROID_PRODUCT_OUT/qemu-hardware.ini
The purpose of this auto-generated file is to contain all hardware configuration
required to properly launch a core from the UI. Further patches will get rid of
special core command-line options (e.g. -android-gui) and rely on the content of
this file, by adding new hw properties.
Change-Id: Id761151c8c8990f1cfa7380779b720080f49469f
|
| |
| |
| |
| |
| |
| | |
This fails to build on MacOS X
This reverts commit a39b10bd2574825a815d6ad854499dd127cfa9cb.
|
|/
|
|
| |
Change-Id: I105c5a097c988cb964b47b40b71c7a08af0d9210
|
|
|
|
| |
Change-Id: Icfcef72a02e388f2aa87b97f004ed43715fc9f30
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ibb06b7d412faeafa717de6d095a9eaae84d35ab4
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
+ Fix LOCAL_GENERATED_SOURCES handling
+ Fix missing library dependencies for executables
+ Move generated library files to objs/libs/ (instead of objs/)
Change-Id: If3ebaa7ae856efa9bd3ff9e2c199389989db7f71
|
|/
|
|
|
|
|
|
| |
are large. Also, added a boot parameter for the goldfish kernel to use PIT,
rather than TSC.
Change-Id: I5824c7248e0c1a4c487aeb52da112d870846ae62
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
|
|
|
|
|
|
|
|
| |
There are two parts in this CL:
1. Fixing the Windows build (missing set_fd_handler)
2. Replacing read/write with socket_recv/socket_send.
Change-Id: I5fa599774260257d481b738a892e1124135fc319
|
|
|
|
|
|
|
| |
Change-Id: Ic73cca0fc6c6e5cf74f63daa6080d00aa7c392bb
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
|
|
|
|
|
|
|
| |
Rename implFb_xxx to fbUpdatesImpl_xxx for consistency
Avoid redundant global variable access
Change-Id: I783b52ade3ff3e9f04f34162684eeb9c4c4addac
|
|
|
|
|
|
|
|
|
| |
This gets rid of qemu_set_fd_handler() users in the UI
program. We can remove its implementation from vl-android-ui.c
+ Really remove qemu-timer-ui.c :-)
Change-Id: I490df8ad5d5eea36b332bf54e2b156f6b5872bf4
|
|
|
|
|
|
|
|
|
|
| |
Get rid of console-ui.c, qemu-timer-ui.c and modify vl-android-ui.c
to use a generic Looper object instead of a crummy event loop.
We still need to implement qemu_set_fd_handler for two sources under
android/protocol/ but this will be cleaned up later.
Change-Id: Icd0762675ca2f54e720a9cec40f96caea500b52f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove one layer of indirection between the core's DisplayState
and a ProxyFramebuffer object. The main ideas behind this patch
are that:
- We don't need a QFrameBuffer object when in the core process,
each proxy can receive display updates directly from QEMU.
- The DisplayChangeListener is really lame: its can't dissociate
between several listeners that use the same callback pointers,
so introduce DisplayUpdateListener in console.h to work around
this. This is preferably to modifying DisplayChangeListener
which is going to introduce conflicts with upstream.
- Simplify a lot the console code and display-core. Note that
we can have several framebuffer clients at the same time now.
Note that QFrameBuffer is still used by both the UI program and
the standalone emulator.
Change-Id: I6d5ad6ecd9b34b9d9d1a30ea5000e875c285e84e
|
|
|
|
|
|
|
| |
The QFrameBuffer is no used by QEMU-specific code anymore so it's
more logical to move it here.
Change-Id: Id49ff53dd49648000e7543652d66f7c03881a8cb
|
|
|
|
| |
Change-Id: I1f04ed1f00fccdea043f4a4fbf5ba745b36bbcc7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes init_skinned_ui() and adds parse_skin_files() and init_sdl_ui().
The first function only parses skin files and options, and doesn't do anything
related to the UI.
The second function does setup the SDL UI after all options/skin processing has
been performed. We also modify main.c and main-ui.c to move the call to
init_sdl_ui() as far as possible after the options parsing.
+ Move core attachment code to the end of qemu_main() in main-ui.c
Change-Id: I2bf5f0a096d827ae1fee070a8fa45cbd4629d54f
|
|
|
|
|
|
| |
This is a first step towards cleaning-up our initialization/startup code.
Change-Id: I2d4fbc5c2cd0181fb39a1a97a15650945038c3b9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Starting the emulator with a new AVD should create a new user data image
(userdata-qemu.img) as a copy of existing user data image (userdata.img).
This is not done since the flag IMAGE_EMPTY_IF_MISSING will cause
the user data image to be reset. By not setting the flag the user data
is initialized in the way documented in code and on-line help.
Change-Id: I787bcbc904f79edf241fbacb7446f459fc5f2ad0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch generates a temporary hardware.ini from the hardware
configuration. The idea is to move as much hw config info as possible
to a single file that the core can read.
Other patches will change how various config info is passed to the
core, from command-line options to the generated hardware.ini.
|
| |
| |
| |
| | |
Change-Id: Ia68ceb57ee5b5a66fa76b837fe3b990eb12e7188
|
| |
| |
| |
| | |
Change-Id: I8ac4580af65b8d58976c97b77b309dd202e75003
|
| |
| |
| |
| | |
Change-Id: I08afb96ef17a52c3795f5029acfc244a93ab57c7
|
|/
|
|
|
|
|
| |
Also cleaned the code up from obsolete ui-core-protocol.* and
core-ui-protocol.*
Change-Id: I194bec669d25b68a10c32b2be50bc9da50c52ebb
|
|
|
|
| |
Change-Id: I339449214ab951aba40abfe2a5b3e3ebfb222311
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Iecc1b5bb9ddcdaf9f22c500a5195718db3f25354
|
| |
| |
| |
| |
| |
| |
| |
| | |
Even putenv("X=y") is bad because the "string becomes part of the
environment; changing it later will change the environment."
(http://www.kernel.org/doc/man-pages/online/pages/man3/putenv.3.html)
Change-Id: I0d57204a7020649493fb005c962951407d40fa45
|
| |
| |
| |
| |
| |
| |
| | |
Windows builds and possibly others do not have putenv. Using
"#ifdef HAVE_SETENV" which is common in qemu.
Change-Id: I2cd6770a77cd192440ff4dc6a624568eb27d5558
|
|/
|
|
|
|
|
|
| |
POS34-C. Do not call putenv() with a pointer to an automatic variable as
the argument:
Change-Id: I0c973edd2cc8d6c86287ec0258bca6a06f319bfb
https://www.securecoding.cert.org/confluence/display/seccode/POS34-C.+Do+not+call+putenv()+with+a+pointer+to+an+automatic+variable+as+the+argument
|
|
|
|
|
|
|
| |
Core port related calls are no longer needed, since UI is aware of
core's base port on attachment to the core
Change-Id: Ic211fc9b02cb652009360f80917e90c44d941878
|
|
|
|
| |
Change-Id: I2feb813314163b94781ffe765eb23527b6c4a0f1
|
|
|
|
|
|
|
|
|
|
|
| |
FB and UE services overwrite the socket's read callbacks, making the console
unavare of the fact that console client gets disconnected. As the result,
console clients for FB and UE stays alive after UI has exited, making it
impossible to attach another UI. To fix this, we add socket read callbacks
to the FB and UE service that monitor the disconnection event and destroy
their console clients on such events.
Change-Id: I82e714f33ccc81bc04ca47eda6fbb8fab4a313f9
|
|
|
|
| |
Change-Id: I503aa691cada5250b76167a923d4a226d20ee41d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change is used when using a magic skin (e.g. -skin 800x600)
or when using the full Android build system, in order to determine
a good default for the RAM size.
Change-Id: I900e28146592cdd3f0df9b3f1828b119309eea85
|
|\ \
| |/ |
|