Commit Graph

67 Commits

Author SHA1 Message Date
David 'Digit' Turner
f1a703f338 Fix the skins to do proper dpad rotation in landscape mode. 2009-09-17 17:19:09 -07:00
Xavier Ducrohet
85947db31b am 62410fc5: Merge change 21571 into donut
Merge commit '62410fc5a983bd1057622bc51801ad36cd316811' into eclair

* commit '62410fc5a983bd1057622bc51801ad36cd316811':
  Fixed QVGA skin and added WQVGA432 skin.
2009-08-18 11:01:14 -07:00
Xavier Ducrohet
363fc3fe40 am e058cf98: Merge change 21234 into donut
Merge commit 'e058cf98bc44cf0492c0eb3da25a61c9419cbdc7' into eclair

* commit 'e058cf98bc44cf0492c0eb3da25a61c9419cbdc7':
  Revamped QVGA skin and new WVGA 800/854 skins
2009-08-18 10:39:09 -07:00
Xavier Ducrohet
a12ddd82f7 am 45519a23: Merge change 21230 into donut
Merge commit '45519a23b06c7f01ce2337816128c9d285f47a73' into eclair

* commit '45519a23b06c7f01ce2337816128c9d285f47a73':
  New HVGA skin.
2009-08-18 10:39:07 -07:00
Xavier Ducrohet
e8b2e0aded Fixed QVGA skin and added WQVGA432 skin. 2009-08-17 13:30:29 -07:00
Android (Google) Code Review
e058cf98bc Merge change 21234 into donut
* changes:
  Revamped QVGA skin and new WVGA 800/854 skins
2009-08-14 12:42:27 -07:00
Xavier Ducrohet
c98f3e1a2d Revamped QVGA skin and new WVGA 800/854 skins
BUG: 1944280
2009-08-13 21:02:32 -07:00
Xavier Ducrohet
f562b16dad New HVGA skin.
BUG: 1944280
2009-08-13 19:50:07 -07:00
Jaikumar Ganesh
c36dc84caf Add keymaps for STOP and FASTFORWARD for bluez4. 2009-07-27 14:37:27 -07:00
Xavier Ducrohet
9c537d0fd5 am 6675fec4: First pass at a WVGA skin.
Merge commit '6675fec474d86d77947cf68d47dd36e9744b9f14'

* commit '6675fec474d86d77947cf68d47dd36e9744b9f14':
  First pass at a WVGA skin.
2009-07-25 10:10:22 -07:00
Xavier Ducrohet
821c288575 am e0f85e6c: Delete non rotating skins and create a QVGA rotating skin.
Merge commit 'e0f85e6c7379c053cd3ece5bdd934337ff66cd45'

* commit 'e0f85e6c7379c053cd3ece5bdd934337ff66cd45':
  Delete non rotating skins and create a QVGA rotating skin.
2009-07-25 10:10:20 -07:00
Xavier Ducrohet
6675fec474 First pass at a WVGA skin. 2009-07-24 19:23:23 -07:00
Xavier Ducrohet
e0f85e6c73 Delete non rotating skins and create a QVGA rotating skin.
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.
2009-07-24 18:06:05 -07:00
Android (Google) Code Review
e95a8b55d8 am 8aa42da0: Merge change 5638 into donut
Merge commit '8aa42da0f27be2437e02f43c203dc55ca085ee77'

* commit '8aa42da0f27be2437e02f43c203dc55ca085ee77':
  Skins can now provide their own hardware support (via AVDs)
2009-06-30 14:48:44 -07:00
Xavier Ducrohet
955e08b520 Skins can now provide their own hardware support (via AVDs) 2009-06-29 08:01:02 -07:00
Jaikumar Ganesh
2627b4db53 Add new Bluez4 PLAY/PAUSE keycodes. 2009-06-11 17:54:50 -07:00
David 'Digit' Turner
8b1f3cf2f7 am 8b057ed6: Fix bad qemud crash on emulator startup.
Merge commit '8b057ed6f6ec4e9eb829b230d6f2d35eaef8658e'

