Home
last modified time | relevance | path

Searched refs:SensorData (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/config/
DSensorData.java33 public class SensorData { class
47 public SensorData() { in SensorData() method in SensorData
52 public SensorData(String type, String name) { in SensorData() method in SensorData
57 public SensorData(String type, String name, float minRefreshRate, float maxRefreshRate) { in SensorData() method in SensorData
62 public SensorData(String type, String name, float minRefreshRate, float maxRefreshRate, in SensorData() method in SensorData
96 public static SensorData loadAmbientLightSensorConfig(DisplayConfiguration config, in loadAmbientLightSensorConfig()
109 public static SensorData loadAmbientLightSensorConfig(Resources resources) { in loadAmbientLightSensorConfig()
110 return new SensorData( in loadAmbientLightSensorConfig()
118 public static SensorData loadScreenOffBrightnessSensorConfig(DisplayConfiguration config) { in loadScreenOffBrightnessSensorConfig()
123 return new SensorData(); in loadScreenOffBrightnessSensorConfig()
[all …]
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java26 import com.android.server.display.config.SensorData;
41 @Nullable SensorData sensorData, int fallbackType) { in findSensor()
78 public static int getSensorTemperatureType(@NonNull SensorData tempSensor) { in getSensorTemperatureType()
79 if (tempSensor.type.equalsIgnoreCase(SensorData.TEMPERATURE_TYPE_DISPLAY)) { in getSensorTemperatureType()
81 } else if (tempSensor.type.equalsIgnoreCase(SensorData.TEMPERATURE_TYPE_SKIN)) { in getSensorTemperatureType()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessThermalClamperTest.java40 import com.android.server.display.config.SensorData;
192 final SensorData tempSensor = new SensorData("DISPLAY", "VIRTUAL-SKIN-DISPLAY"); in testDisplaySensorBasedThrottling()
266 private final SensorData mTempSensor;
270 SensorData.loadTempSensorUnspecifiedConfig()); in TestThermalData()
275 SensorData.loadTempSensorUnspecifiedConfig()); in TestThermalData()
279 SensorData tempSensor) { in TestThermalData()
306 public SensorData getTempSensor() { in getTempSensor()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
DSensorUtilsTest.java31 import com.android.server.display.config.SensorData;
68 Sensor result = SensorUtils.findSensor(null, new SensorData(), Sensor.TYPE_LIGHT); in testNoSensorManager()
126 SensorData sensorData = new SensorData(sensorType, sensorName); in testFindSensor()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessThrottler.java40 import com.android.server.display.config.SensorData;
104 private SensorData mTempSensor;
142 @NonNull SensorData tempSensor) { in BrightnessThrottler()
192 SensorData tempSensor, in loadThermalBrightnessThrottlingDataFromDisplayDeviceConfig()
370 private SensorData mObserverTempSensor;
400 void startObserving(SensorData tempSensor) { in startObserving()
DDisplayDeviceConfig.java80 import com.android.server.display.config.SensorData;
668 private SensorData mAmbientLightSensor;
671 private SensorData mScreenOffBrightnessSensor;
676 private SensorData mProximitySensor;
682 private SensorData mTempSensor;
1287 public SensorData getAmbientLightSensor() { in getAmbientLightSensor()
1291 public SensorData getScreenOffBrightnessSensor() { in getScreenOffBrightnessSensor()
1296 public SensorData getProximitySensor() { in getProximitySensor()
1303 public SensorData getTempSensor() { in getTempSensor()
1747 mAmbientLightSensor = SensorData.loadAmbientLightSensorConfig(config, in initFromFile()
[all …]
DDisplayManagerService.java169 import com.android.server.display.config.SensorData;
4944 SensorData sensorData = config.getProximitySensor(); in getRefreshRateForDisplayAndSensor()
5072 SensorData data = device.getDisplayDeviceConfig().getAmbientLightSensor(); in getAmbientLightSensorData()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerProximityStateControllerTest.java40 import com.android.server.display.config.SensorData;
78 new SensorData(Sensor.STRING_TYPE_PROXIMITY, null)); in before()
168 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableAndNoDefault()
179 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault()
192 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay()
219 new SensorData(Sensor.STRING_TYPE_PROXIMITY, null)); in notifyDisplayDeviceChangedReloadsTheProximitySensor()
DBrightnessThrottlerTest.java46 import com.android.server.display.config.SensorData;
304 final SensorData tempSensor = new SensorData("DISPLAY", "VIRTUAL-SKIN-DISPLAY"); in testThermalThrottlingWithDisplaySensor()
533 SensorData tempSensor = SensorData.loadTempSensorUnspecifiedConfig(); in createThrottlerSupported()
537 ThermalBrightnessThrottlingData data, SensorData tempSensor) { in createThrottlerSupportedWithTempSensor()
DDisplayPowerControllerTest.java87 import com.android.server.display.config.SensorData;
2026 new SensorData(Sensor.STRING_TYPE_PROXIMITY, null)); in setUpDisplay()
2030 new SensorData()); in setUpDisplay()
2032 new SensorData(Sensor.STRING_TYPE_LIGHT, null)); in setUpDisplay()
DDisplayManagerServiceTest.java142 import com.android.server.display.config.SensorData;
2426 SensorData sensorData = new SensorData(testSensorType, testSensorName,
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessThermalClamper.java38 import com.android.server.display.config.SensorData;
214 private SensorData mObserverTempSensor;
222 void registerSensor(SensorData tempSensor) { in registerSensor()
307 SensorData getTempSensor(); in getTempSensor()
DBrightnessClamperController.java50 import com.android.server.display.config.SensorData;
415 public SensorData getTempSensor() { in getTempSensor()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionSpatializer.cpp115 HeadTracking::SensorData sensorData = in setParameter()
116 HeadTracking::SensorData::make<HeadTracking::SensorData::headToStage>( in setParameter()
/frameworks/base/services/
Dart-wear-profile473 Lcom/android/server/display/config/SensorData;
10154 …display/DisplayDeviceConfig;->getAmbientLightSensor()Lcom/android/server/display/config/SensorData;
10200 …er/display/DisplayDeviceConfig;->getProximitySensor()Lcom/android/server/display/config/SensorData;
11160 HSPLcom/android/server/display/config/SensorData;-><init>()V
11161 HSPLcom/android/server/display/config/SensorData;-><init>(Ljava/lang/String;Ljava/lang/String;)V
11162 HSPLcom/android/server/display/config/SensorData;-><init>(Ljava/lang/String;Ljava/lang/String;FF)V
11163 HSPLcom/android/server/display/config/SensorData;-><init>(Ljava/lang/String;Ljava/lang/String;FFLja…
11164 …r/display/config/SensorData;->loadAmbientLightSensorConfig(Landroid/content/res/Resources;)Lcom/an…
11165 …om/android/server/display/config/SensorData;->loadSensorUnspecifiedConfig()Lcom/android/server/dis…
11511 …sor(Landroid/hardware/SensorManager;Lcom/android/server/display/config/SensorData;I)Landroid/hardw…
/frameworks/base/boot/
Dpreloaded-classes5382 android.media.audio.common.HeadTracking$SensorData$Tag
Dboot-image-profile.txt27777 Landroid/media/audio/common/HeadTracking$SensorData$Tag;
/frameworks/base/config/
Dpreloaded-classes5386 android.media.audio.common.HeadTracking$SensorData$Tag
Dboot-image-profile.txt37911 Landroid/media/audio/common/HeadTracking$SensorData$Tag;