/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 | 221 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/ |
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/core/proto/android/service/ |
D | battery.proto | 53 // Battery temperature in tenths of a degree Centigrade 54 optional int32 temperature = 12; field
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 292 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/ |
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)
|
/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 | 348 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/ |
D | global.proto | 928 // 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 | 875 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";
|