Searched refs:mTriggerSensor (Results 1 – 1 of 1) sorted by relevance
65 private Sensor mTriggerSensor; field in SensorTest94 if (mTriggerSensor != null) { in tearDown()95 mSensorManager.cancelTriggerSensor(mNullTriggerEventListener, mTriggerSensor); in tearDown()96 mTriggerSensor = null; in tearDown()256 mTriggerSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testRequestTriggerWithNonTriggerSensor()257 if (mTriggerSensor == null) { in testRequestTriggerWithNonTriggerSensor()261 mSensorManager.requestTriggerSensor(mNullTriggerEventListener, mTriggerSensor); in testRequestTriggerWithNonTriggerSensor()266 mTriggerSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testCancelTriggerWithNonTriggerSensor()267 if (mTriggerSensor == null) { in testCancelTriggerWithNonTriggerSensor()271 mSensorManager.cancelTriggerSensor(mNullTriggerEventListener, mTriggerSensor); in testCancelTriggerWithNonTriggerSensor()