Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 25 of 26) 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.java221 private void postEventListener(Temperature temperature, in postEventListener() argument
225 if (type != null && type != temperature.getType()) { in postEventListener()
230 listener.notifyThrottling(temperature); in postEventListener()
240 private void notifyEventListenersLocked(Temperature temperature) { in notifyEventListenersLocked() argument
248 postEventListener(temperature, listener, type); in notifyEventListenersLocked()
255 private void shutdownIfNeeded(Temperature temperature) { in shutdownIfNeeded() argument
256 if (temperature.getStatus() != Temperature.THROTTLING_SHUTDOWN) { in shutdownIfNeeded()
260 switch (temperature.getType()) { in shutdownIfNeeded()
276 private void onTemperatureChanged(Temperature temperature, boolean sendStatus) { in onTemperatureChanged() argument
277 shutdownIfNeeded(temperature); in onTemperatureChanged()
[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/core/proto/android/service/
Dbattery.proto53 // Battery temperature in tenths of a degree Centigrade
54 optional int32 temperature = 12; field
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java292 final int temperature = mNightDisplayTintController in setUp()
295 != temperature) { in setUp()
297 .onColorTemperatureChanged(temperature); in setUp()
1187 boolean setColorTemperature(int temperature) { in setColorTemperature() argument
1188 mColorTemp = temperature; in setColorTemperature()
1190 Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE, temperature, mCurrentUser); in setColorTemperature()
1191 onColorTemperatureChanged(temperature); in setColorTemperature()
1195 void onColorTemperatureChanged(int temperature) { in onColorTemperatureChanged() argument
1196 setMatrix(temperature); in onColorTemperatureChanged()
1470 public boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
[all …]
/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)
/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.proto348 Temperature temperature = 10021; field
460 // The type of temperature being reported (CPU, GPU, SKIN, etc)
471 optional float temperature = 3; field
2437 // The type of temperature being reported (CPU, GPU, SKIN, etc)
2440 // The name of the temperature source. Eg. CPU0
3421 /* Maximum temperature of USB port during overheat event, in 1/10ths of degree C. */
4146 * Pulls the temperature of various parts of the device.
4152 // The type of temperature being reported. Eg. CPU, GPU, SKIN, BATTERY, BCL_.
4155 // The name of the temperature source. Eg. CPU0
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto928 // 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.java875 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