Searched refs:getProximitySensor (Results 1 – 7 of 7) sorted by relevance
77 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn( in before()168 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableAndNoDefault()179 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault()192 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay()204 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(null); in isProximitySensorAvailableReturnsTrueWhenNoSensorConfigured()218 when(updatedDisplayDeviceConfig.getProximitySensor()).thenReturn( in notifyDisplayDeviceChangedReloadsTheProximitySensor()
2429 when(mMockDisplayDeviceConfig.getProximitySensor()).thenReturn(sensorData);2458 when(mMockDisplayDeviceConfig.getProximitySensor()).thenReturn(null);
2025 when(displayDeviceConfigMock.getProximitySensor()).thenReturn( in setUpDisplay()
362 mDisplayDeviceConfig.getProximitySensor(), Sensor.TYPE_PROXIMITY); in loadProximitySensor()
1296 public SensorData getProximitySensor() { in getProximitySensor() method in DisplayDeviceConfig
4944 SensorData sensorData = config.getProximitySensor(); in getRefreshRateForDisplayAndSensor()
10200 PLcom/android/server/display/DisplayDeviceConfig;->getProximitySensor()Lcom/android/server/display/…