/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/ |
D | SensorUtilsTest.java | 62 Sensor result = SensorUtils.findSensor(mSensorManager, null, Sensor.TYPE_LIGHT); in testNoSensorData() 68 Sensor result = SensorUtils.findSensor(null, new SensorData(), Sensor.TYPE_LIGHT); in testNoSensorManager() 77 {null, null, Sensor.TYPE_LIGHT, in findSensorData() 80 {TEST_SENSOR_NAME, TEST_SENSOR_TYPE, Sensor.TYPE_LIGHT, in findSensorData() 83 {TEST_SENSOR_NAME, null, Sensor.TYPE_LIGHT, in findSensorData() 86 {"not_matching_name", null, Sensor.TYPE_LIGHT, in findSensorData() 89 {null, TEST_SENSOR_TYPE, Sensor.TYPE_LIGHT, in findSensorData() 92 {null, "not_matching_type", Sensor.TYPE_LIGHT, in findSensorData() 95 {TEST_SENSOR_NAME, "not_matching_type", Sensor.TYPE_LIGHT, in findSensorData() 98 {"not_matching_name", TEST_SENSOR_TYPE, Sensor.TYPE_LIGHT, in findSensorData() [all …]
|
/frameworks/base/services/tests/displayservicetests/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 | 100 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, null); in setUp() 105 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/servicestests/src/com/android/server/biometrics/log/ |
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() 349 when(mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(null); in testAwaitLuxWhenNoLightSensor()
|
D | BiometricLoggerTest.java | 82 when(mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn( in setUp() 83 new Sensor(new InputSensorInfo("", "", 0, 0, Sensor.TYPE_LIGHT, 0, 0, 0, 0, 0, 0, in setUp()
|
/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/native/libs/sensor/include/sensor/ |
D | Sensor.h | 51 TYPE_LIGHT = ASENSOR_TYPE_LIGHT, enumerator
|
/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/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | RenderInfo.kt | 95 DeviceTypes.TYPE_LIGHT 115 DeviceTypes.TYPE_LIGHT to R.drawable.ic_device_light,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 301 Sensor closedSensor = createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testPostureStartStateClosed_registersCorrectSensor() 322 Sensor closedSensor = createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testPostureChange_registersCorrectSensor() 351 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 | 106 .setDeviceType(DeviceTypes.TYPE_LIGHT) in setUp()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | ScreenOffBrightnessSensorControllerTest.java | 66 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
|
D | AutomaticBrightnessControllerTest.java | 113 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
|
/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/display/whitebalance/ |
D | AmbientSensor.java | 252 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AmbientBrightnessSensor()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightController.java | 155 mLightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in CameraPrivacyLightController()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | AmbientKeyboardBacklightController.java | 270 ambientSensor.sensorName, Sensor.TYPE_LIGHT); in getAmbientLightSensor()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightControllerTest.java | 153 doReturn(mLightSensor).when(mSensorManager).getDefaultSensor(Sensor.TYPE_LIGHT); in prepareCameraPrivacyLightController()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessClamperControllerTest.java | 104 mLightSensor = TestUtils.createSensor(Sensor.TYPE_LIGHT, "Light Sensor"); in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessClamperController.java | 340 name, Sensor.TYPE_LIGHT); in getLightSensor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImplTest.kt | 967 deviceType = DeviceTypes.TYPE_LIGHT, in <lambda>()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisplayModeDirectorTest.java | 3281 Sensor lightSensorOne = TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testSensorReloadOnDeviceSwitch() 3282 Sensor lightSensorTwo = TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in testSensorReloadOnDeviceSwitch() 3622 return TestUtils.createSensor(Sensor.TYPE_LIGHT, Sensor.STRING_TYPE_LIGHT); in createLightSensor()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 2217 ? Sensor.TYPE_LIGHT : SensorUtils.NO_FALLBACK; in loadAmbientLightSensor()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 2235 mLightSensorName, Sensor.TYPE_LIGHT); in getLightSensor()
|