Searched refs:secondCallback (Results 1 – 2 of 2) sorted by relevance
235 Callback secondCallback = new Callback(); in testAddSecondSensor() local238 mSensorManager.registerDynamicSensorCallback(secondCallback, virtualHeadTrackerTwo.handler); in testAddSecondSensor()243 secondCallback.waitForConnection(VIRTUAL_HEAD_TRACKER_SECONDARY)); in testAddSecondSensor()251 "Sensor id is %d. Must not be 0 or 1.", secondCallback.mSensor.getId()), in testAddSecondSensor()252 secondCallback.checkId()); in testAddSecondSensor()256 secondCallback.getSensorId(), in testAddSecondSensor()
167 final CountDownLatch[] secondCallback = new CountDownLatch[1]; in testOnBufferTransformHintChangedListener() local186 secondCallback[0] = secondListener.latch; in testOnBufferTransformHintChangedListener()192 Assert.assertTrue(secondCallback[0].await(10, TimeUnit.SECONDS)); in testOnBufferTransformHintChangedListener()221 final CountDownLatch[] secondCallback = new CountDownLatch[1]; in testOnBufferTransformHintChangesFromLandToSea() local250 secondCallback[0] = secondListener.latch; in testOnBufferTransformHintChangesFromLandToSea()256 Assert.assertTrue(secondCallback[0].await(10, TimeUnit.SECONDS)); in testOnBufferTransformHintChangesFromLandToSea()