Searched refs:lastEvent (Results 1 – 3 of 3) sorted by relevance
261 EventData lastEvent = null; in testNDSManager() local360 lastEvent = waitForCallback("onServiceRegistered"); // id = 1 in testNDSManager()361 assertTrue(lastEvent != null); in testNDSManager()362 assertTrue(lastEvent.mSucceeded); in testNDSManager()367 String registeredName = lastEvent.mInfo.getServiceName(); in testNDSManager()376 lastEvent = waitForCallback("onDiscoveryStarted"); // id = 2 in testNDSManager()378 assertTrue(lastEvent != null); in testNDSManager()379 assertTrue(lastEvent.mSucceeded); in testNDSManager()383 mEventCache.remove(lastEvent); in testNDSManager()391 lastEvent = waitForCallback("onServiceFound"); // id = 3 in testNDSManager()[all …]
48 CarSensorEvent lastEvent = mCarSensorManager.getLatestSensorEvent( in testDrivingPolicy() local50 assertNotNull(lastEvent); in testDrivingPolicy()
115 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs() local116 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()