nift4
e2ded60ef6
rosemary: shims: Port to T
2023-04-15 14:36:56 +02:00
Edwin Wong
bb3f92e055
rosemary: Build clearkey HIDL service
2023-04-15 14:36:56 +02:00
SamarV-121
e1945ebb8d
rosemary: wifi: Adapt to T
2023-04-15 14:36:56 +02:00
bengris32
e39645ab2c
rosemary: Use HIDL compat libraries from hardware/lineage/compat
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2023-04-15 14:36:56 +02:00
Lucchetto
2a52c65520
rosemary: Use libhidlbase from vndk v32 for goodix interface
...
* _ZN7android8hardware7details17gBnConstructorMapE and _ZN7android8hardware7details17gBsConstructorMapE have been removed on Android 13
Signed-off-by: Lucchetto <lucchetto.tie@live.com >
2022-12-07 00:10:21 +01:00
hpnightowl
bff355f8ea
rosemary: Drop audio.a2dp.default
...
* Building from here:
https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35
Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-12-07 00:10:21 +01:00
Josh Wu
2162c82bb5
rosemary: Switch BtAudio to AIDL
...
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Change-Id: I3c3e1bfad896d1c401bcb158c6921c0bae8c58f1
2022-12-07 00:10:21 +01:00
Alice Kuo
95a661f74f
rosemary: Disable LE audio related profiles
...
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2022-12-07 00:10:21 +01:00
Sal Savage
e804ae8bc5
rosemary: Update LE Audio profile properties to match spec and implementation
...
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2022-12-07 00:10:21 +01:00
Sal Savage
01715a3737
rosemary: Enable bluetooth profiles with system_ext.prop
...
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2022-12-07 00:10:21 +01:00
Sal Savage
a780ea6632
rosemary: Set default the Bluetooth class of device
...
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is correct
Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2022-12-07 00:10:21 +01:00
Jasmine Cha
ef2d27ce74
rosemary: audio: Use binder threadpool
...
Support to communicate with other service with AIDL interface.
Bug: 215463744
Test: build pass
Signed-off-by: Jasmine Cha <chajasmine@google.com >
Change-Id: I13da2121623779b0ba21d29cf39c11abc7b96dd9
2022-12-07 00:10:21 +01:00
bengris32
44e503d33d
rosemary: Kang brightness overlays from begonia
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
c2e4f45c46
rosemary: Bump clang toolchain version to r450784d
...
* We now have the required patches in kernel to compile with
clang r450784d and LLVM binutils.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
LuK1337
78b349ae59
rosemary: Disallow aux cam usage for Telegram / Telegram X
...
These seem to misbehave when they reach certain camera IDs.
Change-Id: Ib07269215d76a09bf5b305bfb6ae9b84f5c5a7d3
2022-12-07 00:10:21 +01:00
SamarV-121
5b3de57cbc
rosemary: Use libutils-v32 for libmtkcam_stdutils.so
...
* Abort message: 'incStrongRequireStrong() called on 0xb400007c5afa7250 which isn't already owned'
Signed-off-by: SamarV-121 <samarvispute121@pm.me >
Change-Id: Ie04bf80f00d96ab9f9ecd292322925a39bf59c6a
2022-12-07 00:10:21 +01:00
Jiyong Park
076f7631d2
rosemary: Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-12-07 00:10:21 +01:00
SamarV-121
e51d75aec5
rosemary: Link PQ and dfps HAL against VNDK 32 libutils
...
* Abort message: 'incStrongRequireStrong() called on 0xb400007c5afa7250 which isn't already owned'
[bengris32] Patch both 32bit and 64bit variants
Change-Id: Ifae97360042bad420ef454a56b490af2202ac79a
2022-12-07 00:10:21 +01:00
bengris32
d2fdc245cd
rosemary: Convert overlays into Runtime Resource Overlays
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I9105bbd5b4cb183b9eed02d15d4ca3134fbcb6d2
2022-12-07 00:10:21 +01:00
Dan Pasanen
2936b30620
rosemary: Exclude lineage-sdk overlays from RRO
...
* lineage-sdk overlays don't work with RRO
Change-Id: Iff826faf1864388066a488acc9682636b98d1098
2022-12-07 00:10:21 +01:00
bengris32
37e2411ed5
rosemary: sepolicy: Label persist camera data directory
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
15c9c37a1d
rosemary: sepolicy: Label FPC fingerprint sysfs nodes
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
d8361dd065
rosemary: sepolicy: Label more fingerprint props
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
be7e4343af
rosemary: Remove displayfeature entry from the FCM
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I7a77b1ab430c1d41057a8a19f66cbd05572204b8
2022-12-07 00:10:21 +01:00
bengris32
19db7f0d55
rosemary: sepolicy: Allow mi_thermald to access battery supply
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
ef47eaf9b7
rosemary: sepolicy: Label some more camera props
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
68c439b1f4
rosemary: sepolicy: Allow fingerprint HAL to read battery stats
...
avc: denied { search } for name="battery" dev="sysfs" ino=8944 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0
E fpc_tac : Unable to open '/sys/bus/platform/devices/battery/modalias'
avc: denied { search } for name="mt-pmic" dev="sysfs" ino=16882 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_pmu:s0 tclass=dir permissive=0
E fpc_tac : Unable to open '/sys/bus/platform/devices/mt-pmic/modalias'
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
bengris32
2c1d2a27cc
rosemary: Allow Fingerprint HAL to write to relavent sysfs node
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2022-12-07 00:10:21 +01:00
Matsvei Niaverau
7daa6b4197
rosemary: sepolicy: Label some audio properties
...
Change-Id: I7c7833685434ed463304ac8b37a566c531360468
2022-12-07 00:10:21 +01:00
Matsvei Niaverau
539de33834
rosemary: sepolicy: Resolve fuelgauged_nvram denials
...
Change-Id: Ib19b38392df23e6d5bd3ad8e71f363296cf7d2dd
2022-12-07 00:10:21 +01:00
Matsvei Niaverau
f4d4532958
rosemary: sepolicy: Resolve mi_thermald denials
...
Change-Id: I06ee95cf1dee091ff71c167c1c9e037dafd8a380
2022-12-07 00:10:21 +01:00
Matsvei Niaverau
ab4c47327f
rosemary: sepolicy: Label more camera properties
...
Change-Id: I4f3576bf830b9c757afe2b6d3e4b4a0fffa512c8
2022-12-07 00:10:21 +01:00
bengris32
5a70d2c77d
rosemary: sepolicy: Label persist audio data files
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Id065f96267996c321bcb737966802ac24491ce11
2022-12-07 00:10:21 +01:00
bengris32
1b750b9020
rosemary: sepolicy: Label cirrus audio data directory
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ifdf8e7dc72ce8e3f814df3fe1b6af29f4b9e043e
2022-12-07 00:10:21 +01:00
bengris32
876008ec0a
rosemary: sepolicy: Address Health HAL denials
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I8d4c4d1d792a2a8ad0a4af1f7a49a2f2e1202c9d
2022-12-07 00:10:21 +01:00
bengris32
96606d4e79
rosemary: Allow PowerHAL to write to touchpanel nodes
...
* Required for DT2W.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ie95313704a3c6572ca7908ef01f609acad639694
2022-12-07 00:10:21 +01:00
SamarV-121
c3a22a6b0a
rosemary: Build and rename audio service HAL
...
Signed-off-by: SamarV-121 <samarvispute121@pm.me >
2022-12-07 00:10:21 +01:00
Matsvei Niaverau
4b8f665423
rosemary: sepolicy: Label USB HAL
...
Change-Id: Ie360101c63ad3566a0ff558ef3b9ce8b77881b52
2022-12-07 00:10:02 +01:00
Matsvei Niaverau
4f1136d9cc
rosemary: sepolicy: Define thermal_engine prop
...
Change-Id: Ib985028b93fd66e4082cdea77263c7fd4b1a6597
2022-12-07 00:09:40 +01:00
Zinadin Zidan
b1ced80119
rosemary: sepolicy: Address and cleanup mi_thermald denials
...
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Change-Id: I6dc276ea6578280c8c42d2653ca803f6168b90a9
2022-12-07 00:09:40 +01:00
Zinadin Zidan
d393577b30
rosemary: sepolicy: Address mi_thermald sepolicy denials
...
This is a squash of the following commits:
cannon: sepolicy: Label mi_thermald and grant required permissions
Change-Id: I9eebb3c911f27aaeb128696c261d902a06c52cef
Co-Authored-By: Azurite <azuritenoah@gmail.com >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Reviewed-on: https://review.statixos.com/c/android_device_xiaomi_cannon/+/7756
Reviewed-by: Vaisakh Murali <mvaisakh@statixos.com >
Tested-by: Vaisakh Murali <mvaisakh@statixos.com >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
cannon: sepolicy: Drop sysfs_battery_supply sepolicy rules
Ref: https://gerrit.pixelexperience.org/c/device_mediatek_sepolicy_vndr/+/12410/1
Change-Id: Id0af2893e4ab4229ab9aa7f91c66359e878616a2
Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Reviewed-on: https://review.statixos.com/c/android_device_xiaomi_cannon/+/7757
Reviewed-by: Vaisakh Murali <mvaisakh@statixos.com >
Tested-by: Vaisakh Murali <mvaisakh@statixos.com >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
cannon: sepolicy: Allow mi_thermald to read thermal and cpu conf
Change-Id: I3bd838967f40fbbfa149c8aa8258ed8511d9dd50
Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Reviewed-on: https://review.statixos.com/c/android_device_xiaomi_cannon/+/7758
Reviewed-by: Vaisakh Murali <mvaisakh@statixos.com >
Tested-by: Vaisakh Murali <mvaisakh@statixos.com >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
cannon: sepolicy: Allow mi_thermald to access sysfs_leds
Change-Id: Ie861d1797be99b5b22fb3927f71be388e835a3e8
Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Reviewed-on: https://review.statixos.com/c/android_device_xiaomi_cannon/+/7759
Reviewed-by: Vaisakh Murali <mvaisakh@statixos.com >
Tested-by: Vaisakh Murali <mvaisakh@statixos.com >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
2022-12-07 00:09:40 +01:00
SamarV-121
723cde3fdc
rosemary: sepolicy: Label WiFi HAL
...
Change-Id: I2d282bbbfa13f7c1fe17bd97049d4a4d6d3fff7a
2022-12-07 00:09:19 +01:00
Matsvei Niaverau
3e8c0424b5
rosemary: sepolicy: Allow vendor_init to write fingerprint data
...
Change-Id: I0c35db23258221142009db4e7e372ffccc65283e
2022-12-07 00:08:51 +01:00
bengris32
0e4dd1b970
rosemary: sepolicy: nfc_data_file -> nfc_data_vendor_file
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Icf705f92ee9d362f6dc1c8e95960cc6b5394cd0c
2022-12-07 00:08:51 +01:00
bengris32
af2679a76c
rosemary: sepolicy: Allow vendor_init to adjust vm and sched parameters
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I3854b84b8d98bc9a7098bb202cd56112742b5aaf
2022-12-07 00:08:51 +01:00
bengris32
d0f40a9b0d
rosemary: sepolicy: Allow vendor_init to create NFC directories
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I2ac4549b51a722f3fca6dbba7c61b46e86433747
2022-12-07 00:08:51 +01:00
bengris32
fe63fd790a
rosemary: sepolicy: Label tpi camera property
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Iba0aaa4f6f3086f9db4100acca17541ac6c169ac
2022-12-07 00:08:51 +01:00
bengris32
032c3b56f7
rosemary: sepolicy: Allow Audio HAL to search in persist
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I33edffa5f22fea07fff94493022bfb722b0ee9a7
2022-12-07 00:08:51 +01:00
bengris32
97c1305dcf
rosemary: sepolicy: Allow Camera HAL to search in persist_data_file
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I6e441132ec29ec084e4cfc2eee6669f693a53f72
2022-12-07 00:08:51 +01:00
SamarV-121
8b4c2f65b4
rosemary: sepolicy: Allow fingerprint HAL to create netlink socket
...
Change-Id: Iebcc9f29f0bd2c83c431f881ba63e569ab574049
Signed-off-by: SamarV-121 <samarvispute121@pm.me >
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
2022-12-07 00:08:51 +01:00