Home
last modified time | relevance | path

Searched refs:TYPE_LIGHT (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientSensorTest.java72 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, null); in setUp()
81 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_NoCallbacks()
101 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_CallbacksCalled()
DAmbientLuxTest.java82 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, null); in setUp()
87 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in setUp()
/frameworks/base/core/java/android/service/controls/
DDeviceTypes.java56 public static final @DeviceType int TYPE_LIGHT = 13; field in DeviceTypes
147 TYPE_LIGHT,
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java125 Sensor lightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in testNoHysteresisAtMinBrightness()
172 Sensor lightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in testNoHysteresisAtMaxBrightness()
219 Sensor lightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in testUserAddUserDataPoint()
DDisplayModeDirectorTest.java1685 return TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in createLightSensor()
/frameworks/base/core/java/android/hardware/
DSensor.java105 public static final int TYPE_LIGHT = 5; field in Sensor
1220 case TYPE_LIGHT: in setType()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h51 TYPE_LIGHT = ASENSOR_TYPE_LIGHT, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt94 DeviceTypes.TYPE_LIGHT
114 DeviceTypes.TYPE_LIGHT to R.drawable.ic_device_light,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt103 .setDeviceType(DeviceTypes.TYPE_LIGHT) in setUp()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java252 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AmbientBrightnessSensor()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DLoggableMonitor.java362 return mShouldLogMetrics ? sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) : null; in getAmbientLightSensor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DFakeSensorManager.java72 mFakeLightSensor = new FakeGenericSensor(createSensor(Sensor.TYPE_LIGHT, null)), in FakeSensorManager()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java1050 Sensor lightSensor = sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in registerSensorListener()
DDisplayPowerController.java1659 ? Sensor.TYPE_LIGHT : SensorUtils.NO_FALLBACK; in loadAmbientLightSensor()
DDisplayModeDirector.java1756 lightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in restartObserver()
/frameworks/base/core/api/
Dcurrent.txt17560 field public static final int TYPE_LIGHT = 5; // 0x5
38263 field public static final int TYPE_LIGHT = 13; // 0xd
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12415 field public static final int TYPE_LIGHT = 5; // 0x5