| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This also changes the strings reported by the default OpenGL ES
1.1/2.0 to OpenGL translators so they include the strings from the
underlying OpenGL implementation. This will give more useful bug
reports and SDK deployment statistics.
Change-Id: Id2d231a4fe3c40157c24a63ec19785826e037fd3
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The emulator opengles.c file duplicated the function declarations from
libOpenglRenderer's render_api.h instead of including it directly.
This led to multiple bugs since the declarations didn't actually
match, but there was no way for the compiler or dynamic loader to
check this.
This change makes opengles.c include render_api.h to get function
pointer prototypes, and changes the prototypes/implementation as
necessary to make both sides actually match. It should be much more
difficult to introduce interface mismatch bugs now.
Two bugs this change would have prevented:
(a) The interface mismatch caused by inconsistent branching which led
to GPU acceleration crashing on Windows. With this change, we
would have caught the problem at compile time.
(b) The emulator verbose log has always been printing "Can't start
OpenGLES renderer?" even when the renderer started fine. This is
because the renderer was returning a bool (true == success) but
the emulator's declaration said it returned int, and the emulator
assumed 0 meant success. This difference in return type should now
be caught at compile time.
Change-Id: Iab3b6960e221edd135b515a166cf991b62bb60c9
|
|/
|
|
| |
Change-Id: I45e3eb12187c10b9d5625fa2521573dc9348417a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The emulator GLES support has two interfaces: a host shared library
interface used by QEMU, and a protocol between the platform and the
host. The host library interface is not versioned; QEMU and the GLES
renderer must match. The protocol on the other hand must be backwards
compatible: a new GLES renderer must support an older platform image.
Thus for branching purposes it makes more sense to put the GLES
renderer in sdk.git, which is branched along with qemu.git for SDK
releases. Platform images will be built against the protocol version
in the platform branch of sdk.git.
Change-Id: I2c3bce627ecfd0a4b3e688d1839fe10755a21e58
|
|
|
|
|
|
|
|
|
|
| |
HAL_MODULE_INFO_SYM was declared as read-only, but
the struct is written to by libhardware. This causes
a segfault when -Wl,-z,relro is enabled.
Fixed.
Change-Id: I5324418b217abbfe95e7b39825d52cc8d6e26732
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: I3543198b483c91a3bf7c3f17e174969af3dfb8c5
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ic2929fa9e6d15ce1710fc960c7570ee11cc7b0f6
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I9736fcbb62da749c049178b03ddaccda30dcebf5
|
|
|
|
|
|
|
|
| |
The emulator's sensor module sends "magnetic-field:<x>:<y>:<z>" rather
than "magnetic:<x>:<y>:<z>", see external/qemu/android/hw-sensors.c.
Change-Id: I858f4f88a4af47504bbf204340db238cf2ac2d66
Signed-off-by: Adam Zalcman <viathor@google.com>
|
|
|
|
|
|
|
|
|
| |
This change is already under development/tools/emulator/system/qemud/qemud.c
However, this sdk/.../qemud.c source file was first deleted, then reverted,
with the change in between. So apply it here too.
Change-Id: Ib79e0e7260c392fb886b39ff5494837e045cdf1a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately, we need to keep the duplicate libraries here to prevent
breaking a few internal branches for now.
Remove obsolete emulator modules
The corresponding modules have all been moved to development/tools/emulator/system/
already. Note that we use a global variable Make trick to prevent the same module
from being built twice, so removing these files doesn't break the builds.
Another patch should remove the global variable Make trick from
development/tools/emulator/system after this patch.
Change-Id: I97332216b311608de61919cb75f4b760b249c0d9
|
|
|
|
|
|
|
|
|
|
|
| |
The corresponding modules have all been moved to development/tools/emulator/system/
already. Note that we use a global variable Make trick to prevent the same module
from being built twice, so removing these files doesn't break the builds.
Another patch should remove the global variable Make trick from
development/tools/emulator/system after this patch.
Change-Id: I547d2a0173ddf58c1870784920ce795f6a0d7bcf
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This project code is moving to live under development.git/tools/emulator
Change-Id: I3f7673bc17681a0ffa14bb0b4d0880977b77f24d
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
We need to move the platform-specific modules to development.git to
avoid some clashes. This patch uses a guard Make variable to ensure that
each module is only built once.
The plan is to simply copy these modules to development.git, then remove
the current ones from sdk.git. The guard variable is here to ensure that
the transition happens smoothly, i.e. if a build contains modules in
both directories, only one of them will be built.
Change-Id: I4bc58741a18488f18a4b17e8a1edc4a4a5a93cbc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Emugen is a tool that can be used to generate code that
deals with marshaling/unmarshaling request to/from a wire-protocol.
Its input is an API defintion files and its output is C++ source
code for the client (caller) and the server (callee) sides.
See README file for more details.
Change-Id: I45beea6657fae0887d2b4d92933213ecc20d2525
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change mksdcard to a minimum of 9 MiB, which is what
we enforce in the UI (I believe the 8 MiB min was obsoleted
by the 9 MiB one.)
Also warn the user about the min/max sdcard size properly
directly in the creation dialog, instead of relying on
mksdcard to fail later.
Change-Id: I30bc425ed6b75d8a00965e9e2e25890bd9bd8b39
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes:
- Issue 13277: mksdcard fails to create insanely large sdcard.
- Issue 14429: better error message when disk full.
Details:
- Actually report fopen/fwrite errors (instead of silently failing.)
This alone fixes the 2 reported issues.
- Check size argument parsed correctly and isn't larger than
the FAT format can handle.
- Actually indicate in the usage text the min/max size values.
- Added support for a 'G' postfix, to make gigabyte sdcards.
Change-Id: I4986c2c7c031f3b9bfd580b015b56d741aba778f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use create_thread_cb instead of pthread_create to create gps_state_thread
so it can safely call into the Java framework.
BUG: 3375089
Change-Id: Ie7b2bd4bea519702d4238ba375bf83b059095b9e
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|/
|
|
|
|
|
| |
The sensor HAL in libhardware was recently updated, this
change updates the sensor emulation to match the new HAL.
Change-Id: I1cf60665ec3cc59a14859de487a65b399ff9e343
|
|
|
|
| |
Change-Id: I787601e3ab3ac4ce3d5ef5691788af62abbf91e9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
A proximity sensor is added to the sensors, the proximity sensor has
resolution 1 and maxRange 1. This means that it can be either 0 or 1.
Change-Id: I60e27ebe673d493124be19158e56a19b0e4813de
|
| |
| |
| |
| |
| |
| | |
Also respect 'Wipe User Data' by disabling snapshot launch, and support 'Edit AVD'.
Change-Id: I5bc94c316e550b2585ca80185a02ffbe6d3e8401
|
| |
| |
| |
| |
| |
| | |
They are now in development.git
Change-Id: I9b8ec2c65892cb7635b6be77a7c8929f62d018b8
|
|\ \
| |/
| |
| | |
Change-Id: Idf12fbcb5508ca53047fcde3c35a96f9a971d305
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When epoll_wait detected a state change of fd, an events
structure including pointer appointed in epoll_ctl is
returned by epoll_wait. The data of each returned structure
will contain the same data the user set with a epoll_ctl(2)
(EPOLL_CTL_ADD,EPOLL_CTL_MOD) while the events member will
contain the returned event bit field.
When older hook and epoll_event are deleted after hook and
epoll_event are added newly, this problem occur.
So, when hook is closed, rewrite physical address of epoll_event
which is pointing hook.
Change-Id: I90f01ba5fbf307b3483da67d993cb874ba56d155
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I577a12b8961cd28dcb3238a1e484c689c0d578e7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
is off.
Bug: 3083496
Change-Id: I9b456cf002a8a9d953d631c163054f8ccc9572fa
|
| | |
| | |
| | |
| | | |
This reverts commit 1fc95cae8ec2ccfe134ff279ed9082311ad0d877.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/|
| | | |
Change-Id: I904122226e2940610970b75588884c2efe2d2000
|
| | |
| | |
| | |
| | | |
This reverts commit 246e0ee6968ed0030fe99cc12ca154a1513b8645.
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: If9dd02177b9e33556969be3b8eda46a362a424a6
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: I37ad5fb11fa70640433594c18953b626d1e9c186
|
|/
|
|
| |
Change-Id: I42b7e24a824d42bf53efcc6cf487102021c7b8d8
|
|
|
|
| |
Change-Id: I16f8c8b370f42c6229b3deabd66d2aaabd0b7937
|
|
|
|
|
| |
BACK == ESC
MENU == F10
|
|\
| |
| |
| | |
Change-Id: If11d893ba56c1189620e00f86b7f51bf4d698e49
|
| |
| |
| |
| | |
Change-Id: I1e3159ac3d322ca70c2d9d7faf3a0ecac4313468
|
|/
|
|
|
|
|
| |
This will replace equivalent code in libhardware_legacy
Change-Id: I611e34a187ed8460490f793538446c11c7c83cab
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The emulator sensor code could enter a busy loop on certain
failure cases in poll.
|
|
|
|
| |
Change-Id: Icb3327e2371800029844a869df6abd68a8516aff
|
|
|
|
| |
Change-Id: Ic43873545dd7a9482e4214ed3750a8e2108cafc6
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '62410fc5a983bd1057622bc51801ad36cd316811' into eclair
* commit '62410fc5a983bd1057622bc51801ad36cd316811':
Fixed QVGA skin and added WQVGA432 skin.
|