Commit graph

1923 commits

Author SHA1 Message Date
Edwin Tung
8cac3a801a gps: update gps 4.13.2_23_2
Fix deadlock during assert handling
Handle CP commanded resets
Supports both 16k and 4k aligned images

Bug: 346672615
Bug: 346948413

Test: b/350374065
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2765f273beb8802e9916be56ac650f42138dc95b)
Merged-In: I3ee61de44d4612f965c879fc32d872f20906ec5d
Change-Id: I3ee61de44d4612f965c879fc32d872f20906ec5d
2024-07-09 02:35:52 +00:00
Herbert Xue
49ee5cf28e Convert sensors.akita to Android.bp
Bug: 351252378
Test: lunch aosp_akita-trunk_staging-eng && m sensors.akita
Change-Id: I8f2743771995826b1bf14720bd2333f9257bc9e3
2024-07-05 15:48:22 +08:00
Vilas Bhat
60c1046303 16k: Configure 16k developer option for akita
Enable 16KB developer option on akita depending on whether
RELEASE_GOOGLE_AKITA_16K_DEVELOPER_OPTION flag is defined.

Bug: 295035851
Bug: 349877551
Test: m with akita-trunk_staging-userdebug
      Manually tested 16K developer option to ensure device boots with
      16K page size
      $ adb shell getconf PAGE_SIZE
      16384
      $ adb shell uname -a
      Linux localhost 6.1.84-android14-11-g81e9f0610c73-ab12043309 #1 SMP PREEMPT Tue Jul  2 00:47:27 UTC 2024 aarch64 Toybox
Flag: build.RELEASE_GOOGLE_AKITA_16K_DEVELOPER_OPTION
Change-Id: I9406f8271be0cd3a88680b745ceac6f625dd8851
2024-07-03 21:36:42 +00:00
Vilas Bhat
b08bf20df8 16k: Do not set TARGET_ vars in device-akita.mk
TARGET_ build variables MUST NOT be set up in device*
files. In the device* files, the PRODUCT_ variables are not
defined properly and only after the build system finishes
parsing all the product files, we can set up TARGET_ vars
based on PRODUCT_ vars. During the parsing of the BoardConfig
files, the PRODUCT_ vars are defined and their values can
not be changed.

The variables removed affect only 16kb page size target and they are
set in either device/google/zuma/BoardConfig-16k-common.mk (which is
already inherited by device-akita.mk) or in akita_16k.mk.

Bug: 349877551
Test: $ lunch akita_16k-trunk_staging-userdebug
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_KERNEL_DIR
      device/google/akita-kernels/6.1/trunk-12043309/16kb
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: Ia62ed7f3f794390d2f9344cf394046f013c63838
2024-07-03 21:30:47 +00:00
Vilas Bhat
bcdfc618bc Revert "16kb: Disable GNSS service on akita_16k target"
This reverts commit 1e0076ecbc.

Reason for revert: GNSS service is now re-aligned to 16k in commit I3ee61de44d4612f965c879fc32d872f20906ec5d

Bug: 344687661
Change-Id: I284e083764c1a4d927af8dac2da005be0994d04c
2024-07-03 21:29:50 +00:00
Edwin Tung
a435081511 Merge "gps: update gps 4.13.2_23_2" into main 2024-07-02 05:54:16 +00:00
Android Build Coastguard Worker
3afcd04f87 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27837277', 'googleplex-android-review.googlesource.com/27949018'] into 24Q3-release.
Change-Id: I918f0b7cf59071b9e785ca05fc13683108d7366f
2024-07-02 03:55:40 +00:00
Edwin Tung
d9966975d1 gps: update gps 4.13.2_21
Resolve a defect in SUPL partial downlink data assembly
Make capability list in SUPL_START and SUPL_POSINIT consistent
Resolve CTS test failure on: testListenForGnssMeasurements

Bug: 341867336
Bug: 344772365
Bug: 347536254

Test: b/348538253
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:36479978d4c44f86b5b2ea957f281966c9633032)
Merged-In: I6cffab06d1ae3d242ded5750d643b05848795042
Change-Id: I6cffab06d1ae3d242ded5750d643b05848795042
2024-07-02 03:36:09 +00:00
Edwin Tung
d9e14ec27e gps: update gps 4.13.2_20
BiasNanos and FullBiasNanos is not always available when GNSS time is valid
Implement in-place matrix multiplication without dynamic stack
Add an option to pass a temp buffer to matrix utilities
Remove dynamic stack allocation
Hold off assert if CP resets while resetting
Fix ptimer pool overflow on repeated position requests
Request position aiding on pos req
Resolve a crash in lal
Add IGnss_V4_0 support for Android V
Correct the criteria for NI-SUPL Wifi
Resolve a race condition in SUPL OTDOA
Request emergency status upon SUPL-NI
Update LTE/NR CellInfo validation
No SUPL SI in 2G network
RNS MDT support
Prevent double free in host CHPP
SSB_SW_VERSION message not handled in time
Fix 5300 CHRE wakeup issue
UBSAN out-of-bounds: UTIL_bdsB1cCheckCRC24
Re-enable chub in K41 cfg

