Home
last modified time | relevance | path

Searched refs:TYPE_LIGHT (Results 1 – 23 of 23) 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.java90 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, null); in setUp()
95 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/mockingservicestests/src/com/android/server/sensorprivacy/
DCameraPrivacyLightControllerTest.java134 doReturn(mLightSensor).when(mSensorManager).getDefaultSensor(Sensor.TYPE_LIGHT); in setUp()
281 doReturn(null).when(mSensorManager).getDefaultSensor(Sensor.TYPE_LIGHT); in testNoLightSensor()
298 doReturn(sensor).when(mSensorManager).getDefaultSensor(Sensor.TYPE_LIGHT); in testALSListenerNotRegisteredUntilCameraIsOpened()
329 doReturn(sensor).when(mSensorManager).getDefaultSensor(Sensor.TYPE_LIGHT); in testBrightnessToColor()
356 doReturn(sensor).when(mSensorManager).getDefaultSensor(Sensor.TYPE_LIGHT); in testDayToNightTransistion()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeSensorManager.java73 mFakeLightSensor = new FakeGenericSensor(createSensor(Sensor.TYPE_LIGHT, null)), in FakeSensorManager()
75 mFakeLightSensor2 = new FakeGenericSensor(createSensor(Sensor.TYPE_LIGHT, null)) in FakeSensorManager()
/frameworks/base/core/java/android/hardware/
DSensor.java107 public static final int TYPE_LIGHT = 5; field in Sensor
1328 case TYPE_LIGHT: in setType()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h51 TYPE_LIGHT = ASENSOR_TYPE_LIGHT, enumerator
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DBiometricLoggerTest.java80 when(mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn( in setUp()
81 new Sensor(new InputSensorInfo("", "", 0, 0, Sensor.TYPE_LIGHT, 0, 0, 0, 0, 0, 0, in setUp()
DALSProbeTest.java75 new InputSensorInfo("", "", 0, 0, Sensor.TYPE_LIGHT, 0, 0, 0, 0, 0, 0,
83 when(mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in setup()
/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/doze/
DDozeSensorsTest.java298 Sensor closedSensor = createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testPostureStartStateClosed_registersCorrectSensor()
319 Sensor closedSensor = createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testPostureChange_registersCorrectSensor()
348 Sensor closedSensor = createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testPostureChange_noSensorChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt107 .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/tests/servicestests/src/com/android/server/display/
DScreenOffBrightnessSensorControllerTest.java66 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
DAutomaticBrightnessControllerTest.java99 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
DDisplayModeDirectorTest.java2031 Sensor lightSensorOne = TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testSensorReloadOnDeviceSwitch()
2032 Sensor lightSensorTwo = TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testSensorReloadOnDeviceSwitch()
2312 return TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in createLightSensor()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DALSProbe.java99 ? sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) : null; in ALSProbe()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DCameraPrivacyLightController.java140 mLightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in CameraPrivacyLightController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt967 deviceType = DeviceTypes.TYPE_LIGHT, in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java2083 mLightSensorName, Sensor.TYPE_LIGHT); in getLightSensor()
DDisplayPowerController.java2131 ? Sensor.TYPE_LIGHT : SensorUtils.NO_FALLBACK;
/frameworks/base/core/api/
Dcurrent.txt17005 field public static final int TYPE_LIGHT = 5; // 0x5
38652 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