aboutsummaryrefslogtreecommitdiffstats
path: root/android
Commit message (Collapse)AuthorAgeFilesLines
* Moved radio, gps and audio setup entirely into the coreVladimir Chtchetkine2010-08-241-99/+28
| | | | Change-Id: I9d76bb3cd892b7b2b0713a27ff5477195c93ff36
* Cleanup stuff for the UI buildVladimir Chtchetkine2010-08-241-85/+6
| | | | | | | | 1. Move DNS server registration entirely to the core. 2. Move -memcheck option initialization entirely to the core. 3. Move qemu_help routine (used by both, Core and UI) to common qemu-help.c file. Change-Id: I5e47e94bdc375f0e037ccc6bd88daeb5fa06d1cf
* Move memchecker initialization from main.c to vl-android.c (core)Vladimir Chtchetkine2010-08-091-9/+5
| | | | | | Also move qemu-malloc.c to common CORE and UI sources Change-Id: Ifd62ae247cc03700d85b5fc35072d73ac37cc570
* Fix window title to display the correct port number for the emulator.David 'Digit' Turner2010-07-304-1/+26
| | | | Change-Id: I289451995683d5d4de2afe2e87481418a393c82f
* Better detection of incorrect proxy values when starting the emulator.David 'Digit' Turner2010-07-301-7/+13
| | | | Change-Id: I344f06fc16e051359669b8fe9b8dcec0ceca377d
* Added qemu-android build target which will build bare (UI-stripped) emulatorVladimir Chtchetkine2010-07-273-4/+14
| | | | | | Also has some minor separation changes Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-277-326/+445
| | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* GPS: Fixed the "geo fix" console command, and added satellite count emulation.David 'Digit' Turner2010-07-231-13/+43
| | | | Change-Id: I27626c5ede2b0ed354ee780fa00caf4778ff690f
* fix -http-proxy implementation to work correctly with chunked encoding.David 'Digit' Turner2010-07-231-0/+6
| | | | Change-Id: I3d8a18bd0849c75d0133b234a8aa74069ad71baa
* Remove UI dependency from goldfish_event_device.cVladimir Chtchetkine2010-07-224-3/+33
| | | | Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
* Moved dependency on android_ui_set_window_scale to ui-core-protocol.hVladimir Chtchetkine2010-07-168-7/+73
| | | | | | Also cleaned up dependency on android_base_port variable Change-Id: I8c1675a859e3d24e9bb174471dd03556c696aff1
* Move net-related routines from main.c to net-android.cVladimir Chtchetkine2010-07-153-110/+4
| | | | Change-Id: If102220e6db913f4a51bb1809ce60f4bf24bdd6a
* Finished shuffling files.Vladimir Chtchetkine2010-07-141-1/+0
| | | | Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9
* Removed boot-properties.h dependency from help.cVladimir Chtchetkine2010-07-082-2/+9
| | | | | | File help.c belongs to the UI, while boot-properties belong to the Core Change-Id: I526bc187740c58f89375025ca21927f5224acf19
* Removed hw-control dependency from the UI.Vladimir Chtchetkine2010-07-084-8/+26
| | | | | | | qemulator_setup has been setting brighness callback via direct call to hw-control. After the change callback is set via call to ui-core-protocol Change-Id: Ib96887d47cf765f38f4a7ad39f4f39963d9fb90d
* Move key event generation out of the UI realm into neutral space.Vladimir Chtchetkine2010-07-079-105/+225
| | | | | | | Abstracted keycode event array into keycode_array.[hc], Moved key to keycode translation into charmap.c Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652
* Add ui_core_protocol.* to simulate UI->Core exchange.Vladimir Chtchetkine2010-06-293-1/+58
| | | | Change-Id: I969bb097fcd9be55d83368ddee0e377a0f0af896
* Fix a memory corruption bug that can happen if a qemud service decides toDavid 'Digit' Turner2010-06-251-3/+8
| | | | | | close the connection during a clie_recv() call. Change-Id: I5cedde24c5b15081453c1537c679ca1f9c697ad9
* Pass core-specific options to emulator core as cmd-line options.Vladimir Chtchetkine2010-06-152-13/+40
| | | | Change-Id: I7ed897ca92c1344505f982897e2f59cc68c42d89
* Enable --mingw option in android-configure.shDavid 'Digit' Turner2010-06-101-0/+70
| | | | | | This should ease testing of the Windows build during development. Change-Id: I45cc9e396a0e82d764cf7a27fd40ad7c5367c51a
* Inter-emulator networking: add interfaces in the correct orderDries Harnie2010-06-091-5/+6
| | | | Change-Id: I9cab6f47bbde9f4dacdb2a426064af63eb4709c4
* qemu-props: Signal end of property list.Dries Harnie2010-06-071-0/+4
| | | | Change-Id: I0194413e3ce93ff09aa953f283a22211e93848a1
* Add small user-event abstraction interface.David 'Digit' Turner2010-05-254-20/+13
| | | | | | | | | | | | | | | | Preparation for future UI frontend/backend separation. This is done to ensure that the code under android/skin/ does not depend on any QEMU-specific header. We achieve this by adding a new abstract header "user-events.h" and one QEMU-specific implementations for the functions defined here. This also modifies console.h and vl-android.c to make them closer to upstream (by removing Android-specific changes). + fix Makefile.android to always build SDL from sources in standalone mode. Change-Id: I0d152741e7bb2c9cd283f5c35bd054385c7c1eb3
* Build SDL from sources directly.David 'Digit' Turner2010-05-186-4/+513
| | | | | | | | | | | | | | | | This removes the requirement to build the SDL library before the rest of the emulator. The prebuilt SDL library and installation is now optional and is only kept for the full Android build on Linux (mainly to avoid having to install many dev libraries on build servers). This patch affects both the Android and standalone build systems. The script android-configure.sh will not use a prebuilt SDL installation unless you explicitely use --sdl-config=<script>. Tested for linux-x86 / darwin-x86 / cygwin / linux-mingw builds. Change-Id: If973b2ad199f06aeeff43aec387d1ac629487529
* Enable interconnection of emulatorsDries Harnie2010-05-183-0/+48
| | | | | | | | | | | This patch adds a -shared-net-id option to the emulator which joins the emulator in a shared network. If the option is given the emulator is started with an additional network interface bound to a multicast socket. This multicast socket emulates a network hub, interconnecting emulators. If the -shared-net-id option is not given, nothing changes. Change-Id: I0ea70a073cdbd34f804161300240fafca34080d0
* Moved android_emulation_setup from android/main.c to android/qemu-setup.cVladimir Chtchetkine2010-05-142-477/+514
| | | | Change-Id: Ic66bb0d07e28088ae02055c88d37bfd00edea592
* Upstream: add qemu_fdatasync()David 'Digit' Turner2010-05-111-0/+1
| | | | Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4
* Upstream: HAVE_IOVEC => CONFIG_IOVECDavid 'Digit' Turner2010-05-112-2/+2
| | | | Change-Id: I18025d9c154a02af5d6298c7d7f72fc9f2c1c5d7
* Moved QEmulator out of main.cVladimir Chtchetkine2010-05-113-335/+416
| | | | Change-Id: I20964bb5d7fbef5ea22d265427793a2a7fce2017
* Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNEDDavid 'Digit' Turner2010-05-102-3/+3
| | | | Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
* Fix emulator OS X build when using the Android build system.David 'Digit' Turner2010-05-102-2/+2
| | | | Change-Id: Ia19b4e14b84c12edc040a70144a97b5ca9474b00
* Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSDDavid 'Digit' Turner2010-05-101-1/+1
| | | | | Also fix OS X build, which failed with a link error. Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
* When running from the Android build system and no skin is definedJeff Hamilton2010-04-271-3/+18
| | | | | | on the command line check for a skin in $ANDROID_PRODUCT_OUT/skin. Change-Id: I776aa481b38bd4e48982fdb5c032a10c970576a8
* merge from tools_r6The Android Open Source Project2010-04-196-229/+28
|\ | | | | | | Change-Id: I860d4b338cba9ea749797d6607b262c8072dd1f6
| * Revert previous patch to fix SD Card emulationDavid 'Digit' Turner2010-04-156-229/+28
| | | | | | | | | | | | | | | | | | | | | | The previous patch modifies SD Card hardware emulation in a way that is not backwards compatible with previous SDK platform releases. This has the unfortunate effect of making SD Card emulation not work properly when running existing AVDs. Reverting the patch until we get a better one. Change-Id: I82dac87709d88aa3bd292bf2ed0008ae74d95853
* | Changes to build Windows emulator under Linux/MinGWRaphael2010-04-141-1/+1
| | | | | | | | | | | | | | | | - Linux being case-sensitve, include "windows.h" instead of "Windows.h" is important. - Use MinGW's windres. - No pthread needed. Change-Id: Ib4ce944bb55a8b1d870e230f269c89cb7df0b3f2
* | merge from tools-r6The Android Open Source Project2010-04-081-0/+35
|\ \ | |/ | | | | Change-Id: I8b1287b619b6ec77024cb1ce56fabc80d2b1146d
| * Automatically parse a file named 'hardware.ini' if it is foundDavid 'Digit' Turner2010-04-061-0/+35
| | | | | | | | | | | | in the skin directory, and we are using the Android build system. Change-Id: I62480314f73ae60e769c113d6e4421e9946bb818
* | Making the port where adb is expected configurable.Stefan Hilzinger2010-03-311-2/+17
|/ | | | | | | Environment variable ANDROID_ADB_SERVER_PORT allows to control the port the emulator expects adb to be listening on. Change-Id: Ibe52c02829ac9a0308f2cf5da32a57ab773110f8
* Merge "Move file I/O out of ELFF, abstracting them in platform-independent ↵Vladimir Chtchetkine2010-03-252-0/+383
|\ | | | | | | fasion."
| * Move file I/O out of ELFF, abstracting them in platform-independent fasion.Vladimir Chtchetkine2010-03-252-0/+383
| | | | | | | | Change-Id: Ie8800dc96db810e352618bfea8243ab008ae9d2c
* | Fix Win32 socket error handling.David 'Digit' Turner2010-03-251-2/+2
|/ | | | | | This also fixes -http-proxy support on Windows. Change-Id: I741b224511c064412ac39351ed4f1b9146a313a5
* Merge memory checking from sandboxVladimir Chtchetkine2010-02-185-9/+71
| | | | Change-id: Ibce845d0
* am 538b0138: am c973b058: Add support to the emulator\'s standalone build ↵David 'Digit' Turner2010-01-073-0/+26
|\ | | | | | | | | | | | | | | | | system for C++ sources. Merge commit '538b01383c3f202aa7822ab9cae01c4d1abe2c08' * commit '538b01383c3f202aa7822ab9cae01c4d1abe2c08': Add support to the emulator's standalone build system for C++ sources.
| * am c973b058: Add support to the emulator\'s standalone build system for C++ ↵David 'Digit' Turner2010-01-073-0/+26
| |\ | | | | | | | | | | | | | | | | | | | | | | | | sources. Merge commit 'c973b058ebe38bb585a9a6026e39519db1f91c33' into eclair-plus-aosp * commit 'c973b058ebe38bb585a9a6026e39519db1f91c33': Add support to the emulator's standalone build system for C++ sources.
| | * Add support to the emulator's standalone build system for C++ sources.David 'Digit' Turner2010-01-073-0/+26
| | |
| * | am 39fd8497: Add two documentation files describing the format of config and ↵David 'Digit' Turner2009-12-071-31/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | skin files. Merge commit '39fd8497a66aa9f78a18c8684181128361612c6f' into eclair-plus-aosp * commit '39fd8497a66aa9f78a18c8684181128361612c6f': Add two documentation files describing the format of config and skin files.
| * | am a383d02c: Extract emulator major version number from SDK Tools package ↵David 'Digit' Turner2009-12-032-4/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | revision. Merge commit 'a383d02cb57dd7dadd382654175e51354073a139' into eclair-plus-aosp * commit 'a383d02cb57dd7dadd382654175e51354073a139': Extract emulator major version number from SDK Tools package revision.
| * \ \ am 8b657e5d: Fix a crash when using an 8MB SD Card image file.David 'Digit' Turner2009-12-012-3/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '8b657e5deaa03b989b0b36791fcf2aa6b2882656' into eclair-plus-aosp * commit '8b657e5deaa03b989b0b36791fcf2aa6b2882656': Fix a crash when using an 8MB SD Card image file.
| * \ \ \ am 5bc6182a: Fix location of prebuilt skins.Xavier Ducrohet2009-11-202-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '5bc6182ae984796a6d14be7f7b8eb73c1b630b8e' into eclair-plus-aosp * commit '5bc6182ae984796a6d14be7f7b8eb73c1b630b8e': Fix location of prebuilt skins.