Searched refs:mTriggerSensor (Results 1 – 1 of 1) sorted by relevance
68 private Sensor mTriggerSensor; field in SensorTest105 if (mTriggerSensor != null) { in tearDown()106 mSensorManager.cancelTriggerSensor(mNullTriggerEventListener, mTriggerSensor); in tearDown()107 mTriggerSensor = null; in tearDown()267 mTriggerSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testRequestTriggerWithNonTriggerSensor()268 if (mTriggerSensor == null) { in testRequestTriggerWithNonTriggerSensor()272 mSensorManager.requestTriggerSensor(mNullTriggerEventListener, mTriggerSensor); in testRequestTriggerWithNonTriggerSensor()277 mTriggerSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testCancelTriggerWithNonTriggerSensor()278 if (mTriggerSensor == null) { in testCancelTriggerWithNonTriggerSensor()282 mSensorManager.cancelTriggerSensor(mNullTriggerEventListener, mTriggerSensor); in testCancelTriggerWithNonTriggerSensor()