GitHub/LineageOS/android_hardware_samsung.git
5 days agoAutomatic translation import lineage-21
LineageOS Infra [Sat, 16 Nov 2024 05:06:30 +0000 (05:06 +0000)]
Automatic translation import

Change-Id: I4e634dff0c8712542f413d4c0e0ce29e962ff1d5

3 weeks agoaidl: light: Add missing <functional> includes
Ryan Prichard [Wed, 20 Mar 2024 02:56:00 +0000 (19:56 -0700)]
aidl: light: Add missing <functional> includes

The new libc++ omits some transitive includes, triggering build
failures in places that don't include the headers they need.

Bug: 175635923
Change-Id: I0d4918f292f05286cfd3547e50b4e37ab2780bd0

2 months agoAutomatic translation import
LineageOS Infra [Sun, 15 Sep 2024 16:02:27 +0000 (16:02 +0000)]
Automatic translation import

Change-Id: If495588f6fe7648d762e67ac30df1ec5e8d2179a

3 months agovintf: Add additional entries for a2dpsink/media/radio
Haky86 [Sat, 27 Jul 2024 16:53:23 +0000 (18:53 +0200)]
vintf: Add additional entries for a2dpsink/media/radio

Change-Id: Ief2d288b876cf6a3bd702da3b9fb105c9dd07a97

3 months agovintf: Add common radio entries
Haky86 [Fri, 26 Jul 2024 23:42:29 +0000 (01:42 +0200)]
vintf: Add common radio entries

Change-Id: Ic0f1cee3c4c24efafac2deb126733753d7f7b828

3 months agovintf: Add common Samsung framework compatibility matrix
Andrzej Szafran [Fri, 26 Jul 2024 22:42:32 +0000 (00:42 +0200)]
vintf: Add common Samsung framework compatibility matrix

Change-Id: Ib589b03c7af5cfccc4fb5e2e29f5c43c68de8ad9

4 months agoaidl: camera: split into 32bit and 64bit
Simon1511 [Sun, 23 Jun 2024 18:08:26 +0000 (20:08 +0200)]
aidl: camera: split into 32bit and 64bit

Change-Id: I369b32a0fbb51a65ca7aa147c451d13f672f52be

4 months agoaidl: camera: Implement support for torch strength levels
Tim Zimmermann [Tue, 28 May 2024 10:15:07 +0000 (12:15 +0200)]
aidl: camera: Implement support for torch strength levels

Change-Id: Iedd0e3acbc2dc3458366c3dec31dc3203eccf026

5 months agoaidl: camera: provider: Allow exposing additional camera IDs
Tim Zimmermann [Tue, 28 May 2024 03:47:50 +0000 (05:47 +0200)]
aidl: camera: provider: Allow exposing additional camera IDs

* Move the soong configs here, since HIDL is deprecated

Change-Id: I34b82250b457f40b2be27ee976149de17a3b4e9f

5 months agoaidl: camera: Wire up previous camera3.h/camera_common.h modifications
Tim Zimmermann [Mon, 27 May 2024 19:55:01 +0000 (21:55 +0200)]
aidl: camera: Wire up previous camera3.h/camera_common.h modifications

* And move related sources to aidl folder since HIDL is deprecated

Change-Id: Ia9588f07837c09161bc58b9d2e510c7d6429a4bb

5 months agoaidl: Implement camera device/provider HALs
Tim Zimmermann [Sun, 26 May 2024 07:53:57 +0000 (09:53 +0200)]
aidl: Implement camera device/provider HALs

* Based on HIDL implementation from hardware/interfaces @ android-14.0.0_r37

Change-Id: I369434f8e1f877cac88c9f06d048e4c695ac5599

5 months agoaidl: Drop power-libperfmgr
Tim Zimmermann [Fri, 10 May 2024 19:22:45 +0000 (21:22 +0200)]
aidl: Drop power-libperfmgr

* Nobody ever bothered to update it past R
* It has no meaningful changes that are needed anymore,
  everyone can just use pixel power HAL directly now

Change-Id: I6fa490759ffe09c1401165a84b4a6df724cd501c

5 months agoaidl: thermal: Remove dependency on pixelstats HAL
Tim Zimmermann [Mon, 29 Apr 2024 18:44:01 +0000 (20:44 +0200)]
aidl: thermal: Remove dependency on pixelstats HAL

Change-Id: Ic55d976ed3c8be8c6d34e1ceb2d7a6e2e3b9c49f

