Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureColorStore.java30 private TemperatureColorValue(float temperature, int color) { in TemperatureColorValue() argument
31 this.mTemperature = temperature; in TemperatureColorValue()
44 private static TemperatureColorValue tempToColor(float temperature, int color) { in tempToColor() argument
45 return new TemperatureColorValue(temperature, color); in tempToColor()
89 int getColorForTemperature(float temperature) { in getColorForTemperature() argument
90 if (Float.isNaN(temperature)) { in getColorForTemperature()
94 if (temperature <= bottomValue.getTemperature()) { in getColorForTemperature()
99 if (temperature >= topValue.getTemperature()) { in getColorForTemperature()
103 int index = binarySearch(temperature); in getColorForTemperature()
112 float fraction = (temperature - startValue.getTemperature()) / (endValue.getTemperature() in getColorForTemperature()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java223 private void postEventListener(Temperature temperature, in postEventListener() argument
227 if (type != null && type != temperature.getType()) { in postEventListener()
232 listener.notifyThrottling(temperature); in postEventListener()
242 private void notifyEventListenersLocked(Temperature temperature) { in notifyEventListenersLocked() argument
250 postEventListener(temperature, listener, type); in notifyEventListenersLocked()
255 EventLog.writeEvent(EventLogTags.THERMAL_CHANGED, temperature.getName(), in notifyEventListenersLocked()
256 temperature.getType(), temperature.getValue(), temperature.getStatus(), mStatus); in notifyEventListenersLocked()
259 private void shutdownIfNeeded(Temperature temperature) { in shutdownIfNeeded() argument
260 if (temperature.getStatus() != Temperature.THROTTLING_SHUTDOWN) { in shutdownIfNeeded()
264 switch (temperature.getType()) { in shutdownIfNeeded()
[all …]
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DAppLaunchEvent.java183 int temperature; field in AppLaunchEvent.ActivityLaunched
187 @ActivityMetricsLaunchObserver.Temperature int temperature) { in ActivityLaunched() argument
189 this.temperature = temperature; in ActivityLaunched()
195 return temperature == ((ActivityLaunched)other).temperature && in equals()
203 return ", temperature=" + Integer.toString(temperature); in toStringBody()
209 p.writeInt(temperature); in writeToParcelImpl()
214 temperature = p.readInt(); in ActivityLaunched()
DIorapForwardingService.java300 @Temperature int temperature) {
303 mSequenceId, activity, temperature));
308 new AppLaunchEvent.ActivityLaunched(mSequenceId, activity, temperature))
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchObserverRegistryImpl.java87 int temperature) { in onActivityLaunched() argument
90 this, activity, temperature)); in onActivityLaunched()
137 @Temperature int temperature) { in handleOnActivityLaunched() argument
141 o.onActivityLaunched(activity, temperature); in handleOnActivityLaunched()
DActivityMetricsLaunchObserver.java147 @Temperature int temperature); in onActivityLaunched() argument
DActivityMetricsLogger.java1041 @ActivityMetricsLaunchObserver.Temperature int temperature = in launchObserverNotifyActivityLaunched() local
1046 temperature); in launchObserverNotifyActivityLaunched() local
/frameworks/base/core/java/android/hardware/display/
DColorDisplayManager.java214 public boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
215 return mManager.setNightDisplayColorTemperature(temperature); in setNightDisplayColorTemperature()
557 boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
559 return mCdm.setNightDisplayColorTemperature(temperature); in setNightDisplayColorTemperature()
DIColorDisplayManager.aidl34 boolean setNightDisplayColorTemperature(int temperature); in setNightDisplayColorTemperature() argument
/frameworks/base/core/java/android/os/
DIThermalEventListener.aidl30 void notifyThrottling(in Temperature temperature); in notifyThrottling() argument
/frameworks/base/services/core/jni/
Dcom_android_server_HardwarePropertiesManagerService.cpp82 float finalizeTemperature(float temperature) { in finalizeTemperature() argument
83 return isnan(temperature) ? gUndefinedTemperature : temperature; in finalizeTemperature()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java323 final int temperature = mNightDisplayTintController in setUp()
326 != temperature) { in setUp()
328 .onColorTemperatureChanged(temperature); in setUp()
1296 boolean setColorTemperature(int temperature) { in setColorTemperature() argument
1297 mColorTemp = temperature; in setColorTemperature()
1299 Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE, temperature, mCurrentUser); in setColorTemperature()
1300 onColorTemperatureChanged(temperature); in setColorTemperature()
1304 void onColorTemperatureChanged(int temperature) { in onColorTemperatureChanged() argument
1305 setMatrix(temperature); in onColorTemperatureChanged()
1581 public boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
[all …]
/frameworks/base/core/proto/android/service/
Dbattery.proto53 // Battery temperature in tenths of a degree Centigrade
54 optional int32 temperature = 12; field
/frameworks/hardware/interfaces/stats/1.0/
DIStats.hal88 * temperature at USB plug event, max port temperature seen during
Dtypes.hal174 /* Maximum temperature of USB port during overheat event, in 1/10ths of degree C. */
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java114 for (Temperature temperature : mTemperatureList) { in getCurrentTemperatures()
115 if (shouldFilter && type != temperature.getType()) { in getCurrentTemperatures()
118 ret.add(temperature); in getCurrentTemperatures()
/frameworks/native/include/android/
Dsensor.h441 float temperature; member
/frameworks/native/include_sensor/android/
Dsensor.h441 float temperature; member
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags8 2722 battery_level (level|1|6),(voltage|1|1),(temperature|1|1)
46 2737 thermal_changed (name|3),(type|1|5),(temperature|5),(sensor_status|1|5),(previous_system_statu…
/frameworks/base/proto/src/
Dsystem_messages.proto176 // Inform the user their phone recently shut down due to high temperature
/frameworks/base/cmds/statsd/src/
Datoms.proto395 Temperature temperature = 10021; field
514 // The type of temperature being reported (CPU, GPU, SKIN, etc)
525 optional float temperature = 3; field
2684 // The type of temperature being reported (CPU, GPU, SKIN, etc)
2687 // The name of the temperature source. Eg. CPU0
3705 /* Maximum temperature of USB port during overheat event, in 1/10ths of degree C. */
4707 * Pulls the temperature of various parts of the device.
4713 // The type of temperature being reported. Eg. CPU, GPU, SKIN, BATTERY, BCL_.
4716 // The name of the temperature source. Eg. CPU0
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto927 // Temperature at which the high temperature warning notification should
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6079 // FIELD: Battery temperature at snapshot, in 1/10 deg C.
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java884 public void onActivityLaunched(byte[] activity, int temperature) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12405 …ic static final deprecated java.lang.String STRING_TYPE_TEMPERATURE = "android.sensor.temperature";
21384 field public static final java.lang.String EXTRA_TEMPERATURE = "temperature";

12