Albert I
3ba3e8a24d
sky: gps: Reorder initializations list to satisfy warnings
...
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.
This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.
Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
2024-11-16 12:59:08 +05:30
Michael Bestas
f4728af82d
sky: gps: Resolve unused parameter warnings
...
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2024-11-16 12:59:07 +05:30
Arian
f20b04c32d
sky: gps: Let qualityLevelAccepted use loc_sess_status enum
...
gps/gnss/GnssAdapter.cpp:4111:49: error: comparison of different enumeration types ('FixQualityLevel' and 'enum loc_sess_status') [-Werror,-Wenum-compare]
it->second.qualityLevelAccepted >= status) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~
Change-Id: I9decccb88a51760806eab080d5ad92d90d9b87cd
2024-11-16 12:59:07 +05:30
Bhavna Sharma
cb64a3c4a8
sky: gps: Move qualityLevelAccepted field into LocationOptions
...
CRs-Fixed: 3131344
Change-Id: Ifec0a57325ea8127f76b8e1896124a64666f41ce
2024-11-16 12:59:07 +05:30
Harikrishnan Hariharan
4ae2ec8fe4
sky: gps: HAL: Fix compile errors for Wunused-function and Wformat
...
Change-Id: I6644bd3ee69f584322dfb6970ecb15a5be182c64
CRs-Fixed: 3452598
2024-11-16 12:59:07 +05:30
Vamana Murthi
c9b42d7175
sky: gps: HAL: Location compilation bringup for wearables
...
Enable few more important compilation flags which will consider
warnings as errors. Most of these flags were configured to be
only warning for mobile SPs, but for wearable SPs some of them
are configured to be errors. So configure these as in common
GNSS flags so that same set of flags could be applied to mobile
SPs too.
Fix compilation errors which were showing up, when these flags
were enabled.
Change-Id: I62ef74419d4416252dfc8b25251ba3a51d522bfd
CRs-Fixed: 3292623
2024-11-16 12:59:07 +05:30
Pirama Arumuga Nainar
c4e24961c7
sky: gps: Fix -Wbitwise-instead-of-logical
...
Bug: http://b/215753485
Reported by clang-r445002
error: use of bitwise '|' with boolean operands [-Werro
r,-Wbitwise-instead-of-logical]
if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
||
Test: build with clang-r445002
Change-Id: I9410eb5208227dd70bd036aee02fb2aeb912f266
Merged-In: I9410eb5208227dd70bd036aee02fb2aeb912f266
2024-11-16 12:59:07 +05:30
Jiyong Park
2723d8770e
sky: gps: 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
2024-11-16 12:59:07 +05:30
dianlujitao
de6b682299
sky: gps: Fix non-ASCII character in gps.conf
...
:caf:
Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
2024-11-16 12:59:07 +05:30
Arian
60ecc2e861
sky: Import gps from LA.VENDOR.1.0.r1-12800-WAIPIO.0
...
Change-Id: Ia76265a8c3326f2b5f9f260ce98807276af80ee3
2024-11-16 12:59:07 +05:30
Lostark13
c8a10ba5ea
sky: uprev vendor SPL
2024-11-16 12:59:06 +05:30
Lostark13
fc41ea5088
sky: Add display ID for sfps
2024-11-16 12:59:06 +05:30
LuK1337
8315029ab6
sky: Use common lib_fixups
...
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-16 12:59:06 +05:30
EcrosoftXiao
f441f3f70d
sky: audio: Nuke unsupported haptics output configuration
...
* Fixes Pixel ringtones
Change-Id: Ib81fd4209be8201d13aeea485910169371f82582
Signed-off-by: Bartłomiej Rudecki <ejbtrd@gmail.com >
2024-11-16 12:59:06 +05:30
Lostark13
6431f3183c
Revert "sky: parts: Import MiSound"
...
This reverts commit 0c31bb8c35 .
2024-11-16 12:59:06 +05:30
Lostark13
169ee391d4
sky: Add vendor enhance fw prop
2024-11-16 12:59:06 +05:30
pppig236
5a17d256f3
sky: Import soong namespace from hardware/qcom-caf/sm8450/audio/agm/ipc/HwBinders/legacy
...
Change-Id: Id6a29b00286c7de8bf25796af9b6228c18b3ad9a
Signed-off-by: pppig236 <priv@pppig236.com >
2024-11-16 12:57:12 +05:30
angelomds42
840b6d8bb6
sky: fix DT_SONAME to fingerprint.goodix.default with patchelf 0.17.2
...
- When we use ;FIX_SONAME for some reason the fingerprint lib breaks:
E vndksupport: Could not load /vendor/lib64/hw/fingerprint.goodix.default.so from default namespace: dlopen failed: "/vendor/lib64/hw/fingerprint.goodix.default.so" loaded phdr 0x6cdf84c000 not in loadable segment.
E HAL : load: module=/vendor/lib64/hw/fingerprint.goodix.default.so
2024-11-16 12:54:48 +05:30
Lostark13
68d22d4672
sky: Fix SONAME of few blobs
2024-11-16 12:52:52 +05:30
Lostark13
0b1b2dfcdf
sky: Remove duplicate blob
2024-11-16 12:52:15 +05:30
Lostark13
30271e5892
sky: Disbale ELF check for libkaraokepal
2024-11-07 13:24:26 +00:00
Arian
3f6532152f
sky: Switch to python extract-utils
...
Change-Id: I2bc74ab7331516a6e7958fd9238b0e7d2e66872c
2024-11-07 13:08:57 +05:30
Arian
cce595dc56
sky: Allow gettid syscall for wfdhdcphalservice
...
10-25 15:22:18.582 1 1 I init : starting service 'wfdhdcphalservice'...
10-25 15:22:18.595 1 1 I init : ... started service 'wfdhdcphalservice' has pid 4702
10-25 15:22:16.536 4702 4702 E wfdhdcphal: wfdhdcphalservice starting...
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: failed to get path of fd 5: No such file or directory
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: connect
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: fcntl
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: sendto
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: socket
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: writev
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(33): nonexistent syscall 'fstatat'
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(52): nonexistent syscall 'open'
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(53): nonexistent syscall 'ugetrlimit'
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(64): nonexistent syscall 'readlink'
10-25 15:22:16.536 4702 4702 W wfdhdcphalservice: libminijail[4702]: logging seccomp filter failures
10-25 15:22:16.538 4702 4702 E wfdhdcphalservice: libminijail[4702]: blocked syscall: gettid
10-25 15:22:18.622 1 1 I init : Service 'wfdhdcphalservice' (pid 4702) received signal 31
10-25 15:22:18.623 1 1 I init : Sending signal 9 to service 'wfdhdcphalservice' (pid 4702) process group...
10-25 15:22:18.623 1 1 I libprocessgroup: Removed cgroup /sys/fs/cgroup/uid_1000/pid_4702
10-25 15:22:18.623 1 1 E init : process with updatable components 'wfdhdcphalservice' exited 4 times in 4 minutes
10-25 15:22:18.627 1 1 I init : processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
10-25 15:22:18.628 1 1 I init : starting service 'exec 37 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
10-25 15:22:18.637 1 1 I init : ... started service 'exec 37 (/system/bin/flags_health_check UPDATABLE_CRASHING)' has pid 4703
10-25 15:22:18.637 1 1 I init : SVC_EXEC service 'exec 37 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 4703 (uid 1000 gid 1000+0 context default) started; waiting...
Change-Id: I9ab6ca254a1e6509cfd9de36765496e875407fb0
2024-11-07 12:41:25 +05:30
LuK1337
457b1203c4
sky: Shim WFD with libgui_shim/libinput_shim
...
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-11-07 12:41:25 +05:30
Lostark13
ffb32f359c
sky: Fix recovery format flag
2024-11-07 12:41:25 +05:30
Manish Kushwaha
d541838f74
sky: Migrate sensor HAL to AIDL interface
...
Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`
Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
2024-11-07 12:41:25 +05:30
Bruno Martins
0fdef2b297
sky: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qualcomm targets can now build hermetic partitions.
Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-11-07 12:41:25 +05:30
Bruno Martins
13ba6bf749
sky: Mark CNE symlink target as required package
...
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-11-07 12:41:24 +05:30
Bruno Martins
f427f80d45
sky: Declare EGL libs as symlinks during extraction
...
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-11-07 12:41:24 +05:30
Bruno Martins
a80ffb78c5
sky: Declare IMS libs as symlinks during extraction
...
Change-Id: I2a035323a483b8b2422b4a54219b2f6268ab4a61
2024-11-07 12:41:24 +05:30
Bruno Martins
20fe51e090
sky: Move to new RFS install_symlink targets
...
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-11-07 12:41:24 +05:30
Bruno Martins
b954f402f0
sky: Convert WiFi firmware symlink to install_symlink target
...
The last bit that was preventing building hermetic images.
Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-11-07 12:41:24 +05:30
Lostark13
b0f0d5cff4
sky: Fix soname of prebuilt fp blobs
2024-11-07 12:41:24 +05:30
Lostark13
dcf36183da
sky: Drop prebuilt fp blobs
2024-11-07 12:41:10 +05:30
Michael Bestas
1c8dceebe0
sky: Enable ELF checks for libwfdmmsrc_proprietary
...
Change-Id: I7eecffc5481b44451094a6816e50436ad084db7a
2024-11-07 12:40:34 +05:30
Bruno Martins
5740fab0ef
sky: Work around using prebuilt audio primary HAL
...
Since audio.primary.parrot is no longer present in PRODUCT_PACKAGES,
the vintf files are not copied anymore, so account for that and merge
to the manifest instead.
Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b
2024-11-07 12:38:26 +05:30
Lostark13
7a60b2fe1c
sky: Disable some more elf checks
2024-11-07 12:37:08 +05:30
Lostark13
45c75452de
sky: Switch to source built agm and pal
2024-11-06 18:50:34 +05:30
Arian
d9eba2218c
sky: Patch libcamximageformatutils to get rid of ndk_platform qti display config dependency
2024-11-06 18:09:11 +05:30
Lostark13
8237d5d1e1
sky: Rename prebuilt fingerprint extension for fpc
2024-11-06 18:09:04 +05:30
Lostark13
8f8c9cc276
sky: Drop some blobs
2024-11-06 18:08:49 +05:30
Lostark13
e38e759233
sky: Add 32 bit qspm blob
...
dependency "vendor.qti.qspmhal@1.0" of "libadreno_app_profiles" missing variant:os:android,image:vendor,arch:arm_armv8-2a,sdk:,link:shared
2024-11-06 18:00:29 +05:30
Lostark13
af5e08b1be
sky: Disable some elf checks
2024-11-06 17:57:43 +05:30
Cosmin Tanislav
156ac22c2f
sky: Skip dependencies which aren't defined in .bp
...
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-11-06 17:57:35 +05:30
Lostark13
915d003ffb
sky: Rename prebuilt libjnigraphics for camera blobs
2024-11-06 17:56:13 +05:30
Lostark13
b2a40afb65
sky: Drop libhapticgenerator
2024-11-06 17:55:49 +05:30
Michael Bestas
1f07cba6f5
sky: Patch libwfdservice to resolve duplicate dependencies
...
Fixes:
error: module "libwfdservice" variant
"android_arm_armv8-a_cortex-a76_static": depends on multiple
versions of the same aidl_interface:
android.media.audio.common.types-V2-cpp-source,
android.media.audio.common.types-V3-cpp-source
Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab
2024-11-06 17:55:11 +05:30
Arian
1334cb45d3
sky: Move to wfdservice64 and add missing dependencies
...
Change-Id: Ia34ab4c3fbf55ac96109541711e743707285bf8e
2024-11-06 17:55:03 +05:30
Lostark13
687a07d724
sky: Fix vendor.xiaomi.hardware.fingerprintextension ELF checks
2024-11-06 17:54:04 +05:30
Lostark13
cc4dafaaa3
sky: Remove system_ext ims blobs
2024-11-06 17:53:45 +05:30