Commit graph android_device_samsung_a20/universal7885-common/configs
Author SHA1 Message Date
roynatech2544
fe17ea3b33
treewide: use gnss 2.1 HAL 2022-03-22 19:01:48 +09:00
Soo-Hwan Na
5422741666
universal7885: remove stupid HWC HAL
* unused
2022-03-22 19:01:48 +09:00
Midas Chien
cbc34f8e37
universal7885: Uprev graphics.composer to 2.4
Move sunfish to composer 2.4 interface for the R api additions.

Bug: 148836379
Test:
1. $adb shell lshal | grep 'composer'
    android.hardware.graphics.composer@2.4::IComposer/default

2. $adb shell lshal --init-vintf
<hal format="hidl">
   <name>android.hardware.graphics.composer</name>
   <transport>hwbinder</transport>
   <fqname>@2.4::IComposer/default</fqname>
</hal>

3. adb shell ps | grep 'composer'
system ... android.hardware.graphics.composer@2.4-service-sm8150

4. vts-tf > run vts -m VtsHalGraphicsComposerV2_4Target
5. Check FOSS work

Change-Id: Ic3e78b7ff04802120765b04f782021b405d2494f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:57:41 +09:00
Arvind Kumar
01f39bb63c
universal7885: Enable graphics mapper version 2.1
Enable graphics mapper version 2.1

Change-Id: Iad70754a980eadcfd68752c76e569b503d398fae
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:57:41 +09:00
Soo-Hwan Na
f3e0d10d8a
universal7885: disable HWC (H/W Composer)
* Our hwcomposer lib is crashing (receiving SIGABRT) on every boot
* We can live w/o it
2022-03-22 18:56:53 +09:00
David Sehr
a5d59ee4fe
universal7885: Use dex2oat64
Enable dex2oat64 use
Additionally, cleanup
Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
Signed-off-by: orgesified <gesishabani1@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Signed-off-by: Kevios12 <kerschbaumer.kevin2@gmail.com>
2022-03-22 18:56:53 +09:00
Jorim Jaggi
b966888d73
universal7885: Disable sdm rotator downscaler
Rotator down scaler is causing additional delays that are better
handled by GL composition.

Test: Open app, no jank
Bug: 73640835
Change-Id: I6ea9baa28acc222afcf365f3bf107149bc8974d9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:53 +09:00
Adithya R
11ceccff47
universal7885: Disable debug.sf.enable_hwc_vds
* Fixes jittery UI during screen recorder

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:52 +09:00
Chenyang Zhong
322fe15f6b
universal7885: set iorap prefetch prop to mendel flags
Thanks Google for silently changing the prop for starting iorapd
service [1].

ref:
[1] https://android.googlesource.com/platform/system/iorap/+/44176c75f7ee5b9f046abaa3ae513ad7f2a5ad6e

Test: boot, check if iorapd service is started, and
      IorapForwardingService is not complaining

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I2bda60de0c39c7c5d97fc74fb1e8eea1b6f379f9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
Jun Wang
e97b84e4f0
universal7885: perf: Enable the pre-rendering feature
* Pre-rendering feature can improve FPS and reduce the janks
   in scrolling cases.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
johnmart19
55cf426841
universal7885: Switch rendering to SkiaVK and enable Vulkan Support
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
tangrobin
0887df051e
universal7885: Use phase offsets as duration
In Android R, the SurfaceFlinger calculate phase offsets
based on duration. Adopt the new way of specifying
phase offsets to SurfaceFlinger.

Bug: 143933518
Bug: 142222407
Test: scrolling, app launching/closing, playing video
Change-Id: Ia28e8d6c5225c49948a3397bca1beb8f8e5293f7
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
roynatech2544
b9bcd79dae
universal7885: Kang soundtrigger libs from Galaxy S10 (d1)
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:37 +09:00
Alexander Koskovich
58957661c3
universal7885: Remove vendor RenderScript implementation.
* RenderScript is deprecated on newer platforms and
   is being officially replaced.

 * On April 19, 2021, Google announced that RenderScript
   will be deprecated in Android 12, and recommended
   porting existing code to Vulkan.

   https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html

Change-Id: I19460ef266a646b046f1e7d2f0b4eab7c48ae536
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:37 +09:00
sudharani
72d3545e26
universal7885: Set manufacturer and soc properties
Set soc model and manufacturer properties

Change-Id: Ia75eb8862c7d879c40e64527d32d082bfa9b8e42
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:37 +09:00
Soo-Hwan Na
833959f896
universal7885: drop a2dp hardware offload
Reason: unsupported

Inital inputmonitor

* Tool to record input keycodes (numbers)

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>

