Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-native: Listed des commits

frameworks/native


RSS
Révision l'heure Auteur
f74ee2f cm-14.1-x86 2020-09-22 08:21:57 Chih-Wei Huang

Merge remote-tracking branch 'x86/nougat-x86' into cm-14.1-x86

eba7593 nougat-x86 2020-09-22 08:16:56 Nicolas Peslerbe

Changing input flinger to take in account screen rotation (hwrotation) in prop file

056cdf5 pie-x86 2020-06-05 00:59:30 Chih-Wei Huang

Determine the density according to DisplayDevice

Previously we use hwConfig to get the dimension of the display.
However, there may be several hwConfig modes of a display. Only
the first mode is used to calculate the density. But first mode
may not be the default mode. Hence the calculated density may not
be suitable to the default mode.

Now use the dimension of the DisplayDevice to calculate the density.

5c3824d 2020-06-03 12:04:38 Chih-Wei Huang

Fix red-blue swapped issue for software rendering

The software rendering have to use BGRA format.

3b4d3a5 2020-06-01 23:43:52 Tong Bo

Make DisplayInfo struct packed

When DisplayInfo is handled through binder transaction, especially
between a 32-bit client and 64-bit service, it may have different
size and client will receive incorrect values. Make this struct packed
and so it will keep the same size.

Change-Id: Ia0a9afb28ba2c9a2fc581f3ae544e3ea2b3fe419
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-67302
Signed-off-by: Tong Bo <bo.tong@intel.com>

87d7257 2020-05-21 11:16:53 Matt Moeller

ISurfaceComposer: Workaround for screenshots on intel graphics

Prevent the GraphicBuffer destructor until after the screencap client
has had a chance to consume it.

a264153 2020-05-20 23:12:39 Chih-Wei Huang

Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

565fce7 q-x86 2020-04-15 17:16:02 Chih-Wei Huang

SurfaceFlinger: fix crashing if driver stalled

Due to some unknown reasons, the VSYNC may not be sent in time that
causes SurfaceFlinger to fake VSYNC like:

04-15 08:09:28.866 1235 1360 W SurfaceFlinger: Faking VSYNC due to driver stall

Therefore mPendingPeriod in DispSync may not be set to mPeriod which is
zero. It results in a dividing-by-zero error in SurfaceFlinger:

04-15 08:09:29.329 1395 1395 F DEBUG : pid: 1235, tid: 1235, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
04-15 08:09:29.329 1395 1395 F DEBUG : uid: 0
04-15 08:09:29.329 1395 1395 F DEBUG : signal 8 (SIGFPE), code 1 (FPE_INTDIV), fault addr 0x7619c5aff344

To work around it, just use mPendingPeriod if mPeriod has not been set.

878c62c 2020-04-14 23:37:19 Chih-Wei Huang

inputflinger: fix relative mouse movement

Since commit 78f97b326 ("Support pointer capture in InputReader") the
logic to determine whether mouse input is relative was changed.
However, commit 47addd2 was forward ported from nougat-x86. It doesn't
consider that.

Fixes: 47addd2 ("inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer")
Reported-and-tested-by: MrARM Slack <mrarm.slack@gmail.com>

a9d0c6e 2020-04-14 23:37:03 Fan, Yugang

Use BRGA as default format for only EFI FB rendering.

As efifb only supports BGRA format, we need config up-level
to support this when using software rendering.

Change-Id: I1fb2ba042522faac160440e5b660c01a24db2489
Tracked-On: None
Signed-off-by: Fan Yugang <yugang.fan@intel.com>

47addd2 2020-04-14 23:37:03 Jon Doe

inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer

Qemu and VirtualBox use tablet-style inputs. However, it's difficult to
work with the current "invisible finger" or "drag pointer" interface
provided to the virtual absolute coordinate pointing devices.
Instead, this patch classifies them as a regular mouse pointer
(INPUT_DEVICE_CLASS_CURSOR), which is more intuitive to work with.

0f43eb3 2020-04-14 23:37:03 Chih-Wei Huang

SurfaceFlinger: support higher resolution

13e6fe3 2020-04-14 23:37:03 Chih-Wei Huang

libEGL: select pixel format by EGL_NATIVE_VISUAL_ID

We need this workaround until Mesa supports HAL_PIXEL_FORMAT_RGBA_8888.

f421591 2020-04-14 23:37:03 Chih-Wei Huang

RenderEngine: support non-RGBA_8888 format

Some of our GPUs (e.g., radeon) don't support RGBA_8888 well.
To workaround it, just get the EGL config by a simpler query.

This patch should be reverted once all of our GPUs support
RGBA_8888.

792f834 2020-04-14 23:37:03 Chih-Wei Huang

installd: a workaround for 9p filesystem

SELinux and getxattr seem not work on 9p filesystem.
Ignore the errors as a workaround.

TEST: be able to boot to Home on QEMU with shared 'data' folder.

4584e0d 2020-04-14 23:37:03 Chih-Wei Huang

Run SurfaceFlinger with root privilege

To control virtual consoles, SurfaceFlinger needs the root privilege.

69f4702 2020-04-14 23:37:02 Byron Gardner

Enable 64-bit support in libs/gui/Sensor.cpp

