Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-native: Listed des commits

frameworks/native


RSS
Révision l'heure Auteur
2560c89 pie-x86 2019-11-14 13:49:34 Chih-Wei Huang

libEGL: remove incorrect error message

The logic in commit 0c8552ec5 is reversed.

Fixes: 0c8552ec5 ("libEGL: select pixel format by EGL_NATIVE_VISUAL_ID")
Reported-by: Michael Goffioul <michael.goffioul@gmail.com>

4d8be8c 2019-11-14 13:49:34 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.

66b02f3 2019-11-14 13:49:34 Chih-Wei Huang

SurfaceFlinger: support higher resolution

9967fdf 2019-11-14 13:49:34 Chih-Wei Huang

libEGL: use SwiftShader if hardware gralloc is not set

264d106 2019-11-14 13:49:34 Chih-Wei Huang

libEGL: select pixel format by EGL_NATIVE_VISUAL_ID

We need this workaround until Mesa supports HAL_PIXEL_FORMAT_RGBA_8888.

3bb376a 2019-11-14 13:49:34 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.

2cb27c7 2019-11-14 13:49:34 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.

68f0d38 2019-11-14 13:49:34 Chih-Wei Huang

Run SurfaceFlinger with root privilege

To control virtual consoles, SurfaceFlinger needs the root privilege.

8a23353 2019-11-14 13:49:34 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

523d715 2019-11-14 13:49:34 Wang, Yue A

SurfaceFlinger: disable VSync thread if no clients requiring.

In EventThread, 2 VSYNCs are needed to do composition and update
the client status. So, a 30FPS video may leads to 60FPS VSYNC,
which means the DispSync thread would be waked 60FPS. This is a
unexpected behavior which takes more power consumption. Now we
update the SF status soon after the first VSYNC, which means no
extra VSYNC needed, and the DispSync could be awaked as expected,
and consequently power get saved.

Change-Id: If486eb9b87f109a71f71b510768f15dd733f1233
Orig-Change-Id: I1d3b166021e15a81b2ad770b039761fc2c15fddf
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-12211
Category: aosp improvement
Domain: Graphics-SF
Origin: internal
Upstream-Candidate: yes
Signed-off-by: Wang, Yue A <yue.a.wang@intel.com>
Reviewed-on: https://android.intel.com:443/238344

0c7e9cd 2019-11-14 13:49:34 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>

498b72f 2019-11-14 13:49:34 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>

a45c6c8 2019-11-14 13:49:34 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>

ba57426 oreo-x86 android-x86-8.1-r3 2019-10-24 13:06:09 Chih-Wei Huang

Android 8.1.0 Release 69 (5794017)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXZfQbQAKCRDorT+BmrEO
eHOuAKCOGbnnguVcQSMoZb1qPv/cTQvUxACeNFzE3ImUlBMO2SGRf30Q1wYbC1k=
=g4jK
-----END PGP SIGNATURE-----

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

Android 8.1.0 Release 69 (5794017)

a47bf1a cm-14.1-x86 2019-10-22 18:58:44 Chih-Wei Huang

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

1248784 2019-10-22 18:56:16 Chih-Wei Huang

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

4f03016 nougat-x86 android-x86-7.1-r3 2019-10-16 23:52:29 Chih-Wei Huang

Android 7.1.2 Release 39 (5787804)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXZfNqgAKCRDorT+BmrEO
eG9xAJ0a+V0GUm1/1ThRnfLwUv4PveqsTACgif5svLv9S1rYYmUh2z09fzmffxE=
=Qwhm
-----END PGP SIGNATURE-----

Merge tag 'android-7.1.2_r39' into nougat-x86

Android 7.1.2 Release 39 (5787804)

cc973cf 2019-09-20 15:50:53 Chih-Wei Huang

InputReader: add 5-point calibration

Updated for Android 5.0.

3c39117 2019-09-20 15:28:22 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.

082e0f0 2019-09-20 15:28:22 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.

ecd9da3 2019-09-20 15:28:22 Edward Peek

Added option to disable touchscreen pressure sensitivity from idc files

3f9e4d1 2019-09-20 15:28:22 DanielK

Support old single-touch touchscreens with BTN_LEFT

97dc137 q-x86 2019-09-20 12:02:38 android-build-team Robot