* commit '8b057ed6f6ec4e9eb829b230d6f2d35eaef8658e':
  Fix bad qemud crash on emulator startup.
2009-05-26 13:42:13 -07:00
David 'Digit' Turner
8b057ed6f6 Fix bad qemud crash on emulator startup. 2009-05-26 22:21:28 +02:00
David 'Digit' Turner
de081ffb7e am af45b39d: This adds a new helper program (qemu-props) to support the emulated system.
Merge commit 'af45b39d887ad4ec4a806d352009cdc28238f21f'

* commit 'af45b39d887ad4ec4a806d352009cdc28238f21f':
  This adds a new helper program (qemu-props) to support the emulated system.
2009-05-26 10:11:16 -07:00
David 'Digit' Turner
af45b39d88 This adds a new helper program (qemu-props) to support the emulated system.
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.
2009-05-26 17:07:25 +02:00
Android (Google) Code Review
6116bf2245 am ceada119: Merge change 2320 into donut
Merge commit 'ceada119d3676a936988cb4b35f75ebf2c28b8ee'

* commit 'ceada119d3676a936988cb4b35f75ebf2c28b8ee':
  Sensors: Use a native_handle for the data channel instead of a single file descriptor.
2009-05-23 10:36:43 -07:00
Mike Lockwood
6834281462 Sensors: Use a native_handle for the data channel instead of a single file 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>
2009-05-22 10:03:00 -04:00
Android (Google) Code Review
7ade5c7e29 am d7dc91d7: Merge change 2030 into donut
Merge commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6'

* commit 'd7dc91d749b920734c9e9f0a21c7c7e9672ef8b6':
  Add new trace tool for displaying all the memory regions in a process.
2009-05-20 09:21:20 -07:00
Android (Google) Code Review
68b4a04515 am b260872e: Merge change 2024 into donut
Merge commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253'

* commit 'b260872ea4ab52286e1abfa4e79d12feb3d46253':
  Add support for native (JNI) calls to the trace tools.
2009-05-20 09:21:20 -07:00
Jack Veenstra
ceb9788070 Add new trace tool for displaying all the memory regions in a process. 2009-05-19 17:37:00 -07:00
Android (Google) Code Review
9bdeda63c4 am b08d3a39: Merge change 2004 into donut
Merge commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f'

* commit 'b08d3a396914b1aaba1270a9021289bdbe3cac5f':
  Handle munmap() and add support for tracing JNI (native) calls.
2009-05-19 17:34:56 -07:00
Jack Veenstra
a476e45d1d Add support for native (JNI) calls to the trace tools.
Also fix a bug in profile_pid.cpp and add better output to
stack_dump.cpp.
2009-05-19 16:47:04 -07:00
Jack Veenstra
2bb9bb4546 Handle munmap() and add support for tracing JNI (native) calls.
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.
2009-05-19 15:07:29 -07:00
Android (Google) Code Review
4aa2dd7dfc am bba5ffb: Merge change 1347 into donut
Merge commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1'

* commit 'bba5ffb847d10a65ce323f3c607f9f842c21e0c1':
  Add a new program for checking the correctness of the computed stack from a trace.
2009-05-11 18:24:36 -07:00
Android (Google) Code Review
19837b5331 am e14d320: Merge change 1346 into donut
Merge commit 'e14d320465bc14fd413c3e735643fccb7020db2b'

* commit 'e14d320465bc14fd413c3e735643fccb7020db2b':
  Better output for viewing the method trace.
2009-05-11 18:24:36 -07:00
Android (Google) Code Review
2d1fa2b83a am 6b56383: Merge changes 1344,1345 into donut
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.
2009-05-11 18:24:35 -07:00
Jack Veenstra
f55a4d1e9d Add a new program for checking the correctness of the computed stack from a 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).
2009-05-11 17:44:32 -07:00
Jack Veenstra
447a4e4fd6 Better output for viewing the method trace.
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.
2009-05-11 17:18:08 -07:00
Jack Veenstra
1298570eb8 Fix the tracing code that keeps track of the Java method stack.
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.
2009-05-11 16:46:48 -07:00
Android (Google) Code Review
af47328d64 am 2822ae3: Merge change 1343 into donut
Merge commit '2822ae37115ebf13412bbef91339ee0d9454525e'

