/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/ |
D | AmbientSensorTest.java | 72 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()
|
D | AmbientLuxTest.java | 90 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/ |
D | DeviceTypes.java | 56 public static final @DeviceType int TYPE_LIGHT = 13; field in DeviceTypes 147 TYPE_LIGHT,
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightControllerTest.java | 134 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/ |
D | FakeSensorManager.java | 73 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/ |
D | Sensor.java | 107 public static final int TYPE_LIGHT = 5; field in Sensor 1328 case TYPE_LIGHT: in setType()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | Sensor.h | 51 TYPE_LIGHT = ASENSOR_TYPE_LIGHT, enumerator
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
D | BiometricLoggerTest.java | 80 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()
|
D | ALSProbeTest.java | 75 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/ |
D | RenderInfo.kt | 94 DeviceTypes.TYPE_LIGHT 114 DeviceTypes.TYPE_LIGHT to R.drawable.ic_device_light,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 298 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/ |
D | ControlsRequestDialogTest.kt | 107 .setDeviceType(DeviceTypes.TYPE_LIGHT) in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 252 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AmbientBrightnessSensor()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | ScreenOffBrightnessSensorControllerTest.java | 66 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
|
D | AutomaticBrightnessControllerTest.java | 99 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
|
D | DisplayModeDirectorTest.java | 2031 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/ |
D | ALSProbe.java | 99 ? sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) : null; in ALSProbe()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightController.java | 140 mLightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in CameraPrivacyLightController()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImplTest.kt | 967 deviceType = DeviceTypes.TYPE_LIGHT, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayModeDirector.java | 2083 mLightSensorName, Sensor.TYPE_LIGHT); in getLightSensor()
|
D | DisplayPowerController.java | 2131 ? Sensor.TYPE_LIGHT : SensorUtils.NO_FALLBACK;
|
/frameworks/base/core/api/ |
D | current.txt | 17005 field public static final int TYPE_LIGHT = 5; // 0x5 38652 field public static final int TYPE_LIGHT = 13; // 0xd
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 12415 field public static final int TYPE_LIGHT = 5; // 0x5
|