summaryrefslogtreecommitdiff
path: root/tests/hardware/struct-offset.cpp
AgeCommit message (Collapse)Author
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
2017-05-05fix circular dependency libnativewindow <-> libuiMathias Agopian
Bug: 37647680, 37648355 Test: compile, manual Change-Id: I5aaf07dd76d0d8f5294fb4133c7a0b5e6df3bebc
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
2015-04-15Camera: Add HAL module init method.Eino-Ville Talvala
For use by Camera HAL libraries to perform one-time initialization steps after the library is loaded. Bug: 20016050 Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
2015-04-14Change struct offsets testsAshutosh Joshi
Change the structure offset tests to account for the addition of a new member in a sensors device structure. Change-Id: I2ef7b82446b09b32f903346bbc9b857a99d80043
2015-01-15camera_common: add torch mode APIs for flashlightChien-Yu Chen
Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
2014-07-24update struct-offset.cpp test for hwc 1.4Greg Hackmann
Change-Id: I882a1741ad473492d4acc58918a54d944ac382c3 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-07-14hwcomposer: Allow display configuration selectionDan Stoza
Adds two functions to the HWC interface: one for querying the current display configuration, and one for setting a new configuration. This will enable DisplayManager to change the mode on demand. Bug: 14320401 Change-Id: I556c509192b877b38b2103a78f937b3687f35546
2014-06-13update struct-offset.cpp test for camera API 2.3Greg Hackmann
Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-05-12update struct-offset.cpp test for gralloc API 0.3Greg Hackmann
Change-Id: I6509ea0fda3a3d9b4aea83c5342a491993dc9c26 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-04-23Define new wake_up sensors in sensors.hAravind Akella
i) Define WAKE_UP sensors. ii) Deprecate flags DRY_RUN and WAKE_UPON_FIFO_FULL. iii) Define maxDelay and isWakeUpSensor flag in sensor_t. Bug: 13251067 Change-Id: Ic474d90d05459b06e93094856423f6645b4bf58e
2014-04-11Remove offset checks for reserved fields in sensor_t and sensors_event_t.Aravind Akella
This reverts commit ea676f9ae6757018110532f424fa15df6704be0e. Change-Id: I4c69b46f20fa3505e062363643711991e65d6cb4
2014-04-05Revert "Remove offset checks for reserved fields in sensor_t and ↵Etienne Le Grand
sensors_event_t." This reverts commit 4db220ec857c9166843a8d6fae9b52666c177168. Change-Id: I61feb99c2024889e29e2b300ad4a4f5af1fdc282
2014-04-04Remove offset checks for reserved fields in sensor_t and sensors_event_t.Aravind Akella
Change-Id: I3dcc4b4204932a73503ede45b188142b03dcdd31
2013-11-22HAL test: statically test the offsets of known struct membersRom Lemarchand
Make sure the ABI doesn't get inadvertently broken by moving HAL interface struct members around. Change-Id: I058c963df002dc7c12eb24181d5db74c0c6fd38c