universal7885: inputmonitor: fix build errors
2022-03-22 18:56:36 +09:00
roynatech2544
9bcaedf5a5
universal7885: revert bt hal changes 2022-03-22 18:56:36 +09:00
roynatech2544
58310cc9fd
universal7885: Remove unsupported HALs 2022-03-22 18:56:30 +09:00
roynatech2544
2faedf219f
[APTX] universal7885: drop a2dp sink
* Not enabled on stock Bluetooth APK

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +09:00
roynatech2544
e85039c0b9
universal7885: bluetooth: HAL uprev to 1.1
* Additionally, more force enables

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +09:00
roynatech2544
3cd86ce33a
[APTX] universal7885: enable a2dp sink in bt include.
Additionally, force enable more bt components

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +09:00
roynatech2544
ba72924e1d
universal7885: fixup build property
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +09:00
roynatech2544
893b39ef3e
Revert "[APTX] universal7885: remove a2dp hal"
This reverts commit d460d66609f1558f6b9d466359a9c47cfb1eb001.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +09:00
roynatech2544
ac5d9b99f4
[APTX] universal7885: more customized audio settings
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +09:00
roynatech2544
1f8d0619cc
[APTX] universal7885: Add APTX support
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +09:00
roynatech2544
2ba9a6ccbf
universal7885: Add samsung configstore HAL entry 2022-03-22 18:55:32 +09:00
roynatech2544
a6074c2603
Revert "universal7885: switch to using AOD DT2W"
Revert Reason: Not working for us
This reverts commit a9cca3f689375590f67aed35d9076b0a6ded2766.
2022-03-22 18:55:10 +09:00
roynatech2544
ece023aaed
universal7885: Organize configs, add shim for hwcomposer
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:10 +09:00
roynatech2544
036c61b3a4
universal7885: Add headset event keylayout file
Keylayout files map linux kernel event codes to android input listener. By default all input uses Generic.kl which can be wrong. Using custom keyout files solves this.
The linux kernel has all kernel-specific event codes listed on include/uapi/linux/input-event-codes.h. Remapped key VOLUME_DOWN, VOLUME_UP which is different from Generic.kl

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:10 +09:00
Ryan Mitchell
9d3092d1a8
universal7885: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hfpclient.HeadsetClientService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:54:01 +09:00
roynatech2544
1e85da25a4
universal7885: copy more feature xml files (We have them)
* Nfc: Copy only needed files

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:53:43 +09:00
roynatech2544
1d0bc8b418
universal7885: configs: audio: Disable DRC
* DAC is audio policy to 'compress' volume table, which causes low max volume. Disable it for now

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:53:42 +09:00
roynatech2544
c48a35ed9d
universal7885: Add remove_packages to nuke useless apps 2022-03-22 18:52:43 +09:00
Simon Shields
e20d70740a
universal7885: switch to using AOD DT2W
Samsung touchscreens support using double-tap to wake to trigger
always on display. Implement support for the sysfs API used to
en/disable this. Note that this requires a kernel change to send
KEY_POWER on the dt2w event instead of KEY_BLACK_UI_GESTURE - e.g.
b783d5e0fd

[Linux4: This makes DT2W work on full screen instead of only lower half]

Change-Id: I80898c8810216a90cc11b4e8b0f12a1918cd17a3
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:52:43 +09:00
roynatech2544
342dfddf51
universal7885: Use PRODUCT_PACKAGES for gsi_skip_mount.cfg
Change-Id: Iaf74e3bbac79ee74b8c67d89cfa34bbffc02ba68
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:48 +09:00
Tim Zimmermann
5fc20541b8
universal7885: Switch to AIDL libperfmgr power HAL
Change-Id: I56928037bf543accb3175ea50c674f80a3f60b99
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:23 +09:00
Tim Zimmermann
3507a192d3
universal7885: Enable dolby audio effect
Change-Id: I46b547f01b8d52cb6fc867bcc9389b979cc19fa6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:47:35 +09:00
Tim Zimmermann
0c5553edbb
universal7885: Enable preprocessing library and it's effects
Change-Id: I0b780efdc4aaf176c3b82946da2ff12e553d842c
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:47:35 +09:00
roynatech2544
b362f0a2e2
univesal7885-common: configs: organize files
Change-Id: Iaa8986a19fcc82ae664fc7a42d20306f9d00d04c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:47:30 +09:00
roynatech2544
8efc24ae63
universal7885: audio: Use new audio policy xml file (7.0) [2]
Extending commit 31fce137b0

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:44:59 +09:00
roynatech2544
72ef5ad4ad
universal7885: audio: Use new audio policy xml file (7.0)
6ddcc44615
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:44:59 +09:00
roynatech2544
7b85d287b0
universal7885: Validate audio policy config
hardware/interfaces/audio/7.0/config/update_audio_p
olicy_config.sh device/samsung/universal7885/configs/audio/audio_policy_configuration.xml 6.0
Validating the source against the 6.0 schema
/home/debian/aospk/frameworks/av/services/audiopolicy/config/audio_policy_config
uration.xml:50: element devicePort: Schemas validity error...

Taken from: f17dbb46c1

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:44:58 +09:00
roynatech2544
6fb48f8f49
universal7885: Merge common thing and cleanup
Change-Id: I05c133732980792d49e0495c343e39f8a58b11f9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:33:37 +09:00
roynatech2544
d195a1d848
universal7885: Add prebuilt GCam 2022-03-22 18:33:16 +09:00
roynatech2544
c1a9d9f071
universal7885: SamsungParts: add gpu, selinux and update related sepolicy 2022-03-22 18:29:22 +09:00
roynatech2544
f8eb3e1258
universal7885: Inital port to A20/A20e
Addtitionally, Add device-specific trees as well

Change-Id: Icbbc31c063b18bce3702d0b208a0aee78148a7c0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:08:09 +09:00