summaryrefslogtreecommitdiffstats
path: root/tests/hardware
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Add HAL module init method.Eino-Ville Talvala2015-04-151-1/+2
| | | | | | | | For use by Camera HAL libraries to perform one-time initialization steps after the library is loaded. Bug: 20016050 Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
* Change struct offsets testsAshutosh Joshi2015-04-141-1/+2
| | | | | | | Change the structure offset tests to account for the addition of a new member in a sensors device structure. Change-Id: I2ef7b82446b09b32f903346bbc9b857a99d80043
* camera_common: add torch mode APIs for flashlightChien-Yu Chen2015-01-151-1/+2
| | | | | | | | Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
* update struct-offset.cpp test for hwc 1.4Greg Hackmann2014-07-241-1/+2
| | | | | Change-Id: I882a1741ad473492d4acc58918a54d944ac382c3 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* hwcomposer: Allow display configuration selectionDan Stoza2014-07-141-1/+3
| | | | | | | | | 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
* update struct-offset.cpp test for camera API 2.3Greg Hackmann2014-06-131-1/+2
| | | | | Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* update struct-offset.cpp test for gralloc API 0.3Greg Hackmann2014-05-121-1/+4
| | | | | Change-Id: I6509ea0fda3a3d9b4aea83c5342a491993dc9c26 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* Define new wake_up sensors in sensors.hAravind Akella2014-04-231-0/+7
| | | | | | | | | 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
* Remove offset checks for reserved fields in sensor_t and sensors_event_t.Aravind Akella2014-04-111-2/+0
| | | | | | This reverts commit ea676f9ae6757018110532f424fa15df6704be0e. Change-Id: I4c69b46f20fa3505e062363643711991e65d6cb4
* Revert "Remove offset checks for reserved fields in sensor_t and ↵Etienne Le Grand2014-04-051-0/+2
| | | | | | | | sensors_event_t." This reverts commit 4db220ec857c9166843a8d6fae9b52666c177168. Change-Id: I61feb99c2024889e29e2b300ad4a4f5af1fdc282
* Remove offset checks for reserved fields in sensor_t and sensors_event_t.Aravind Akella2014-04-041-2/+0
| | | | Change-Id: I3dcc4b4204932a73503ede45b188142b03dcdd31
* HAL test: statically test the last member of structsRom Lemarchand2013-11-222-1/+70
| | | | | | Ensure the last member of structs is actually the one we expect Change-Id: Ib623f1a5e09fd9b8d464456528a94742b0ccd00b
* HAL test: statically test the offsets of known struct membersRom Lemarchand2013-11-222-2/+218
| | | | | | | Make sure the ABI doesn't get inadvertently broken by moving HAL interface struct members around. Change-Id: I058c963df002dc7c12eb24181d5db74c0c6fd38c
* HAL test: statically test the size of HAL structsRom Lemarchand2013-11-212-0/+88
Ensure none of the HAL structs change size over time. Issues might arise when making changes without taking the different pointer sizes for specific architectures into account. Change-Id: I63f00004a23f09b2f46df01e7c69296766a5d03f