summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-04Merge "Snap for 11526323 from 3a89c66e066a04e9d4d46189c5bea8091e0f4f76 to ↵simpleperf-releaseAndroid Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-03-04Snap for 11526323 from 3a89c66e066a04e9d4d46189c5bea8091e0f4f76 to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Ide5cb17513ec77a234b0958a0ecfee844fa2ff2c
2024-03-04Merge "audio: add feature flag for new headset profile and SCO audio ↵Treehugger Robot
management" into main
2024-03-04Merge "MultiAccessunitHelper: samplerate and channelCount" into mainTreehugger Robot
2024-03-04MultiAccessunitHelper: samplerate and channelCountArun Johnson
The sample rates and channel count should be quieried at the output rather than at the input. This will make sure that the codec reports values in the current stream. Test: atest android.mediav2.cts.CodecDecoderMultiAccessUnitTest Test: atest android.mediav2.cts.CodecDecoderBlockModelMultiAccessUnitTest Bug: 325512893 Change-Id: I88c2b778998ed91faca9d3664400e1e9c2ac2fa5
2024-02-29Merge "android.media.codec-aconfig-cc: Set double_loadable to true" into mainWonsik Kim
2024-02-29Merge "Signals audio codecs with Feature multiple-frames" into mainArun Johnson
2024-02-29Merge "Remove Android.mk files which are not needed any more." into mainWei Li
2024-02-29Merge "Moving MultiAccessunitInterface to ComponentStore" into mainArun Johnson
2024-02-28Merge "AudioStreamOut: Align with AudioStreamIn" into mainAndy Hung
2024-02-28Remove Android.mk files which are not needed any more.Wei Li
The license metadata declaration logic in these Android.mk files is moved to file build/make/core/tasks/meta-lic.mk. Bug: 316805918 Test: CIs Change-Id: I857de78d45f1ba7c9244874dba4616500f308b21
2024-02-28Merge "EffectBufferHalAidl: remove ashmem mapping" into mainShunkai Yao
2024-02-28Merge "Snap for 11510257 from 905ee08aeed239c41cea908e38f09d07d14a0a2b to ↵Android Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-02-28Snap for 11510257 from 905ee08aeed239c41cea908e38f09d07d14a0a2b to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: I440425d6670f22e5d2b542c4845043bd38eaf89e
2024-02-28AudioStreamOut: Align with AudioStreamInAndy Hung
Currenty the MixerThread bypasses AudioStreamOut::getPresentationPosition so inaccuracy in handling is avoided. Fix this to work for the linear PCM case. Test: atest AudioTrackTest (with and without AudioStreamOut usage) Bug: 326134469 Merged-In: I630d1e79bd591e6ce5e99ccec1df094e989be2f1 Change-Id: I630d1e79bd591e6ce5e99ccec1df094e989be2f1
2024-02-28Merge "VtsHalMediaC2: start thread pool" into mainWonsik Kim
2024-02-28Merge "media.c2 client: fix # of queried param count" into mainTreehugger Robot
2024-02-28android.media.codec-aconfig-cc: Set double_loadable to trueHarish Mahendrakar
Bug: 299191092 Test: Build Change-Id: I78cd7985d27753ac87f09b2b442913a3e5e786d3
2024-02-28EffectBufferHalAidl: remove ashmem mappingShunkai Yao
Bug: 326008399 Test: Enable AIDL effect on Pixel and test audio Change-Id: Ic2caab108a55dfd15b304cc208c140331b2535e2
2024-02-28Merge "AudioRecord: Fix capture timestamp after standby" into mainAndy Hung
2024-02-27VtsHalMediaC2: start thread poolWonsik Kim
Bug: 320568062 Test: atest VtsHalMediaC2V1_0TargetComponentTest Change-Id: Ib76a5ca5d2dcda3443f582e18804d84f78df131d
2024-02-27media.c2 client: fix # of queried param countWonsik Kim
Bug: 320568062 Test: atest VtsHalMediaC2V1_0TargetComponentTest Change-Id: Ibfdaa9f954c0622a3c063eb8f4e5fe9e94a8f9f7
2024-02-27Merge "Capture metrics for failed resource reclaim" into mainTreehugger Robot
2024-02-27Merge "audiosystem_tests: Fix false test failures" into mainAndy Hung
2024-02-26audiosystem_tests: Fix false test failuresAndy Hung
Fix the test helper listAudioPorts and listAudioPatches, which incorrectly fails on retry with BAD_VALUE. Test: atest audiosystem_tests Bug: 326655236 Merged-In: I8b7b59941b5029b8711d961ad792ddd64886b4fe Change-Id: I8b7b59941b5029b8711d961ad792ddd64886b4fe
2024-02-26Capture metrics for failed resource reclaimGirish
Bug: 323238132 Test: atest android.media.misc.cts.ResourceManagerTest atest android.media.misc.cts.ResourceManagerMultiTest /data/nativetest64/ResourceManagerService_test/ResourceManagerService_test /data/nativetest64/ResourceObserverService_test/ResourceObserverService_test Change-Id: I76641c9f61186af8f8ae32811d3d2a9d99edb38f
2024-02-26Merge "If the swcodec HAL is declared, then register it with servicemanager" ↵Devin Moore
into main
2024-02-23AudioRecord: Fix capture timestamp after standbyAndy Hung
Fix AudioStreamIn getCapturePosition handling since it is also used for linear PCM. Test: atest AudioRecordTest Bug: 308526758 Merged-In: Ia07e1ef0b15e7dace1dca882e7ab75df09706c9c Change-Id: Ia07e1ef0b15e7dace1dca882e7ab75df09706c9c
2024-02-24Signals audio codecs with Feature multiple-framesArun Johnson
Audio codecs that support C2LargeFrame params are exposed as codecs featuring multiple-frames support. Bug: 298052174 Bug: 325514918 Bug: 325512893 Test: atest android.mediav2.cts.CodecDecoderMultiAccessUnitTest Test: atest android.mediav2.cts.CodecDecoderBlockModelMultiAccessUnitTest Test: atest android.mediav2.cts.CodecEncoderMultiAccessUnitTest Change-Id: I6be0ee1fb2fad4a5d4ace78a62296f45f00efd86
2024-02-24Moving MultiAccessunitInterface to ComponentStoreArun Johnson
MultiAccessUnit interface could be created from store. This patch moves its creation from Component to ComponentStore. Corrects the implementation of FieldSupportedValues in MultiAccessUnit interface wrapper. Bug: 325512893 Test: atest android.mediav2.cts.CodecDecoderMultiAccessUnitTest Test: atest android.mediav2.cts.CodecDecoderBlockModelMultiAccessUnitTest Change-Id: I558022caac6922dc5f377b0e5cb351f437fb6fa1
2024-02-22If the swcodec HAL is declared, then register it with servicemanagerDevin Moore
If a HAL service is declared, it must be reachable at run time. vts_treble_vintf_framework_test verifies this. Don't base the registration of the HAL service on the SDK API level. VTS and libvintf can ensure it's registered correctly on devices. This change does still allow the flagging to disable the AIDL HAL for debugging purposes, but those devices will not pass VTS like that. Test: vts_treble_vintf_framework_test Bug: 279809333 Change-Id: Ia8c6bce0a670fbbcb2a3006c75a3d77a526f826e
2024-02-22Merge "VTS: enforce AIDL for media.c2" into mainTreehugger Robot
2024-02-21Merge "Volume Control: Modify Volume Level Range Values." into mainMikhail Naganov
2024-02-21VTS: enforce AIDL for media.c2Wonsik Kim
Bug: 325678782 Test: atest VtsHalMediaC2V1_0TargetMasterTest Change-Id: Id2c0c90ae23e1a959b262ad4525d3ec70f265bec
2024-02-21Merge "Fix Issue in MPEG4 Append" into mainTreehugger Robot
2024-02-21audio: add feature flag for new headset profile and SCO audio managementEric Laurent
Add flag sco_managed_by_audio to enable the new mechanism of headset profile management and SCO audio link activation in the audio framework. Bug: 265057196 Test: make Change-Id: I4c3a28990985987dfd2d85251f335867bb1c8c75 Merged-In: I4aa9988ed0c05a2e441f02c788f30acd528e04fd
2024-02-21Volume Control: Modify Volume Level Range Values.Sneha Patil
Using volume range in Decibels. Renamed the volume variables to clarify the unit. Bug: 305866207 Test: atest VtsHalVolumeTargetTest Change-Id: I345fe8383c316870eee63e74cebd2a88cb03be7b
2024-02-21Merge "audio: support restoreTrack for direct and offload track" into mainDorin Drimus
2024-02-20audio: support restoreTrack for direct and offload trackKuowei Li
1. For direct and offload track, setOutputDevice() must be called at stopped or flushed state. 2. Since mRoutedDeviceId will not be updated immediatly when default device in policy is changed, do not check mRoutedDeviceId in setOutputDevice(). Bug: 297164626 Test: Manual Change-Id: I323a6bbf7be9f757851d3adf25681d034deb8b22
2024-02-16Merge "media: add more feature flags" into mainLajos Molnar
2024-02-16Merge "Use HAL-provided config for getInputBufferSize" into mainMikhail Naganov
2024-02-15media: add more feature flagsLajos Molnar
Bug: 325512893 Bug: 325550522 Bug: 325549730 Bug: 325520135 Change-Id: I7931eec8a3f1264162130d5f7d11187bc12d6b1b
2024-02-16Merge "libaudioclient: Align test execution tracing" into mainTreehugger Robot
2024-02-15Merge "Add Spatializer support in libAudioHal" into mainShunkai Yao
2024-02-15Use HAL-provided config for getInputBufferSizeMikhail Naganov
Since getInputBufferSize is essentially the same operation as opening a stream, it can also suggest a config if the provided one is not supported. Modify AudioFlinger::getInputBufferSize implementation to retry with HAL-provided config. Bug: 318423731 Test: run `atest audioeffect_tests` on cf_x86_64_auto-trunk_staging-userdebug Change-Id: I0eb14966ce816674d631bfef097d243a0445c83b
2024-02-15libaudioclient: Align test execution tracingMikhail Naganov
Extract TestExecutionTracer helper and use it in all unit tests. Bug: 318423731 Test: m audiorecord_tests audiotrack_tests audioeffect_tests \ audioeffect_analysis audiorouting_tests \ audioclient_serialization_tests trackplayerbase_tests \ audiosystem_tests Change-Id: Ib588e560f5993e86689ac8fe65e129a967ecf874
2024-02-15Add Spatializer support in libAudioHalShunkai Yao
Bug: 273373363 Test: atest EffectsFactoryHalInterfaceTest Change-Id: I68bfc8388dac0f070a58351bc1d8836f8c50fc6c
2024-02-15Merge "libaudiohal@aidl: Use system property to detect ↵Mikhail Naganov
IHalAdapterVendorExtension" into main
2024-02-15Merge "Clear MultiAccessUnit SkipCutBuffer" into mainArun Johnson
2024-02-14Merge "Codec2 vndk: fix typo in C2AllocatorGralloc" into mainTreehugger Robot