summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Aniroop Mathur <a.mathur@samsung.com> 2016-06-01 22:17:05 +0530
committer Peng Xu <pengxu@google.com> 2017-04-20 15:21:00 -0700
commitd8a5ce39101f569f6bdab696ed02623e5aff7451 (patch)
tree99a8da87cff6980a04b93f448bd14b5acf747bbe /opengl/libagl/array.cpp
parent1fbefc70dfc5bef14168431e4b443cb6a4d5ceec (diff)
Sensor: Limit delay to maximum possible value before sending to HAL
Currently, all hals/drivers of different manufacturers/vendors have to add check to modify delay value to maximum possible value if application requests for delay greater than maximum possible value. Instead of putting this common check in all different types of drivers/hals, it is best to put it in framework layer only. For example: If a sensor has maximum delay capability of 200 ms and application requests for delay of 1 second then sensor should run at 200 ms and not 1 second. This is checked by cts application too like in testAccelerometer_1Hz test case. Test: compile Bug: 37543280 Change-Id: Ib921056659ea442ed854b69321d8b2ba0e319302 Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions