-
Notifications
You must be signed in to change notification settings - Fork 0
Udc #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
skena678
wants to merge
10,000
commits into
tiramisu
Choose a base branch
from
udc
base: tiramisu
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4326fc0 to
3aab75d
Compare
Functions added - queueSecureInputBuffers - attachEncryptedBuffers - cryptoAsync for multiple access units Bug: 298052174 Test: atest android.media.drmframework.cts.MediaDrmCodecMultiAccessUnitTest Change-Id: I8053f40c2e15d29132441de06bacf2fa2f9ac1f2
* changes: cameraservice: remove unnecessary permission checks camera: Add flag for CameraDeviceSetup
The current implementation of getSessionCharacteristics forced Camera2 to open a corresponding CameraDevice. However, there is no technical limitation that prevents getSessionCharacteristics from being accessible before an openCamera call. This CL moves the getSessionCharacteristics to be a function in ICameraService instead of ICameraDeviceUser which allows camera2 to call getSessionCharacteristics before calling openCamera for a given device. Bug: 320741775 Test: atest CtsCameraTestCases:CameraDeviceTest passes. Test: atest CtsCameraTestCases:FeatureCombinationTest passes. Test: atest CtsCameraTestCases:CameraDeviceSetupTest passes. Test: atest cameraservice_test passes. Change-Id: Ia21f882fac5ece59dcd6a70e04b2f81ef6dee4c3
Bug: N/A Test: m -j offline-sdk-docs Change-Id: I8d5fc8d741c9d06c90a98ad2f582e848a981ac86 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Test: Build and test using kitchensink 1a09fd9 Change-Id: I751c5a783c721d0172e85cff66801369a5492a35
Change-Id: Ib97c43eee2667f4d5a4bd572dd79f8bc19fa8963
audio-framework-aconfig module is used to provide the generated srcjar files to the combined list located in frameworks/base/AconfigFlags.bp. Given that the list is now being replaced with aconfig_declarations_group module type for the ease in management, the list can no longer accept a filegroup of srcjar files. To maintain the current data flow of providing the list of java_aconfig_library modules, this change modifies the module type of audio-framework-aconfig from filegroup to aconfig_declarations_group. Test: m api-stubs-docs-non-updatable Bug: 320492079 Change-Id: Iab5a580ca87f2b9ff0441a1b374f3ee59a521954
This change replaces CHECK (which aborts the mediaserver upon failure) with validation and return with error code upon failure. Also, deprecated getService is replaced with waitForService Bug: 323920490 Test: atest android.media.recorder.cts.MediaRecorderTest Change-Id: I28f45ad07b27b60a60b98f14833c057f7d1da235
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com> Change-Id: Icdd9faf1015ab139acaa410e1dc2faa61b497f48
…295f0b Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2956772 Change-Id: I3d8061713ff8327e41ea2f3bdd21d0ba815b83ae Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2953818 Change-Id: Id38e443ad4202eda5de5669519fe9484b203dfef Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
…ed8fbf Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2940233 Change-Id: I3daa53d813f1907634bd5c8ce4c3b3ed0f4a3fbf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
…in am: bfe7b66 Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2949287 Change-Id: If7cb682b2d301a980493b7f956dec05a5bcc9a02 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
…295f0b am: 9bc1fcb Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2956772 Change-Id: Iddcc136f87b4c1ba13b05fbc0f3c96cbf56b7c9b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
…4a6be0 Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2953818 Change-Id: I0ee9b33844560462ef3a14dbcde4a62316957cab Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
…ed8fbf am: e1d89f8 Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2940233 Change-Id: I57537fa049bb789c49cb3ddb6f467969e30e0902 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
…in am: bfe7b66 am: dfb4f40 Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2949287 Change-Id: I1e569599026576730e6f586088f5859e7c8b2ec4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This CL is created as a best effort to migrate test targets to the new android ownership model. If you find incorrect or unnecessary attribution in this CL, please create a separate CL to fix that. For more details please refer to the link below, <add g3 doc link> Bug: 304529413 Test: N/A Change-Id: I6bc538dec03600aa3a7f7075209e031f2826baff
…dorExtension" into main
- Adding clear() to skipCutBuffer when flushing - MultiAccessUnitHelper flush will flush all frameIndexes within a buffer group and mark the frame comple when flagged with DISCARD Bug: 324224579 Test: Test: atest android.mediav2.cts.CodecDecoderMultiAccessUnitTest Change-Id: Icf735aab92c019638d8974031e8dcc24299f1a42
Bug: 324834453 Test: atest CtsMediaAudioTestCases Change-Id: Ia1de56763feefd79b5940cfd9082402fd084c78f
…d-14.0.0_r31 Android 14.0.0 Release 31 (AP1A.240405.002.A1) # -----BEGIN PGP SIGNATURE----- # # iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZgs/1gAKCRDorT+BmrEO # eDhFAJwIqIlCMu44pxc6BT/TBiDKpNaqfQCfZ/1nKrORdrUPUaBJ9CJFy/8GSOQ= # =GuOC # -----END PGP SIGNATURE----- # gpg: Signature made Tue Apr 2 02:14:30 2024 EEST # gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78 # gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal] # gpg: initial-contribution@android.com: Verified 2404 signatures in the past # 2 years. Encrypted 4 messages in the past 2 years. # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78 # By malikakash # Via Android Build Coastguard Worker * tag 'android-14.0.0_r31': Fix VendorTagDescriptorCache::getTagType Fix VendorTagId to be metadata_vendor_id_t Change-Id: I2b9c6feccdb50679f9db42559c25175066fe81f3
Timestamp validation method that was added doesn't work as expected when system time is sent as timestamp to the MPEG4Writer. Bug: 331723380 Test: atest CtsMediaMuxerTestCases Test: atest CtsMediaV2TestCases:MuxerTest Test: atest CtsMediaV2TestCases:MuxerUnitTest (cherry picked from https://android-review.googlesource.com/q/commit:f909d513c7bcb4c5e1db6da6440ed3e043b3657f) Merged-In: I9cf28cae0c4836035290123ae33cf6d94052585e Change-Id: I9cf28cae0c4836035290123ae33cf6d94052585e
… 24Q2-release. Change-Id: I8deecc5678615a07760a8c9220e7a0dfa3101c37
The getAudioPort API is supported since HAL version 3.0. Do not call getAudioPort API if it is not supported. Bug: 329548103 Test: dumpsys audio policy with USB device connected (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce66fa6dabf2440ccc0e848ef94ecb2a391905b4) Merged-In: I6e107c9a394bffc30728041c21b31e148d1d9f20 Change-Id: I6e107c9a394bffc30728041c21b31e148d1d9f20
Bug: 335547630 Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f174d1ed60fe574540013043024d02ebae4f6fe2) Merged-In: I0f5776edd58748195df61e4dae911df30f40e5b0 Change-Id: I0f5776edd58748195df61e4dae911df30f40e5b0
…95955'] into 24Q2-release. Change-Id: Ic34c67fd26e3cd3c14b3aac9cdf45d28f5888a44
Keep a set of cookies to signal when the DeathNotifier cookie is valid. Test: cd frameworks/av/media/libmediaplayerservice && atest -p Test: atest CtsCameraTestCases:android.hardware.camera2.cts.RecordingTest Test: adb shell kill -9 `pid media.swcodec` # during RecordingTest Bug: 319210610 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:55128e7467c39633d6b69a62b9e47096fadc5d3d) Merged-In: Id113b8af0708c3f93e6ddef90751692ac0f32855 Change-Id: Id113b8af0708c3f93e6ddef90751692ac0f32855
The ownership of the death recipient cookie is now limited to the TranscodingResourcePolicy object and the binderDied callback. They both must be able to delete the cookie object and they both must be aware of it already being deleted. In all cases, the TranscodingResourcePolicy object that needs to be unregistered will outlive the cookie and the death recipient. Calling unlinkToDeath is unneccessary because the last strong ref to the binder that was linked to death is removed in the unregisterSelf method which will unlink the binder and death recipient. Test: atest CtsMediaTranscodingTestCases MediaSampleReaderNDKTests Bug: 319210610 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0c674f5ff68daa64b90e1a234061ba9bebe6173c) Merged-In: I8e6ba40fe3da30bf8753e7a16ad5c8cd5dfda40b Change-Id: I8e6ba40fe3da30bf8753e7a16ad5c8cd5dfda40b
This reverts commit fea6b6f. Reason for revert: To start another ABTD run to find out if the build failure is reproducible. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61ed373ba34ddad4f7bbb3469981ca0a59ed78a8) Merged-In: I6b722876328a71aa5b3c49b53e487a3af966f998 Change-Id: I6b722876328a71aa5b3c49b53e487a3af966f998
…23958', 'googleplex-android-review.googlesource.com/26350308', 'googleplex-android-review.googlesource.com/27596965'] into 24Q2-release. Change-Id: Ie94ff616b03664caeacf4934f0b0814928951199
…d-14.0.0_r50 Android 14.0.0 Release 50 (AP2A.240605.024) # -----BEGIN PGP SIGNATURE----- # # iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzpQAKCRDorT+BmrEO # eJLtAJ43wF6qlq+J5XXdLJ+yWK58/er2DACfacvUKEF8Ioc8D8q6EaNj1laJ59M= # =oxwW # -----END PGP SIGNATURE----- # gpg: Signature made Tue Jun 11 00:44:05 2024 EEST # gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78 # gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal] # gpg: initial-contribution@android.com: Verified 2480 signatures in the past # 2 years. Encrypted 4 messages in the past 2 years. # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78 # By Andy Hung (28) and others # Via Automerger Merge Worker (486) and others * tag 'android-14.0.0_r50': (357 commits) MPEG4Writer: Remove timestamp validation VTS: check ro.vendor.api_level instead of ro.board.(first_)api_level Revert "Introduce AttributionAndPermissionUtils." Fix playbackHeadPosition after starting tracks with a startThresholdInFrames Add Java library to query state of VirtualCamera build flag. Fail if there's problem with tmp buffer during JPEG capture Only add the AIDL manifest decl when using unfrozen Remove Android.mk files which are not needed any more. Extend output format with downscalable resolutions AudioStreamOut: Align with AudioStreamIn Improve AudioMix registration/unregistration android.media.codec-aconfig-cc: Set double_loadable to true EffectBufferHalAidl: remove ashmem mapping AudioPolicyService: Make device effect init synchronous AudioSystem: Move AudioPolicyService fetch to ServiceHandler VtsHalMediaC2: start thread pool media.c2 client: fix # of queried param count Spatializer: replace parameters with AIDL type AudioSystem: Move AudioFlinger fetch to ServiceHandler audiosystem_tests: Fix false test failures ... Conflicts: media/codec2/sfplugin/CCodecBufferChannel.cpp services/camera/libcameraservice/utils/SessionConfigurationUtils.h Change-Id: Icadd2c7d79ab43dc7e7a740d9afc01d21f16ce6e
As framework change depends on HAL change . In those platforms only have framework change, the empty work couldn't be handled properly. Then the result C2_NOT_FOUND will be returned and framework will report a fatal error to client. We have to avoid such dependency issue CRs-Fixed: 2916108 Change-Id: I5270f5e2bd1922b84fb34364bb4cb8522ff389ec
Bug: 329641908 Test: presubmit Flag: EXEMPT security fix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:53298956ba6bb8f147a632d7aaed8566dfc203ee) Merged-In: I72523e1de61e5f947174272b732e170e1c2964df Change-Id: I72523e1de61e5f947174272b732e170e1c2964df
…47399'] into 24Q2-release. Change-Id: I541657f83b2593f0c5a37fbbed014ce2679b71c2
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com> Change-Id: I5ab5e594c030be032353344600c67f6d0d36e7f2 Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
* Give freedom to screen recorder apps Change-Id: I726bde4f44bba6fc8cd771ae90c8864b26cdd919 Signed-off-by: saikiran2001 <bjsaikiran@gmail.com> Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com> Change-Id: I394c85901be2e3daa1a22f52e787e920a78289c5 Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
* OEMs like OnePlus and Nothing detect camera package name to unlock features like 48mp. Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com> Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
* Required by OnePlus / Oplus Camera. Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com> Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
This prevents Dolby Atmos from turning off automatically. Change-Id: Ib9f2e23689e5ef1d6999539bd0a12ea19069b1bc (cherry picked from commit 5bc55cf1434fbc7ef4215fcddd12862b1b1da82b) Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
…oder lib Change-Id: I3b85c15889c9e3aef152e726a83936234103254e OMX: Remove support for prebuilt ac4 decoder Requires proprietary Dolby changes in libstagefright. This partially reverts commit 01090fa125c2993654e18e024ddf7cef87bca30e. Change-Id: Ifdf36ad253155e77ba14d0624612bf6be6711ca6 Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
Change-Id: Id7fb1b6385c75b05cd3413c776ff577b1d460f88 Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: tejas101k <tejassingh649@rediffmail.com> Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
SystemUI needs to call these but it runs under app UID. It's not really necessary anyway since the framework API requires MODIFY_AUDIO_ROUTING permission which is granted only to system apps. Change-Id: Iecfd17207d8651846a919b33c39bdc2d7eb434ec Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
We need to use this from SystemUI which runs under app uid. Instead check for MODIFY_AUDIO_ROUTING permission which is granted only to select system apps (including SystemUI) and also matches the API @RequiresPermission annotation in framework. Change-Id: Ib78565c15cbdc8619bf94240a2329e97fd40c6a9 Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
On Redmi Note 8 (ginkgo): * miui camera uses logical id 61 as depth sensor on portrait mode but oss libcam maps it to physical id 2 which is wrong, our physical id of depth sensor is 20 so we must hack it this way Set appropriate system property, for example: persist.sys.camera.fallback_id_2=20 Change-Id: I58b88adc86dd0036fcbed34a7f20093f90e405dc Signed-off-by: tejas101k <tejassingh649@rediffmail.com> Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
* devices like ginkgo and some xiaomi sdm660 use miui camera mode in camera hal to activate certain functions in camera hal, these are enabled when vendor.camera.miui.apk is set to 1 based on sys.camera.miui.apk value * if this prop is set by default gcam crashes, so we must do it dynamically * xiaomi does this in stock libcameraservice but unfortunately we don't have stock android 12 to use prebuilt lib To enable, set TARGET_USES_MIUI_CAMERA := true in BoardConfig. Change-Id: I8d9ee4e650f3e2196546570c183c9d169b8aa335 Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
* Adapt for Android 14 QPR2 Signed-off-by: tejas101k <tejassingh649@rediffmail.com> Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
…atform/frameworks/av into udc Android 14.0.0 release 73 * tag 'android-14.0.0_r73' of https://android.googlesource.com/platform/frameworks/av: omx: check HDR10+ info param size Revert^2 "StagefrightRecoder: Disabling B-frame support" libmediatranscoding: handle death recipient cookie ownership differently Track DeathNotifier cookie lifetime Use customized event flag for data FMQ not_empty to avoid conflict Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.