5 months agosamsung: Make HAL header paths configurable through soong
LuK1337 [Fri, 21 Jun 2024 03:59:47 +0000 (05:59 +0200)]
samsung: Make HAL header paths configurable through soong

$(call soong_config_set,samsungVars,target_specific_header_path,$(DEVICE_PATH)/include)

Change-Id: Ibdfd255efafd471e59dfec0860ace40c21a6e27f

5 months agohidl: powershare: Convert to bp
Tim Zimmermann [Fri, 21 Jun 2024 03:51:33 +0000 (05:51 +0200)]
hidl: powershare: Convert to bp

Change-Id: Ieead30ccd5a785dc2850764ef3c9b36c543383c9

5 months agohidl: fastcharge: Convert to bp
Tim Zimmermann [Fri, 21 Jun 2024 03:51:25 +0000 (05:51 +0200)]
hidl: fastcharge: Convert to bp

Change-Id: I36ea4aaaa9119bd4c69c9e7587a4d8d91cf1c78c

5 months agohidl: consumerir: Convert to bp
Tim Zimmermann [Fri, 21 Jun 2024 03:51:07 +0000 (05:51 +0200)]
hidl: consumerir: Convert to bp

Change-Id: Ic6ba79ea06407645c8be8d9883e07abc0dd9b089

5 months agorebalance_interrupts: Change affinity ownership to system
Edmond Chung [Wed, 18 Aug 2021 20:37:04 +0000 (13:37 -0700)]
rebalance_interrupts: Change affinity ownership to system

Bug: 196058977
Test: Check affinity file ownerships
Change-Id: I4e63d9e6574e4730c452de4e18ae4b60b4ef8c64

5 months ago[LSC] Add LOCAL_LICENSE_KINDS to hardware/samsung
Bob Badour [Mon, 24 May 2021 23:18:26 +0000 (16:18 -0700)]
[LSC] Add LOCAL_LICENSE_KINDS to hardware/samsung

Added SPDX-license-identifier-Apache-2.0 to:
  rebalance_interrupts/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ie8bc4aaa9c09396edd295b632d32e3e2cce111f0

5 months agorebalance_interrupts: one shot IRQ rebalancer
Andrew Chant [Tue, 9 Jun 2020 17:39:14 +0000 (10:39 -0700)]
rebalance_interrupts: one shot IRQ rebalancer

rebalance_interrupts is a one shot IRQ rebalancer.
It scans /sys/kernel/irq for related IRQ actions
that haven't any affinity to a core.  It then assigns
them evenly to the policy0 group cores.

Bug: 148403062
Test: ran "rebalance_interrupts" as root after boot, saw
no additional IRQs rebalanced.  Verified via /proc/interrupts
that interrupts had been distributed.

Change-Id: I76745d4620024a1f21ecf70d11e0c14d2eb85cef

5 months agoril: sehradiomanager: Restart when RILD died
Tim Zimmermann [Tue, 2 Apr 2024 04:12:23 +0000 (06:12 +0200)]
ril: sehradiomanager: Restart when RILD died

Change-Id: Ie6864990b074f0b8c9ec40adf72276812dc346dc

5 months agoaidl: ISehRadioNetworkIndication: Add missing function
Tim Zimmermann [Sat, 16 Mar 2024 19:47:06 +0000 (20:47 +0100)]
aidl: ISehRadioNetworkIndication: Add missing function

* Without this all the transaction IDs after this function are shifted by one
* When libril_sem tries to call vendorConfigurationChanged() which is the last
  function in the interface, previously the AIDL lib would not have any transaction
  matching it, causing it to call the very last function (getInterfaceVersion)
  which, due to different parameters, causes a segmentation fault

Change-Id: Ic6e9b740313d96c0c645fc54a0804d348892718a

5 months agoril: sehradiomanager: Add support for AIDL sehradio
Tim Zimmermann [Sat, 16 Mar 2024 11:37:07 +0000 (12:37 +0100)]
ril: sehradiomanager: Add support for AIDL sehradio

* Based on https://github.com/TrebleDroid/platform_frameworks_opt_telephony/commit/f41efd654ac6a0f0b714996cf97501665ab288c0

Co-Authored-By: Pierre-Hugues Husson <phh@phh.me>
Change-Id: I25a2422b364d2118cb447e6e64e166e8e112fb18

5 months agoril: sehradiomanager: Add support for a config file
Tim Zimmermann [Fri, 15 Mar 2024 04:58:09 +0000 (05:58 +0100)]
ril: sehradiomanager: Add support for a config file

