Tomasz Wasilczyk
67c9c40da7
sm7125-common: audio-impl: Migrate String8|16.setTo to assignment operator
...
Bug: 295394788
Test: make checkbuild
Change-Id: Ic98514f48399115046029e68883408090f0cd0db
11 months ago
Tomasz Wasilczyk
675f13312a
sm7125-common: audio-impl: Use String8/16 c_str
...
Bug: 295394788
Test: make checkbuild
Change-Id: I9cba2d925dc1e5363927ba336b0ca2c43207ddad
11 months ago
Cole Faust
21363945a3
sm7125-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
11 months ago
Edwin Moquete
3056a35d9e
sm7125-common: Disable display refresh rate override
...
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.
Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
12 months ago
Simon1511
690bd53e19
sm7125-common: enable needs_sec_reserved_field for camera
...
Change-Id: Ib19af89da1aa47972e4fd2cea0049e362749ae0e
12 months ago
Simon1511
445d3a0cf2
sm7125-common: switch to AIDL fingerprint HAL
...
Change-Id: I74e786b3d91f6d54fb29f1259ea4423b6bb1e95a
12 months ago
Danny Baumann
47732025b2
sm7125-common: Enable call recording
...
Change-Id: I9c20044c9e2b918879318fecde8ae56394f4469d
1 year ago
Omkar Chandorkar
4df4944c4b
sm7125-common: overlay: Move UDFPS enroll radius to settings
...
- required after LineageOS/android_packages_apps_Settings@af35c7c
Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
1 year ago
Simon1511
584bfb3556
sm7125-common: further optimize auto brightness levels
...
Change-Id: Icf4ec14e5b1164eb5f4f1a9bd6f0f09d8d51ea0f
1 year ago
Simon1511
ad4ed687f7
sm7125-common: libsec-ril: Always return an empty value for GET_SMSC_ADDRESS
...
* Make parameter of type RilData (second last one) passed to SecRil::RequestComplete()
in OnGetSmscAddressDone() be NULL, so that the framework passes an empty value when sending SMS
* Before U this value was not being used, on U the value returned is "SMSC",format_specifier
which is considered invalid when passed back to RIL for sending SMS, however when an empty value
is passed RIL will select the default SMSC, like it did on T and sending SMS works again
Change-Id: I608be406969d7fa58f15ef36340aff4ad1ce9fd0
Co-authored-by: Tim Zimmermann <tim@linux4.de>
1 year ago
Simon1511
b4602aea30
sm7125-common: rootdir: change group for rear_flash
...
Change-Id: If9c4f79eb94415ada87dfb6bc58510dbc6f4cd86
1 year ago
Simon1511
06aca7e31b
sm7125-common: Update everything to A525FXXU6EWL3 (U)
...
Change-Id: Ic27b5f5fb906335fd342a01f074ff3eb2ac0bdcb
1 year ago
Tim Zimmermann
6526837b69
sm7125-common: Switch to hardware/samsung camera provider HAL
...
* This allows us to get rid of TARGET_SPECIFIC_HEADER_PATH
and our custom camera provider for extra camera IDs
Change-Id: If7630fc11b117273cae78f26a3ba337823ac58b4
1 year ago
Bruno Martins
8a0da21487
sm7125-common: Migrate to restructured sepolicy_vndr
...
The new folder structure now looks like this:
device/qcom/sepolicy_vndr
├─ legacy-um (meant for sdm845 until sm8350)
├─ sm8450
└─ sm8550
SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.
Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
1 year ago
Bruno Martins
d799e2809f
sm7125-common: Also patch gatekeeper HAL to load libcrypto-v33.so
...
Then again, due to asn1t.h structs changes.
Change-Id: Id3552124ddc07bf80446fd2b37b40f39c6be7a76
1 year ago
Andy Hung
5a7d061dca
sm7125-common: audio: Set minimum Binder access priority
...
Use setMinSchedulerPolicy to enforce minimum thread priority
when accessing the audio HAL to ANDROID_PRIORITY_AUDIO
Test: instrumented
Bug: 261496726
Change-Id: I700b04d3060e9405b1445206882a6131cea0d045
1 year ago
LuK1337
26c9c2eab6
sm7125-common: Shim Samsung keymaster HAL impl with libcrypto-v33.so
...
Current asn1t.h structs aren't binary compatible with our keymaster.
Change-Id: Id78b71c1f08216f861a033097cd015ba3c109925
1 year ago
LuK1337
45dfa77487
sm7125-common: Build android.frameworks.sensorservice@1.0.vendor
...
Required by mm-pp-deps.
Change-Id: Iaf821dcbb07d7820f2fc3ff5ca9cca5e973360f2
1 year ago
LuK1337
4b915ce0da
sm7125-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
...
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
1 year ago
Gabriel Biren
98cce314c3
sm7125-common: Update makefile to use the AIDL Wifi Vendor HAL.
...
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
1 year ago
Simon1511
bde98b0bb8
sm7125-common: audio: remove SIM 1 handling
...
* SIM 1 is used by default, which means that we only need to handle SIM 2
Change-Id: I7cd92d8633beb97ae04c07a3e499b4fdaf4dc9d5
1 year ago
Simon1511
d134d87a8b
sm7125-common: move releasetools.py to its own folder
...
Change-Id: I31efa6416f189ec32041aabdde40bb55da189736
1 year ago
Simon1511
65761014ad
sm7125-common: audio: also restart audioserver after finished call
...
Change-Id: I6e001133b5219ad35a38a40e971355156e0983e3
1 year ago
Simon1511
d15040a62a
sm7125-common: sepolicy: remove unneeded set_prop/get_prop rules
...
Change-Id: Iae544d6362bdae48b86f10810f8a17dae4e18f82
1 year ago
Simon1511
30fc583a77
sm7125-common: remove DHCP config from TetheringConfigOverlay
...
Change-Id: I26342b42f519b57dec143b590ed11dabec01a450
1 year ago
Simon1511
64b507b1cf
sm7125-common: audio: add dedicated service to pass g_call_sim_slot
...
This is a partial revert of c31482154b
Change-Id: Ibba1b588ee5836e8f51dfdb96231da66d7f3b09a
1 year ago
Simon1511
93616b944c
sm7125-common: Increase size of /product
...
~870mb -> 1.7GB
Change-Id: I3cea1a052ea3f0e2aeb935291427ac0465d8acb4
1 year ago
Tim Zimmermann
f3fc0d615d
sm7125-common: Uprev audio HAL to V7
...
Updated audio policy by running:
hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
device/samsung/sm7125-common/audio/configs/audio_policy_configuration.xml 6.0
with some manual intervention.
Change-Id: Iede32c176742e89577365341732a86f6ecaee514
1 year ago
Ruchit
66ba3b48ee
sm7125-common: Drop some useless audio configs
...
Change-Id: Iba917aef5b1b075c6068f82c960dac5ee56396c7
1 year ago
Ruchit
e1032754c4
sm7125-common: add some missing audio modules
...
Change-Id: I379948cfdc142af536fbc641c8791ee199a7c874
1 year ago
Simon1511
8798ac7cad
sm7125-common: fingerprint: switch to hardware/samsung HAL
...
Change-Id: Ic048efcf18e07694fede4d90859663c391a1a02d
1 year ago
Simon1511
bb83af7561
sm7125-common: resolve sepolicy errors
...
device/samsung/sm7125-common/sepolicy/vendor/genfs_contexts:21:ERROR 'duplicate entry for genfs entry (sysfs, /devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes)'
https: //github.com/LineageOS/android_device_qcom_sepolicy_vndr/commit/cbee1b7f0d68ae16516c8e703d6f22cccae97896
Change-Id: I8d409cc714d93204faf38e2ed029a6101b051dc0
1 year ago
Simon1511
4c38598d88
sm7125-common: update media profiles for proper 2160p recording
...
Change-Id: Iade07ffaba02f5d72e0ab46c0ec2a29d7d80dddc
2 years ago
Simon1511
d9ac17a62e
Revert "sm7125-common: Build Camera2 app explicitly"
...
https://android-review.googlesource.com/c/platform/frameworks/support/+/2694047
This reverts commit 506b0cde3f
.
Change-Id: I5e101b07755e6cfb77c98f8cd6f46966c9925550
2 years ago
Simon1511
5005f437cf
Revert "sm7125-common: Add UdfpsHandler for NightDisplay and ExtraDim"
...
This has been fixed in the kernel.
Also remove its sepolicy.
This reverts commit 96d068a98d
.
Change-Id: Ic54d8a76ac66a090966de60e4ed904be578d5655
2 years ago
Simon1511
2a88cfa9ac
sm7125-common: sensors: Toggle touchscreen on/off if needed
...
* Due to config_powerDecoupleInteractiveModeFromDisplay we need to wait for the sensors sub HAL to re-start every time we fail a fingerprint unlock with screen off or on AOD.
* To prevent killing said overlay and having the touchscreen constantly enabled on AOD, we simply toggle the touchscreen on/off with every screen-off-UDFPS unlock
Change-Id: I819b9ef4387a914ccf17d7f4c6023ad08b3d14a0
2 years ago
Simon1511
19005b2e9a
sm7125-common: fingerprint: prevent unnwanted onFingerUp() calls
...
* onFingerUp() would also be called during unlocking with Pin/Password/etc, always resetting the brightness to the previous value
Change-Id: I5319a8a50a4ad3308e787322c6c2a417b9169b23
2 years ago
Tim Zimmermann
ea551ed57a
sm7125-common: Request fingerprint force calibration
...
Change-Id: I2cc70cbebdd6d6978e234184a58cfd0a8a97c427
2 years ago
Alexander Martinz
f298f5b32d
Revert "sm7125-common: Disable APEX compression"
...
This reverts commit 787989e7a4
.
Test: build, flash and boot device with flag reverted.
Test: boot GSI with compressed APEX enabled.
Change-Id: I5988614cc055d565b17a5c8d830e35feb0e33e92
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2 years ago
Michael Bestas
55bc3d36ea
sm7125-common: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2 years ago
Simon1511
220a5ee0bb
sm7125-common: audio: match policy with stock
...
This reverts commit 9968055bb8
.
Change-Id: Ieb31dd68364e6fee1167bfe777752c6b492e2a5e
2 years ago
Simon1511
f835fdde00
sm7125-common: A525FXXS5DWD1
...
Change-Id: I0c9b29e3237f8b237ea4b931ba1f4a22d38cce02
2 years ago
Simon1511
f2978af5cc
sm7125-common: Set up OSS USB props
...
* And use qualcomm's init.qcom.usb.rc
Change-Id: I24f039c58aab0cca3de6c088cb6e49818e58c8ee
2 years ago
Simon1511
56257042ed
sm7125-common: Address system_suspend denials
...
Change-Id: If5a2b3ad3c5a815cafb791535008d330336c0e6c
2 years ago
Bruno Martins
e6273e85a6
sm7125-common: Copy cgroups and task_profiles directly from system/core
...
This ensures that the most up-to-date JSON files are shipped.
Change-Id: Idd03d8c9a2bca88e205b7728d6babb28f1008023
2 years ago
Simon1511
2e4f5d511c
sm7125-common: Fixup BT SCO phone calls
...
Partial revert of 9968055bb8
.
Change-Id: I4c087f2130591b4bb4cbcfc6f323a2d2401211eb
2 years ago
Tim Zimmermann
62f0858f85
sm7125-common: Change vibration durations where needed
...
* a52q/a72q's dc_vibrators only supports >= 40ms vibrations
Change-Id: I0c37a98d74fa647a28ef52025dcec3337ffe8e63
2 years ago
Simon1511
5e735a2f3b
sm7125-common: Switch to hardware/samsung vibrator
...
Change-Id: I92f293534c99e37142d731e256c6fe96b6754a03
2 years ago
Tim Zimmerman
e2e5765bff
sm7125-common: nfc: move data to /data/vendor/nfc
...
Change-Id: Ifcb90cd3e2dd47211207509cec3617e58c93907e
2 years ago
Simon1511
948847204f
sm7125-common: configs: nfc: Correct DEFAULT_ROUTE
...
Change-Id: I4f051755691cbf9b0eaddcf8d512887733c920e5
2 years ago