Commit graph

435 commits

Author SHA1 Message Date
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
roynatech2544
00b21bb8ac
universal7885: add CleanSpec.mk to ensure clean build
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:52 +09:00
roynatech2544
9114292f16
vendor_detect: add pixel-framework for building pe 2022-03-22 18:56:52 +09:00
Andrew Thomas
fbee692135
universal7885: Add Notch Bar Killer overlay
* This overlay gets rid of the black bar in most apps/games
   and lets the screen fill past the notch.

Change-Id: Ic008ce5d569127d230dc44451929477e063c4471
Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.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
Danny Lin
f2dab30d55
universal7885: overlay: Enable combined signal icons in status bar
This complements unified internet settings, which are enabled by
default, and reduces unnecessary icon clutter in the status bar.
2022-03-22 18:56:37 +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
roynatech2544
c3ae831d7f
universal7885: Fixup neverallow 2022-03-22 18:56:37 +09:00
Inseob Kim
faa961a5f5
universal7885: sepolicy: Attach vendor_property_type to properties
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.

Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: I33c40ca345365d8f01f43d3ce7f1f3434b1edfd5
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
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
SamarV-121
9b5a8c4f89
universal7885: Enable BPF offload by deleting rro
Change-Id: I60423f95030bb0f62cdf90c9a68d579f8e829a59
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:36 +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
7bfa92b915
Revert "[APTX] universal7885: enable a2dp sink in bt include."
This reverts commit 81c42df3388171b90e31752aacf46ba6696fa681.

Revert reason: A2dp sink is not working on hardware level.
2022-03-22 18:55:57 +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
Jens Lody
9102c52786
universal7885: manifest: add android.hardware.bluetooth{,.a2dp}@1.0
Switch to android.hardware.bluetooth.a2dp@1.0-impl.mock
mock HALs just register HAL lib. Nothing else.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +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
Soo-Hwan Na
4bd32cf76d
universal7885: CameraLightSensor: Fix param
The param "Intent" can be null
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
roynatech2544
fd7b7e1f5f
Revert "universal7885: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACE"
This reverts commit 27149a28ca43676ca789eb09f4440cabe3f67e0e.

Revert Reason: Still need sperate kernel for this
2022-03-22 18:55:09 +09:00
roynatech2544
59ed1a0d66
vendor_detect: convert to python3 script
* Binaries are subject to os env
2022-03-22 18:55:04 +09:00
roynatech2544
da01e6dcbe
universal7885: SamsungParts: Specify common package name
* Crashing due to noclassdef

Change-Id: I5b898c8e02155a60dfcc153d4fa7a345cac5416c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:54:35 +09:00
roynatech2544
75b2f9edbc
universal7885: SamsungParts: styles.xml: specify dialog theme
*  Need to set the theme for dialogs and alertDialogs. Without it the ListPreference crashes

https: //stackoverflow.com/questions/43784891/android-preferencefragmentcompat-crashing-on-listpreference-view
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Change-Id: Ib02be040fd27238e6c10c587402dcf7aeaaec55b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:54:28 +09:00
roynatech2544
eb9302c9a2
universal7885: Rename some files for convenince 2022-03-22 18:54:21 +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
56881cba9b
universal7885: SamsungParts: Address 'variable shadowed' warning 2022-03-22 18:53:52 +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
98092a64c1
universal7885: Compile audio.a2dp.default
* The a2dp_audio_policy_configuration.xml is copied to /vendor, but it's not used due to missing audio.a2dp lib

* Test: Boots, Bluetooth Works

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
Soo-Hwan Na
1d39eb76e8
universal7885: SamsungParts: Match latest source changes 2022-03-22 18:53:34 +09:00
roynatech2544
1206a2fb55
universal7885: light: Fix build errors
Change-Id: Iaf45e7885abf3c5b76255a212f3a11aa3e011690
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:53:15 +09:00
roynatech2544
dac87c4a19
universal7885: SamsungParts: Address deprecation
* Of android.preference. Need to use Jetpack support lib

Change-Id: I21bbd31c766179fe51fec4b812a6daa1e223a664
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:52:43 +09:00
roynatech2544
84b8328a01
universal7885: import light HAL from hardware/samsung
* Added .clang-format symlink
* Undefine non-existent nodes in header file

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:52:43 +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
Soo-Hwan Na
cbd2a71413
universal7885: Make only framework-res RRO 2022-03-22 18:52:43 +09:00
roynatech2544
66f75b75ab
universal7885: Copy more media codec xml files 2022-03-22 18:52:42 +09:00