Home
last modified time | relevance | path

Searched refs:latestEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java658 SensorEvent latestEvent = mLatestSensorEvent.get(mSensor); in getAsBoolean() local
659 if (latestEvent == null) { in getAsBoolean()
663 if (latestEvent.values.length < mExpectedValues.size()) { in getAsBoolean()
670 if (!adheresToRange(latestEvent.values[i], mExpectedValues.get(i))) { in getAsBoolean()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderControllerTest.java1815 LocationAlgorithmEvent latestEvent = mLatestEvent.getLatest(); in assertEventWithSuggestionReportedAndCommit() local
1816 assertEquals(expectedAlgorithmStatus, latestEvent.getAlgorithmStatus().getStatus()); in assertEventWithSuggestionReportedAndCommit()
1818 GeolocationTimeZoneSuggestion suggestion = latestEvent.getSuggestion(); in assertEventWithSuggestionReportedAndCommit()
1819 assertNotNull("Latest event doesn't contain a suggestion: event=" + latestEvent, in assertEventWithSuggestionReportedAndCommit()