aboutsummaryrefslogtreecommitdiffstats
path: root/emulator
Commit message (Collapse)AuthorAgeFilesLines
* Volume keys need to be wake keys in order for them to work when the screen ↵Joe Onorato2010-10-111-2/+2
| | | | | | | is off. Bug: 3083496 Change-Id: I9b456cf002a8a9d953d631c163054f8ccc9572fa
* Revert "Fixed problem with keymap files copied to target"Jean-Baptiste Queru2010-09-014-0/+248
| | | | This reverts commit 1fc95cae8ec2ccfe134ff279ed9082311ad0d877.
* Fixed problem with keymap files copied to targetMagnus Karlsson2010-08-314-248/+0
| | | | | | | | | | | Moved Android.mk and keymap files except AVRCP.kl from sdk/emulator/keymaps to build/target/board/generic. This causes the keymap files to copied into the system image of generic and sdk products, but not into the system image of HW products. Originally the qwerty.kl was copied to target no matter if the target had a qwerty keyboard or not, which is the case for e.g. the Nexus One. Change-Id: I6f76bcd4e23b8478f36f213090d22d7d3ea1255b
* qemu-props: Signal end of property list.Dries Harnie2010-06-071-2/+4
| | | | Change-Id: I16f8c8b370f42c6229b3deabd66d2aaabd0b7937
* Add AT keyboard mappings for a BACK and MENU keyBruce Beare2010-05-051-1/+3
| | | | | BACK == ESC MENU == F10
* merge from tools-r6The Android Open Source Project2010-04-082-0/+23
|\ | | | | | | Change-Id: If11d893ba56c1189620e00f86b7f51bf4d698e49
| * Add missing licensing files.David 'Digit' Turner2010-04-012-0/+23
| | | | | | | | Change-Id: I1e3159ac3d322ca70c2d9d7faf3a0ecac4313468
* | New GPS HAL for qemuMike Lockwood2010-04-052-0/+971
|/ | | | | | | This will replace equivalent code in libhardware_legacy Change-Id: I611e34a187ed8460490f793538446c11c7c83cab Signed-off-by: Mike Lockwood <lockwood@android.com>
* Fix sensor emulation.David 'Digit' Turner2010-03-051-6/+8
| | | | | | | This gets rid of a bug where the control fd would be closed when the data channel is opened, making the later activation of sensors impossible. Also add more debugging messages.
* fix [2418333] SensorManager hogs CPU on emulatorMathias Agopian2010-02-261-5/+7
| | | | | The emulator sensor code could enter a busy loop on certain failure cases in poll.
* WQVGA skin (240x400)Xavier Ducrohet2009-10-1514-0/+440
| | | | Change-Id: Icb3327e2371800029844a869df6abd68a8516aff
* Make WVGA/High skins use a higher VM heap size.Xavier Ducrohet2009-10-082-2/+4
| | | | Change-Id: Ic43873545dd7a9482e4214ed3750a8e2108cafc6
* Fix the skins to do proper dpad rotation in landscape mode.David 'Digit' Turner2009-09-175-2/+17
|
* am 62410fc5: Merge change 21571 into donutXavier Ducrohet2009-08-1816-11/+448
|\ | | | | | | | | | | | | Merge commit '62410fc5a983bd1057622bc51801ad36cd316811' into eclair * commit '62410fc5a983bd1057622bc51801ad36cd316811': Fixed QVGA skin and added WQVGA432 skin.
| * Fixed QVGA skin and added WQVGA432 skin.Xavier Ducrohet2009-08-1716-11/+448
| |
* | am e058cf98: Merge change 21234 into donutXavier Ducrohet2009-08-1870-302/+850
|\ \ | |/ | | | | | | | | | | Merge commit 'e058cf98bc44cf0492c0eb3da25a61c9419cbdc7' into eclair * commit 'e058cf98bc44cf0492c0eb3da25a61c9419cbdc7': Revamped QVGA skin and new WVGA 800/854 skins
| * Merge change 21234 into donutAndroid (Google) Code Review2009-08-1470-302/+850
| |\ | | | | | | | | | | | | * changes: Revamped QVGA skin and new WVGA 800/854 skins
| | * Revamped QVGA skin and new WVGA 800/854 skinsXavier Ducrohet2009-08-1370-302/+850
| | | | | | | | | | | | BUG: 1944280
* | | am 45519a23: Merge change 21230 into donutXavier Ducrohet2009-08-1822-148/+205
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '45519a23b06c7f01ce2337816128c9d285f47a73' into eclair * commit '45519a23b06c7f01ce2337816128c9d285f47a73': New HVGA skin.
| * | New HVGA skin.Xavier Ducrohet2009-08-1322-148/+205
| |/ | | | | | | BUG: 1944280
* | Add keymaps for STOP and FASTFORWARD for bluez4.Jaikumar Ganesh2009-07-271-2/+2
| |
* | am 6675fec4: First pass at a WVGA skin.Xavier Ducrohet2009-07-2521-0/+387
|\ \ | |/ | | | | | | | | | | Merge commit '6675fec474d86d77947cf68d47dd36e9744b9f14' * commit '6675fec474d86d77947cf68d47dd36e9744b9f14': First pass at a WVGA skin.
| * First pass at a WVGA skin.Xavier Ducrohet2009-07-2421-0/+387
| |
* | am e0f85e6c: Delete non rotating skins and create a QVGA rotating skin.Xavier Ducrohet2009-07-2573-1274/+380
|\ \ | |/ | | | | | | | | | | Merge commit 'e0f85e6c7379c053cd3ece5bdd934337ff66cd45' * commit 'e0f85e6c7379c053cd3ece5bdd934337ff66cd45': Delete non rotating skins and create a QVGA rotating skin.
| * Delete non rotating skins and create a QVGA rotating skin.Xavier Ducrohet2009-07-2473-1274/+380
| | | | | | | | | | HVGA-P and HVGA-L were redundant with HVGA which supports both orientations. QVGA-P and QVGA-L has been replaced with QVGA which supports both orientations.
* | am 8aa42da0: Merge change 5638 into donutAndroid (Google) Code Review2009-06-305-0/+10
|\ \ | |/ | | | | | | | | | | Merge commit '8aa42da0f27be2437e02f43c203dc55ca085ee77' * commit '8aa42da0f27be2437e02f43c203dc55ca085ee77': Skins can now provide their own hardware support (via AVDs)
| * Skins can now provide their own hardware support (via AVDs)Xavier Ducrohet2009-06-295-0/+10
| |
* | Add new Bluez4 PLAY/PAUSE keycodes.Jaikumar Ganesh2009-06-111-1/+2
| |
* | am 8b057ed6: Fix bad qemud crash on emulator startup.David 'Digit' Turner2009-05-261-5/+4
|\ \ | |/ | | | | | | | | | | Merge commit '8b057ed6f6ec4e9eb829b230d6f2d35eaef8658e' * commit '8b057ed6f6ec4e9eb829b230d6f2d35eaef8658e': Fix bad qemud crash on emulator startup.
| * Fix bad qemud crash on emulator startup.David 'Digit' Turner2009-05-261-5/+4
| |
* | am af45b39d: This adds a new helper program (qemu-props) to support the ↵David 'Digit' Turner2009-05-263-2/+154
|\ \ | |/ | | | | | | | | | | | | | | emulated system. Merge commit 'af45b39d887ad4ec4a806d352009cdc28238f21f' * commit 'af45b39d887ad4ec4a806d352009cdc28238f21f': This adds a new helper program (qemu-props) to support the emulated system.
| * This adds a new helper program (qemu-props) to support the emulated system.David 'Digit' Turner2009-05-263-2/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Its purpose is to contact the 'boot-properties' service during the boot process and to set the list of system properties read from the emulator program through it. It must be launched from /system/etc/init.goldfish.rc as root. It depends on the 'boot-properties' service being implemented by the emulator (in a later patch). If not available, it will simply timeout. This also fixes a potential crash in qemud which can happen in the following case: - client sends a command to a service - the service responds with one or more message - the service immediately closes the connection before the client can read the data what happened is that the FDHandler object was buffering out-going packets to the client, but the Multiplexer acted on the disconnection immediately. This resulted in: - client_free() being called - fdhandler_shutdown() being called - the FDHandler being placed on the 'closing' list to be able to send buffered packets later. And 'receiver_close' being called - client_fd_close() being called, which would call client_free() recursively - the second client_free() call would free the object - the first client_free() call would try to free the object again - ==> dlmalloc() detects a double-free and immediately aborts. the fixes simply avoids the calle to receiver_close() in fdhandler_shutdown() since this function is called from an explicit shutdown request from the multiplexer, it doesn't correspond to the case where the client has closed the connection itself.
* | am ceada119: Merge change 2320 into donutAndroid (Google) Code Review2009-05-231-4/+10
|\ \ | |/ | | | | | | | | | | Merge commit 'ceada119d3676a936988cb4b35f75ebf2c28b8ee' * commit 'ceada119d3676a936988cb4b35f75ebf2c28b8ee': Sensors: Use a native_handle for the data channel instead of a single file descriptor.
| * Sensors: Use a native_handle for the data channel instead of a single file ↵Mike Lockwood2009-05-221-4/+10
| | | | | | | | | | | | | | | | | | descriptor. This eliminates the requirement that all sensors share a single file descriptor. This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am d7dc91d7: Merge change 2030 into donutAndroid (Google) Code Review2009-05-202-0/+67
|\ \ | |/ | | | | | | | | | | Merge commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6' * commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6': Add new trace tool for displaying all the memory regions in a process.
| * Add new trace tool for displaying all the memory regions in a process.Jack Veenstra2009-05-192-0/+67
| |
* | am b260872e: Merge change 2024 into donutAndroid (Google) Code Review2009-05-204-19/+67
|\ \ | |/ | | | | | | | | | | Merge commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253' * commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253': Add support for native (JNI) calls to the trace tools.
| * Add support for native (JNI) calls to the trace tools.Jack Veenstra2009-05-194-19/+67
| | | | | | | | | | Also fix a bug in profile_pid.cpp and add better output to stack_dump.cpp.
* | am b08d3a39: Merge change 2004 into donutAndroid (Google) Code Review2009-05-193-158/+330
|\ \ | |/ | | | | | | | | | | Merge commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f' * commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f': Handle munmap() and add support for tracing JNI (native) calls.
| * Handle munmap() and add support for tracing JNI (native) calls.Jack Veenstra2009-05-193-158/+330
| | | | | | | | | | | | | | | | | | The munmap() kernel calls are traced but the tracing code wasn't doing anything with them. This caused the number of mapped regions in a process to grow large in some cases and also caused symbol lookup errors in some rare cases. This change also adds support for new trace record types for supporting JNI (native) calls from Java into native code. This helps with constructing a more accurate call stack.
* | am bba5ffb: Merge change 1347 into donutAndroid (Google) Code Review2009-05-112-0/+258
|\ \ | |/ | | | | | | | | | | Merge commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1' * commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1': Add a new program for checking the correctness of the computed stack from a trace.
| * Add a new program for checking the correctness of the computed stack from a ↵Jack Veenstra2009-05-112-0/+258
| | | | | | | | | | | | | | | | | | | | trace. The check_stack program checks that the generated stack that includes both native functions and Java methods (generated from the emulator instruction trace plus the method trace) is consistent with the stack of Java methods that is computed from the method trace alone. (The method trace is generated by the Dalvik interpreter).
* | am e14d320: Merge change 1346 into donutAndroid (Google) Code Review2009-05-112-1/+89
|\ \ | |/ | | | | | | | | | | Merge commit 'e14d320465bc14fd413c3e735643fccb7020db2b' * commit 'e14d320465bc14fd413c3e735643fccb7020db2b': Better output for viewing the method trace.
| * Better output for viewing the method trace.Jack Veenstra2009-05-112-1/+89
| | | | | | | | | | | | This now keeps track of the names of the methods on the stack instead of just the addresses. This makes it easier to debug when something goes wrong.
* | am 6b56383: Merge changes 1344,1345 into donutAndroid (Google) Code Review2009-05-112-27/+75
|\ \ | |/ | | | | | | | | | | | | Merge commit '6b56383a3a9f086700436269e10602bb234cc25d' * commit '6b56383a3a9f086700436269e10602bb234cc25d': Fix the tracing code that keeps track of the Java method stack. Add a "-d time" option to stack_dump to dump the stack at the given time.
| * Fix the tracing code that keeps track of the Java method stack.Jack Veenstra2009-05-111-22/+41
| | | | | | | | | | | | | | This fixes a bug that was causing a "stack overflow" because it sometimes wasn't popping off a Java method when it should have. I also changed the showStack() method so that instead of always printing to stderr, you can pass in a FILE* object to print to.
| * Add a "-d time" option to stack_dump to dump the stack at the given time.Jack Veenstra2009-05-091-5/+34
| |
* | am 2822ae3: Merge change 1343 into donutAndroid (Google) Code Review2009-05-112-21/+21
|\ \ | |/ | | | | | | | | | | Merge commit '2822ae37115ebf13412bbef91339ee0d9454525e' * commit '2822ae37115ebf13412bbef91339ee0d9454525e': Fix compiler warnings by changing "char*" to "const char*".
| * Fix compiler warnings by changing "char*" to "const char*".Jack Veenstra2009-05-092-21/+21
| |
* | am 5ea0a94: Merge change 657 into donutAndroid (Google) Code Review2009-04-299-36/+36
|\ \ | |/ | | | | | | | | | | Merge commit '5ea0a9436cda662264cc0dcf92d3559d532383bb' * commit '5ea0a9436cda662264cc0dcf92d3559d532383bb': Fix a memory deallocation error that was crashing q2dm.