summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-03Snap for 9364794 from 6b63ad270d1654ecda20dc1dcfa0ea3d596c4d53 to tm-d4-releaseandroid-13.0.0_r48android-13.0.0_r47android-13.0.0_r46android13-d4-s2-releaseandroid13-d4-s1-releaseandroid13-d4-releaseAndroid Build Coastguard Worker
Change-Id: I06640247d29071e46b1dc7e33ad053298f213339
2022-11-29Added vendor tag for 60FPS to 30FPS throttling in video recording mode (QPR ↵Ali K. Zadeh
branch cherry-pick) This CL adds vendor tag com.google.internal.Video60to30FPSThermalThrottle to GCH level in order to allow for 60 to 30FPS thermal throttling in video recording mode. This CL builds on top of ag/20084607 and replaces the setprop with the vendor tag. Test: Vendor tag shows up in dumpsys media.camera Bug: 249103274 Change-Id: I0d838e6b0162ebef45744d2c416b90e6b9d22249
2022-11-24Snap for 9325733 from b0fe4c29b7f77640a420c3629cb9880dd967fba7 to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: I5a5b7a2b6d6e6b20600fa1c3b8e179178ef59a21
2022-11-23Merge "camera: Add IsStreamingUseCasesVideoCall() to utils" into tm-qpr-devJia-yi Chen
2022-11-22camera: Add IsStreamingUseCasesVideoCall() to utilsJia-yi Chen
Bug: 254505562 Test: Check logcat messages Change-Id: I81549f88346536cf58cb3bea521cf45b760332ac
2022-11-17Snap for 9301146 from ef0b179539d034cc9944e3486a22220bf5da87df to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: I53ebb17dd3edbe1b6b72c632b71ace3c50196dab
2022-10-26Allowing for [60, 60] to [30, 30] transition happen withoutAli K. Zadeh
session reconfiguration This change allows for transition of [60, 60] to [30, 30] without session reconfiguration, to avoid having a glitch when GCA is recording 60fps videos and transitions into 30fps due to thermal throttling. The feature is active only when the setprop persist.vendor.camera.60to30FPSThermalThrottle is set to 1. Bug: 249103274 Test: adb logcat Change-Id: I1ada3883363740f9a5e2b15c29e2101107fc54a8
2022-09-20Snap for 9084753 from da7d1282854ee4b5c04e1024b66797e6ab09e9ea to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: I8712ec09d4a6cdc2dd2a832c606b2a09e29e3c33
2022-09-15Enable madvisement on camera librariesElena Satraitis
For Lyric, grab the list of libraries from lyric_hwl folder and madvise as needed. Bug: 235149324 Test: GCA, Perfetto Change-Id: Id81398d311bdab4cc6cedc8ec505bc3cd72204ac
2022-08-31Snap for 9014491 from dca18f2faca65aca56c5d3fb35846ec6fc034e3f to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: I95fe7174e03e64a0f6c83d506df9f585d6d020c8
2022-08-30Bump QPR1+ sideline HAL versionZhijun He
Make it higher than tm sideline hal version Bug: 242560789 Change-Id: I09be96ce7f77c5ae364f552640cfc588cbb1c248
2022-08-28Snap for 9002436 from fc623c5f89937517dcce21e07677a35f6b6cb5e7 to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: I05b25c0bfe29a5f17f1fcc721923d5d6978164c2
2022-08-26Take persist.vendor.camera.raise_buf_allocation_priority as true by defaultXin Qi
Set camera HAL StreamBufferCacheManager thread with max non-real-time priority. Bug: 243854271 Test: manual - tracing shows thread run in new priority Change-Id: Iab2970042aeb7c8485182621548c4638cfb6be27
2022-08-17Snap for 8961426 from 63493b83565974f6f64d07549cebbb5bf3407cc3 to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: Iccf6707a581829e16a6efb0a59913893068d3c8a
2022-08-15Update the sideline apex major numberZhijun He
Bump to 5 for TS1A Bug: 242560789 Change-Id: Ia4ea7400bcd2ade9dbf00202e8cdc2b32a5aa926
2022-08-10Snap for 8931212 from d4638e74c77cc592fae35dd0ab823e91b0e0469e to tm-d4-releaseAndroid Build Coastguard Worker
Change-Id: Iae3bb4585589eebf443831a00fd2c3de166d8d9a
2022-08-08realtime_zsl: Fix breakage due to portabilityCheng Gu
Bug: 240347618 Test: presubmit Change-Id: I907173b7ad5ee3f4d8498fbefe510aa89bb92688 (cherry picked from commit 789eb838415a0494c9555946ca91a67d0c4ff645) Merged-In: I907173b7ad5ee3f4d8498fbefe510aa89bb92688
2022-08-03Merge "Reject secure stream for ZslSnapshotCaptureSession" into tm-qpr-devTreeHugger Robot
2022-08-03Reject secure stream for ZslSnapshotCaptureSessionSpeth Chang
ZslSnapshotCaptureSession has internal buffers which is incompatible to secure images. Bug: 238969191 Test: GCA, CTS, C10 faceauth Change-Id: Iebdd9a1f7c2e15af8d7b40219171f51d26f584fa
2022-08-02Inherit RT scheduling policy from camera device session binder caller am: ↵Gary Lin
a8888f75bb Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/19378810 Change-Id: Ib1f3b7db94778244b9bcbfec8410f34b199fbf46 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02Inherit RT scheduling policy from camera device session binder callerGary Lin
The change inherits RT scheduling policy from binder caller, which reduces scheduling time for request injection. Bug: 240390679 Test: camera test checklist Test: GCA framedrop test Change-Id: If4cad4e790e05ab34f2ef353ad1bcd8327fbe324
2022-07-28Increase result dispatcher thread priority am: 23fd5bd08aJay
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/19432058 Change-Id: I4102e3f92dd85e81e15683787927096a13df7b60 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-28Increase result dispatcher thread priorityJay
When the system has high CPU load, result dispatcher thread is frequently in runnable state and causes the delay to post the result to the framework. Bug: 237909133 Test: GCA, CTS, frame rate test Change-Id: I7be2d6d38f36439eb25b03e15aa3f76cb97c152a
2022-07-26Merge changes from topic "GCH_RealtimeZslResultRequestProcessor_LatchFix" ↵Cheng Gu
into tm-d1-dev am: b5065713d2 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/19370846 Change-Id: I6ce5b54956cebe91a54138d793073c54675922a1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26Merge changes from topic "GCH_RealtimeZslResultRequestProcessor_LatchFix" ↵Cheng Gu
into tm-d1-dev * changes: realtime_zsl: Return result if a metadata error is notified later realtime_zsl: Make a helper to return result with error realtime_zsl: Make a helper to combine error and pending entries realtime_zsl: Fix partial_results_received count when combining realtime_zsl: Store returned_output flag in RequestEntry realtime_zsl: Add verbose log in RealtimeZslResultRequestProcessor
2022-07-26Merge "ResultDispatcher: Give each instance a name" into tm-d1-dev am: ↵Cheng Gu
f327f10b93 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/19398014 Change-Id: Id21bac283ab737130422160177deb25be36e9ad8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26Merge "ResultDispatcher: Give each instance a name" into tm-d1-devCheng Gu
2022-07-25realtime_zsl: Return result if a metadata error is notified laterCheng Gu
This commit fixes a corner case when buffer has arrived OK but a metadata is notified with error. Previously, the buffer would still be blocked in `pending_request` due to `AllDataCollected()` not being met. This commit gives it a chance to call `process_capture_result_()` from `Notify()` if necessary. Bug: 235371520 Test: Framework stress test, CTS Change-Id: I1cf6a401864808a73dc9e87db6d13a27b7746a95
2022-07-25realtime_zsl: Make a helper to return result with errorCheng Gu
Moves the logic to a helper function that returns a result if there is already error with that frame. This commit doesn't change functionality, and is meant to allow future commits to re-use the same logic. Bug: 235371520 Test: Framework stress test, CTS Change-Id: I719e5b0ee6c517b729d751f442e744fdf9b251c8
2022-07-22ResultDispatcher: Give each instance a nameCheng Gu
This can be helpful for debugging when there are multiple ResultDispatchers. Bug: 235371520 Test: CTS Change-Id: I1102e9c562d34c3369256a56af549775bcfddf7e
2022-07-20realtime_zsl: Make a helper to combine error and pending entriesCheng Gu
Moves the logic to a helper function that combines error and pending entries into the result. This commit doesn't change functionality, and is meant to allow future commits to re-use the same logic. Bug: 235371520 Test: Framework stress test, CTS Change-Id: I6a751794b4f5d087280708278f13769fe18cdb34
2022-07-20realtime_zsl: Fix partial_results_received count when combiningCheng Gu
Both ProcessResult() and Notify() may increment the `partial_results_received` count. So use `+=` when combining them. Bug: 235371520 Test: Framework stress test, CTS Change-Id: I0f073a08c324dbd3db54cb05732e9ec2d9872864
2022-07-20realtime_zsl: Store returned_output flag in RequestEntryCheng Gu
Stores the previously called `returned_output` flag in struct RequestEntry, to allow future use in a helper function. This commit doesn't change functionality so far. Bug: 235371520 Test: Framework stress test, CTS Change-Id: Ib5cd1bad604b5b6272a34535a6b078dd07bbc7a0
2022-07-20realtime_zsl: Add verbose log in RealtimeZslResultRequestProcessorCheng Gu
Adds ALOGV() in ProcessResult() and Notify(). Bug: 235371520 Test: Framework stress test, CTS Change-Id: I62642e692858128831835d318047708343402118
2022-07-19Log buffer usage stats when buffer request from framework fails am: cfc98948faDonghui Han
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/19323814 Change-Id: Ic0d2f33b38b43ba11622ce9773f105f4eaf5673d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18Log buffer usage stats when buffer request from framework failsDonghui Han
BYPASS_INCLUSIVE_LANGUAGE_REASON=use words that follows existing context for better readability. Bug: 238574316 Test: Build/Pixel camera test checklist Change-Id: Ic628f626dde28b315cb2af27ae7ebd2137c3eacb
2022-06-14Reduce result lock scope am: 02c7c6903e am: 65c9ef8a9btimothywang
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18670831 Change-Id: Ife3d1009659df5d42b30aca980bf6b263e71e89c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14Reduce result lock scope am: 02c7c6903etimothywang
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18670831 Change-Id: I8492cb091a9ebd32094de36a0d30eaa64bb064c0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01Reduce result lock scopeandroid13-devtimothywang
Result lock is used to protect pending results. Reduce the scope to prevent potential deadlock. Bug: 211162732 Test: GCA, CTS Change-Id: I19204b9f685c940887bdae9172eb892c69bf4441
2022-05-25Return Status::ILLEGAL_ARGUMENT if callback is nullptr am: 3b83dc6951 am: ↵Avichal Rakesh
d60b447dd6 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18566785 Change-Id: Iedb10e3ae82ee58a900e866bb98b4ac02bf487a2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25Return Status::ILLEGAL_ARGUMENT if callback is nullptr am: 3b83dc6951Avichal Rakesh
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18566785 Change-Id: If556433671968fbb527156b9fba19d6d26d44c6b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24Return Status::ILLEGAL_ARGUMENT if callback is nullptrAvichal Rakesh
AIDL documentation states that ICameraProvider::setCallback should return Status::ILLEGAL_ARGUMENT if the callback passed is a null pointer. The current implementation incorrectly returns OK even if the callback is null. This CL adds a null checks and returns Status::ILLEGAL_ARGUMENT if required. Bug: 233221359 Test: atest VtsAidlHalCameraProvider_TargetTest Change-Id: I2d705262df0f7acd403cd1eeae1bdc09a18565d2
2022-05-23Merge "EmulatedCamera: Enable concurrent SDR+HLG10 requests" into tm-dev am: ↵TreeHugger Robot
5e6dbb8cf1 am: 96450c2801 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18511029 Change-Id: I78fbbfe70924442fd4d64de5a80deaeed97991ac Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23Merge "EmulatedCamera: Enable concurrent SDR+HLG10 requests" into tm-dev am: ↵TreeHugger Robot
5e6dbb8cf1 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18511029 Change-Id: If62dbd445eb46d253f2d0a30ead426a51cfc660e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23Merge "EmulatedCamera: Enable concurrent SDR+HLG10 requests" into tm-devTreeHugger Robot
2022-05-19EmulatedCamera: Enable concurrent SDR+HLG10 requestsEmilian Peev
Allow the back camera to output both SDR and HLG10 frames at the same time. Bug: 233283431 Test: Camera CTS Change-Id: I6ebe6a159e057080f95ca34dd9253155a5adbb44
2022-05-12Merge "Make CameraBlob consistent with AIDL definition." into tm-dev am: ↵Jayant Chowdhary
899d1c699b am: a0ab7c5a1c Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18119675 Change-Id: I4119fcfe4b03845311cb032ba5f60fce392d4d7e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12Merge "EmulatedCamera: Advertise AE lock in the front sensor results" into ↵TreeHugger Robot
tm-dev am: e3c3ea1541 am: cbbf26812f Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18185492 Change-Id: Iad535344e33d97ed2c81835fb217e4c33830528c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12Made changes to GoogSensorMotion::QuerySensorEventsBetweenTimestamps ↵Ali K. Zadeh
function to have less calls to std::vector::push_back_slow_path am: b5d577689e Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18235992 Change-Id: Id3c721df82c6f5f53f05633d96debd36bf428a3e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12Merge "Make CameraBlob consistent with AIDL definition." into tm-dev am: ↵Jayant Chowdhary
899d1c699b Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/18119675 Change-Id: I5ffdb347702288158ea2b4fa25e3e96b22a8d79a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>