Merge cherrypicks of [9427457, 9427458, 9427580, 9427582, 9427507, 9427508, 9427532, 9427584, 9427394, 9427473, 9427585, 9427396, 9427474, 9427586, 9427587, 9427588, 9427547, 9427589, 9427476, 9427477, 9427478, 9427479, 9427640, 9427548, 9427398, 9427591, 9427509, 9427510, 9427511, 9427512, 9427515, 9427516, 9427517, 9427518, 9427519, 9427720, 9427643, 9427570, 9427721, 9427722, 9427725, 9427726, 9427727, 9427730, 9427731, 9427740, 9427741, 9427742, 9427743, 9427744, 9427745, 9427746, 9427747, 9427571, 9427592, 9427593, 9427647] into qt-c2f2-release

Change-Id: Ieabd3dd4189b873ae04c05917439f4bd1bd1e10c

78e6abc 2019-09-20 11:58:12 Long Ling

Update the minimum interval to resync to HWVsync

Bug: 140823887
Test: Manual test with Calculator apps
Change-Id: I705c16534a616bc1a3af4402ba999eeb68871a3f
(cherry picked from commit 457bef9139e9e756aa487703d75ee5e0844d9076)

d1490b2 2019-09-20 11:58:06 Daniel Solomon

SurfaceFlinger: Query Scheduler when updating allowed display configs

Currently two entities in SurfaceFlinger can set a new display refresh
rate: (1) SurfaceFlinger core, and (2) Scheduler. It's possible for
these two entities to get out of sync in the following way:
1) Scheduler updates the refresh rate to some rate
2) Upper layers call into SurfaceFlinger to update allowed display
configs
3) SurfaceFlinger always sets display rate to max

If the refresh rate from #1 and #3 don't match, it can leave the system
in an inconsistent state, potentially causing visual and power issues.

This change fixes this problem by changing step #3: Instead of always
choosing the max refresh rate, SurfaceFlinger queries the optimal
refresh rate from Scheduler. If that rate isn't available, only then
does SurfaceFlinger default to the maximum rate.

Bug: 139557239
Test: atest libsurfaceflinger_unittest
Test: Manual:
1) Start with SurfaceFlinger idling (Scheduler selected
RefreshRateType::DEFAULT)
2) Trigger a change in allowed display configs from
DisplayModeDirector
3) Make sure the RefreshRateType SurfaceFlinger sets is DEFAULT
instead of PERFORMANCE
Change-Id: Ia85a60fde55afaed5106462942e0bb77652ec737
Merged-In: Ia85a60fde55afaed5106462942e0bb77652ec737
(cherry picked from commit d916d941d89ec8fdcbc2bbe0bfdf0b0db1ad08b5)

ea4916b 2019-09-20 11:57:59 Adrian Salido

SurfaceFlinger: send config event changed on allowed modes change

Provide a notification whenever allowed display configurations have
changed, this allows Display Event Receivers to be aware of a change in
allowed configs.

Bug: 139487676
Change-Id: Ida73391c350989be595f55ff8e1d9d2cc70c0276
(cherry picked from commit ab6ef6c8871506317dc7ada75707c19963daabe4)

d611ae5 2019-09-06 12:59:34 Brian Duddie

Fix race between SensorManager ctor and callback

Avoids potential invalid memory access if system server crashes during
initialization.

Bug: 132927376
Test: confirm sensors initialize
Change-Id: If7421c452b5893ab2567323d265503a1ce304482
Merged-In: If7421c452b5893ab2567323d265503a1ce304482
(cherry picked from commit 4b23ed10ae94ff9e991cc6c1d0946b55733e8f89)

36592c0 2019-09-06 12:59:34 Michael Wachenschwanz

Free mObjects if no objects left to realloc on resize

Bug: 134168436
Bug: 133785589
Bug: 34175893
Test: atest CtsOsTestCases:ParcelTest#testObjectDoubleFree
Change-Id: I82e7e8c7b4206fb45b832a71d174df45edb62710
Merged-In: I82e7e8c7b4206fb45b832a71d174df45edb62710
(cherry picked from commit edd3e3d8f441131b02e5a78d18babf9d16ef9e6e)

2ecc49b 2019-08-19 09:50:38 android-build-team Robot

Snap for 5811895 from 575149f8f04136759e34d298966dd5e9a84b1cde to qt-c2f2-release

Change-Id: Iae1413ea1a3977252bdd9603420a0b08c74fa338

575149f 2019-08-17 16:07:19 TreeHugger Robot

Merge "Remove test image" into qt-r1-dev

Afficher sur ancien navigateur de dépôt.