Bug: 324656720
Bug: 333819307
Bug: 336202517
Bug: 317681301
Bug: 342098775
Bug: 342303082
Bug: 343759053
Bug: 326494291
Bug: 339567953
Bug: 344712213
Bug: 344720565
Bug: 339790953
Bug: 336200226
Bug: 345062711
Bug: 333849828
Bug: 334722223
Bug: 342303082

Test: b/347124957
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:52945e34ba664c5831bd1e746c6ca24bfc47e73c)
Merged-In: Ief402b34bad1980ddb4bcb497e3f2c1ce8806b91
Change-Id: Ief402b34bad1980ddb4bcb497e3f2c1ce8806b91
2024-07-02 03:35:57 +00:00
Edwin Tung
2765f273be gps: update gps 4.13.2_23_2
Fix deadlock during assert handling
Handle CP commanded resets
Supports both 16k and 4k aligned images

Bug: 346672615
Bug: 346948413

Test: b/350374065
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I3ee61de44d4612f965c879fc32d872f20906ec5d
2024-07-01 11:24:18 +08:00
Vilas Bhat
1e0076ecbc 16kb: Disable GNSS service on akita_16k target
GNSS service binary is currently 4k ELF aligned. Hence, it is
temporarily disabled while bringup with 16k page size is in progress.
This will be reverted when b/346851807 is fixed.

PRODUCT_BOOTS_16K is defined only in akita_16k.mk, hence no other
targets will be affected.

Bug: 346851807
Test: Built and flashed akita_16k-trunk_staging-userdebug on Pixel 8a
      successfully
Flag: build.trunk_staging
Flag: build.trunk
Flag: build.next
Change-Id: I743c8d40edb64edecaaaadf2d2deb79e65a973b2
2024-06-28 23:49:35 +00:00
Vilas Bhat
a826e86b05 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs
The build flag PRODUCT_BOOTS_16K will be used to select
whether akita devices would boot with 16kb or 4kb page size kernel.

Bug: 347107885
Test: $ source build/envsetup.sh
      $ lunch akita_16k-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR
      device/google/akita-kernels/5.15/trunk-12022022/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/akita-kernels/5.15/trunk-12022022/kernel-headers
      $ get_build_var PRODUCT_BOOTS_16K
      true
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: Ibcd851c7493c38726b19f57d52c4422e9e228b1d
2024-06-28 23:49:13 +00:00
Lokesh Kumar Goel
b04f5d3274 akita: Use build_flags for SVN
Flag: build.RELEASE_SVN_AKITA
Bug: 332726030
Change-Id: Ia8a7f80c40eb39c8b2cf835ac7733da1585731d7
2024-06-27 23:12:04 +00:00
Tom Huang
3474c2a6c9 Merge "BT: update LEA unicast allowlist" into main 2024-06-27 06:10:25 +00:00
Treehugger Robot
58582748ba Merge "gps: update gps 4.13.2_21" into main 2024-06-26 13:33:34 +00:00
Xin Li
5b1323954f [automerger skipped] Revert "DO NOT MERGE ANYWHERE" am: 03e23caae0 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/28032499

Change-Id: I45b36b80ec2b0e33aebebf285eed714a2d45f988
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-25 12:26:55 +00:00
Xin Li
03e23caae0 Revert "DO NOT MERGE ANYWHERE"
DO NOT MERGE ANYWHERE Revert submission 27954911-bandaid_348495820

Reason for revert: proper fix for b/347068412 is in.

Reverted changes: /q/submissionid:27954911-bandaid_348495820

Change-Id: I89f86605a09ec4fe6cf52307754b4982a0efa53f
2024-06-25 09:26:56 +00:00
chenkris
4f796e916c Revert "Build g7_trusty_next for “next” configuration"
This reverts commit b809e696bf.

Bug: 348542941
Test: build
Change-Id: Id630c40d9eed97409cb52ee5fa63f4ebfc7ddec1
2024-06-24 11:16:16 +00:00
kuanyuhuang
1af98bd53e BT: update LEA unicast allowlist
Add Sony WF-1000XM5 into unicast default allowlist.

