Home
last modified time | relevance | path

Searched refs:sensorData (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java41 @Nullable SensorData sensorData, int fallbackType) { in findSensor() argument
42 if (sensorData == null) { in findSensor()
45 return findSensor(sensorManager, sensorData.type, sensorData.name, fallbackType); in findSensor()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
DSensorUtilsTest.java126 SensorData sensorData = new SensorData(sensorType, sensorName); in testFindSensor() local
128 Sensor result = SensorUtils.findSensor(mSensorManager, sensorData, fallbackType); in testFindSensor()
/frameworks/base/tests/Input/src/com/android/server/input/
DAmbientKeyboardBacklightControllerTests.kt137 val sensorData = DisplayManagerInternal.AmbientLightSensorData(SENSOR_NAME, SENSOR_TYPE) in <lambda>() constant
139 .thenReturn(sensorData) in <lambda>()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionSpatializer.cpp115 HeadTracking::SensorData sensorData = in setParameter() local
119 headTrackingSensorData, sensorData); in setParameter()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java4944 SensorData sensorData = config.getProximitySensor(); in getRefreshRateForDisplayAndSensor() local
4945 if (sensorData != null && sensorData.matches(sensorName, sensorType)) { in getRefreshRateForDisplayAndSensor()
4946 return new RefreshRateRange(sensorData.minRefreshRate, in getRefreshRateForDisplayAndSensor()
4947 sensorData.maxRefreshRate); in getRefreshRateForDisplayAndSensor()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java2426 SensorData sensorData = new SensorData(testSensorType, testSensorName,
2429 when(mMockDisplayDeviceConfig.getProximitySensor()).thenReturn(sensorData);
2437 assertEquals(result.min, sensorData.minRefreshRate, FLOAT_TOLERANCE);
2438 assertEquals(result.max, sensorData.maxRefreshRate, FLOAT_TOLERANCE);