Age | Commit message (Collapse) | Author |
|
SBMerger: 571992243
Change-Id: I2be5f584759847af84525e4d72d060912c073952
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 571992243
Change-Id: I9b8f253b1c06a0525124e2325a13af4669c9f1fb
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
This change ensures that the struct dma_heap that is passed in
the file descriptor via ioctl is created/maintained by aoc.
Bug: 313424730
Test: researcher's PoC doesn't print handle
Change-Id: I408872a66964bd4d03d3b09794b2eb626028b60b
Signed-off-by: Ismael Castro <iicastro@google.com>
(cherry picked from commit 7672a4aaa5bb92bc69337942e5fa047e4964ae62)
|
|
SBMerger: 571992243
Change-Id: Iac42b53b23a42f55678602fad8c999f8761f3e6c
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Support dynamic change PDM mask for normal recording
and voice uplink. In AoC with differnt projects.
PDM and microphone may not map with same order, so it
need to adjust mask order. Add control to adjust it.
Bug: 299035199
Change-Id: I6c425126f9151b7433034718abe231e084ecd555
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Test: on device
Bug: 309950738
Change-Id: I60c14d8d89847c0681ff285b1f4d26d37858be18
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
The NULL termination was wrong when triggered from ALSA, due to trigger_watchdog
passing strlen (without NULL) as the count. The explicit NULL termination here would
overwrite the last character, but strscpy is supposed to use the full size of the
destination buffer and handle NULL termination itself.
Bug: 309902598
Change-Id: I9cf91660a5fd85fdcc2589dafa5f3c8af4e0fdb8
Signed-off-by: Craig Dooley <dooleyc@google.com>
|
|
This CL adds the necessary entries in the aoc_chan driver to handle the
new channel that will be used by BT.
Bug: 308452948
Test: Validated locally.
Change-Id: I4227029dbdbaa56858d6a45b1970dc65e9599db6
Signed-off-by: Luis Delgado de Mendoza <luisddmg@google.com>
|
|
move spatial eanble control to mixer control from HAL
Bug: 278650628
Change-Id: Ic8b186235ce7ffe884b82a958faddd013fba7930
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Test: on device
Bug: 307383094
Change-Id: Id474c099fa8392e3379b7a2a8861bf508951352a
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
It cause next probe fail after DEFER
Bug: 303681990
Change-Id: I40bc1808f3ad3ed5367af24747ead6a6ee851f0c
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Test: on device
Bug: 307383094
Change-Id: I9a1949810a1cf8352d6708a1759053e36e1fb921
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Change the struct of aoc_moldule_parameters so that we can access the
up-to-date value all the times.
Bug: 303187479
Test: trigger AoC SSR multiple times by aocutil reset
Change-Id: I6f5d8cc27560049273cf32d08ce42964349eac5b
Signed-off-by: Guan-Yu Lin <guanyulin@google.com>
(cherry picked from commit 01fbb47b203b19d46890270475196320b4b30ca3)
|
|
Bug: 300854197
SBMerger: 571992243
Change-Id: I892f6aa147f6cb4e7f81e2ce4dcb1f0504b2e1d4
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
when coredump is corrupt, the value of num_sections
from ramdump_header may larger than the number of
sections. Out of range access will cause the KP.
Bug: 302929196
Change-Id: I423886cb8223617d84cf1b21231a914c70a30dd2
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Conflict files:
aoc.c
Bug: 300854197
SBMerger: 571992243
Change-Id: I4f8cbdab0ca7783ac37cbfc5fb326de12703d481
Signed-off-by: Pindar Yang <pindaryang@google.com>
|
|
Test: on device
Bug: 297923758
Change-Id: I9cf221a8673fd87884043d4c6472c07ef90e11d5
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
It has chance hit KP when GSA unload FW and AoC SSR
then write coredump to dram without permission.
Also sync irq control flow with watchdog_irq.
Bug: 297627980
Change-Id: Idbfb71e2b729719ef5e93f9b68d6022396fa580a
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Bug: 300854197
SBMerger: 558810260
Change-Id: Ia0c91cabf4df69e46de4f00dda6b062ec38a5e40
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 299407821
Test:
1. Verified VoIP record(incall_cap0) only scenario on T6 Pro
2. Verified the live caption(incall_cap0) for voice-call on C10
3. atest VtsHalAudioV7_1TargetTest
Change-Id: Ib1c3e9760390d8a733b1027210ff1561d55256b4
Signed-off-by: Carter Hsu <carterhsu@google.com>
|
|
The ALSA pcm lib driver assumes one period data was consumed in the
snd_pcm_update_hw_ptr0 function when updating the hw_ptr.
Update the hw_ptr if the consumed data size is equal to or
bigger than one period size.
Bug: 295546940
Test: Local test
Change-Id: I668c4272dbccb08fe7c46105b3c74b3a64bdd2d5
Signed-off-by: millerliang <millerliang@google.com>
|
|
Set the stream type for pcm playback to mmaped
if runtime->access is SNDRV_PCM_ACCESS_MMAP_INTERLEAVED.
Bug: 283402753
Test: Playback and Record
Change-Id: Ib62931a42364089b44b32289b661a4798c0e23f4
Signed-off-by: millerliang <millerliang@google.com>
(cherry picked from commit d86f91a0e010d078d499184135fc460d3ecb30ab)
|
|
In mmap playback, it would destory the workqueue during AoC SSR.
Set the workqueue to null after destroying it to avoid acesss
after freed in pcm close.
Bug: 295074657
Change-Id: I258f124b3e8daaf9f160ec960f5ec86fd8f6227c
Signed-off-by: millerliang <millerliang@google.com>
|
|
Bug: 293828277
Test: tested on device
Change-Id: Ic8ad9a4a2ae8c4f032ea4d19a04d3f49161957cf
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 292144567
Test: verified on test build
Change-Id: I3a106431d4ce3468c8da262181d6ee6628848311
Signed-off-by: Carter Hsu <carterhsu@google.com>
|
|
If other process blocks the cpu too long in the common work queue,
the updating hw_ptr function cannot be executed on time.
Use a single workqueue to avoid it.
Bug: 289577164
Change-Id: I48853bb94ca816d77a5f32c2a1ff0927bc2b04e2
Signed-off-by: millerliang <millerliang@google.com>
(cherry picked from commit 0e40ca7fca8a1a4a31e5f3ef74cbd0cac070a654)
|
|
Bug: 282063178
Test: tested on device
Change-Id: I4c867c878683d1aa42d7493c74eda085502c5bf2
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
SBMerger: 526756187
Change-Id: I8a2bc57fe0e57bc5cd708d222924404bc269d497
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 286990893
Test: tested on device
Change-Id: I4bc8acd5a004091be187606ed0260120e96be6ea
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 289710588
Test: tested on device
Change-Id: I89a5f62cfa80e21479e6b62bc722ddf6c5e97513
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
CTS Sensor/DeviceSuspendTests was failing because the device fails
to enter the suspend state.
Bug: 288985122
Fix: 288985122
Test: Validated CTS passes.
Change-Id: I1cfdae577e8e3636795afc9b900b50585db6da5a
Signed-off-by: Luis Delgado De Mendoza <luisddmg@google.com>
|
|
SBMerger: 526756187
Change-Id: I9e65ac9827d1bc59c0f760fb4e117d96026c276a
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 287265271
Test: tested on device
Change-Id: I3c165fe2719d5d667a8e020d947e2ebcc47a5bdc
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
SBMerger: 526756187
Change-Id: If9309e45a758da9b5ff385e497f019facf0bc905
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Do not queue a work if the cancel_work_sync is in progress.
Bug: 284055134
Change-Id: I7e2a5b12ccd6cc28b23f15ea65fe4d66fe379b25
Signed-off-by: millerliang <millerliang@google.com>
|
|
SBMerger: 526756187
Change-Id: I716c6b56263ba4763860880135b07d87e2e8fa91
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
The USF service propagates these power commands to the other entities
that need to act on it so there is only a need to send it to the wakeup
USF service and the others will react accordingly.
There is also no need to propagate this message to the USF non-wake-up
channel because USF makes the necessary changes internally when the
command is received in either channel.
Bug: 283488727
Test: in-device verification.
Change-Id: Ic9dc011c22498acc3cfa79e04397b5352afedc3d
|
|
Bug: 277560840
Change-Id: I5b8bdeaa4c34f0333a841e86dcd48833b72353e9
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Bug: 283492323
Test: tested on device
Change-Id: I1cbbe5aca89a1420841f50362783e001a22fc1d7
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 283492323
Test: tested on device
Change-Id: I18bab98d778892ceed377186d1d02a9b0f9e06d7
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Prevent hit NULL pointer during aoc crash.
Bug: 282328516
Change-Id: Iad9358fe1ce7731279385294425a6f795bc5ec48
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Bug: 279944255
Test: tested on device
Change-Id: Iefc5fd83f00f5b54c4ff4feee1e65b1571240721
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 281075359
Test: tested on device
Change-Id: I017085b59837d885525106bccb97f0687c4df473
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
This CL adds the chre channels to the list of channels handled by
the MUX.
CHRE needs the MUX to keep 100% feature parity with what they have
running through USF.
Bug: 279597610
Test: in-device verification.
Change-Id: Ib60f89792dcb48f6c35cfed9eb85f52c4e65a4c0
Signed-off-by: Luis Delgado de Mendoza Garcia <luisddmg@google.com>
|
|
note:
Add a new aoc service. Which would provide
hotword pipeline in aoc to pcm driver.
Add new mixer ctl for hotword_tap enabling.
Hotword tap only lands for 201 or newer.
Bug: 277194544
Test: manually test end-to-end on device
Change-Id: I859574eedb3887857bb809bb824b0dd545058f02
Signed-off-by: Rios Kao <rioskao@google.com>
|
|
Free the irs handler to stop triggering the irq process
function before clearing the work queue.
Add null check in the irq process functions.
Bug: 279317502
Change-Id: I55bdb88177132b29af94e54804ff38e573d4a86c
Signed-off-by: millerliang <millerliang@google.com>
|
|
Bug: 279670904
Test: tested on device
Change-Id: I5cff7e9db40ebfbc44b47c76c88d0d0a841c1134
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Set the isr process functions in alloc_aoc_audio_service
and free the handler in free_aoc_audio_service
Bug: 277633636
Change-Id: If4f613a4f8bc0d080987c88362de32d0e939a636
Signed-off-by: millerliang <millerliang@google.com>
|
|
android13-gs-pixel-5.10-udc" into android13-gs-pixel-5.10-udc
|
|
Bug: 255246572
Change-Id: I3a1d12a084afc583c0e307ecb55e2beaf6ca7012
Signed-off-by: Pindar Yang <pindaryang@google.com>
|