Bug: 349027282
Test: build and check system property
Flag: NONE allowlist extension
Change-Id: Ib8e9d200b88f8d6626515602c7d2a5b994612921
2024-06-24 08:58:24 +00:00
KRIS CHEN
29d7f04519 Merge "Build g7_trusty_next for “next” configuration" into main 2024-06-21 07:16:54 +00:00
chenkris
b809e696bf Build g7_trusty_next for “next” configuration
Bug: 348542941
Test: build
Change-Id: Idcd79c569d34b18680cd6fec836cae9b16014e81
2024-06-21 04:20:26 +00:00
Edwin Tung
36479978d4 gps: update gps 4.13.2_21
Resolve a defect in SUPL partial downlink data assembly
Make capability list in SUPL_START and SUPL_POSINIT consistent
Resolve CTS test failure on: testListenForGnssMeasurements

Bug: 341867336
Bug: 344772365
Bug: 347536254

Test: b/348538253
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I6cffab06d1ae3d242ded5750d643b05848795042
2024-06-21 11:45:09 +08:00
Xin Li
ed87409da7 [automerger skipped] DO NOT MERGE ANYWHERE am: 3a52399175 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27954911

Change-Id: Ie3541a3a8aae4c1fb98fca77e617402114003e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-21 02:33:16 +00:00
Xin Li
3a52399175 DO NOT MERGE ANYWHERE
akita: Temporarily set kernel and bootloader to an existing place

This should be reverted once we have a better solution.

Bug: 348495820
Merged-In: Ia24088ab76973c93dbae76031e3df253c89de8a1
Change-Id: I63b0cfc8917767b979ddb4a25bb5205f195a61c2
2024-06-21 02:11:54 +00:00
Xin Li
c74c0721f3 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 05d8f24336 -s ours
am skip reason: Merged-In Id37fb8c2599d72b0ee591cf0080c73ab1cc31690 with SHA-1 4e1cbcf94c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27908493

Change-Id: I5a4f31945ee33d922acadf75e4634477381301dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:09:05 +00:00
Leonard Ian
33be02774f Merge "conf: Enable access for braking time sysfs nodes" into main 2024-06-20 06:22:59 +00:00
Treehugger Robot
682e0df867 Merge "gps: update gps 4.13.2_20" into main 2024-06-20 05:34:16 +00:00
Leonard Ian
0ceca08af6 Merge "Enable all primitive effects" into main 2024-06-20 05:11:23 +00:00
Xin Li
05d8f24336 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Id37fb8c2599d72b0ee591cf0080c73ab1cc31690
Change-Id: Ia24088ab76973c93dbae76031e3df253c89de8a1
2024-06-18 14:13:21 -07:00
Treehugger Robot
936b2866d1 Merge "16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on akita targets" into main 2024-06-17 22:48:44 +00:00
Ankur Bakshi
2a4fbd1257 Merge changes from topic "aug-set1" into main
* changes:
  Update Akita SVN to 15
  Update Akita SVN to 14
  Update Akita SVN to 13
  Update Akita SVN to 12
  Update Akita SVN to 11
2024-06-17 05:04:31 +00:00
Android Build Coastguard Worker
85587d0ac9 Snap for 11973804 from 4e1cbcf94c to 24Q3-release
Change-Id: I2afb4e6c42f5057de675fe9390f8ae1382815fac
2024-06-15 01:01:14 +00:00
Edwin Tung
52945e34ba gps: update gps 4.13.2_20
BiasNanos and FullBiasNanos is not always available when GNSS time is valid
Implement in-place matrix multiplication without dynamic stack
Add an option to pass a temp buffer to matrix utilities
Remove dynamic stack allocation
Hold off assert if CP resets while resetting
Fix ptimer pool overflow on repeated position requests
Request position aiding on pos req
Resolve a crash in lal
Add IGnss_V4_0 support for Android V
Correct the criteria for NI-SUPL Wifi
Resolve a race condition in SUPL OTDOA
Request emergency status upon SUPL-NI
Update LTE/NR CellInfo validation
No SUPL SI in 2G network
RNS MDT support
Prevent double free in host CHPP
SSB_SW_VERSION message not handled in time
Fix 5300 CHRE wakeup issue
UBSAN out-of-bounds: UTIL_bdsB1cCheckCRC24
Re-enable chub in K41 cfg

Bug: 324656720
Bug: 333819307
Bug: 336202517
Bug: 317681301
Bug: 342098775
Bug: 342303082
Bug: 343759053
Bug: 326494291
Bug: 339567953
Bug: 344712213
Bug: 344720565
Bug: 339790953
Bug: 336200226
Bug: 345062711
Bug: 333849828
Bug: 334722223
Bug: 342303082

Test: b/347124957
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: Ief402b34bad1980ddb4bcb497e3f2c1ce8806b91
2024-06-14 11:27:21 +08:00
Vilas Bhat
0287e6ec07 16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on akita targets
Test: $ source build/envsetup.sh
      $ lunch akita-trunk_staging-userdebug
      $ get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
      true
