328 Commits

Author SHA1 Message Date
suvojit213
07e91d9a2d sky: build source built in recovery 2024-12-14 08:33:23 +00:00
suvojit213
0ff066cde1 sky: remove some packages 2024-12-14 08:33:23 +00:00
raystef66
c1439235fa sky: Add overlays for statusbar padding
- status_bar_padding_start
- status_bar_padding_end
2024-12-14 08:33:23 +00:00
baalajimaestro
7e384575d1 sky: Prop: Optimize dex flags
This is a squash of the following commits:
1. Optimise dex flags for a faster boot

* Used multiple threads and speed profile to hasten the first boot

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf

2. Rework dex flags again

When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope).
Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads.
PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it.
I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off.
The speed level mentioned here runs dex verification and compiles all AOT methods.

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Ic0156ff8956a7c5f53820be6db438f6f6399d3c0

3. Switch certain dexopt profiles to verify

Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced.
Switch to Google's recommendation of using verify for an OTA package.
Applications still stay on speed.
Instead, replace the install profile with speed-profile making apps perform better.

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf
2024-12-14 08:33:23 +00:00
suvojit213
1c2bd643a3 sky: Initialize for Evolution X 10.x 2024-11-27 20:49:07 +05:30
Lostark13
f87ec6d3a6 sky: Build libqti-perfd-client 2024-11-24 12:41:09 +00:00
Lostark13
43ed5d3234 sky: Drop prebuilt nxp nfc interface 2024-11-16 14:06:32 +00:00
Steve Kondik
51df960087 sky: Remove hw_acc effect
* Not used.

Change-Id: I68882a0435b8459031ae31ecc46af6bb62eacf17
2024-11-16 12:59:38 +05:30
Lostark13
6bacc51458 sky: Import audio effect config 2024-11-16 12:59:38 +05:30
Lostark13
ec8d92780c sky: add missing thermal blob 2024-11-16 12:59:38 +05:30
exer
a51290d98f sky: power-profile: Resolve Deprecated Items
06-26 18:26:52.874  2488  2488 W PowerProfile: ambient.on is deprecated! Use ambient.on.display0 instead.
06-26 18:26:52.874  2488  2488 W PowerProfile: screen.on is deprecated! Use screen.on.display0 instead.
06-26 18:26:52.874  2488  2488 W PowerProfile: screen.full is deprecated! Use screen.full.display0 instead.

Change-Id: Id4de9a0a08611363b2d26dc2eb67158037321cbb
2024-11-16 12:59:38 +05:30
Lostark13
3f263e4f7d sky: Remove eng props 2024-11-16 12:59:37 +05:30
Lostark13
3fe43a93fc sky: Update fingerprint 2024-11-16 12:59:37 +05:30
Cosmin Tanislav
57bc73c1cf sky: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-11-16 12:59:19 +05:30
Lostark13
756181465d sky: pin modified blobs 2024-11-16 12:59:10 +05:30
Richard Patrick
5472876469 sky: Enable Fuse Passthrough Android Property.
This change enables the Android property to make QSSI use
the Fuse Passthrough feature. Fuse Passthrough feature will
will improve the performance of the FUSE filesystem for
certain types of filesystem access.

Change-Id: I01906650996196804022940a622f140c14ac2256
2024-11-16 12:59:10 +05:30
Lostark13
e68c4a551e sky: vintf: Uprev qti gnss 2024-11-16 12:59:10 +05:30
Luofan Chen
942ffdd23e sky: Import QCC sysyem_ext blobs
Makes the QTI GNSS service happy. Thanks luca020400 for the help.