Change-Id: Iaaa112bd821a6a0e3234461df8f7b6acc47b254e
Orig-Change-Id: I04c22e6f2c6f4271ca451b775c8d7f86e4c97c38
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-9998
Category: aosp improvement
Domain: SENSORS.VIRT-Common
Origin: internal
Upstream-Candidate: yes
Signed-off-by: Byron Gardner <byron.gardner@intel.com>
Reviewed-on: https://android.intel.com:443/296325

c3f1239 2020-04-14 23:37:02 Chih-Wei Huang

InputReader: add 5-point calibration

Updated for Android 5.0.

11138f3 2020-04-14 23:37:02 Chih-Wei Huang

auto determine the density if not provided in surfaceflinger

We hope to support tablet UI for different resolutions.
So adjust the density according to the resolution.

eacb38f 2020-04-14 23:36:26 Chih-Wei Huang

SurfaceFlinger: enable console management

The console management was removed since ICS. But it's useful for debugging.
Re-implement it based on the original class ConsoleManagerThread of class
DisplayHardwareBase.

539ce6d oreo-x86 android-x86-8.1-r4 android-x86-8.1-r5 2020-03-16 19:41:26 Chih-Wei Huang

Android 8.1.0 release 74
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXl1rAAAKCRDorT+BmrEO
eKQfAJ92NKn3Qj2iBV5P7BD3E0Q1OEiORQCfZCCU206qqg2QpY60Zoji4/maY+w=
=LP1K
-----END PGP SIGNATURE-----

Merge tag 'android-8.1.0_r74' into oreo-x86

Android 8.1.0 release 74

79c6f61 android-x86-9.0-r2 2020-03-13 13:59:25 Chih-Wei Huang

Android 9.0.0 release 54
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXl2XowAKCRDorT+BmrEO
eLIrAKCIWqW6VivtGCISn4Ub4RXxTruiywCeImCee06i5eeN8SsfusRH+5STkJ4=
=h1Ei
-----END PGP SIGNATURE-----

Merge tag 'android-9.0.0_r54' into pie-x86

Android 9.0.0 release 54

Conflicts:
services/surfaceflinger/SurfaceFlinger.h

399f695 2020-03-10 19:24:43 juntingwang

Set PS2 Keyboard controller as not a ketboard type

The Eventhub detects the platforms built-in PS/2 keyboard controller
as a physical keyboard. So the system will not display the software
keyboard by default. Modify it device type in Keyboard-less tablets,
so that ActivityManager will not ignore the PS/2 controller.

Issue: AXIA-1875

Change-Id: Ia5b7592e82aaf1970066bab5e9ca5f46ac83ab1c
Signed-off-by: juntingwang <Junting.Wang@windriver.com>

806be3e 2020-03-10 19:24:43 Andy Ross

binder: Fix service initialization race vs. service manager

The framework relies on the global IServiceManager running before a
BinderService object is instantiated. But there was no detection of
the error condition when it was not (specifically: mediaserver can be
initialized before system_server), and in fact the default error
behavior (kill the proxy object) ensured that the process would never
be able to add services again. Retry the addService() code, and allow
transient binder failures for the special case of the service manager
proxy.

Issue: AXIA-1706
Change-Id: Icac10bb0f47a2fe33ac9605a13633b83afa3ebff
Signed-off-by: Andy Ross <andy.ross@windriver.com>

ee3dc56 2020-03-10 19:24:43 Daniel Leung

Prevent EventHub from adding input device twice

When Android first starts up, it scans /dev/input for input devices.
In some rare instances, the EventHub gets another notification that
some device nodes are created. It then proceeds to add the same
input device again. This causes the system to get two events per
touch or key stroke.

This adds a check to prevent adding the same device if the operation
is triggerd by inotify.

Issue: AXIA-858
Change-Id: I68b02594f1c7f14067611735db0b3763378ec7ea
Signed-off-by: Daniel Leung <daniel.leung@intel.com>

dfc9de2 2020-03-10 19:24:43 Edward Peek

Add option to disable touchscreen pressure sensitivity from idc files

92ef3c8 2020-03-10 19:24:42 DanielK

Support old single-touch touchscreens with BTN_LEFT

4f15124 android-x86-9.0-r1 2020-02-24 19:27:55 Chih-Wei Huang

inputflinger: fix relative mouse movement

Since commit 78f97b326 ("Support pointer capture in InputReader") the
logic to determine whether mouse input is relative was changed.
However, commit 4d8be8c was forward ported from nougat-x86. It doesn't
consider that.

Fixes: 4d8be8c ("inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer")
Reported-and-tested-by: MrARM Slack <mrarm.slack@gmail.com>

826c57f 2020-02-21 16:52:13 Chih-Wei Huang

inputflinger: fix relative mouse movement

Since commit 78f97b326 ("Support pointer capture in InputReader") the
logic to determine whether mouse input is relative was changed.
However, commit bf8d48c17 was forward ported from nougat-x86. It doesn't
consider that.

Fixes: bf8d48c17 ("inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer")
Reported-and-tested-by: MrARM Slack <mrarm.slack@gmail.com>

f09ee69 2020-02-11 11:33:13 Chih-Wei Huang

Android 9.0.0 Release 53 (6107734)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXji5AgAKCRDorT+BmrEO
eKSlAJsEGymWYueq13qtV5XOIKeb0hwUNACfTQh3VV2fMXiOQIWXd4Qm/76E+VI=
=LxJs
-----END PGP SIGNATURE-----

Merge tag 'android-9.0.0_r53' into pie-x86

Android 9.0.0 Release 53 (6107734)

Afficher sur ancien navigateur de dépôt.