Change-Id: Ia6a752932af1cc70c7ef75fd15573ec78629e9f7

5 months agosamsung: Introduce sehradiomanager
Tim Zimmermann [Mon, 11 Mar 2024 19:28:24 +0000 (20:28 +0100)]
samsung: Introduce sehradiomanager

* Allows us to finally have signal bar, LTE+ and 5G working
  with RIL stacks from stock Android S and up
* Based on https://github.com/TrebleDroid/platform_frameworks_opt_telephony/commit/f0eecb08e457501b01672aeacf245c408e7eef05

Co-Authored-by: Pierre-Hugues Husson <phh@phh.me>
Change-Id: Iebc83397101fc5c2d0ca04b2c2ae961dee6e6910

5 months agoaidl: usb: gadget: Make gadget name configurable through soong
Tim Zimmermann [Thu, 22 Feb 2024 05:40:02 +0000 (06:40 +0100)]
aidl: usb: gadget: Make gadget name configurable through soong

Change-Id: Ic91598d8ddee0f9254354786b7598e9f7377008d

5 months agoaidl: usb: gadget: Rebrand to samsung
bengris32 [Wed, 21 Feb 2024 16:22:56 +0000 (17:22 +0100)]
aidl: usb: gadget: Rebrand to samsung

[Linux4: Switch to samsung vid/pid]

Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: I93f1713f466b91159bebcf303766d83db796c5c0

5 months agoaidl: Import gs201 usb gadget HAL
Tim Zimmermann [Wed, 21 Feb 2024 16:17:02 +0000 (17:17 +0100)]
aidl: Import gs201 usb gadget HAL

* From device/google/gs201 @ android-14.0.0_r27

Change-Id: I3ec3b17d676c68ce6c85aa84ffe969ec19635772

5 months agoaidl: fingerprint: Add support for libsfp_sensor
J0SH1X [Tue, 30 Jan 2024 16:48:14 +0000 (17:48 +0100)]
aidl: fingerprint: Add support for libsfp_sensor

Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: I7fbbb1467f87b688057eac24d2434274e1105e05

5 months agoaidl: fingerprint: When force calibrating wait for sensor to become ready
Tim Zimmermann [Sun, 28 Jan 2024 05:18:55 +0000 (06:18 +0100)]
aidl: fingerprint: When force calibrating wait for sensor to become ready

* Otherwise on first enrollment user might get an error dialog if
  the sensor is used too early

Change-Id: If526bbe6d8dc355b85b828dc6ff33db4057cdd5c

6 months agoAutomatic translation import
LineageOS Infra [Wed, 15 May 2024 15:50:24 +0000 (15:50 +0000)]
Automatic translation import

Change-Id: Id3e4f6639374151aeabcda0f41810195e0b4aa8f

7 months agoAutomatic translation import
LineageOS Infra [Mon, 15 Apr 2024 12:55:23 +0000 (12:55 +0000)]
Automatic translation import

Change-Id: I9dc90d5d17ddc6f9029dee317587bd471cfbd19d

7 months agoAutomatic translation import
LineageOS Infra [Wed, 27 Mar 2024 09:21:39 +0000 (09:21 +0000)]
Automatic translation import

Change-Id: Ib2f1ea0c26775ca33427ba555939eabedbeb518b

8 months agodoze: mk->bp
Ruchit [Tue, 12 Mar 2024 15:43:48 +0000 (21:13 +0530)]
doze: mk->bp

Fixes

FAILED: /home/risen/android/builds/pe/a52q/target/product/a52q/obj/APPS/SamsungDoze_intermediates/dexpreopt.sh
/bin/bash -c "/home/risen/android/builds/pe/a52q/host/linux-x86/bin/dexpreopt_gen -global_soong /home/risen/android/builds/pe/a52q/soong/dexpreopt_soong.config -global /home/risen/android/builds/pe/a52q/soong/dexpreopt_arm64/dexpreopt.config -module /home/risen/android/builds/pe/a52q/target/product/a52q/obj/APPS/SamsungDoze_intermediates/dexpreopt.config -dexpreopt_script /home/risen/android/builds/pe/a52q/target/product/a52q/obj/APPS/SamsungDoze_intermediates/dexpreopt.sh -out_dir /home/risen/android/builds/pe/a52q -product_packages /home/risen/android/builds/pe/a52q/target/product/a52q/obj/APPS/SamsungDoze_intermediates/product_packages.txt"
error: Path is outside directory: /home/risen/android/builds/pe/a52q/target/product/a52q/obj/APPS/SamsungDoze_intermediates/product_packages.txt

