Home
last modified time | relevance | path

Searched refs:TYPE_PROXIMITY (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerProximityStateControllerTest.java180 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()
DDisplayPowerControllerTest.java1996 mProxSensor = TestUtils.createSensor(Sensor.TYPE_PROXIMITY, Sensor.STRING_TYPE_PROXIMITY, in setUpSensors()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeSensorManager.java64 .getDefaultSensor(Sensor.TYPE_PROXIMITY, true); in FakeSensorManager()
68 createSensor(Sensor.TYPE_PROXIMITY, null, 1 /* SENSOR_FLAG_WAKE_UP_SENSOR */); in FakeSensorManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java302 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()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h52 TYPE_PROXIMITY = ASENSOR_TYPE_PROXIMITY enumerator
/frameworks/base/core/java/android/hardware/
DSensor.java157 public static final int TYPE_PROXIMITY = 8; field in Sensor
1346 case TYPE_PROXIMITY: in setType()
DSensorManager.java531 if (type == Sensor.TYPE_PROXIMITY || type == Sensor.TYPE_SIGNIFICANT_MOTION in getDefaultSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DSensorModule.java59 Sensor defaultSensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY, in providePrimaryProximitySensor()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerProximityStateController.java362 mDisplayDeviceConfig.getProximitySensor(), Sensor.TYPE_PROXIMITY); in loadProximitySensor()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12421 field public static final int TYPE_PROXIMITY = 8; // 0x8
/frameworks/base/core/api/
Dcurrent.txt18673 field public static final int TYPE_PROXIMITY = 8; // 0x8