Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DThermalManagerService.java281 temperature.getType(), temperature.getValue(), temperature.getStatus(), mStatus); in notifyEventListenersLocked()
306 shutdownIfNeeded(temperature); in onTemperatureChanged()
308 Temperature old = mTemperatureMap.put(temperature.getName(), temperature); in onTemperatureChanged()
728 temperature.type, temperature.name, temperature.throttlingStatus);
940 temperature.currentValue, temperature.type, in getCurrentTemperatures()
1042 temperature.currentValue, temperature.type, temperature.name,
1079 temperature.currentValue, temperature.type, in getCurrentTemperatures()
1181 temperature.value, temperature.type, temperature.name,
1217 temperature.value, temperature.type, in getCurrentTemperatures()
1528 public float temperature; field in ThermalManagerService.TemperatureWatcher.Sample
[all …]
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DWeatherData.kt15 val temperature: Int,
31 val temperature = readIntFromBundle(extras, TEMPERATURE_KEY) regex
36 temperature == null
48 temperature = temperature,
122 return "$state (\"$description\") $temperature°$unit"
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLaunchObserverRegistryImpl.java87 public void onActivityLaunched(long id, ComponentName name, int temperature) { in onActivityLaunched() argument
90 this, id, name, temperature)); in onActivityLaunched()
140 @Temperature int temperature) { in handleOnActivityLaunched() argument
143 mList.get(i).onActivityLaunched(id, name, temperature); in handleOnActivityLaunched()
H A DActivityMetricsLaunchObserver.java146 public void onActivityLaunched(long id, ComponentName name, @Temperature int temperature) { in onActivityLaunched() argument
H A DActivityMetricsLogger.java1732 @ActivityMetricsLaunchObserver.Temperature int temperature = in launchObserverNotifyActivityLaunched() local
1737 info.mLastLaunchedActivity.mActivityComponent, temperature); in launchObserverNotifyActivityLaunched()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
H A DLockscreenSmartspaceControllerTest.kt571 temperature = "32",
593 temperature = "32",
612 temperature = "-1",
619 w.temperature == -1 && !w.useCelsius
635 temperature = "72",
654 temperature = "72",
661 temperature = "62",
688 temperature = "0",
697 w.temperature == 0 && w.useCelsius
714 temperature = "32",
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DIThermalEventListener.aidl30 void notifyThrottling(in Temperature temperature); in notifyThrottling() argument
/aosp14/frameworks/base/core/java/android/hardware/display/
H A DColorDisplayManager.java214 public boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
215 return mManager.setNightDisplayColorTemperature(temperature); in setNightDisplayColorTemperature()
648 boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
650 return mCdm.setNightDisplayColorTemperature(temperature); in setNightDisplayColorTemperature()
H A DIColorDisplayManager.aidl37 boolean setNightDisplayColorTemperature(int temperature); in setNightDisplayColorTemperature() argument
/aosp14/frameworks/base/core/proto/android/service/
H A Dbattery.proto53 // Battery temperature in tenths of a degree Centigrade
54 optional int32 temperature = 12; field
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
H A DThermalManagerServiceMockingTest.java63 mTemperatureCallback = temperature -> mTemperatureFuture.complete(temperature); in setUp()
79 Temperature temperature = mTemperatureFuture.get(100, TimeUnit.MILLISECONDS); in setCallback_aidl() local
80 assertEquals(halT.name, temperature.getName()); in setCallback_aidl()
81 assertEquals(halT.type, temperature.getType()); in setCallback_aidl()
82 assertEquals(halT.value, temperature.getValue(), 0.1f); in setCallback_aidl()
83 assertEquals(halT.throttlingStatus, temperature.getStatus()); in setCallback_aidl()
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DColorDisplayService.java321 final int temperature = mNightDisplayTintController in setUp()
324 != temperature) { in setUp()
326 .onColorTemperatureChanged(temperature); in setUp()
1474 boolean setColorTemperature(int temperature) { in setColorTemperature() argument
1475 mColorTemp = temperature; in setColorTemperature()
1477 Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE, temperature, mCurrentUser); in setColorTemperature()
1478 onColorTemperatureChanged(temperature); in setColorTemperature()
1482 void onColorTemperatureChanged(int temperature) { in onColorTemperatureChanged() argument
1483 setMatrix(temperature); in onColorTemperatureChanged()
1818 public boolean setNightDisplayColorTemperature(int temperature) { in setNightDisplayColorTemperature() argument
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
H A DBrightnessThermalClamper.java83 public void notifyThrottling(Temperature temperature) {
84 @Temperature.ThrottlingStatus int status = temperature.getStatus();
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_HardwarePropertiesManagerService.cpp91 float finalizeTemperature(float temperature) { in finalizeTemperature() argument
92 return isnan(temperature) ? gUndefinedTemperature : temperature; in finalizeTemperature()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DThermalManagerServiceTest.java158 for (Temperature temperature : mTemperatureList) { in getCurrentTemperatures()
159 if (shouldFilter && type != temperature.getType()) { in getCurrentTemperatures()
162 ret.add(temperature); in getCurrentTemperatures()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A 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…
/aosp14/frameworks/base/proto/src/
H A Dsystem_messages.proto176 // Inform the user their phone recently shut down due to high temperature
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHistory.java954 public void setBatteryState(int status, int level, int health, int plugType, int temperature, in setBatteryState() argument
961 mHistoryCur.batteryTemperature = (short) temperature; in setBatteryState()
/aosp14/frameworks/base/core/proto/android/providers/settings/
H A Dglobal.proto958 // Temperature at which the high temperature warning notification should
/aosp14/frameworks/base/proto/src/metrics_constants/
H A Dmetrics_constants.proto6089 // FIELD: Battery temperature at snapshot, in 1/10 deg C.
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java1110 public void onActivityLaunched(long id, ComponentName name, int temperature) {
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt18053 …ield @Deprecated public static final String STRING_TYPE_TEMPERATURE = "android.sensor.temperature";
32510 field public static final String EXTRA_TEMPERATURE = "temperature";