Change-Id: I503a688658a2879fc72180f370717f2d835c1efe

8 months agodap: Migrate to SelectorWithWidgetPreference
LuK1337 [Wed, 20 Mar 2024 08:21:59 +0000 (09:21 +0100)]
dap: Migrate to SelectorWithWidgetPreference

Change-Id: Ie4aaa1fff836a407c1d8f5b919b7b0051748f5d3

8 months agosamsung: Migrate to CompoundButton.OnCheckedChangeListener
Chaohui Wang [Fri, 8 Mar 2024 09:54:40 +0000 (15:24 +0530)]
samsung: Migrate to CompoundButton.OnCheckedChangeListener

Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427 | AOSP
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Signed-off-by: RisenID <risen@pixelexperience.org>
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835

8 months agosamsung: Enable use_resource_processor for all sysui deps
Peter Kalauskas [Fri, 8 Mar 2024 09:22:16 +0000 (14:52 +0530)]
samsung: Enable use_resource_processor for all sysui deps

This will make the build faster

Test: m checkbuild
Bug: 295208392
Signed-off-by: RisenID <risen@pixelexperience.org>
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e

8 months agohidl: camera: Update dependencies for U QPR2
Bruno Martins [Mon, 11 Mar 2024 17:10:34 +0000 (17:10 +0000)]
hidl: camera: Update dependencies for U QPR2

Change-Id: I7b2d1b75c7064ce1684c98cde703eca74a8e4cbc

8 months agoaidl: Update dependencies for QPR2
Michael Bestas [Sun, 10 Mar 2024 09:28:21 +0000 (11:28 +0200)]
aidl: Update dependencies for QPR2

Change-Id: I1f3b159166b21ead595dc3e006d2d340b3ba2015

8 months agodoze: bump target SDK version
Simon1511 [Sat, 20 Jan 2024 15:11:10 +0000 (16:11 +0100)]
doze: bump target SDK version

Change-Id: I67a2811cdf05e34629701231fa1d2658ee387daa

8 months agoaidl: fingerprint: Only call onEnrollmentsEnumerated when finished
Tim Zimmermann [Mon, 29 Jan 2024 16:47:27 +0000 (17:47 +0100)]
aidl: fingerprint: Only call onEnrollmentsEnumerated when finished

* Otherwise only one fingerprint can be registered

Change-Id: I89f4be25d060f461ca6b6e46d3ce7c601828c914

9 months agohidl: camera: Allow to insert get_cam_pos function
Christian Hoffmann [Sat, 10 Feb 2024 09:15:10 +0000 (10:15 +0100)]
hidl: camera: Allow to insert get_cam_pos function

* V1 for gtowifi
* V2 for gta4l

Co-authored-by: Han Sol Jin <hansol@hansol.ca>
Change-Id: Ia6f3e15cad28c402f6ff459949e2917ba8dcf300

9 months agohidl: camera: Add camera common helper
Christian Hoffmann [Sat, 10 Feb 2024 09:11:38 +0000 (10:11 +0100)]
hidl: camera: Add camera common helper

* Thus allowing device-specific mods in camera_common.h

Change-Id: I3bc89819440f1221fd5a03549971039797a7973e

9 months agoAutomatic translation import
LineageOS Infra [Sat, 10 Feb 2024 19:04:37 +0000 (19:04 +0000)]
Automatic translation import

Change-Id: I437f29ef85628f82dc6302c7eb8874b98106bcb6

9 months agohidl: camera: add guards for camera3_stream_t alignments
Simon1511 [Sun, 21 Jan 2024 12:48:53 +0000 (13:48 +0100)]
hidl: camera: add guards for camera3_stream_t alignments

Change-Id: I3025180ce778270a9d4f039f60378c4e85207e96

9 months agohidl: Remove fingerprint HAL
Tim Zimmermann [Mon, 22 Jan 2024 16:35:13 +0000 (17:35 +0100)]
hidl: Remove fingerprint HAL

* Everyone should be able to switch to the AIDL HAL now

Change-Id: I07e88fb41021e2887c72c8d78076dd06486f3118

9 months agoaidl: fingerprint: Initial samsung implementation
Tim Zimmermann [Sat, 20 Jan 2024 04:54:32 +0000 (05:54 +0100)]
aidl: fingerprint: Initial samsung implementation

