summaryrefslogtreecommitdiffstats
path: root/tests/hardware
Commit message (Collapse)AuthorAgeFilesLines
* 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