summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Add support for single plane stride queriesEmilian Peev2021-05-252-13/+49
| | | | | | | | | Allow buffer mapper clients to query the current buffer stride of the first plane. Bug: 188992806 Test: Camera CTS Change-Id: I503ad8ae2e144405f0f365636210275f8e56ae82
* Camera: Fix double-free in removeCameraJasmine Chen2021-02-261-1/+0
| | | | | | | | | | When a camera is removed, |hidlMetadata| takes over ownership of |metadata|. Therefore, we should not free |metadata| again. Bug: 180014486 Test: Remove an external camera, and no crashes were observed. Change-Id: I85246067f8753911cbcb58af24a46f12962226f3 (cherry picked from commit f36a439e3a97315a9f0a8661ea77aff61fb79c82)
* [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfacesBob Badour2021-02-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: atrace/1.0/Android.bp atrace/1.0/default/Android.bp atrace/1.0/vts/functional/Android.bp audio/2.0/Android.bp audio/2.0/config/Android.bp audio/4.0/Android.bp audio/4.0/config/Android.bp audio/5.0/Android.bp audio/5.0/config/Android.bp audio/6.0/Android.bp audio/6.0/config/Android.bp audio/7.0/Android.bp audio/7.0/config/Android.bp audio/common/2.0/Android.bp audio/common/4.0/Android.bp audio/common/5.0/Android.bp audio/common/6.0/Android.bp audio/common/7.0/Android.bp audio/common/7.0/example/Android.bp audio/common/all-versions/default/Android.bp audio/common/all-versions/default/service/Android.bp audio/common/all-versions/test/utility/Android.bp audio/common/all-versions/util/Android.bp audio/core/all-versions/default/Android.bp audio/core/all-versions/default/util/Android.bp audio/core/all-versions/vts/functional/Android.bp audio/effect/2.0/Android.bp audio/effect/2.0/xml/Android.bp audio/effect/4.0/Android.bp audio/effect/4.0/xml/Android.bp audio/effect/5.0/Android.bp audio/effect/5.0/xml/Android.bp audio/effect/6.0/Android.bp audio/effect/6.0/xml/Android.bp audio/effect/7.0/Android.bp audio/effect/7.0/xml/Android.bp audio/effect/all-versions/default/Android.bp audio/effect/all-versions/default/util/Android.bp audio/effect/all-versions/vts/functional/Android.bp audio/policy/1.0/vts/functional/Android.bp audio/policy/1.0/xml/Android.bp audio/policy/1.0/xml/pfw_schemas/Android.bp authsecret/1.0/Android.bp authsecret/1.0/default/Android.bp authsecret/1.0/vts/functional/Android.bp authsecret/aidl/Android.bp authsecret/aidl/default/Android.bp authsecret/aidl/vts/Android.bp automotive/audiocontrol/1.0/Android.bp automotive/audiocontrol/1.0/default/Android.bp automotive/audiocontrol/1.0/vts/functional/Android.bp automotive/audiocontrol/2.0/Android.bp automotive/audiocontrol/2.0/default/Android.bp automotive/audiocontrol/2.0/vts/functional/Android.bp automotive/audiocontrol/aidl/Android.bp automotive/audiocontrol/aidl/default/Android.bp automotive/audiocontrol/aidl/vts/Android.bp automotive/can/1.0/default/libnetdevice/Android.bp automotive/can/1.0/default/libnl++/Android.bp automotive/can/1.0/hidl-utils/Android.bp automotive/can/1.0/tools/Android.bp automotive/can/1.0/tools/configurator/Android.bp automotive/can/1.0/tools/configurator/proto/Android.bp automotive/can/1.0/tools/libcanhaltools/Android.bp automotive/can/1.0/vts/functional/Android.bp automotive/can/1.0/vts/utils/Android.bp automotive/evs/1.0/Android.bp automotive/evs/1.0/default/Android.bp automotive/evs/1.0/vts/functional/Android.bp automotive/evs/1.1/Android.bp automotive/evs/1.1/default/Android.bp automotive/evs/1.1/vts/functional/Android.bp automotive/evs/1.1/vts/fuzzing/Android.bp automotive/evs/common/utils/default/Android.bp automotive/evs/common/utils/default/test/fuzz/Android.bp automotive/occupant_awareness/aidl/Android.bp automotive/occupant_awareness/aidl/default/Android.bp automotive/occupant_awareness/aidl/mock/Android.bp automotive/occupant_awareness/aidl/vts/functional/Android.bp automotive/sv/1.0/Android.bp automotive/sv/1.0/default/Android.bp automotive/sv/1.0/vts/functional/Android.bp automotive/vehicle/2.0/Android.bp automotive/vehicle/2.0/default/Android.bp automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp automotive/vehicle/2.0/utils/Android.bp biometrics/common/aidl/Android.bp biometrics/face/1.0/Android.bp biometrics/face/1.0/default/Android.bp biometrics/face/1.0/vts/functional/Android.bp biometrics/face/aidl/Android.bp biometrics/face/aidl/default/Android.bp biometrics/face/aidl/vts/Android.bp biometrics/fingerprint/2.1/Android.bp biometrics/fingerprint/2.1/default/Android.bp biometrics/fingerprint/2.1/vts/functional/Android.bp biometrics/fingerprint/2.2/Android.bp biometrics/fingerprint/2.2/default/Android.bp biometrics/fingerprint/2.2/vts/functional/Android.bp biometrics/fingerprint/2.3/Android.bp biometrics/fingerprint/2.3/vts/functional/Android.bp biometrics/fingerprint/aidl/Android.bp biometrics/fingerprint/aidl/default/Android.bp biometrics/fingerprint/aidl/vts/Android.bp bluetooth/1.0/Android.bp bluetooth/1.0/default/Android.bp bluetooth/1.0/vts/functional/Android.bp bluetooth/1.1/Android.bp bluetooth/1.1/default/Android.bp bluetooth/1.1/vts/functional/Android.bp bluetooth/a2dp/1.0/Android.bp bluetooth/a2dp/1.0/default/Android.bp bluetooth/a2dp/1.0/vts/functional/Android.bp bluetooth/audio/2.0/Android.bp bluetooth/audio/2.0/default/Android.bp bluetooth/audio/2.0/vts/functional/Android.bp bluetooth/audio/2.1/Android.bp bluetooth/audio/2.1/default/Android.bp bluetooth/audio/2.1/vts/functional/Android.bp bluetooth/audio/utils/Android.bp boot/1.0/Android.bp boot/1.0/default/Android.bp boot/1.0/vts/functional/Android.bp boot/1.1/Android.bp boot/1.1/default/Android.bp boot/1.1/default/boot_control/Android.bp boot/1.1/vts/functional/Android.bp boot/1.2/Android.bp boot/1.2/default/Android.bp boot/1.2/vts/functional/Android.bp broadcastradio/1.0/Android.bp broadcastradio/1.0/default/Android.bp broadcastradio/1.0/vts/functional/Android.bp broadcastradio/1.1/Android.bp broadcastradio/1.1/default/Android.bp broadcastradio/1.1/vts/functional/Android.bp broadcastradio/2.0/Android.bp broadcastradio/2.0/default/Android.bp broadcastradio/2.0/vts/functional/Android.bp broadcastradio/common/tests/Android.bp broadcastradio/common/utils/Android.bp broadcastradio/common/utils1x/Android.bp broadcastradio/common/utils2x/Android.bp broadcastradio/common/vts/utils/Android.bp camera/common/1.0/Android.bp camera/common/1.0/default/Android.bp camera/device/1.0/Android.bp camera/device/1.0/default/Android.bp camera/device/3.2/Android.bp camera/device/3.2/default/Android.bp camera/device/3.3/Android.bp camera/device/3.3/default/Android.bp camera/device/3.4/Android.bp camera/device/3.4/default/Android.bp camera/device/3.5/Android.bp camera/device/3.5/default/Android.bp camera/device/3.6/Android.bp camera/device/3.6/default/Android.bp camera/metadata/3.2/Android.bp camera/metadata/3.3/Android.bp camera/metadata/3.4/Android.bp camera/metadata/3.5/Android.bp camera/metadata/3.6/Android.bp camera/provider/2.4/Android.bp camera/provider/2.4/default/Android.bp camera/provider/2.4/vts/functional/Android.bp camera/provider/2.5/Android.bp camera/provider/2.5/default/Android.bp camera/provider/2.6/Android.bp cas/1.0/Android.bp cas/1.0/default/Android.bp cas/1.0/vts/functional/Android.bp cas/1.1/Android.bp cas/1.1/default/Android.bp cas/1.1/vts/functional/Android.bp cas/1.2/Android.bp cas/1.2/default/Android.bp cas/1.2/vts/functional/Android.bp cas/native/1.0/Android.bp common/aidl/Android.bp common/fmq/aidl/Android.bp common/support/Android.bp compatibility_matrices/Android.bp compatibility_matrices/Android.mk compatibility_matrices/build/Android.bp compatibility_matrices/exclude/Android.bp configstore/1.0/Android.bp configstore/1.0/vts/functional/Android.bp configstore/1.1/Android.bp configstore/1.1/default/Android.mk configstore/utils/Android.bp confirmationui/1.0/Android.bp confirmationui/1.0/default/Android.bp confirmationui/1.0/vts/functional/Android.bp confirmationui/support/Android.bp contexthub/1.0/Android.bp contexthub/1.0/default/Android.bp contexthub/1.0/vts/functional/Android.bp contexthub/1.1/Android.bp contexthub/1.1/default/Android.bp contexthub/1.1/vts/functional/Android.bp contexthub/1.2/Android.bp contexthub/1.2/default/Android.bp contexthub/1.2/vts/functional/Android.bp contexthub/common/default/1.X/Android.bp contexthub/common/default/1.X/utils/Android.bp contexthub/common/vts/Android.bp drm/1.0/Android.bp drm/1.0/default/Android.bp drm/1.0/vts/functional/Android.bp drm/1.1/Android.bp drm/1.1/vts/functional/Android.bp drm/1.2/Android.bp drm/1.2/vts/functional/Android.bp drm/1.3/Android.bp drm/1.3/vts/functional/Android.bp drm/1.4/Android.bp drm/1.4/vts/functional/Android.bp dumpstate/1.0/Android.bp dumpstate/1.0/default/Android.bp dumpstate/1.0/vts/functional/Android.bp dumpstate/1.1/Android.bp dumpstate/1.1/default/Android.bp dumpstate/1.1/vts/functional/Android.bp fastboot/1.0/Android.bp fastboot/1.0/default/Android.bp fastboot/1.1/Android.bp fastboot/1.1/default/Android.bp gatekeeper/1.0/Android.bp gatekeeper/1.0/default/Android.bp gatekeeper/1.0/software/Android.bp gatekeeper/1.0/software/tests/Android.bp gatekeeper/1.0/vts/functional/Android.bp gnss/1.0/Android.bp gnss/1.0/default/Android.bp gnss/1.0/vts/functional/Android.bp gnss/1.1/Android.bp gnss/1.1/default/Android.bp gnss/1.1/vts/functional/Android.bp gnss/2.0/Android.bp gnss/2.0/default/Android.bp gnss/2.0/vts/functional/Android.bp gnss/2.1/Android.bp gnss/2.1/default/Android.bp gnss/2.1/vts/functional/Android.bp gnss/aidl/Android.bp gnss/aidl/default/Android.bp gnss/aidl/vts/Android.bp gnss/common/utils/default/Android.bp gnss/common/utils/vts/Android.bp gnss/measurement_corrections/1.0/Android.bp gnss/measurement_corrections/1.1/Android.bp gnss/visibility_control/1.0/Android.bp graphics/allocator/2.0/Android.bp graphics/allocator/2.0/default/Android.bp graphics/allocator/2.0/utils/gralloc1-adapter/Android.bp graphics/allocator/2.0/utils/hal/Android.bp graphics/allocator/2.0/utils/passthrough/Android.bp graphics/allocator/3.0/Android.bp graphics/allocator/4.0/Android.bp graphics/bufferqueue/1.0/Android.bp graphics/bufferqueue/2.0/Android.bp graphics/common/1.0/Android.bp graphics/common/1.1/Android.bp graphics/common/1.2/Android.bp graphics/common/aidl/Android.bp graphics/composer/2.1/Android.bp graphics/composer/2.1/default/Android.bp graphics/composer/2.1/utils/command-buffer/Android.bp graphics/composer/2.1/utils/hal/Android.bp graphics/composer/2.1/utils/hwc2on1adapter/Android.bp graphics/composer/2.1/utils/hwc2onfbadapter/Android.bp graphics/composer/2.1/utils/passthrough/Android.bp graphics/composer/2.1/utils/resources/Android.bp graphics/composer/2.1/utils/vts/Android.bp graphics/composer/2.1/vts/functional/Android.bp graphics/composer/2.2/Android.bp graphics/composer/2.2/default/Android.mk graphics/composer/2.2/utils/command-buffer/Android.bp graphics/composer/2.2/utils/hal/Android.bp graphics/composer/2.2/utils/passthrough/Android.bp graphics/composer/2.2/utils/resources/Android.bp graphics/composer/2.2/utils/vts/Android.bp graphics/composer/2.2/vts/functional/Android.bp graphics/composer/2.3/Android.bp graphics/composer/2.3/default/Android.bp graphics/composer/2.3/utils/command-buffer/Android.bp graphics/composer/2.3/utils/hal/Android.bp graphics/composer/2.3/utils/passthrough/Android.bp graphics/composer/2.3/utils/vts/Android.bp graphics/composer/2.3/vts/functional/Android.bp graphics/composer/2.4/Android.bp graphics/composer/2.4/default/Android.bp graphics/composer/2.4/utils/command-buffer/Android.bp graphics/composer/2.4/utils/hal/Android.bp graphics/composer/2.4/utils/passthrough/Android.bp graphics/composer/2.4/utils/vts/Android.bp graphics/composer/2.4/vts/functional/Android.bp graphics/mapper/2.0/Android.bp graphics/mapper/2.0/default/Android.bp graphics/mapper/2.0/utils/hal/Android.bp graphics/mapper/2.0/utils/passthrough/Android.bp graphics/mapper/2.0/utils/vts/Android.bp graphics/mapper/2.0/vts/functional/Android.bp graphics/mapper/2.1/Android.bp graphics/mapper/2.1/default/Android.bp graphics/mapper/2.1/utils/hal/Android.bp graphics/mapper/2.1/utils/passthrough/Android.bp graphics/mapper/2.1/utils/vts/Android.bp graphics/mapper/2.1/vts/functional/Android.bp graphics/mapper/3.0/Android.bp graphics/mapper/3.0/utils/vts/Android.bp graphics/mapper/3.0/vts/functional/Android.bp graphics/mapper/4.0/Android.bp graphics/mapper/4.0/utils/vts/Android.bp graphics/mapper/4.0/vts/functional/Android.bp health/1.0/Android.bp health/1.0/default/Android.bp health/2.0/Android.bp health/2.0/default/Android.bp health/2.0/utils/libhealthhalutils/Android.bp health/2.0/utils/libhealthservice/Android.bp health/2.0/utils/libhealthstoragedefault/Android.bp health/2.0/vts/functional/Android.bp health/2.1/Android.bp health/2.1/default/Android.bp health/2.1/vts/functional/Android.bp health/storage/1.0/Android.bp health/storage/1.0/default/Android.bp health/storage/1.0/vts/functional/Android.bp health/storage/aidl/Android.bp health/storage/aidl/default/Android.bp health/storage/aidl/vts/functional/Android.bp health/storage/impl_common/Android.bp health/storage/test_common/Android.bp health/utils/libhealth2impl/Android.bp health/utils/libhealthloop/Android.bp identity/aidl/Android.bp identity/aidl/default/Android.bp identity/aidl/vts/Android.bp identity/support/Android.bp input/classifier/1.0/Android.bp input/classifier/1.0/default/Android.bp input/classifier/1.0/vts/functional/Android.bp input/common/1.0/Android.bp ir/1.0/Android.bp ir/1.0/default/Android.bp ir/1.0/vts/functional/Android.bp keymaster/3.0/Android.bp keymaster/3.0/default/Android.mk keymaster/3.0/vts/functional/Android.bp keymaster/4.0/Android.bp keymaster/4.0/default/Android.bp keymaster/4.0/support/Android.bp keymaster/4.0/vts/functional/Android.bp keymaster/4.0/vts/performance/Android.bp keymaster/4.1/Android.bp keymaster/4.1/default/Android.bp keymaster/4.1/support/Android.bp keymaster/4.1/vts/functional/Android.bp keymaster/aidl/Android.bp light/2.0/Android.bp light/2.0/default/Android.bp light/2.0/vts/functional/Android.bp light/aidl/Android.bp light/aidl/default/Android.bp light/aidl/vts/functional/Android.bp light/utils/Android.bp media/1.0/Android.bp media/1.0/xml/Android.mk media/Android.bp media/bufferpool/1.0/Android.bp media/bufferpool/2.0/Android.bp media/c2/1.0/Android.bp media/c2/1.1/Android.bp media/omx/1.0/Android.bp media/omx/1.0/vts/functional/audio/Android.bp media/omx/1.0/vts/functional/common/Android.bp media/omx/1.0/vts/functional/component/Android.bp media/omx/1.0/vts/functional/store/Android.bp media/omx/1.0/vts/functional/video/Android.bp memtrack/1.0/Android.bp memtrack/1.0/default/Android.bp memtrack/1.0/vts/functional/Android.bp memtrack/aidl/Android.bp memtrack/aidl/default/Android.bp memtrack/aidl/vts/Android.bp neuralnetworks/1.0/Android.bp neuralnetworks/1.0/utils/Android.bp neuralnetworks/1.0/vts/functional/Android.bp neuralnetworks/1.1/Android.bp neuralnetworks/1.1/utils/Android.bp neuralnetworks/1.1/vts/functional/Android.bp neuralnetworks/1.2/Android.bp neuralnetworks/1.2/utils/Android.bp neuralnetworks/1.2/vts/functional/Android.bp neuralnetworks/1.3/Android.bp neuralnetworks/1.3/utils/Android.bp neuralnetworks/1.3/vts/functional/Android.bp neuralnetworks/aidl/Android.bp neuralnetworks/aidl/utils/Android.bp neuralnetworks/aidl/vts/functional/Android.bp neuralnetworks/utils/common/Android.bp neuralnetworks/utils/service/Android.bp nfc/1.0/Android.bp nfc/1.0/default/Android.bp nfc/1.0/vts/functional/Android.bp nfc/1.1/Android.bp nfc/1.1/vts/functional/Android.bp nfc/1.2/Android.bp nfc/1.2/vts/functional/Android.bp oemlock/1.0/Android.bp oemlock/1.0/vts/functional/Android.bp oemlock/aidl/Android.bp oemlock/aidl/default/Android.bp oemlock/aidl/vts/Android.bp power/1.0/Android.bp power/1.0/default/Android.bp power/1.0/vts/functional/Android.bp power/1.1/Android.bp power/1.1/vts/functional/Android.bp power/1.2/Android.bp power/1.2/vts/functional/Android.bp power/1.3/Android.bp power/1.3/vts/functional/Android.bp power/aidl/Android.bp power/aidl/default/Android.bp power/aidl/vts/Android.bp power/stats/1.0/Android.bp power/stats/1.0/default/Android.bp power/stats/1.0/vts/functional/Android.bp power/stats/aidl/Android.bp power/stats/aidl/default/Android.bp power/stats/aidl/vts/Android.bp radio/1.0/Android.bp radio/1.0/vts/functional/Android.bp radio/1.1/Android.bp radio/1.1/vts/functional/Android.bp radio/1.2/Android.bp radio/1.2/default/Android.bp radio/1.2/vts/functional/Android.bp radio/1.3/Android.bp radio/1.3/vts/functional/Android.bp radio/1.4/Android.bp radio/1.4/vts/functional/Android.bp radio/1.5/Android.bp radio/1.5/vts/functional/Android.bp radio/1.6/Android.bp radio/1.6/vts/functional/Android.bp radio/config/1.0/Android.bp radio/config/1.0/default/Android.bp radio/config/1.0/vts/functional/Android.bp radio/config/1.1/Android.bp radio/config/1.1/vts/functional/Android.bp radio/config/1.2/Android.bp radio/config/1.2/vts/functional/Android.bp radio/config/1.3/Android.bp radio/config/1.3/vts/functional/Android.bp radio/deprecated/1.0/Android.bp rebootescrow/aidl/Android.bp rebootescrow/aidl/default/Android.bp rebootescrow/aidl/vts/functional/Android.bp renderscript/1.0/Android.bp renderscript/1.0/default/Android.bp renderscript/1.0/vts/functional/Android.bp secure_element/1.0/Android.bp secure_element/1.0/vts/functional/Android.bp secure_element/1.1/Android.bp secure_element/1.1/vts/functional/Android.bp secure_element/1.2/Android.bp secure_element/1.2/vts/functional/Android.bp security/keymint/aidl/Android.bp security/keymint/aidl/default/Android.bp security/keymint/aidl/vts/functional/Android.bp security/keymint/aidl/vts/performance/Android.bp security/keymint/support/Android.bp security/secureclock/aidl/Android.bp security/secureclock/aidl/vts/functional/Android.bp security/sharedsecret/aidl/Android.bp security/sharedsecret/aidl/vts/functional/Android.bp sensors/1.0/Android.bp sensors/1.0/default/Android.bp sensors/1.0/vts/functional/Android.bp sensors/2.0/Android.bp sensors/2.0/default/Android.bp sensors/2.0/multihal/Android.bp sensors/2.0/vts/functional/Android.bp sensors/2.1/Android.bp sensors/2.1/default/Android.bp sensors/2.1/multihal/Android.bp sensors/2.1/vts/functional/Android.bp sensors/common/default/2.X/Android.bp sensors/common/default/2.X/multihal/Android.bp sensors/common/default/2.X/multihal/tests/Android.bp sensors/common/utils/Android.bp sensors/common/vts/2_X/Android.bp sensors/common/vts/utils/Android.bp soundtrigger/2.0/Android.bp soundtrigger/2.0/default/Android.bp soundtrigger/2.0/default/Android.mk soundtrigger/2.0/vts/functional/Android.bp soundtrigger/2.1/Android.bp soundtrigger/2.1/default/Android.mk soundtrigger/2.1/vts/functional/Android.bp soundtrigger/2.2/Android.bp soundtrigger/2.2/default/Android.bp soundtrigger/2.2/vts/functional/Android.bp soundtrigger/2.3/Android.bp soundtrigger/2.3/default/Android.bp soundtrigger/2.3/vts/functional/Android.bp tests/bar/1.0/Android.bp tests/bar/1.0/default/Android.bp tests/baz/1.0/Android.bp tests/baz/1.0/default/Android.bp tests/expression/1.0/Android.bp tests/extension/light/2.0/Android.bp tests/extension/light/2.0/default/Android.bp tests/extension/vibrator/aidl/Android.bp tests/extension/vibrator/aidl/client/Android.bp tests/extension/vibrator/aidl/default/Android.bp tests/foo/1.0/Android.bp tests/foo/1.0/default/Android.bp tests/foo/1.0/default/lib/Android.bp tests/hash/1.0/Android.bp tests/hash/1.0/default/Android.bp tests/inheritance/1.0/Android.bp tests/inheritance/1.0/default/Android.bp tests/lazy/1.0/Android.bp tests/lazy/1.1/Android.bp tests/libhwbinder/1.0/Android.bp tests/libhwbinder/1.0/default/Android.bp tests/libhwbinder/aidl/Android.bp tests/memory/1.0/Android.bp tests/memory/1.0/default/Android.bp tests/memory/2.0/Android.bp tests/msgq/1.0/Android.bp tests/msgq/1.0/default/Android.bp tests/multithread/1.0/Android.bp tests/multithread/1.0/default/Android.bp tests/safeunion/1.0/Android.bp tests/safeunion/1.0/default/Android.bp tests/safeunion/cpp/1.0/Android.bp tests/safeunion/cpp/1.0/default/Android.bp tests/trie/1.0/Android.bp tests/trie/1.0/default/Android.bp tetheroffload/config/1.0/Android.bp tetheroffload/config/1.0/vts/functional/Android.bp tetheroffload/control/1.0/Android.bp tetheroffload/control/1.0/vts/functional/Android.bp tetheroffload/control/1.1/Android.bp tetheroffload/control/1.1/vts/functional/Android.bp thermal/1.0/Android.bp thermal/1.0/default/Android.bp thermal/1.0/vts/functional/Android.bp thermal/1.1/Android.bp thermal/1.1/vts/functional/Android.bp thermal/2.0/Android.bp thermal/2.0/default/Android.bp thermal/2.0/vts/functional/Android.bp tv/cec/1.0/Android.bp tv/cec/1.0/default/Android.bp tv/cec/1.1/Android.bp tv/cec/1.1/default/Android.bp tv/cec/1.1/vts/functional/Android.bp tv/input/1.0/Android.bp tv/input/1.0/default/Android.bp tv/input/1.0/vts/functional/Android.bp tv/tuner/1.0/Android.bp tv/tuner/1.0/default/Android.bp tv/tuner/1.0/vts/functional/Android.bp tv/tuner/1.1/Android.bp tv/tuner/1.1/default/Android.bp tv/tuner/1.1/vts/functional/Android.bp tv/tuner/assets/Android.bp usb/1.0/Android.bp usb/1.0/default/Android.bp usb/1.0/vts/functional/Android.bp usb/1.1/Android.bp usb/1.1/vts/functional/Android.bp usb/1.2/Android.bp usb/1.2/vts/functional/Android.bp usb/1.3/Android.bp usb/1.3/vts/functional/Android.bp usb/gadget/1.0/Android.bp usb/gadget/1.1/Android.bp usb/gadget/1.1/default/Android.bp usb/gadget/1.1/default/lib/Android.bp usb/gadget/1.2/Android.bp usb/gadget/1.2/default/Android.bp usb/gadget/1.2/default/lib/Android.bp vibrator/1.0/Android.bp vibrator/1.0/default/Android.bp vibrator/1.0/vts/functional/Android.bp vibrator/1.1/Android.bp vibrator/1.1/vts/functional/Android.bp vibrator/1.2/Android.bp vibrator/1.2/vts/functional/Android.bp vibrator/1.3/Android.bp vibrator/1.3/example/Android.bp vibrator/1.3/vts/functional/Android.bp vibrator/aidl/Android.bp vibrator/aidl/default/Android.bp vibrator/aidl/vts/Android.bp vibrator/bench/Android.bp vr/1.0/Android.bp vr/1.0/default/Android.bp vr/1.0/vts/functional/Android.bp weaver/1.0/Android.bp weaver/1.0/vts/functional/Android.bp weaver/aidl/Android.bp weaver/aidl/default/Android.bp weaver/aidl/vts/Android.bp wifi/1.0/Android.bp wifi/1.0/vts/functional/Android.bp wifi/1.1/Android.bp wifi/1.1/vts/functional/Android.bp wifi/1.2/Android.bp wifi/1.2/vts/functional/Android.bp wifi/1.3/Android.bp wifi/1.3/vts/functional/Android.bp wifi/1.4/Android.bp wifi/1.4/vts/functional/Android.bp wifi/1.5/Android.bp wifi/1.5/default/Android.mk wifi/1.5/vts/functional/Android.bp wifi/hostapd/1.0/Android.bp wifi/hostapd/1.0/vts/functional/Android.bp wifi/hostapd/1.1/Android.bp wifi/hostapd/1.1/vts/functional/Android.bp wifi/hostapd/1.2/Android.bp wifi/hostapd/1.2/vts/functional/Android.bp wifi/hostapd/1.3/Android.bp wifi/hostapd/1.3/vts/functional/Android.bp wifi/offload/1.0/Android.bp wifi/offload/1.0/vts/functional/Android.bp wifi/supplicant/1.0/Android.bp wifi/supplicant/1.0/vts/functional/Android.bp wifi/supplicant/1.1/Android.bp wifi/supplicant/1.1/vts/functional/Android.bp wifi/supplicant/1.2/Android.bp wifi/supplicant/1.2/vts/functional/Android.bp wifi/supplicant/1.3/Android.bp wifi/supplicant/1.3/vts/functional/Android.bp wifi/supplicant/1.4/Android.bp wifi/supplicant/1.4/vts/functional/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-NCSA to: Android.bp automotive/can/1.0/Android.bp automotive/can/1.0/default/Android.bp Added SPDX-license-identifier-NCSA to: automotive/can/1.0/default/libc++fs/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: If5e9ac8023cdc10d2370d16e7dd75a4bbb7085aa
* Camera: fix HAL1 removeCamera crashYin-Chia Yeh2020-12-031-15/+20
| | | | | | Test: partner testing Bug: 173511749 Change-Id: Ifd5fc7c63e3835945194291d161b491bd5acb342
* Merge "Implement lockYCbCr stub for Mapper 4.0" into rvc-devJason Macnak2020-05-142-10/+82
|\
| * Implement lockYCbCr stub for Mapper 4.0Jason Macnak2020-05-122-10/+82
| | | | | | | | | | | | | | | | (Includes bpfmt changes from repo hook) Bug: b/146515640 Test: cts -m CtsCameraTestCases Change-Id: Ibd882db1883e0976c2baf95257e51c29de6e6853
* | Adds a lock method to HandleImporter w/ access regionJason Macnak2020-05-122-24/+34
|/ | | | | | | | ... to allow locking 2D regions of non-BLOB buffers. Bug: b/146515640 Test: cts -m CtsCameraTestCases Change-Id: Ia68abf96ffe15891520833921e103efa3f7a80c5
* Camera: move preCorrectionActiveArraySize override to cameraserverShuzhen Wang2020-05-011-10/+0
| | | | | | | | This is to handle the case where HAL isn't using the hidl shim. Test: dumpsys on Pixel 2 Bug: 145300768 Change-Id: I74874a025904887cc27ec00518f4261dd24e291a
* Camera: Fix possible ExifUtils heap corruption am: aa5673385a am: 711ebe64dd ↵Automerger Merge Worker2020-03-041-2/+2
|\ | | | | | | | | | | am: f4481c4d98 Change-Id: I4b5e0308f7a5af5e0aaa4b85e458f0e90b4fac7b
| * Camera: Fix possible ExifUtils heap corruption am: aa5673385aAutomerger Merge Worker2020-03-041-2/+2
| |\ | | | | | | | | | Change-Id: I209742be498ea65b6763cf673514e74241b75717
| | * Camera: Fix possible ExifUtils heap corruptionEmilian Peev2020-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both EXIF_TAG_IMAGE_WIDTH and EXIF_TAG_IMAGE_LENGTH expect short values as per EXIF spec. Call appropriate libexif function to avoid possible heap corruption. Bug: 148223871 Test: Successful build Change-Id: Ib16bf1ae8ab2093da529efe6ff0778331c3e9eb3
* | | Camera: fix offline processing VTS/CTSYin-Chia Yeh2020-02-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | Test: camera VTS test + add manual delay to webcam HAL output thread so there will be some requests left for offline processing camera CTS OfflineSessionTest Bug: 135142453 Change-Id: If5718350707ef051f96b96da75f934089b10467d
* | | gralloc: update lock and lockYCbCrMarissa Wall2019-11-211-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMapper 4.0 does support lockYCbCr functionality through lock and BufferMetadata getters. However, we will wait to add the support in one central gralloc library. For now just stub out the call so there aren't any compiler errors. Bug: 141631415 Test: Compiles Change-Id: I9d2f70c87412f8ac2114db85eb6dc01539876e2b
* | | gralloc: add IAllocator/IMapper 4.0 to camera HIDLMarissa Wall2019-08-203-10/+51
|/ / | | | | | | | | | | | | | | | | | | Add support for gralloc 4.0 to camera interface. Bug: 136016160 Test: VtsHalCameraProviderV2_4TargetTest on a pixel with a local rev'd version of gralloc 4.0. Change-Id: I7f2e14c291fbdafcb68c1e9c6e94fed87d810191
* | Merge "Camera: Add support for IMapper 3.0" into qt-devTreeHugger Robot2019-05-213-89/+169
|\ \
| * | Camera: Add support for IMapper 3.0Shuzhen Wang2019-05-143-89/+169
| | | | | | | | | | | | | | | | | | | | | | | | Use IMapper 3.0 if available. Otherwise, fall back to IMapper 2.0. Test: Update camera VTS test passes Bug: 128013727 Change-Id: I9bb54bbc290f1b90ef593dee9796b22b0dd49671
* | | Camera: Fix remaining OWNER file includeShuzhen Wang2019-05-201-1/+1
|/ / | | | | | | | | | | Bug: 133188173 Test: None Change-Id: I2da75bf9a7480974b3ca1c6eea52a58b46b0cc97
* | Allow android.hardware.camera.common@1.0-helper to access vendor tagsJayant Chowdhary2019-04-042-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows vendor camera clients to access provider specific vendor tags. No expected behavior changes to camera HAL process(es). Also fixes OWNERS file. Bug: 129688550 Test: AImageReaderTest modified to set a vendor tag in CaptureRequest Test: Take still pictures / record video (sanity) Test: camera CTS tests Change-Id: I18b678e7e0db7f1b29c3de0b762cb65e25842fa8 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
* | Camera: Centralize OWNERSEino-Ville Talvala2019-03-131-7/+1
| | | | | | | | | | Test: Builds Change-Id: I9b8d1675566db44b959c633c25ceaf61a6dc08db
* | Camera: Handle binder call failure due to static metadata sizeShuzhen Wang2019-02-122-3/+78
| | | | | | | | | | | | | | | | | | For physical camera static metadata, we should reduce its size before passing it across binder if possible. Test: Camera CTS Bug: 124129552 Change-Id: I0d9129642ddcbb4c1a1c7fcf7a88bac734be4f5a
* | Camera: Restructure default camera.provider 2.4Eino-Ville Talvala2019-02-072-0/+12
| | | | | | | | | | | | | | | | | | | | | | To allow for implementation inheritance of @2.4 legacy wrapper and @2.4 external webcamera HALs in the @2.5 implementations, restructure the existing default provider to separate the service interface into a thin shim that calls the implementations. Test: Camera starts as usual after refactor, VTS tests pass Bug: 121379978 Change-Id: Id40790ed4fb495577fd2b885c706b2ed7a96d64e
* | Merge "Explicitly include log/log.h or android/log.h instead of ↵Sasha Smundak2019-02-011-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | cutils/log.h" am: b5db125860 am: 4a1f714ed0 am: 1e45903dd5 Change-Id: I1a54776b7560154304573a8cd3dfeae5babf43e5
| * | Explicitly include log/log.h or android/log.h instead of cutils/log.hSasha Smundak2019-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Eliminates the warning. Test: treehugger Bug: 123758136 Change-Id: Ibe50261efc18d659a10129977342bc765a9ba9d5
* | | Add VendorTagDescriptorCache to android.hardware.camera.common@1.0-helperJayant Chowdhary2019-01-142-0/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since android.hardware.camera.common@1.0-helper is a utility VNDK library, where the implementation isn't linked to a specific version of any HIDL interface we don't uprev the library. Bug: 122477622 Test: builds Change-Id: Idb7cb9569cf4490659be0090d72f91f411c8dbc8 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
* | | Camera: Add support for stream combination queryEmilian Peev2018-11-292-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera devices 3.5 and later can optionally support stream combination queries. These use the regular 'StreamConfiguration' structure however in contrast to normal stream configuration, the query will be much faster and will not cause any HW/SW side effects. Additionally it will be possible to run stream combination queries at any time after the camera device is open. Implement stream combination query for the external camera provider. Bug: 111593096 Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: I59ec936d17dabc89ba49407a750df1cd2e61b145
* | | Camera: Fix a crash in removeCamera()Shik Chen2018-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mCameraInfoMap is a KeyedVector, we should use .valueFor() instead of operator[] to get the value from a key. Bug: 118364955 Bug: 118359878 Bug: 77833131 Test: Plug and unplug the external camera 10+ times. Change-Id: Ibf48e5a78b16bdeba08b02242379eaf571fc76cb
* | | Camera: update camera HAL ownersYin-Chia Yeh2018-10-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add OWNER file to device 3.5 default implementation and add new owners to existing owner file. Test: N/A Bug: N/A Change-Id: I09bae8a6bbdf48bd27cba8675d979c65b51a3e6b
* | | VTS: Add test for device version 3.5Shuzhen Wang2018-10-042-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also includes: - Add test for getPhysicalCameraCharacteristics. - Doc update for the new HIDL API. - Tighten boundary check for camera ID in CameraModule. Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO Bug: 79523700 Bug: 115969176 Bug: 116512585 Change-Id: I051d1b0c91834781a1f8d893ed5ebfa579b03774
* | | Camera: Add support for physical camera characteristics queryShuzhen Wang2018-09-132-0/+37
|/ / | | | | | | | | | | | | | | | | | | | | - Add version 3.5 for ICameraDevice for physical camera characteristics query. - Add version 3.5 for ICameraDeviceSession to work around HIDL versioning bug. Test: Camera CTS Bug: 79523700 Change-Id: I8df6cdd4ee6ac5755758510c0dc1ea1cec31aa73
* | Merge "Fix unnecessary copy initialization warnings"Chih-Hung Hsieh2018-07-131-1/+1
|\ \ | |/ |/| | | | | | | am: f110ea4893 Change-Id: If17584a8ed6fc53f3681a6ac298730dfbbaf4623
| * Fix unnecessary copy initialization warningsChih-Hung Hsieh2018-07-131-1/+1
| | | | | | | | | | | | Bug: 30413862 Test: build with WITH_TIDY=1 Change-Id: I5de56c163d26e7522141ca06020321c481eea233
* | Camera: use compact copy when necessaryYin-Chia Yeh2018-05-231-1/+1
| | | | | | | | | | | | | | | | | | When camera HAL sends redundant metadata (reserved space >> actual used space), create a compact copy to save IPC overhead. Test: Camera CTS/camera app smoke test Bug: 79838637 Change-Id: I02657deb377c43c65d111d1fc894eb3c20ad3b8f
* | Camera: various external camera CTS fixesYin-Chia Yeh2018-03-061-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Update the FPS range to list (0.5*fps, fps) only as webcams tends to skip a lot of frames and not able to output at stable framerate. 2. Exif: don't expect focal length to present 3. Thumbnail: allow 0x0 size for no thumbnail output 4. Allow retry some ioctl during configureStream as some webcams seems having problem in quick close reopen operation. Test: CTS CameraTest Bug: 72261912 Change-Id: Ic23b7fb293b7579694c59240e854d750c842886d
* | Use std::unordered_map for mTagToTypeMapChris Jenneisch2018-02-282-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | In the profile we notice that SortedVectorImpl::_indexOrderOf is almost 1.6% which is quite high considering it is an access to a container. We make mTagToNameMap as a std::unordered_map to store the Tag and the types. The accesses would be in constant time. This change removes this from the profile and give ~10% improvement. Bug: 72526772 Change-Id: Iffd244febd093bdfec9fe4d5e846a0e59c0ecdce
* | Common: Added CameraMetadata -> libexif converterYuriy Romanenko2018-01-263-2/+1377
| | | | | | | | | | | | | | | | | | | | | | | | A fully-ported version of the ExifUtils class from ChromeOS (see [chromeos]/src/platform/arc-camera/common/exif_utils.cc) * Made into an interface to remove libexif dependencies from header file * Rewrote ChromeOS dependencies * Minor fixes Change-Id: I2e93fa3e08e6b82b26641cc736eeb1c61b04a2c0
* | Common: Added lock() to camera HandleImporterYuriy Romanenko2018-01-252-0/+35
| | | | | | | | | | | | | | Effectively a counterpart to lockYCbCr() but for generic single-plane buffers Change-Id: I73d051c085fe2b96810a1ed761deac177db2733d
* | Merge "Camera: Add external camera provider"Yin-Chia Yeh2018-01-232-1/+67
|\ \ | |/ |/|
| * Camera: Add external camera providerYin-Chia Yeh2018-01-222-1/+67
| | | | | | | | | | | | Bug: 64874137 63873538 Change-Id: I4309874a7dedd3dd71d4bd0c2004d460421db679
* | camera: add support for camera removalGuennadi Liakhovetski2018-01-223-0/+15
|/ | | | | | | Add camera removal support to CameraProvider and CameraModule. Change-Id: I047e486d1665ba9e0b1455f77a7bbbb5e0d66653 Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
* Fix missing includes in camera.commonYifan Hong2017-06-271-0/+1
| | | | | | Test: mma -j BOARD_VNDK_VERSION=current Bug: 33241851 Change-Id: I471f05cf66e4c8532c428f9894fa4642139e03e2
* Make camera/drm helper classes available to system.Martijn Coenen2017-06-201-1/+1
| | | | | | | | | As VTS tests are considered system and link against these. Bug: 38302533 Bug: 62523241 Test: builds Change-Id: Iac5c872c58ec9646d6d6974aacceb930daad7e5e
* Move CameraParameters class to android.hardware.camera.common@1.0-helperJiyong Park2017-06-123-0/+1258
| | | | | | | | | | | | | | | | The CameraParamters class is widely used by many of the camera-related vendor libs. However, they have been using the class from the libcamera_client.so which is not a VNDK library. By moving the class to the common@1.0-helper, which is available to vendors, we can eliminate the dependency to libcamera_client.so from the vendor libs. Bug: 62523241 Test: 2016/2017 Pixel devices build and boots. Camera functionalities work. Change-Id: I3f69f1591663390c050d1e75ac2957d3ecc38ba7
* fix circular dependency libnativewindow <-> libuiMathias Agopian2017-05-091-1/+1
| | | | | Bug: 37647680, 37648355 Test: compile, manual Change-Id: I2fdec8e86f6729aadd572a250b9d55d77f0d4eef
* Camera: Clean up TODOs that aren't going to be addressed.Eino-Ville Talvala2017-05-081-2/+0
| | | | | | | | | | | These TODOs aren't in scope for the wrapper libraries. Leave the few TODOs that have bugs tracking them, and the ones that are from autogenerated metadata. Test: Builds Bug: 34108979 Change-Id: Ib28467a4fbcfaab4a0809334bc62eabb9290797a
* Camera: use gralloc mapper for handle importYin-Chia Yeh2017-04-273-120/+63
| | | | | | Bug: 37540361 Test: marlin, smoke test GCA Change-Id: I9d58d9c6af20b37c016f036bce2dcf55817c59aa
* android.hardware.camera.common@1.0-helper: vendorSteven Moreland2017-04-111-0/+1
| | | | | | Test: links/camera works Bug: 33241851 Change-Id: I5bb846fabca29b789692fe8c253383fd821b8ba6
* Fix transitive includes.Steven Moreland2017-04-063-6/+6
| | | | | | | | | Files relying on transitive include of utils/Log.h (and things that it includes) from MQDescriptor.h Test: pass Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4 Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
* hidl_default to all targets.Steven Moreland2017-03-081-0/+1
| | | | | | | | | | | find hardware/interfaces -type f -not -path "*/.git/*" \ -exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults: \["hidl_defaults"\],/ }' {} \; ./hardware/interfaces/update-makefiles.sh Test: pass Bug: 35840847 Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
* Camera: default implementation of device 1.0Yin-Chia Yeh2017-03-014-1/+270
| | | | | | | | | | | | | | | | | | | Also some updates to HIDL interface: - Add releaseRecordingFrameHandle to ICameraDevice for native handle metadata recording mode - Add handleCallbackTimestamp to ICameraDevieCallback for native handle metadata recording mode - Add missing face detection metadata to ICameraDeviceCallback::dataCallback - Instead of passing native handle, pass buffer ID in dequeueBuffer/enqueueBuffer/cancelBuffer in ICameraDevicePreviewCallback - Add CameraFrameMetadata in types.hal for face metadata Test: Camera CTS passing (except FlashLightTest) on Angler Bug: 30985004 Change-Id: Idf72a4b5f4c934845ac698f0b13536608ffd0100
* Camera: call setCallback before open_legacyYin-Chia Yeh2017-01-311-2/+4
| | | | | | | | Some open_legacy implementations require a valid callback. Test: the failing open_legacy call succeeds Bug: 34854786 Change-Id: I461c7622bdf46a7cb7febfb7eeeb083288b4af03