Change-Id: I2685b176a1b4fb2b094ff58e911997084e42a879

10 months agoaidl: fingerprint: Initial stub service
Tim Zimmermann [Thu, 18 Jan 2024 05:29:15 +0000 (06:29 +0100)]
aidl: fingerprint: Initial stub service

Change-Id: I1e0594b88d5230f8c99a6efb0a7dafcbf6ea137a

10 months agosamsung: Import pixel soong namespaces in root Android.bp
Tim Zimmermann [Sun, 12 Nov 2023 05:50:55 +0000 (06:50 +0100)]
samsung: Import pixel soong namespaces in root Android.bp

* Both power and thermal HAL need it now

Change-Id: Ifd414b778d91410a0cbb8f36bfb6481603fb6128

10 months agoaidl: thermal: Rebrand to samsung
Tim Zimmermann [Sun, 12 Nov 2023 05:46:19 +0000 (06:46 +0100)]
aidl: thermal: Rebrand to samsung

Change-Id: I381364e55b1e36e11f5a659ee07cd734ff397bae

10 months agoaidl: Import Pixel Thermal HAL aidl implementation
Tim Zimmermann [Sun, 12 Nov 2023 05:43:40 +0000 (06:43 +0100)]
aidl: Import Pixel Thermal HAL aidl implementation

* From hardware/google/pixel @ android-14.0.0_r15

Change-Id: I30e35c8e4ef58956f849d64e184aa7e37ec67ef9

10 months agohidl: Remove thermal HAL
Tim Zimmermann [Sun, 12 Nov 2023 05:47:43 +0000 (06:47 +0100)]
hidl: Remove thermal HAL

* Will be replaced by AIDL implementation

Change-Id: I98d97e2d4c79e10bebb2963511cd202f768870cb

10 months agohidl: camera: provider: Add a VINTF fragment
Tim Zimmermann [Sun, 29 Oct 2023 15:59:07 +0000 (16:59 +0100)]
hidl: camera: provider: Add a VINTF fragment

Change-Id: I4a49f96b5a8f77bdc3574f486547f34517da22bd

10 months agohidl: camera: provider: Allow exposing additional camera IDs
Tim Zimmermann [Sun, 29 Oct 2023 11:41:41 +0000 (12:41 +0100)]
hidl: camera: provider: Allow exposing additional camera IDs

Change-Id: Ia83eaba213a91be53a621849fe9a1e0343d10bfa

10 months agohidl: camera: camera3: Change usage type to uint64_t
Tim Zimmermann [Sat, 23 Apr 2022 04:56:03 +0000 (06:56 +0200)]
hidl: camera: camera3: Change usage type to uint64_t

* gralloc BufferUsage is already uint64_t, this seems to be samsung's real change here

Change-Id: I769e2de1e58dff2ed3efa770bf9ae2cb17e55df8

10 months agohidl: camera: Provide our own camera {device,provider}
LuK1337 [Mon, 23 Oct 2023 17:34:57 +0000 (19:34 +0200)]
hidl: camera: Provide our own camera {device,provider}

[Linux4: Rebrand to samsung and provide both 32bit and 64bit services]

Change-Id: I17c4584b6e1c0ec0e7ea7182f276d6aed75ba277

12 months agodoze: Specify optional-uses-libs
Tim Zimmermann [Thu, 5 Oct 2023 15:07:02 +0000 (17:07 +0200)]
doze: Specify optional-uses-libs

* Required since frameworks/base@8e00e4868b27210f2f1872c449c6d9fe2246d7b8

Change-Id: I8e286041a87d2e6cebc0b8cec351ae854a4ed86f

13 months agohidl: keymaster: Move libskeymaster4device dependency up
LuK1337 [Sat, 21 Oct 2023 14:02:18 +0000 (16:02 +0200)]
hidl: keymaster: Move libskeymaster4device dependency up

This allows us to inject custom libcrypto.so :^)

Change-Id: I57d40056df7236e6069abd492d93aa369e2c8f16

13 months agohidl: thermal: Migrate to `tidy_checks_as_errors`
LuK1337 [Sat, 21 Oct 2023 12:12:18 +0000 (14:12 +0200)]
hidl: thermal: Migrate to `tidy_checks_as_errors`

Change-Id: If59ddc2d3b6c08308422b4a8a9ce1003541bd0ec

13 months agoAutomatic translation import
LineageOS Infra [Sun, 15 Oct 2023 20:43:13 +0000 (20:43 +0000)]
Automatic translation import