Bug: 344687661
Bug: 347122169
Change-Id: I4e56ee73eed661fc962a2a2d93696385b692be07
2024-06-14 03:02:54 +00:00
vincenttew
4e1cbcf94c audio: add sound dose offset curve
Bug: 313395588
Test: boot to home, HIDL/AIDL w/wo xml configuration
Change-Id: Id37fb8c2599d72b0ee591cf0080c73ab1cc31690
Signed-off-by: vincenttew <vincenttew@google.com>
2024-06-14 02:37:58 +00:00
Android Build Coastguard Worker
5564915824 Snap for 11967491 from c731428b77 to 24Q3-release
Change-Id: Ie1abbdd16db9f05bc8c9fcd55c8e267f0a6d4a11
2024-06-13 23:01:10 +00:00
Cheng Chang
c731428b77 gps: Fix the build break
Bug: 332204989
Test: Verify the compile successfully at b/332204989
Change-Id: I76c9ee16bea513e6fa784a764f4878ef4e2c0ab5
2024-06-13 01:47:34 +00:00
Android Build Coastguard Worker
284b69a7f3 Snap for 11959661 from 1e69353f5c to 24Q3-release
Change-Id: I0a6a84bc8f45db060ede78656280244fae5de8a6
2024-06-12 23:01:33 +00:00
leonardian
a555a992b3 Enable all primitive effects
- Remove ro.vendor.vibrator.hal.supported_primitives to support all
  primitive effects
- Set ACTUATOR_MODEL to legacy_zlra_actuator

Bug: 342062469
Test: idlcli commands
Test: atest PTS, VTS, CTS
Test: Checked HAL dumpsys for durations
Change-Id: I4468040ff84c7c6e10c6b5dc08c34a972d234c66
2024-06-12 07:03:21 +00:00
Peter (YM)
1e69353f5c Merge "thermal: Move TPU to the VSKIN-SOC PID loop" into main 2024-06-12 03:06:40 +00:00
Android Build Coastguard Worker
8ecc7adc33 Snap for 11954976 from 8ec9a1a27c to 24Q3-release
Change-Id: I5954a8ee5d158a13c14e66ca840de5ae8fabcaf3
2024-06-11 23:01:42 +00:00
Ed Tam
8ec9a1a27c Update AOSP Akita release config map path
Bug: 345972201
Change-Id: I0459a6531d0429471fe6232e868e26cfdb05ae83
2024-06-10 19:09:00 +00:00
George Verhaegen
49d40a19ba audio: update mixer table for re-mapping mics on Akita
Bug: 346324901
Test: On AK3
Change-Id: I9d58ca80bce9fc9c0bcfc7bd2943cdf13452b7f4
Signed-off-by: George Verhaegen <verhaegen@google.com>
2024-06-10 17:05:11 +01:00
Android Build Coastguard Worker
bbf012fb01 Snap for 11944020 from 2e7593c784 to 24Q3-release
Change-Id: Ib24b07897a4f99232334cc48f9ac65bd777b1872
2024-06-08 01:01:36 +00:00
Xin Li
2e7593c784 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 896a728433 -s ours
am skip reason: Merged-In I3c429fb5b476b4023b0bbe6174b096cf61dbf8cc with SHA-1 b50cdb7c73 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27554773

Change-Id: I43db9878a982cfbbe01b68d91e35082d3d7e0a66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:32 +00:00
Xin Li
896a728433 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I3c429fb5b476b4023b0bbe6174b096cf61dbf8cc
Change-Id: I1cda57f2fe6f2cabbdab38b73b8025bc035b523c
2024-06-05 14:12:12 -07:00
Ankur Bakshi
be8299afa7 Update Akita SVN to 15
Bug: 336526332
Change-Id: I86942ff5e49632bc7813b895d19c7bc8a554ff81
2024-06-05 20:24:01 +00:00
Ankur Bakshi
e88cb1b292 Update Akita SVN to 14
Bug: 336526332
Change-Id: I33aa4b1b2b00f4345b02a1c0e8ab8c77de6a0437
2024-06-05 20:22:56 +00:00
Ankur Bakshi
dfd155f5f0 Update Akita SVN to 13
Bug: 336526332
Change-Id: I58d0f6263c5d73ec3c18d3532464e94e71100bc7
2024-06-05 20:21:12 +00:00
Peter (YM)
a8b2380667 thermal: Move TPU to the VSKIN-SOC PID loop
Bug: 345115917
Test: run TPU test
Change-Id: I13ec28e2046398f6d019c3f30833b21fc8607e47
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-05 07:25:49 +00:00