* commit '2822ae37115ebf13412bbef91339ee0d9454525e':
  Fix compiler warnings by changing "char*" to "const char*".
2009-05-11 15:14:46 -07:00
Jack Veenstra
ad6f253016 Add a "-d time" option to stack_dump to dump the stack at the given time. 2009-05-09 11:44:53 -07:00
Jack Veenstra
166d76cf4c Fix compiler warnings by changing "char*" to "const char*". 2009-05-09 11:33:44 -07:00
Android (Google) Code Review
d89d9b37a0 am 5ea0a94: Merge change 657 into donut
Merge commit '5ea0a9436cda662264cc0dcf92d3559d532383bb'

* commit '5ea0a9436cda662264cc0dcf92d3559d532383bb':
  Fix a memory deallocation error that was crashing q2dm.
2009-04-29 12:06:41 -07:00
Jack Veenstra
8b496573a9 Fix a memory deallocation error that was crashing q2dm.
Also fix a bunch of compile warnings by changing "char *" to "const char *".
2009-04-28 13:03:22 -07:00
David Turner
d29b8649ce Merge branch 'readonly-p4-master' 2009-04-18 20:51:56 -07:00
David Turner
d3b2e5bb5e AI 146565: am: CL 146315 am: CL 146314 modify GSM emulation to accomodate 1.0 and 1.1 system images.
without this, networking doesn't work well when using the 1.1 add-on with
  the cupcake sdk
  Original author: digit
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146565
2009-04-18 20:50:39 -07:00
David Turner
240094a972 AI 146315: am: CL 146314 modify GSM emulation to accomodate 1.0 and 1.1 system images.
without this, networking doesn't work well when using the 1.1 add-on with
  the cupcake sdk
  Original author: digit
  Merged from: //branches/cupcake/...

Automated import of CL 146315
2009-04-15 06:50:15 -07:00
Dianne Hackborn
bbdb536500 Merge branch 'readonly-p4-master' 2009-04-13 16:13:25 -07:00
Dianne Hackborn
171499090f AI 145994: Integrate #145778 from Donut.
Automated import of CL 145994
2009-04-13 16:11:52 -07:00
Andy Stadler
e1a5a9bf5d AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
2009-04-10 16:24:46 -07:00
David Turner
119bbaef05 Merge branch 'readonly-p4-master' 2009-04-05 14:24:32 -07:00
David Turner
d4e48c3aa4 AI 144597: am: CL 144596 am: CL 144595 Fix the AVD configuration code to support "sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory)
Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation.
  Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly.
  Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options
  Add new documentation for QEMUD and CharDriverState objects
  Update the Audio documentation with ASCII graphics (because I'm an artist too)
  Original author: digit
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144597
2009-04-05 14:23:05 -07:00
David Turner
d7484a2ff5 AI 144596: am: CL 144595 Fix the AVD configuration code to support "sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory)
Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation.
  Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly.
  Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options
  Add new documentation for QEMUD and CharDriverState objects
  Update the Audio documentation with ASCII graphics (because I'm an artist too)
  Original author: digit
  Merged from: //branches/cupcake/...

Automated import of CL 144596
2009-04-05 14:22:25 -07:00
Mike Lockwood
923043d3fc AI 143355: am: CL 143204 am: CL 142988 Remove emulator support from user builds.
Saves us 52K in /system partition.
  BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143355
2009-03-27 19:08:42 -07:00
Mike Lockwood
f5171c1aa7 AI 143204: am: CL 142988 Remove emulator support from user builds.
Saves us 52K in /system partition.
  BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...

Automated import of CL 143204
2009-03-27 17:53:21 -07:00