Change-Id: Ic6e84f6131b820cecf308b0981a99b4f488851ac

14 months agosamsung: fingerprint: support optical sensors
Simon1511 [Sat, 26 Aug 2023 15:25:24 +0000 (17:25 +0200)]
samsung: fingerprint: support optical sensors

Change-Id: I06d9aab53f3cd900247ca23b83eaff79dccecf46

14 months agoAutomatic translation import
LineageOS Infra [Fri, 15 Sep 2023 17:53:25 +0000 (17:53 +0000)]
Automatic translation import

Change-Id: I9f18003e51aa246e0a73b2e15facea3dc0f433fe

15 months agoAutomatic translation import
LineageOS Infra [Tue, 15 Aug 2023 17:53:01 +0000 (17:53 +0000)]
Automatic translation import

Change-Id: I161407189be9681c4089e0ccfcbcfd6e8286028a

15 months agoAutomatic translation import
LineageOS Infra [Tue, 1 Aug 2023 15:48:50 +0000 (15:48 +0000)]
Automatic translation import

Change-Id: I2cdfc90d73d1c1d09c65d19a3d03a50d40ee151e

16 months agoAutomatic translation import
LineageOS Infra [Sat, 15 Jul 2023 18:07:56 +0000 (18:07 +0000)]
Automatic translation import

Change-Id: I3cb620050c0827639b698aa8fdac991901b7de5d

16 months agoAutomatic translation import
LineageOS Infra [Sat, 1 Jul 2023 16:12:19 +0000 (16:12 +0000)]
Automatic translation import

Change-Id: I61b858d705b0811d1e23bf39888fcdeb5333e349

17 months agoAutomatic translation import
LineageOS Infra [Tue, 20 Jun 2023 16:28:04 +0000 (16:28 +0000)]
Automatic translation import

Change-Id: I996e7ec1c1908336cfe5403e280b8c5b9d5d2f54

17 months agoAutomatic translation import
LineageOS Infra [Thu, 1 Jun 2023 12:49:26 +0000 (12:49 +0000)]
Automatic translation import

Change-Id: Ia218ad56083a1e59c98f41ecbca69305fb8634ea

18 months agovibrator: Add support for duration based amplitude control
SamarV-121 [Mon, 8 May 2023 10:47:17 +0000 (16:17 +0530)]
vibrator: Add support for duration based amplitude control

 * Similar to what samsung is doing on devices without hardware intensity control.
 * Add `$(call soong_config_set,samsungVibratorVars,duration_amplitude,true)` in BoardConfig.mk to enable.

Change-Id: I87a767e00363c36f8bd4d61cb6dd23b5c033a3d3

18 months agovibrator: Re-implement TEXTURE_TICK effect
SamarV-121 [Thu, 30 Mar 2023 15:09:37 +0000 (20:39 +0530)]
vibrator: Re-implement TEXTURE_TICK effect

 * also refactor a bit

Change-Id: I72e9131e6847474c3f06bc37fa83707de77e2285

18 months agoAutomatic translation import
LineageOS Infra [Mon, 15 May 2023 09:16:28 +0000 (09:16 +0000)]
Automatic translation import

Change-Id: I7d14c4ea25a4b8c74a627866a3db5f6b246a2a5b

18 months agoAutomatic translation import
LineageOS Infra [Mon, 24 Apr 2023 08:41:31 +0000 (08:41 +0000)]
Automatic translation import

Change-Id: I733525e649e0b92afcc81c53194144d72375958c

19 months agoaidl: vibrator: Add click and tick duration config properties
Tim Zimmermann [Sun, 12 Mar 2023 12:07:35 +0000 (13:07 +0100)]
aidl: vibrator: Add click and tick duration config properties

Change-Id: Ia1015931d19add236bc44fbec06e7ee51993c7b6

19 months agoaidl: vibrator: Only handle actually supported effects
Tim Zimmermann [Sun, 12 Mar 2023 11:53:51 +0000 (12:53 +0100)]
aidl: vibrator: Only handle actually supported effects

* Let framework handle the other ones
* On devices without hardware effects DOUBLE_CLICK effect is just
  a single click without this
* Let's only keep CLICK and TICK if no hardware effects are supported,
  just like AOSP default vibrator impl

Change-Id: Ib8bf299a417d82fe6196e1b071b5a7b2f9c3e5d8

20 months agoAutomatic translation import
Michael Bestas [Thu, 23 Mar 2023 14:38:24 +0000 (16:38 +0200)]
Automatic translation import

