Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/
DSensorHeadTrackerTest.java235 Callback secondCallback = new Callback(); in testAddSecondSensor() local
238 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()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DAttachedSurfaceControlTest.java167 final CountDownLatch[] secondCallback = new CountDownLatch[1]; in testOnBufferTransformHintChangedListener() local
186 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() local
250 secondCallback[0] = secondListener.latch; in testOnBufferTransformHintChangesFromLandToSea()
256 Assert.assertTrue(secondCallback[0].await(10, TimeUnit.SECONDS)); in testOnBufferTransformHintChangesFromLandToSea()