/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | TemperatureColorStore.java | 30 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/ |
D | ThermalManagerService.java | 223 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/ |
D | AppLaunchEvent.java | 183 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()
|
D | IorapForwardingService.java | 300 @Temperature int temperature) { 303 mSequenceId, activity, temperature)); 308 new AppLaunchEvent.ActivityLaunched(mSequenceId, activity, temperature))
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchObserverRegistryImpl.java | 87 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()
|
D | ActivityMetricsLaunchObserver.java | 147 @Temperature int temperature); in onActivityLaunched() argument
|
D | ActivityMetricsLogger.java | 1041 @ActivityMetricsLaunchObserver.Temperature int temperature = in launchObserverNotifyActivityLaunched() local 1046 temperature); in launchObserverNotifyActivityLaunched() local
|
/frameworks/base/core/java/android/hardware/display/ |
D | ColorDisplayManager.java | 214 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()
|
D | IColorDisplayManager.aidl | 34 boolean setNightDisplayColorTemperature(int temperature); in setNightDisplayColorTemperature() argument
|
/frameworks/base/core/java/android/os/ |
D | IThermalEventListener.aidl | 30 void notifyThrottling(in Temperature temperature); in notifyThrottling() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_HardwarePropertiesManagerService.cpp | 82 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/ |
D | ColorDisplayService.java | 323 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/ |
D | battery.proto | 53 // Battery temperature in tenths of a degree Centigrade 54 optional int32 temperature = 12; field
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | IStats.hal | 88 * temperature at USB plug event, max port temperature seen during
|
D | types.hal | 174 /* Maximum temperature of USB port during overheat event, in 1/10ths of degree C. */
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 114 for (Temperature temperature : mTemperatureList) { in getCurrentTemperatures() 115 if (shouldFilter && type != temperature.getType()) { in getCurrentTemperatures() 118 ret.add(temperature); in getCurrentTemperatures()
|
/frameworks/native/include/android/ |
D | sensor.h | 441 float temperature; member
|
/frameworks/native/include_sensor/android/ |
D | sensor.h | 441 float temperature; member
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 8 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/ |
D | system_messages.proto | 176 // Inform the user their phone recently shut down due to high temperature
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 395 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/ |
D | global.proto | 927 // Temperature at which the high temperature warning notification should
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6079 // FIELD: Battery temperature at snapshot, in 1/10 deg C.
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 884 public void onActivityLaunched(byte[] activity, int temperature) {
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 12405 …ic static final deprecated java.lang.String STRING_TYPE_TEMPERATURE = "android.sensor.temperature"; 21384 field public static final java.lang.String EXTRA_TEMPERATURE = "temperature";
|