summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-13Merge tag 'LA.QSSI.13.0.r1-11900-qssi.0' into tachibana-mr1tachibana-mr1alk3pInjection
"LA.QSSI.13.0.r1-11900-qssi.0" Change-Id: I83e77f2b1162311920ba7b553a5eecfa4cd933fb
2023-10-06Merge 9ff24c86e0664c270ea37fcf377fc8fdd7f0558e on remote branchLinux Build Service Account
Change-Id: Ic1f5b9fac2446a24350af6e6a7598b7ed1bc6c6a
2023-09-29Snap for 10876279 from b5b7def30ce554fdaa3ed563ee9d8bdef165f88a to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I5a54d8e313cf4564547646016152c3f5a0cef236
2023-09-26Merge t-mpr-2023-10Omkar Sai Sandeep Katadi
Change-Id: I0711fc2f33f105e0815ea948ee0e7f7b90e6a94c
2023-09-23Merge 4c2d6b9af1715671e164264810f192419727aeb3 on remote branchLinux Build Service Account
Change-Id: I3cfdb5fc90c35f539b18dea0fb97cfa6f6d3c65e
2023-09-19Merge tag 'LA.QSSI.13.0.r1-11500.01-qssi.0' into tachibana-mr1alk3pInjection
"LA.QSSI.13.0.r1-11500.01-qssi.0" Change-Id: I09d513cc3e3ea0391a07ae7660542173c7c3f5cf
2023-09-11screenrecord: get codec capabilities & limit frame rate configurationMalathi Gottam
Screenrecord is using display refresh rate and configuring it as framerate for any dimensions (width*height) set. But few devices may not support this fps for given resolution causing encoder config failure. To avoid such issues, obtain corresponding performance point value and limit the frame rate, if its less than display refresh rate. CRs-Fixed: 3602397 Change-Id: I150590d2ce7d458af20a1740efc37efc1eb867be
2023-09-11Merge cherrypicks of ['googleplex-android-review.googlesource.com/24303962', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/24303957', 'googleplex-android-review.googlesource.com/24433390'] into tm-platform-release. Change-Id: I44d65fdeb9b6c2fbf7977b46564387dafb7ecb68
2023-09-11Initialise VPS buffer to NULL in constructorVenkatarama Avadhani
Missing initialisation of this pointer could lead to an incorrect free if the ARTWriter object is cleared immeddiately after the constructor call. Bug: 287298721 Test: rtp_writer_fuzzer (cherry picked from https://partner-android-review.googlesource.com/q/commit:2710696b001f2e95586151c1ee337a4e3c4da48a) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:900195c1d3589c7cbf9e116f61bebaefc0519101) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0efe2b4d6b739650039c2cab176ef11d5f5ac49c) Merged-In: I08eacd7a0201bc9a41b821e20cae916d8870147a Change-Id: I08eacd7a0201bc9a41b821e20cae916d8870147a
2023-09-11Fix heap-use-after-free issue flagged by fuzzer test.Shruti Bihani
A data member of class MtpFfsHandle is being accessed after the class object has been freed in the fuzzer. The method accessing the data member is running in a separate thread that gets detached from its parent. Using a conditional variable with an atomic int predicate in the close() function to ensure the detached thread's execution has completed before freeing the object fixes the issue without blocking the processing mid-way. Bug: 243381410 Test: Build mtp_handle_fuzzer and run on the target device (cherry picked from commit 50bf46a3f62136386548a9187a749936bda3ee8f) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:05f6e7b4bc7549a3160404557e6d7077733f5eb5) Merged-In: I41dde165a5eba151c958b81417d9e1065af1b411 Change-Id: I41dde165a5eba151c958b81417d9e1065af1b411
2023-09-11Fix for heap buffer overflow issue flagged by fuzzer test.Shruti Bihani
OOB write occurs when a value is assigned to a buffer index which is greater than the buffer size. Adding a check on buffer bounds fixes the issue. Similar checks have been added wherever applicable on other such methods of the class. Bug: 243463593 Test: Build mtp_packet_fuzzer and run on the target device (cherry picked from commit a669e34bb8e6f0f7b5d7a35144bd342271a24712) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b3768224b8c6330768c5006d50539d27a264da95) Merged-In: Icd0f2307803a1a35e655bc08d9d4cca5e2b58a9b Change-Id: Icd0f2307803a1a35e655bc08d9d4cca5e2b58a9b
2023-09-10libaudio: allow untyped symbolshpnightowl
Change-Id: I659d41cfec88d317d9018803d63fbe91e739af44
2023-09-06Merge b84385194fd520a5756dda8b42e6e49784a997d3 on remote branchLinux Build Service Account
Change-Id: I4fd045b994590cda4ed75ebd6c1a2aca1a72c2c0
2023-09-06Snap for 10765946 from a860beaf68faa48ab18d212de25e1abc8dd6fe9b to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I84f9042dda09c1aa336198ecf328b1132bfaee1d
2023-09-01screenrecord: get codec capabilities & limit frame rate configurationMalathi Gottam
Screenrecord is using display refresh rate and configuring it as framerate for any dimensions (width*height) set. But few devices may not support this fps for given resolution causing encoder config failure. To avoid such issues, obtain corresponding performance point value and limit the frame rate, if its less than display refresh rate. CRs-Fixed: 3602397 Change-Id: I150590d2ce7d458af20a1740efc37efc1eb867be
2023-08-25Snap for 10715106 from 4677bba22bb764185e90df53a35fc1c59376d619 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I78b62e58d234d631a109b7f8a4638e9ab7c5e6cf
2023-08-23Merge TPM1.230623.006Matt Lee
Change-Id: Ie841ee7d171b08b287601b6fc7f8d265b6f09ddb
2023-08-18Snap for 10678424 from e0878b6e8d615950686db6d9816b0f58b3a234b3 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ie67b1489579417f0c8ca78cb0c3d541ce816aa5b
2023-08-11Merge t-mpr-2023-08Matt Lee
Change-Id: Ibfc9a8c6ae793405e7b6ffdc796998c87e22de63
2023-08-09Merge 3ed1f6f307ed5dfbcdb58cabd66e07c5c58e5e24 on remote branchLinux Build Service Account
Change-Id: If7699f60f7f4f46271d34e837a844ccac7df030b
2023-07-31Merge cherrypicks of ['googleplex-android-review.googlesource.com/22316577'] ↵Android Build Coastguard Worker
into tm-platform-release. Change-Id: I8e3c72aa46d632a955d5497235e0a64c3723e3ab
2023-07-31Keep extra reference of shared memory for AudioTrack data callback.jiabin
Keep extra reference of shared memory for AudioTrack data callback so that the shared memory will remain valid when the native track is restored. Bug: 274815060 Test: manual Test: atest AudioTrackTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d42567cfabc94bf2ba0e2fe35c5183883bc563c8) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:89eb175a4d42b1cdf09ade820c8c72e0712a834f) Merged-In: I76ce5b7b14732eb6921791c7ab8f283b447710eb Change-Id: I76ce5b7b14732eb6921791c7ab8f283b447710eb
2023-07-27Merge 094a302f4c736ac046a987db53eb3ea20223c045 on remote branchLinux Build Service Account
Change-Id: Ibeaaae53fcd35dbf9cd9a36a6547bdd60f05530f
2023-07-21Snap for 10539968 from 9b7b2d9faba45da04a1dfa2609c1ed04e817d094 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I1a52a59cba9a5a3f20f1c0f93a7acfc7bf945f20
2023-07-21Snap for 10539839 from e2708a1aa97156e6d78d4bf9b32efdf64a597cea to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Idb8229524400bcdd07de8db0876ac5ea24ca1b5a
2023-07-21Merge changes from topic "am-1058f2d5-1ea2-43bc-a027-5957722250ee" into ↵Treehugger Robot
t-keystone-qcom-dev * changes: [automerger] MediaCodec:configuring block model for encoders am: 36a55afbcc MediaCodec:configuring block model for encoders
2023-07-21Merge "StagefrightRecorder: set stop time for compress audio recording as ↵Treehugger Robot
well" into t-keystone-qcom-dev
2023-07-19[automerger] MediaCodec:configuring block model for encoders am: 36a55afbccSachu George
Change-Id: I3e1567aee4bd150afa4c5f98da126fb9cacfe51e
2023-07-20MediaCodec:configuring block model for encodersSachu George
Configure camcorder encoder session with "CONFIGURE_FLAG_USE_BLOCK_MODEL" flag and restrict it with usage FLAG_USE_SURFACE_INPUT. as its only supported with surface use case. CRs-Fixed: 3370529 Change-Id: Ifaa3ada280f75f335a016303307aa80826522dbe
2023-07-18Merge cherrypicks of ['googleplex-android-review.googlesource.com/23914021'] ↵Android Build Coastguard Worker
into tm-platform-release. Change-Id: I23115d8b005f87e0de24efba20ae2e8f13e5acf5
2023-07-18Fix Segv on unknown address error flagged by fuzzer test.Shruti Bihani
The error is thrown when the destructor tries to free pointer memory. This is happening for cases where the pointer was not initialized. Initializing it to a default value fixes the error. Bug: 245135112 Test: Build mtp_host_property_fuzzer and run on the target device (cherry picked from commit 3afa6e80e8568fe63f893fa354bc79ef91d3dcc0) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c3929283feba3435c6f68942fd40b78eecaf553e) Merged-In: I255cd68b7641e96ac47ab81479b9b46b78c15580 Change-Id: I255cd68b7641e96ac47ab81479b9b46b78c15580
2023-07-13Merge 65b3023576c2c0ecb60982f7bb19087d9f02c779 on remote branchLinux Build Service Account
Change-Id: I8fe96b0404ef887811a05a8a5ce6da164c492245
2023-07-11Snap for 10466710 from 6ea2419c173d657fb8cc658ad92454e994bdf68b to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Icf5f21638fe716043fe0ff601bd4706cab1bc736
2023-06-29libcameraservice: Use BlockModel only for surface inputUma Mehta
CONFIGURE_FLAG_USE_BLOCK_MODEL can be enabled only for HW encoder component with surface input. When grid is used, surface mode cannot be configured. So, in case of grid, don't configure BlockModel. CRs-Fixed: 3514606 Change-Id: Ibe3da9cb754af77611f3a72165a2ba548d72f73d
2023-06-27Snap for 10384627 from 03bee649bd326acb31ea509f95d28b09e6f44402 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ibf89d82f8e53d1ecdb12e2adf34803d3a7de06a0
2023-06-23Snap for 10368679 from 556650d7a8c2f0f8a3a2c4a7e6133989925740bb to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I2679ae3a2a24bd0ca89e049abf19e893c845c8ef
2023-06-23Merge de55dabf2f4a98016e5e275b60ef9b6bb7595db7 on remote branchLinux Build Service Account
Change-Id: I504cfd2c5478b53bea33b0b51776546e7bce9c22
2023-06-23audioflinger: Normalize FrameCount for duplicating threadSujin Panicker
Duplicate output calculates frame count based on its corresponding peripheral HAL parameters rather than the Primary Audio HAL. However, this may lead to underruns in primary AHAL, where the Duplicating output frame count does not meet the min frame count required by AudioMixer for primary AHAL. Change is to normalize mNormalFrameCount based on the minimum frames expected by AudioMixer. CRs-Fixed: 3536120 Change-Id: I6fc46cad7f3c20e8f2352451c7946e7acbe70dea
2023-06-22Merge "Revert "audioflinger: Normalize FrameCount for duplicating thread"" ↵Deyao Ren
into t-keystone-qcom-dev
2023-06-22Revert "audioflinger: Normalize FrameCount for duplicating thread"Deyao Ren
Revert submission 1422968-am-2bfe4e89-8194-4a9c-b20d-19fbc2942988 Reason for revert: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] if (mType == MIXER || isDup && (kUseFastMixer == FastMixer_Static || ~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frameworks/av/services/audioflinger/Threads.cpp:3153:33: note: place parentheses around the '&&' expression to silence this warning if (mType == MIXER || isDup && (kUseFastMixer == FastMixer_Static || ^ ( Reverted changes: /q/submissionid:1422968-am-2bfe4e89-8194-4a9c-b20d-19fbc2942988 Change-Id: I9115a3cc8eddb2de88e4c4059f5aac72bea0ef40
2023-06-22Snap for 10316917 from 8513c5c04b5962bff7e6e2c5ddf4b086a3a16110 to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: I6e96052347551a3dced58803b2c141ed551bc84c
2023-06-22Merge "audioflinger: Normalize FrameCount for duplicating thread" into ↵Treehugger Robot
t-keystone-qcom-dev
2023-06-21audioflinger: Normalize FrameCount for duplicating threadSujin Panicker
Duplicate output calculates frame count based on its corresponding peripheral HAL parameters rather than the Primary Audio HAL. However, this may lead to underruns in primary AHAL, where the Duplicating output frame count does not meet the min frame count required by AudioMixer for primary AHAL. Change is to normalize mNormalFrameCount based on the minimum frames expected by AudioMixer. CRs-Fixed: 3536120 Change-Id: If9ec744976c8907de7b30d4c59a994a777fb6dea
2023-06-15Snap for 10323517 from 73fc75989d8aa23ea5990a98ef4a2a7188a44135 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Id16baab01ef3d010f1f95bfd21d0aa7a31a81de5
2023-06-09Merge t-qpr-2023-06Matt Lee
Change-Id: I69fcf408ac7a8294e79b056bb55adc4112a4118c
2023-06-09Snap for 10286564 from e224b5886074a8beae92bc295c3f61841c401a8a to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I846a135f09cd9bf9fffde235770dc817910c61ba
2023-06-08Snap for 10285248 from 6b948f292ba86032e41a2827f380fc3f2c57be5b to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: I49b5dc89cbe53c26f742a338519f5a8c84c5d6d3
2023-06-08Snap for 10285265 from 8513c5c04b5962bff7e6e2c5ddf4b086a3a16110 to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: I27cb6da16d09584dceb19376eb5e24f4666cf498
2023-06-08Merge cherrypicks of ['googleplex-android-review.googlesource.com/23245979'] ↵Android Build Coastguard Worker
into tm-qpr3-release. am: 95be9bad23 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/23463181 Change-Id: I9db43628914173fccfb703921c4a4ef0437ed864 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08Snap for 10276566 from 6b948f292ba86032e41a2827f380fc3f2c57be5b to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: I91ef231aef60b3f4a6ef81449859967e7f602281