Change-Id: I6de25b0b3fde6cce3a6cdf95f31c68734d429956
2024-11-16 12:59:10 +05:30
Arian
b8a08dd097 sky: Update QCC blobs from ingot-user 14 UKQ1.231121.127 127 release-keys
Change-Id: I7201e269f0763a4d20ad4c16caaf24e443ace615
2024-11-16 12:59:10 +05:30
Arian
4926cbee62 sky: Update GNSS blobs from ingot-user 14 UKQ1.231121.127 127 release-keys
Change-Id: I571bb6a0152ed3030c066aa54a59ae14e37427a5
2024-11-16 12:59:09 +05:30
Michael Bestas
e1b6bfde41 sky: gps: data-items: Fix snprintf usage
Fixes:
gps/core/data-items/DataItemConcreteTypes.cpp:465:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  465 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
gps/core/data-items/DataItemConcreteTypes.cpp:514:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
  514 |         snprintf(t, sizeof(t),
        "[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
      |         ^
2 errors generated.

Change-Id: I37188e7497f7ade97648fb41e2becd73f6b559a9
2024-11-16 12:59:09 +05:30
Nilesh Gharde
6fce1687dc sky: gps: Remove getCapablities impl from gnss adapter
getCapablities impl is moved to LocAdapterBase
class as for QWES unify. All the adapters should use the
same implementation.

CRs-fixed: 3609221
Change-Id: I0e9f7af1437af47f20e27a9bad94231c594753c7
2024-11-16 12:59:09 +05:30
haohuang
354c506dc7 sky: gps: Add new NLP Session Status data item
Change-Id: Idf5b415fe232dbd098bdae392f40a50e0d11584b
CRs-Fixed: 3494806
2024-11-16 12:59:09 +05:30
Nilesh Gharde
ce1b080e84 sky: gps: Add group inet for GNSS HAL
Change-Id: Ie82006c06dd85417012c53b91bd691fe143d3a3c
CRs-Fixed: 3210333
2024-11-16 12:59:09 +05:30
Nilesh Gharde
9441e42181 sky: gps: Loc QWES check unify
1 Add context call to get location qwes feature status directly.
2 Add data item to dispatch location qwes feature status.
3 EngineHub uses context call to get location qwes feature status.
4 xtwifi uses data item registration to get location qwes feature
status.

Change-Id: I489b7fadf2b06a4517ac4b362b6ff4d204f94080
CRs-Fixed: 3435284
2024-11-16 12:59:09 +05:30
haohuang
a914ec42fb sky: gps: Support WiFi RTT position injection for non ES case
Change-Id: I92248c5a95c042c90164308d0617d9197625e6dd
CRs-Fixed: 3432072
2024-11-16 12:59:09 +05:30
haohuang
4f57c180e2 sky: gps: Add RSSI/RTT QWES and HW feature bits in ContextBase
Change-Id: I2b6a7d10c367862f8bb76b6a4a5c401e32a3c96e
CRs-Fixed: 3362481
2024-11-16 12:59:09 +05:30
haohuang
a445720422 sky: gps: Remove seccomp_policy of xtwifi-inet-client
Change-Id: Ic7b0f42db15aa41a90688590c8953b1e234ebdee
CRs-Fixed: 3324736
2024-11-16 12:59:09 +05:30
Vrutti Patel
638379aa1f sky: gps: GNSS adapter: need to check validity of elapsed real time
1: Need to check the validity of elapased real time before
   marking it as valid
2: Increase the allowed time between two get boot time call
   from 10 micro seconds to 2 milli-seconds

Change-Id: If2f7ddb23ce72cb52f294ff44353f5c9a9421a9c
CRs-fixed: 3281559
2024-11-16 12:59:09 +05:30
Tomasz Wasilczyk
547935e754 sky: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-11-16 12:59:09 +05:30
Arian
bb5f228ff6 sky: gps: Reorder initialization lists again
As a followup of Id24cbb7277dc8d6c02767f8f365818ab6c017683
after the latest CLO updates

Change-Id: I9a95233f7cd9f7da7d88019bf9ba77f58f188900
2024-11-16 12:59:09 +05:30
Arian
cd500c5c03 sky: gps: Update to LA.VENDOR.1.0.r1-21900-WAIPIO.0
Change-Id: Ib431364a902ecd9b068e672978f5e24ecbf42160
2024-11-16 12:59:08 +05:30
me-cafebabe
c2d71733aa sky: gps: Fix compilation on U
Change-Id: I7ca7e78addd6385289b8449edae8b682839ecc91
2024-11-16 12:59:08 +05:30
Michael Bestas
d2c79049a9 sky: Implement xtra-daemon control via property
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.

Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
2024-11-16 12:59:08 +05:30
Michael Bestas
b0d2b3664b sky: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2024-11-16 12:59:08 +05:30
TheStrix
8276a0636d sky: gps: Disable xtwifi location services
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Fri Jan 15 22:14:25 2021 +0200

    sky: Remove unused gps certificates

    * They are used by xtwifi-inet-agent which we disabled.

    Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8

Author: Arian <arian.kulmer@web.de>
Date:   Thu Apr 1 01:09:38 2021 +0200

    sky: Remove xtwfi-client and xtwifi-inet-agent

    Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2024-11-16 12:59:08 +05:30
Arian
ba6659ca08 sky: Build GNSS HAL from source and import proprietary configs from V816.0.11.0.UMWMIXM
Also drop disabled and unused gnss services

Change-Id: I5da8b02daf11a84d5083810ab3bcbe613cf618bb
2024-11-16 12:59:08 +05:30
Michael Bestas
00aca9fe4a sky: gps: Remove all Wno-error flags
Almost all warnings/errors have been fixed.
Ignore undefined bool conversion error on purpose.

Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
2024-11-16 12:59:08 +05:30
Albert I
0a902acc71 sky: gps: Implement list empty error code for msg_q
This fixes enum-conversion warning due to implicit type enum casting
between linked_list and msg_q which happens only for status -6.

Change-Id: I27ba74c4d840b7ba0cb1017d69a30fc25b80d6b9
2024-11-16 12:59:08 +05:30
Albert I
bfce8d058d sky: gps: Address logical-op-parentheses warning
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
2024-11-16 12:59:08 +05:30
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