summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-07-18libhardware: tests/tools to vendorSteven Moreland
Since these are vendor interfaces, and we are preventing system tools from using these. Bug: 37280010 Test: build Change-Id: I9ffcb4db015de498e1935c96a2866d26b3c936c4
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardwareBob Badour
Added SPDX-license-identifier-Apache-2.0 to: modules/audio/Android.bp modules/audio_remote_submix/Android.bp modules/audio_remote_submix/tests/Android.bp modules/camera/3_0/Android.bp modules/consumerir/Android.bp modules/fingerprint/Android.bp modules/gralloc/Android.mk modules/hwcomposer/Android.bp modules/input/evdev/Android.bp modules/local_time/Android.bp modules/nfc-nci/Android.bp modules/nfc/Android.bp modules/power/Android.bp modules/radio/Android.bp modules/sensors/Android.bp modules/sensors/Android.mk modules/sensors/dynamic_sensor/Android.bp modules/sensors/dynamic_sensor/HidUtils/Android.bp modules/soundtrigger/Android.bp modules/thermal/Android.bp modules/tv_input/Android.bp modules/usbaudio/Android.bp modules/usbcamera/Android.bp modules/vibrator/Android.bp modules/vr/Android.bp tests/camera3/Android.bp tests/fingerprint/Android.bp tests/hardware/Android.bp tests/hwc/Android.bp tests/input/evdev/Android.bp tests/nusensors/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: Android.bp modules/camera/3_4/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I28924363e6c478f5d0b465b63534c4efd041c770
2020-12-04Delete keymaster0Shawn Willden
Test: Build Change-Id: I55f713587ccd91a9ec76cc10f84ecb0109aad7ac
2019-08-19Merge "Use bssl::UniquePtr."temp_140451723David Benjamin
am: 681881da02 Change-Id: I5a408faa1c06692e36a689d378ad17a2b013067e
2019-08-19Merge "Use bssl::UniquePtr."Treehugger Robot
2019-08-13Merge "Remove custom timestamp from hw/libhw/input"Siarhei Vishniakou
am: 6b14bd1a08 Change-Id: If9a4cf1d3ac09a1a1b853951f3af417669f10c54
2019-08-13Remove custom timestamp from hw/libhw/inputSiarhei Vishniakou
These are no longer used by EventHub, and should not be carried forward. Bug: 116601048 Test: presubmit only Merged-In: I35129484d9945dcd4d291e0f2fac894e07c53c04 Change-Id: I35129484d9945dcd4d291e0f2fac894e07c53c04
2019-08-08Use bssl::UniquePtr.David Benjamin
BoringSSL provides std::unique_ptr adapters now, so no need to reimplement custom ones. Test: mma Change-Id: Ia611761e99551b9583b459a04ffa79de9fb08210
2019-04-24Add validateBufferSize and getTransportSize to gralloc.hValerie Hau
This reverts commit ae6d8a3e339315b6317d01ff5452da9d89a16c1e. Bug: 130669566 Test: build, boot Change-Id: Icdb3b1e0534233995d5c0594feede6261033ec45
2019-04-23Revert "Add validateBufferSize and getTransportSize to gralloc.h"Valerie Hau
This reverts commit 491378a3d400c45aa63290315d4a5ab8e773de33. Reason for revert: Break Elfin Bug: 130669566 Change-Id: I07c6883872ed9033ec5edbf27b0bd423ead39962
2019-04-23Add validateBufferSize and getTransportSize to gralloc.hValerie Hau
Bug: 130669566 Test: build, boot Change-Id: Ic141e1c6f16d0e3c1e81c2bc6c5170e30bc60f3f
2019-02-12camera3: Add support for session parameter queriesEmilian Peev
Enable Hal to trigger or skip stream reconfiguration based on session parameter updates. Bug: 122609098 Test: Manual using application, VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 --gtest_filter=CameraHidlTest.configureStreamsWithSessionParameters Change-Id: Ie931e7cb7f46257276cc1796fccd301c85a90d85
2019-02-11Merge "Camera: Add device state notification to camera_module"Eino-Ville Talvala
2019-01-28Camera: add device 3.6 and buffer management APIsYin-Chia Yeh
Test: compile Bug: 120986771 Change-Id: I1e73f70ba05a08e80dcb0c55bb4f54671f201746
2019-01-25Camera: Add device state notification to camera_moduleShuzhen Wang
Test: Confirm logging of device state notifications occurs Test: Camera continues to function when switched to 2.5 Change-Id: Iac431770be7659c0f419ba8b002a679f38ecaae2
2018-11-09Camera: Add camera module support for stream combination queryEmilian Peev
Add necessary API to support stream combination query. This will be used in case Hal supports the new 2.5 module API. Bug: 111593096 Test: Camera VTS Change-Id: I916dcbd585e07be16f2f07da0076fb68039d6a00
2018-09-12camera_common: Upgrade camera_module to 2.5Shuzhen Wang
The new camera_module version adds function to query physical camera static metadata. Test: Camera CTS on Pixel devices Bug: 79523700 Change-Id: I276f23808595b4c6389cb04b19c8c3658b2db967
2018-01-25Removes vehicle.default targetHongwei Wang
Bug: 72179784 Test: None Change-Id: Ia96ef01c98565deb8920d1df2eee31149a2a9338
2017-12-27Convert to Android.bpDan Willemsen
See build/soong/README.md for more information Test: mmma hardware/libhardware Change-Id: Ibb7e2af9d55f581e951d8996cea5e52cd0766b04
2017-12-04Use -Werror in hardware/libhardware/testsChih-Hung Hsieh
* Remove unused local variables. * Suppress warning of unused template functions. * Fix error of unused expression value. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I5a37c24f3be0f61b0ae4552e34b7311f561d499e
2017-10-12Merge "Use -Werror in hardware/libhardware"Chih-hung Hsieh
am: d1a2b9f7c1 Change-Id: I3185f3d8f36c09ee61ebc3746d369a97c4f8a4c3
2017-10-04Use -Werror in hardware/libhardwareChih-Hung Hsieh
* Remove unused local variables and function. * Fix unused return value warning. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I269eca76cda2222c7a0176e85e92df0bb0924a0e
2017-10-02Merge "Keymaster: Move test to std::unique_ptr"Andreas Gampe
am: ce1ed06244 Change-Id: I351a99bfb33810876d2325c310325023965425fb
2017-10-02Keymaster: Move test to std::unique_ptrAndreas Gampe
In preparation for UniquePtr removal. Test: mmma hardware/libhardware/tests/keymaster Change-Id: I824f48128f7db037b8e26a42fa99b227913f32e2
2017-08-23Merge "C++14 is the default now."Elliott Hughes
am: c85724298e Change-Id: I2f23db3ff90d9fcd541176af87bdff2b95cbf6ae
2017-08-23C++14 is the default now.Elliott Hughes
Bug: http://b/32019064 Test: builds Change-Id: Iacc91f1150cdab2df40db3e33f5b57933ff79824
2017-07-19Merge "hardware/libhardware: use proper nativehelper headers" am: dfaaefd5bf ↵Steven Moreland
am: 70fe02e33d am: 0254f831a0 Change-Id: I12cc3a83e8b97295180aa493b41699d4db3c98a5
2017-07-19Merge "hardware/libhardware: use proper nativehelper headers"Steven Moreland
am: dfaaefd5bf Change-Id: Id4c967a27eb0a0d2846f76ddf718dfdd4b3d5660
2017-07-18hardware/libhardware: use proper nativehelper headersSteven Moreland
libnativeheader exports headers under nativeheader. These were available before incorrectly as global headers in order to give access to jni.h. Test: modules using hardware/libhardware find headers Bug: 63762847 Change-Id: I94305b7ab189ca0f3f89f4d87be2b113857f461f
2017-05-05fix circular dependency libnativewindow <-> libuiMathias Agopian
Bug: 37647680, 37648355 Test: compile, manual Change-Id: I5aaf07dd76d0d8f5294fb4133c7a0b5e6df3bebc
2017-04-27Camera: Remove Camera2 native testsEmilian Peev
The native camera tests will no longer be supported by 'CameraService' and will fail during compilation. VTS already has most of these covered except for the burst test cases, which need to be rewritten. Merged-In: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0 Bug: 34392075 Test: Succesful build of hardware library Change-Id: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0
2017-04-27Camera: Remove Camera2 native testsEmilian Peev
The native camera tests will no longer be supported by 'CameraService' and will fail during compilation. VTS already has most of these covered except for the burst test cases, which need to be rewritten. Bug: 34392075 Test: Succesful build of hardware library Change-Id: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0
2017-04-12resolve merge conflicts of 7c451a93 to oc-dev-plus-aospMark Salyzyn
am: 1ae7379baa Change-Id: Id715cb96a71fc9e48e14ff2e6f9e4883402aa6f6
2017-04-12resolve merge conflicts of 7c451a93 to oc-dev-plus-aospMark Salyzyn
Test: I solemnly swear I tested this conflict resolution. Bug: 34250038 Change-Id: I4196a6d5a1365106643ac6c1548fd86faffead6f
2017-04-11libhardware: deprecate cutils/log.hMark Salyzyn
Replace cutils/log.h with log/log.h. Sort headers. Minimize conflicts. Add missing required headers. Test: compile Bug: 34250038 Change-Id: I5c0f231cbfed90b73e0538c9d32ad3226c7cc5e4
2017-04-06Merge "Camera tests: Include additional camera metadata header" into oc-dev ↵Emilian Peev
am: 3623fbace2 am: f72a556a66 Change-Id: I3dd485f0e392a2410e493d4b02e56d751c33ffc3
2017-04-05Camera tests: Include additional camera metadata headerEmilian Peev
Bug: 34275821 Test: adb shell /data/nativetest/cameraservice_test/cameraservice_test --gtest_filter=CameraProviderManagerTest.MultipleVendorTagTest Complete Camera/Camera2 CTS tests Change-Id: Ia78e3003ea8433b31388a6451c0b6e37fda64275
2017-03-27Add test config to camera2_testDan Shi
Details about test configs changes are tracked in doc https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit# Bug: 35882476 Test: local test Change-Id: Iac690291dc7797237feb3526b02c53331a117915
2017-03-07Move default HAL libraries to vendorPo-Chien Hsueh
Libraries under /hardware/libhardware/modules should go to /vendor/. These are conventionl HALs for default implementations, most of them are not used. Camera and thermal are already moved in other CLs. Bug: 35907904 Test: Compiled and checked install path. Verified on Sailfish with $ lsof | grep default. Change-Id: Ibde574001c01cbfea014a20a0fbbb3265e6cdc8a
2017-01-12[sensors] Adding HAL API support for direct report modePeng Xu
Added HAL function and constant definition for sensor direct report mode. This new mode allows sensor hardware to communicate with application directly via a lock-free queue based on shared memory to achieve low latency and high report frequency. Test: compiles and runs Bug: 30985702 Change-Id: I79c73bcdcc45d43b5a236d65874e5071a589cecd
2017-01-05Camera: Update for service changes, part 2Eino-Ville Talvala
- Indicate that HALv3.0 and v3.1 are no longer supported - Update tests that reuse camera service plumbing to match service code changes Test: Builds Bug: 32991422 Change-Id: I13b800aea6f65270a2a621bd8a61705160fb2dc8
2017-01-05Camera tests: Update for service changesEino-Ville Talvala
Test: Builds Bug: 32991422 Change-Id: I2cdae7f3541bb01be000c74fc162329ce768a899
2016-11-23Merge "fix a memory leak." am: a24fcc412f am: da95482f52 am: e936ee515cYunlian Jiang
am: 22698fc181 Change-Id: I823d8c25c51e98b05cdb53349e34dc135ea4bde2
2016-11-10Merge "Remove executable bit from source file"Glenn Kasten
2016-11-09Remove executable bit from source fileGlenn Kasten
Test: builds OK Change-Id: Ib5a3926386bc827f75e354fa752e5d5983b37110
2016-11-08fix a memory leak.Yunlian Jiang
This fixes a memory leak of pointer 'ascii_out' BUG: None Test: The warning is gone. Change-Id: If3caa4c38dc9df377f1c06abb1ed9c963c9b353d
2016-11-08libhardware: fix a use after free warning.Yunlian Jiang
This fixes the warning that mModule is used after being freed. BUG: None Test: The warning is gone. Change-Id: I8d081b544f0bcd69559a10dd3e925ce5cf065c28
2016-09-06Stop hard coding gmock things.Dan Albert
The headers are exported. Change-Id: I72f8dda3f441bc72accce3c9e94a7160fcefc54c Test: mma (cherry picked from commit a26bcd5424ee0e9cf4d621d85e31551d23a46b13)
2016-08-16Stop hard coding gmock things.Dan Albert
The headers are exported. Change-Id: I72f8dda3f441bc72accce3c9e94a7160fcefc54c Test: mma
2016-08-04Merge "Fix clang-tidy performance warnings in libhardware." am: 1c1e311e06 ↵Chih-hung Hsieh
am: 5f366ef448 am: 90383959ac am: 31a6b95815 Change-Id: I6dcc98594a1f0861fa4af489eeb824562ad16bb4