Change-Id: Id778899bea283dea67412e7177b1d8c9236181cc

21 months agoAutomatic translation import
Michael Bestas [Mon, 13 Feb 2023 14:05:23 +0000 (16:05 +0200)]
Automatic translation import

Change-Id: I63c2880b084fedd5cf9f602f8dc11c12515da71e

21 months agovibrator: Switch from 0-255 to 0.0f-1.0f range for amplitude
SamarV-121 [Wed, 25 Jan 2023 10:30:10 +0000 (16:00 +0530)]
vibrator: Switch from 0-255 to 0.0f-1.0f range for amplitude

* This was missed when converting to AIDL
* Fixes strength control for effects

Change-Id: Iedcdbb455b67b9466a76e53ca9273cbcdcede059

21 months agomkbootimg: Boot image depends on kernel
Aaron Kling [Tue, 4 Oct 2022 22:56:58 +0000 (17:56 -0500)]
mkbootimg: Boot image depends on kernel

Very rarely, the boot image tries to build before the kernel is done

Change-Id: I14c85c0ed681c4ff2eaf268752c4e2ff94f9777f

22 months agoAutomatic translation import
Michael Bestas [Tue, 10 Jan 2023 02:41:41 +0000 (04:41 +0200)]
Automatic translation import

Change-Id: Ia35386e110af6aeeac09faba90c7d0ab2445cc0f

23 months agoAutomatic translation import
Michael Bestas [Fri, 16 Dec 2022 18:57:43 +0000 (20:57 +0200)]
Automatic translation import

Change-Id: I1bb5708bd95a98cc7559d3eba20ba098259a4b39

23 months agoAdvancedDisplay: Fix compilation for QPR1 merge
Bruno Martins [Tue, 6 Dec 2022 21:21:36 +0000 (21:21 +0000)]
AdvancedDisplay: Fix compilation for QPR1 merge

Change-Id: I64eb80220fc2efc4410d6fc36b5e5974397a31f8

23 months agodoze: Fix compilation for QPR1 merge
Bruno Martins [Tue, 6 Dec 2022 17:59:00 +0000 (17:59 +0000)]
doze: Fix compilation for QPR1 merge

Change-Id: Ifa602ed1ae0734dbda40663770f2e54075bfa208

23 months agodap: Fix compilation for QPR1 merge
Bruno Martins [Tue, 6 Dec 2022 18:02:16 +0000 (18:02 +0000)]
dap: Fix compilation for QPR1 merge

Change-Id: Id75392dfbf800536fef878f0bd06987dce8d0853

23 months agoAutomatic translation import
Michael Bestas [Fri, 25 Nov 2022 13:03:29 +0000 (15:03 +0200)]
Automatic translation import

Change-Id: Ie05f3bbb85c88f299ba15cef014ba24b13fd8317

2 years agoaidl: usb: Implement UsbDataStatus
Tim Zimmermann [Sun, 6 Nov 2022 04:55:29 +0000 (05:55 +0100)]
aidl: usb: Implement UsbDataStatus

* Makes Trust usb restrict properly reenable USB once it got disabled
* Also call notifyEnableUsbDataStatus with the actual status

Change-Id: I58daea3149b26355a9af28ff7ae651b90b5a3484

2 years agoaidl: usb: Fix support for contaminant presence detection
Tim Zimmermann [Fri, 4 Nov 2022 15:54:23 +0000 (16:54 +0100)]
aidl: usb: Fix support for contaminant presence detection

* Samsung does not let userspace disable that, so better always show the
  notification instead of leaving users wondering about why USB does no
  longer work

Change-Id: Iab045c8b15a726644ce51ce2877030d4b71cbcf7

2 years agoGuard with a soong_namespace
Michael Bestas [Thu, 3 Nov 2022 19:46:35 +0000 (21:46 +0200)]
Guard with a soong_namespace

hardware/samsung modules shouldn't be globally available for every
device. They can cause conflicts with other devices and break things.
One notable example is aidl/memtrack overwriting pixel .rc and thus
breaking memtrack on Pixel 6 and 7, which results in non booting device.

Change-Id: I78b1b9930a57bc01afda722b9f8a196c372f9d8b

2 years agoAutomatic translation import
Michael Bestas [Wed, 2 Nov 2022 23:57:26 +0000 (01:57 +0200)]
Automatic translation import

Change-Id: I1c5ec32ac4c59001458242ff88f053b50f08b4a2

