You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ricardo Cerqueira 6c2d936df8 sensors: Proximity: Fix batch flushing
Flushing a pending batch of requested events is blocking for several
causes. The readEvents API call wasn't properly returning the state
of the pendings, and even after that's corrected we were still blocking
on the input reader _after_ filling out the pending requests.

While we're at it, follow the CDD recommendation synchronize with
SystemClock.elapsedRealtimeNano() clock. Replace the monotonic time
with boot time as reference time.

Fixes android.hardware.cts.SensorTest#testBatchAndFlush, addresses
CRACKLING-641

Change-Id: Iae460f503e1ad408a0cb7855000daabec414a459
10 years ago
..
daemon crackling: Initial commit 10 years ago
hal sensors: Proximity: Fix batch flushing 10 years ago
tools crackling: Initial commit 10 years ago
version crackling: Initial commit 10 years ago
Android.mk crackling: Initial commit 10 years ago