Searched refs:sensorData (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | SensorUtils.java | 41 @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/ |
D | SensorUtilsTest.java | 126 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/ |
D | AmbientKeyboardBacklightControllerTests.kt | 137 val sensorData = DisplayManagerInternal.AmbientLightSensorData(SENSOR_NAME, SENSOR_TYPE) in <lambda>() constant 139 .thenReturn(sensorData) in <lambda>()
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionSpatializer.cpp | 115 HeadTracking::SensorData sensorData = in setParameter() local 119 headTrackingSensorData, sensorData); in setParameter()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 4944 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/ |
D | DisplayManagerServiceTest.java | 2426 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);
|