Home
last modified time | relevance | path

Searched refs:eventTimeStamp (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/
DCarRatedFloatListeners.java111 public boolean needUpdateForSelectedListener(T listener, long eventTimeStamp) { in needUpdateForSelectedListener() argument
118 if (nextUpdateTime <= eventTimeStamp) { in needUpdateForSelectedListener()
120 nextUpdateTime = eventTimeStamp + cycle.longValue(); in needUpdateForSelectedListener()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarSensorManagerTest.java500 boolean waitForSensorChange(long eventTimeStamp) throws InterruptedException { in waitForSensorChange() argument
502 boolean matchTimeStamp = eventTimeStamp != 0; in waitForSensorChange()
506 || (matchTimeStamp && mLastEvent.timestamp != eventTimeStamp)) in waitForSensorChange()
511 (!matchTimeStamp || mLastEvent.timestamp == eventTimeStamp); in waitForSensorChange()
DCarDiagnosticManagerTest.java782 boolean waitForEvent(long eventTimeStamp) throws InterruptedException { in waitForEvent() argument
784 boolean matchTimeStamp = eventTimeStamp != 0; in waitForEvent()
787 || (matchTimeStamp && mLastEvent.timestamp != eventTimeStamp)) in waitForEvent()
792 && (!matchTimeStamp || mLastEvent.timestamp == eventTimeStamp); in waitForEvent()