summaryrefslogtreecommitdiff
path: root/cameraservice
AgeCommit message (Collapse)Author
2021-03-02[LSC] Add LOCAL_LICENSE_KINDS to frameworks/hardware/interfacesBob Badour
Added SPDX-license-identifier-Apache-2.0 to: automotive/powerpolicy/aidl/Android.bp cameraservice/device/2.1/Android.bp cameraservice/service/2.2/Android.bp stats/aidl/Android.bp stats/aidl/test_client/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I59589826f8e1919c30085d1dd3376d159fe529c4
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to frameworks/hardware/interfaces am: ↵Bob Badour
0b5646cbe3 am: 9681e6dfbf am: ff1b9ec93e Original change: https://android-review.googlesource.com/c/platform/frameworks/hardware/interfaces/+/1589003 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia2f837683ec8759ca1ed76f46c624ee20088c6f0
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to frameworks/hardware/interfacesandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: Android.bp automotive/display/1.0/Android.bp automotive/display/1.0/vts/functional/Android.bp bufferhub/1.0/Android.bp bufferhub/1.0/vts/functional/Android.bp cameraservice/common/2.0/Android.bp cameraservice/device/2.0/Android.bp cameraservice/service/2.0/Android.bp cameraservice/service/2.1/Android.bp cameraservice/vts/functional/Android.bp displayservice/1.0/Android.bp displayservice/1.0/vts/functional/Android.bp schedulerservice/1.0/Android.bp sensorservice/1.0/Android.bp sensorservice/1.0/vts/functional/Android.bp sensorservice/libsensorndkbridge/Android.bp stats/1.0/Android.bp stats/1.0/test_client/Android.bp stats/1.0/vts/functional/Android.bp vr/composer/1.0/Android.bp vr/composer/2.0/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I70abf0660f39dbc9b3f2625f6a15a17b3ffcb2a6
2020-11-16Camera: Uprev cameraservice device interfaceShuzhen Wang
Add endConfigure interface to pass session creation start time. Test: Camera VNDK test and VTS test Bug: 154159000 Change-Id: I892163e4682a4a47837a085483a297dd4bc2ce03
2020-10-08Merge ab/6749736 in stage.Xin Li
Bug: 167233921 Merged-In: Ica956eb847491faa750679866bbe52d5e6bf32a6 Change-Id: I017454842ac404c4d2565a613fb9b4dfcdeb7eb2
2020-10-08Remove vts10 related configs am: dc5b32b4d9 am: 3b4c6986a3 am: 51bc22f09f ↵Dan Shi
am: 03b63b529c Original change: https://android-review.googlesource.com/c/platform/frameworks/hardware/interfaces/+/1455355 Change-Id: I205d255b653291701fbbcc203f748795497e6914
2020-10-08Remove vts10 related configs am: dc5b32b4d9 am: 3b4c6986a3Dan Shi
Original change: https://android-review.googlesource.com/c/platform/frameworks/hardware/interfaces/+/1455355 Change-Id: I7351f9d290b8f1143825e0665e8c202caa79f23a
2020-10-08Remove vts10 related configsDan Shi
vts_config is a test wrapper used for VTS10 harness. The test is replaced by generic gtest and vts10 harness will be removed from S release. Bug: 169584384 Test: build Change-Id: I6c55c4c015be92422777e0a4985e213d638db387
2020-07-31Suppress gtest error for tests without any instanceDan Shi
Bug: 162052785 Test: m -j vts Change-Id: I3e6c9070db6ed599347ee08aad5235518a4125c0
2020-07-24Fix VtsHalCameraServiceV2_0TargetTest to account for secure only cameras ↵Jayant Chowdhary
which may not support color output. am: 39cefce63e am: 5064137177 am: 22e9b275b3 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/hardware/interfaces/+/12211126 Change-Id: Ia583b527171bd51a99155e1d523e7ac2667d9f18
2020-07-22Fix VtsHalCameraServiceV2_0TargetTest to account for secure only cameras ↵android-cts-11.0_r2Jayant Chowdhary
which may not support color output. Bug: 156749607 Test: /data/nativetest64/VtsHalCameraServiceV2_0TargetTest on secure camera temporarily marked secure only. Test: vendor testing Change-Id: I286a0a4ba2e8d9ec520cbb04d735894a407e5db1 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit 529bb710e21ac89c5bc31e16cc6a19c49bd34905)
2020-07-02update hidl .bpJooyung Han
HIDL libs are not necessarily part of VNDK now. Because some are used by VNDK libs, they are still VNDK. But rest are now just vendor-available. Bug: 143933769 Test: update-makefiles.sh && m com.android.vndk.current Merged-In: I247f9aa4109b3fb1e583b58127b160a38667d57d Change-Id: I247f9aa4109b3fb1e583b58127b160a38667d57d (cherry picked from commit 3d638763caeefe8f4701e39a1bd98eed02984655)
2020-04-13Rename vts-core to vtsDan Shi
Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL moves all tests in vts-core to vts. It won't change test logic or behavior. Change-Id: I57ebf948de6da6354f6c407ed00aa4486559c4a2 Merged-In: I57ebf948de6da6354f6c407ed00aa4486559c4a2
2020-04-11Rename vts-core to vts am: 91f552736c am: 3df0b6489aDan Shi
Change-Id: I53ed005e03ddc73e22ad7d05bd8998add4ca4f1c
2020-04-09Rename vts-core to vtsDan Shi
Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL moves all tests in vts-core to vts. It won't change test logic or behavior. Change-Id: I57ebf948de6da6354f6c407ed00aa4486559c4a2
2020-02-07Camera: Add 2.1 version of ICameraService and ICameraServiceCallbackShuzhen Wang
The new interface is used to handle onPhysicalCameraUnavailable/Available. Test: /data/nativetest64/VtsHalCameraServiceV2_0TargetTest/VtsHalCameraServiceV2_0TargetTest Bug: 148146086 Change-Id: Ic81686d2fb83d6e80d2b94202515b7bb5f286178
2019-12-03[vts-core] add VtsHalCameraServiceV2_0TargetTest to vts-corenelsonli
Convert VtsHalCameraServiceV2_0TargetTest to be parameterized test and add it to vts-core Bug: 142397658 Test: 1.Test the converted Test $ atest VtsHalCameraServiceV2_0TargetTest 2. Test it in VTS-tradefed $ make clean; m -j vts $ vts-tradefed $ run vts-staging-default -m VtsHalCameraServiceV2_0Target --skip-all-system-status-check Change-Id: I9b2feb319130f0063cef5c288afefb381df32c64
2019-11-15Use appropriate format for Depth16 streamsEmilian Peev
The public Depth16 format as advertised by CameraHal does re-use the already available "HAL_PIXEL_FORMAT_Y16" internally. Usually public facing APIs like 'CameraCharateristics' and 'ACameraMetadata' will take care and re-map the internal format so it matches the public value. The native VTS camera service test case does access and work with the raw static camera metadata and needs to account for the internal 'HAL_PIXEL_FORMAT_Y16' representation when parsing the available depth stream configurations. Bug: 144574938 Test: VtsHalCameraServiceV2_0TargetTest Change-Id: Ia1d2d2da95a60728a195deb41dae6b1ccb81d8fc
2019-07-15VtsHalCameraServiceV2_0TargetTest: Choose AIMAGE_FORMAT_DEPTH16 for non BC ↵Jayant Chowdhary
devices am: 636e4ddec8 am: e8308e88b6 Change-Id: I4d1ccb3ee2c9e2c303abd8772e1476ac6db270ba
2019-07-12VtsHalCameraServiceV2_0TargetTest: Choose AIMAGE_FORMAT_DEPTH16 for non BC ↵Jayant Chowdhary
devices Bug: 137121997 Test: VtsHalCameraServiceV2_TargetTest Change-Id: I227098c0c9429565e925936e2649df977fdad15e Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2019-04-18Update hidl makefiles for bpfmtSteven Moreland
hidl-generated makefiles are now generated such that bpfmt(file) == file. Bug: 67417008 Test: enable bpfmt hook Change-Id: I066d23010baf0022d9f9d0863609475f5fffee12
2019-04-04Add VTS test using HIDL interfaces directly.Jayant Chowdhary
AImageReaderVendorTest already tests camera interfaces through the vendor available library camera2ndk_vendor. VtsHalCameraServiceV2_0TargetTest now tests the interfaces directly. Bug: 123355562 Test: /data/nativetest64/VtsHalCameraServiceV2_0TargetTest Change-Id: I98ef7efcee866bc0ed42baf4b9715ad8ea0198de Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2019-03-22Camera: Pass physical device id as part of result extrasEmilian Peev
Clients must be notified about absent capture results involving physical devices. Bug: 128835627 Test: AImageReaderVendorTest --gtest_filter=AImageReaderVendorTest.LogicalCameraPhysicalStream Change-Id: Ief5a5ef48df5c0b7e827fddf7681f3c2b0b4e562
2019-03-20Camera: Add VNDK support for isSessionConfigurationSupportedShuzhen Wang
This is to have API parity between VNDK and public API. Test: AImageReaderVendorTest Bug: 128933069 Change-Id: I77ffbdd39063aa6df53254b7f10c877e6fa36f85
2019-03-13Camera: Centralize OWNERSEino-Ville Talvala
Test: Builds Change-Id: I851c79d476e001c4b0bf4424690a5c10dbf409a9
2019-03-04Update makefies: no 'types'Steven Moreland
Bug: 123976090 Test: N/A Change-Id: Ie989f08c90d5ed2858b09ab58f2cc390902ee57e
2019-02-15Fix extra spaces in ICameraDeviceCallback.Jayant Chowdhary
Bug: 124459084 Test: Builds Change-Id: Iff87df70f03009632af13597cafaa6fe874f3fed Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2019-01-24Add VTS tests for android.frameworks.cameraservice.*Jayant Chowdhary
Bug: 119167024 Bug: 119166644 Bug: 119165874 Test: VtsHalCameraServiceV2_0TargetTest Change-Id: I7d26c942c7e8e22c4fe67a73b8424f92880c2e62 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-11-19cameraservice: Allow ICameraService to get provider ids with VendorTagSections.Jayant Chowdhary
Bug: 110364143 Test: mm -j64 Change-Id: I96cfa32a8b580f34bb5875aee20fbdb281eb67ad Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-11-13Merge "ICameraDeviceUser: Correct waitUntilIdle() api."Jayant Chowdhary
2018-11-06ICameraDeviceUser: Correct waitUntilIdle() api.Jayant Chowdhary
waitUntilIdle should generate an operation status code. Test: mm -j64 Bug: 110364143 Change-Id: I74456c88b501da2b6eb7f4c8b18d900cba6ecbb1 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-11-06Update documentation for android.frameworks.cameraservice.device@2.0.Jayant Chowdhary
Explicitly mention that submitRequestList method and onResultReceived callback must be called serially, incase the client/framework opts to use fmq to send metadata. Bug: 110364143 Test: mm -j64 Change-Id: I4fc9a891eaad6f1cf9f9ef14a7b399a64cb3163c Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-11-04HIDL interfaces for vendor binaries to talk to camerserver.Jayant Chowdhary
Bug: 110364143 Test: ./update-makefiles.sh; mm -j64 Change-Id: Id3484eb6d4671a252ae6bbf5d9e92d62550b821e Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>