2 years agoaidl: memtrack: Rebrand to samsung and merge into one module
Tim Zimmermann [Fri, 9 Sep 2022 13:17:16 +0000 (15:17 +0200)]
aidl: memtrack: Rebrand to samsung and merge into one module

Change-Id: I0859a832d4b47f704b2799d5f4004c32901a15eb

2 years agoaidl: Import gs101 memtrack HAL
Tim Zimmermann [Fri, 9 Sep 2022 13:12:08 +0000 (15:12 +0200)]
aidl: Import gs101 memtrack HAL

From hardware/google/graphics/common @ android-13.0.0_r4

Needs:
https://github.com/torvalds/linux/commit/aa30f47cf666111f6bbfd15f290a27e8a7b9d854
https://android.googlesource.com/kernel/google-modules/gpu/+/ced6904b8892e23333566105d5266515532a9c2c
https://android.googlesource.com/kernel/google-modules/gpu/+/620019f26cee4f69c33fc0861a7975f50b7ce8b3

Change-Id: I46ebd21033b7b387503adc835a5d6057bc7c8779

2 years agoaidl: health: Initial AIDL implementation
Tim Zimmermann [Fri, 26 Aug 2022 12:29:14 +0000 (14:29 +0200)]
aidl: health: Initial AIDL implementation

* Granted correct permissions on fb0 by default
* Enabled suspend according to
  https://android.googlesource.com/platform/hardware/interfaces/+/refs/tags/android-13.0.0_r3/health/aidl#charger-enable-suspend

Change-Id: I41b84840a03a57d46beb1a7520182de2bb29d2f5

2 years agoaidl: usb: Support contaminant presence detection
Tim Zimmermann [Thu, 25 Aug 2022 12:26:52 +0000 (14:26 +0200)]
aidl: usb: Support contaminant presence detection

Change-Id: Ia2e704874a8ed336f97ca756b0ea26cdc40aa5d3

2 years agoaidl: usb: Support enableUsbData()
Tim Zimmermann [Thu, 25 Aug 2022 09:47:40 +0000 (11:47 +0200)]
aidl: usb: Support enableUsbData()

Change-Id: I369731be320b708e63c92bae08f563607d6a8512

2 years agoaidl: usb: Rebrand to samsung
Tim Zimmermann [Thu, 25 Aug 2022 09:39:48 +0000 (11:39 +0200)]
aidl: usb: Rebrand to samsung

Change-Id: I61e228d7d7958c5078e8186700b8cc14804154c9

2 years agoaidl: usb: Import default implementation
Tim Zimmermann [Thu, 25 Aug 2022 09:37:52 +0000 (11:37 +0200)]
aidl: usb: Import default implementation

* From hardware/interfaces @ android-13.0.0_r3

Change-Id: I4ac9478286577a7ea5150b007d7e34c26e22ca38

2 years agosamsung: Remove hidl USB HAL
Tim Zimmermann [Thu, 25 Aug 2022 09:21:32 +0000 (11:21 +0200)]
samsung: Remove hidl USB HAL

* We're going to replace it with AIDL

Change-Id: I522a2649ff2f40c4f8a73df010c81fe4464ff58e

2 years agosamsung: sensors: 2.1: Convert to AIDL implementation
Tim Zimmermann [Thu, 25 Aug 2022 05:37:51 +0000 (07:37 +0200)]
samsung: sensors: 2.1: Convert to AIDL implementation

* android.hardware.sensors@aidl-multihal sources taken from hardware/interfaces @ android-13.0.0_r3

Change-Id: Ifec53372d142dcaf3f2111431ee2b3c2674744f2

2 years agoAutomatic translation import
Michael Bestas [Wed, 5 Oct 2022 16:31:07 +0000 (19:31 +0300)]
Automatic translation import

Change-Id: Ia4c7bdfc8ed22f486040dbb355e0218f984435b1

2 years agodoze: Include SettingsLib in static libraries
Tim Zimmermann [Tue, 23 Aug 2022 14:57:23 +0000 (16:57 +0200)]
doze: Include SettingsLib in static libraries

* And remove now redundant dependencies

Change-Id: Id5e790c6de0565592357d2fef11639d0b1533f14

2 years agodap: Improve strings
Michael Bestas [Sun, 2 Oct 2022 22:32:26 +0000 (01:32 +0300)]
dap: Improve strings

Change-Id: I561cdd15f256615787aac6391c194dfc17c8ccd8