Searched refs:TYPE_PROXIMITY (Results 1 – 12 of 12) sorted by relevance
180 when(mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY)).thenReturn( in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault()181 TestUtils.createSensor(Sensor.TYPE_PROXIMITY, "proximity")); in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault()193 when(mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY)).thenReturn( in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay()194 TestUtils.createSensor(Sensor.TYPE_PROXIMITY, "proximity")); in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay()205 when(mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY)).thenReturn( in isProximitySensorAvailableReturnsTrueWhenNoSensorConfigured()206 TestUtils.createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_PROXIMITY)); in isProximitySensorAvailableReturnsTrueWhenNoSensorConfigured()221 Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_PROXIMITY, 4.0f); in notifyDisplayDeviceChangedReloadsTheProximitySensor()358 Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_PROXIMITY, 5.0f); in setUpProxSensor()
1996 mProxSensor = TestUtils.createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_PROXIMITY, in setUpSensors()
64 .getDefaultSensor(Sensor.TYPE_PROXIMITY, true); in FakeSensorManager()68 createSensor(Sensor.TYPE_PROXIMITY, null, 1 /* SENSOR_FLAG_WAKE_UP_SENSOR */); in FakeSensorManager()
302 Sensor openedSensor = createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_LIGHT); in testPostureStartStateClosed_registersCorrectSensor()323 Sensor openedSensor = createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_LIGHT); in testPostureChange_registersCorrectSensor()352 Sensor openedSensor = createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_LIGHT); in testPostureChange_noSensorChange()380 createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_PROXIMITY); in testFindSensor()
52 TYPE_PROXIMITY = ASENSOR_TYPE_PROXIMITY enumerator
157 public static final int TYPE_PROXIMITY = 8; field in Sensor1346 case TYPE_PROXIMITY: in setType()
531 if (type == Sensor.TYPE_PROXIMITY || type == Sensor.TYPE_SIGNIFICANT_MOTION in getDefaultSensor()
59 Sensor defaultSensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY, in providePrimaryProximitySensor()
362 mDisplayDeviceConfig.getProximitySensor(), Sensor.TYPE_PROXIMITY); in loadProximitySensor()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
12421 field public static final int TYPE_PROXIMITY = 8; // 0x8
18673 field public static final int TYPE_PROXIMITY = 8; // 0x8