summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-20Snap for 6780056 from 054cdc91eab990221623c3d529da9b671118ebbe to ↵android-11.0.0_r31android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid-build-team Robot
rvc-qpr1-release Change-Id: I32b7240ce0cdbd1e42424b9210b95f68df85ae7c
2020-08-20camera: Add error handling prevent native crash am: f79e434d66android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r30android11-qpr2-releaseandroid11-qpr1-c-releaseJustin Hou
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12406778 Change-Id: I32bfe63b5c8939a77399d5e6b2cf92091731814a
2020-08-20camera: Add error handling prevent native crashJustin Hou
Bug: 165021679 Test: CTS, ITS, GCH unit tests Change-Id: I40f9cdd41f56631ee21603b288aae29147272135
2020-08-11Snap for 6755001 from 862bb35043357c1ba5ce3b3e81ba320166a2de56 to ↵android-build-team Robot
rvc-qpr1-release Change-Id: I914eaa92e2af47891702f700e167d57c3b67467b
2020-08-11camera: Add kSessionDataKeyEisFrameDelayIntPtr in session data am: 417d4d1489Erik Cheng
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12325545 Change-Id: I026c428afc333c390dd1a6b1417de488cffcc114
2020-08-07camera: Add kSessionDataKeyEisFrameDelayIntPtr in session dataErik Cheng
Bug: 162715137 Test: GCA, CTS, ITS Change-Id: I5348f68f72e28bf7618eaf06f2f245f58877b27d
2020-08-05Snap for 6740034 from 8947612eaac9768f70ef6e7b2f48f2adc49c3f05 to ↵android-build-team Robot
rvc-qpr1-release Change-Id: I1b584d10cec8c7256cdd55a046bacf132456e1c0
2020-08-05Camera: add trace for request buffer am: 46657cd770kocolin
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12295610 Change-Id: Ibcdcf4afc6407f41a986cae5c0ff59247561683e
2020-08-04Camera: add trace for request bufferkocolin
Add trace tag to monitor time cost of request buffer Bug: 162802569 Test: GCA, devcam Change-Id: Iad01e8a70507c5260da17302c355d5017db4a7b6
2020-07-31Snap for 6727488 from 99de82f476dbfd2155cbab3ea4275fc920b7e4fb to ↵android-build-team Robot
rvc-qpr1-release Change-Id: I4dae7b8f4b9bb3961404128328f8e056fbdab083
2020-07-31Merge "camera: Support stream configuration set to RT thread" into ↵TreeHugger Robot
rvc-d1-dev am: 9e9a40e0cd Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12268249 Change-Id: Ia7387743700b4d9f81e074d2580dc2353c173d12
2020-07-31Merge "camera: Support stream configuration set to RT thread" into rvc-d1-devTreeHugger Robot
2020-07-30Snap for 6723788 from acc83a15d54806ad6a8802a857210d69d1886e32 to ↵android-build-team Robot
rvc-qpr1-release Change-Id: Idc264d7182990f0b99ba80c10d4f562287449940
2020-07-30Camera: Preload capture session library am: 6c7dba227bkocolin
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12263685 Change-Id: Icbec434da1d99634332b2a27234c75650051ad93
2020-07-30camera: Support stream configuration set to RT threadvincechiu
Set thread to RT before configure stream and rollback after finish stream configuration. Test: GCA Bug: 162353145 Change-Id: Id40d9977179571423c9af60b4e82e9f72eca9c07
2020-07-30Camera: Preload capture session librarykocolin
Pre-load the library after the device boot up instead of load/release it every time open/close camera to avoid long loading time when memory pressure. Bug: 161650087 Test: camera_checklist Change-Id: Iace407e8486cfd485175a787b96c64b75e5c5f93
2020-07-21Snap for 6697958 from b187222853febe0c49ff429fb80b70f36684a640 to ↵android-build-team Robot
rvc-qpr1-release Change-Id: I22d9d768474f867293c2fd78979c2ef8de40f21a
2020-07-21use mallopt(M_DECAY_TIME, 1) for camera HAL am: 37162fb4ffTim Murray
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12139723 Change-Id: I4b0a5993ee72ec5b00d775f4c7bfc67653b53352
2020-07-21use mallopt(M_DECAY_TIME, 1) for camera HALTim Murray
saves 5%+ of all cycles in camera HAL Test: simpleperf of camera HAL Bug: 160883639 Change-Id: I7d57c21fd7423453dba923b2b88f06b2dab4ad44
2020-07-15Snap for 6683212 from bd60991d45241090b07ed2a3a2b0bf8fd2c3177a to ↵android-build-team Robot
rvc-qpr1-release Change-Id: Ic5b178baa9401f7a4132177ea3f23117fddb0b1b
2020-07-15Merge "camera: Support realtime thread Add property to support RT thread for ↵TreeHugger Robot
BufferCacheManager and GCH ResultDispatcher." into rvc-d1-dev am: 35f27ff6f6 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12138067 Change-Id: I888bba52f59f9ddde2be385c1d133d88e7e0693b
2020-07-15Merge "camera: Support realtime thread Add property to support RT thread for ↵TreeHugger Robot
BufferCacheManager and GCH ResultDispatcher." into rvc-d1-dev
2020-07-15camera: fallback realtime pipeline capture when AE_ON_AUTO_FLASH and am: ↵JimiChen
3af4327697 am: 786d386bbf Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12139563 Change-Id: If7260ea803dd9d9abdc0698ee92bc11db45e58be
2020-07-15camera: fallback realtime pipeline capture when AE_ON_AUTO_FLASH and am: ↵JimiChen
3af4327697 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/12139563 Change-Id: I7991fc2ef816fd5e0416bb38022ed8371659c6a0
2020-07-15camera: fallback realtime pipeline capture when AE_ON_AUTO_FLASH andandroid11-devJimiChen
flash fired Bug: 147208294 Bug: 160556402 Test: cts, whatsapp, skype Change-Id: I10043ee2456b16e129be80ad3f40180aef2fa530 (cherry picked from commit 9df713161def7e81b69c29b0b02b067762c442b3)
2020-07-14camera: Support realtime threadvincechiu
Add property to support RT thread for BufferCacheManager and GCH ResultDispatcher. Test: GCA Bug: 160757325 Bug: 160468481 Change-Id: I825fd29db442963f83300253e86f5effdad025d3
2020-06-29Merge "hidl: Allow more error types to propagate from hal to fwk" into ↵Ellie Yang
rvc-d1-dev am: b0f83a4763 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11928466 Change-Id: I489d6baf823a6ce63d4f3b2b1c349c7b0d499a93
2020-06-29Merge "hidl: Allow more error types to propagate from hal to fwk" into ↵Ellie Yang
rvc-d1-dev
2020-06-25Merge "Allow getConcurrentStreamingCameraIds to advertise depth only ↵TreeHugger Robot
cameras." into rvc-dev am: 12b57f330a am: 00b34b8429 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11962792 Change-Id: Iaa5f55164518c30757b4dcd6d488c3f639b3b9e7
2020-06-25Merge "Allow getConcurrentStreamingCameraIds to advertise depth only ↵TreeHugger Robot
cameras." into rvc-dev am: 12b57f330a Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11962792 Change-Id: Ie70b64c0cff1e874160eb09ce959c82597d50a83
2020-06-24Merge "Allow getConcurrentStreamingCameraIds to advertise depth only ↵TreeHugger Robot
cameras." into rvc-dev
2020-06-23Allow getConcurrentStreamingCameraIds to advertise depth only cameras.Jayant Chowdhary
Also fix SupportsMandatoryStreamCombination check Bug: 159247271 Test: atest ConcurrentCameraTest.java Change-Id: I5cb1ee3a7b9106c29ad9558ab8f4f2b68e946efb Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-06-23camera: Fix halConfiguration parameters back to frameworks am: ddbeab7bd5 ↵vincechiu
am: 80d66134a2 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11949284 Change-Id: I4af4fd801ac93857081c1ed5b0a449948c76261d
2020-06-23camera: Fix halConfiguration parameters back to frameworks am: ddbeab7bd5vincechiu
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11949284 Change-Id: Icffe363670c1248b1a579df0a256b624e8a3d8ef
2020-06-22camera: Fix halConfiguration parameters back to frameworksvincechiu
Purge the hal_configured_streams only framework streams are left as defined spec. https://android.googlesource.com/platform/hardware/interfaces/+/master/camera/device/3.5/ICameraDeviceSession.hal This is to fix CameraHidlTest#configureStreamsPreviewStillOutputs. Cherrypick from ag/10029434 Bug: 159413657 Test: GCA, CTS Change-Id: I096d4474d966e50293dde211aba4d7edcf33a3a4
2020-06-19hidl: Allow more error types to propagate from hal to fwkEllie Yang
Previously in the map converting hal status to hidl status, BAD_VALUE and ILLEGAL_ARGUMENT were the only two errors translated through. Others were all treated as INTERNAL_ERROR, which doesn't has specific implication. This makes framework unable to recognize the real error cause. Complete the status map, making it a reverse version of the status map in framework (CameraProviderManager::mapToStatusT). Bug: 152354541 Bug: 157540980 Test: CTS, GCA Change-Id: Ice93bbf7380f93b4dd9e4eb20e201c303626b896
2020-06-15Merge "Camera: correct face point." into rvc-d1-dev am: ee0f536c8aTreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11848383 Change-Id: I3ccdcf4bb050a232776e3991545e6f7c46bad4ee
2020-06-15Merge "Camera: correct face point." into rvc-d1-devTreeHugger Robot
2020-06-12Camera: correct face point.MingChe Chiang
WHen zoom ratio is less than 1.0, the reported logical face coordinator is negative. We need to cast unsigned integer to signed integer for calculation. Bug: 156076524 Test: GCA, FD test app Change-Id: I713b5c15bc15c5ac7d1846c4dac9ccb23a73adad
2020-06-12Merge "Camera: defer the timing to free unused buffers" into rvc-d1-dev am: ↵TreeHugger Robot
78179c1094 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11818548 Change-Id: I5289b307bb5a25ff6d80b59ab34eea862ba2cd91
2020-06-12Merge "Camera: defer the timing to free unused buffers" into rvc-d1-devTreeHugger Robot
2020-06-11Camera: defer the timing to free unused buffersMingChe Chiang
To avoid frequent buffer allocation/deallocation, the unused buffers will be freed if they are no longer used after a threshold counter. Bug: 158637309 Test: GCA Change-Id: I6b0d4ceb02eec859bbff6e9fe7b02fb7fb3f9280
2020-06-11Merge "camera: add fixed-focus camera identification" into rvc-d1-dev am: ↵TreeHugger Robot
2424bcb187 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11788660 Change-Id: I951c594ffdaed93d16f2b788ef3bdc8a9977fc11
2020-06-11Merge "camera: add fixed-focus camera identification" into rvc-d1-devTreeHugger Robot
2020-06-09camera: add fixed-focus camera identificationchened
Test: GCA Bug: 157138779 Change-Id: I3a021777fb4d4f49c23c60b201d298b3e498b012
2020-06-06Merge "camera: Add timestamp to profiler dumped fileanme." into rvc-d1-dev ↵Lun-Cheng Chu
am: 9a6f0dff28 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11713507 Change-Id: I9118fd31eb53576369527ca35c09194997a20ff6
2020-06-06Merge "camera: Add timestamp to profiler dumped fileanme." into rvc-d1-devLun-Cheng Chu
2020-06-03Merge "camera: Add superstab mode in SmoothyMode" into rvc-d1-dev am: 92084c6ed6TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/camera/+/11685289 Change-Id: Ic7acab02d13f3e144e81169f5a957c0e9be2d9f8
2020-06-03Merge "camera: Add superstab mode in SmoothyMode" into rvc-d1-devTreeHugger Robot
2020-06-03camera: Add superstab mode in SmoothyModeErik Cheng
Bug: 157520630 Test: GCA Change-Id: Ia45e6e672bb32ee9ba83c09f86bd00b39e443c61