Home
last modified time | relevance | path

Searched refs:headroom (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java297 float headroom = mPm.getThermalHeadroom(0); in testGetThermalHeadroom() local
299 if (Float.isNaN(headroom)) { in testGetThermalHeadroom()
302 assertTrue("Expected non-negative headroom", headroom >= 0.0f); in testGetThermalHeadroom()
303 assertTrue("Expected reasonably small headroom", headroom < 10.0f); in testGetThermalHeadroom()
306 headroom = mPm.getThermalHeadroom(0); in testGetThermalHeadroom()
307 assertTrue("Expected NaN because of rate limiting", Float.isNaN(headroom)); in testGetThermalHeadroom()
311 headroom = mPm.getThermalHeadroom(5); in testGetThermalHeadroom()
312 assertFalse("Expected data to still be available", Float.isNaN(headroom)); in testGetThermalHeadroom()
313 assertTrue("Expected non-negative headroom", headroom >= 0.0f); in testGetThermalHeadroom()
314 assertTrue("Expected reasonably small headroom", headroom < 10.0f); in testGetThermalHeadroom()
/frameworks/proto_logging/stats/atoms/adpf/
Dadpf_extension_atoms.proto94 // Thermal headroom.
95 optional float headroom = 3; field
114 * Logs the current thermal headroom thresholds of a device.
118 // Thermal headroom threshold for that status.
119 repeated float headroom = 1; field
/frameworks/base/libs/hwui/aconfig/
Dhwui_flags.aconfig24 description: "API to enable apps to restrict the amount of HDR headroom that is used"
83 description: "Automatically animate all changes in HDR headroom"
/frameworks/native/include/android/
Dthermal.h240 float headroom; member
/frameworks/base/native/android/tests/thermal/
DNativeThermalUnitTest.cpp98 ASSERT_EQ(expected[i], t.headroom) in checkThermalHeadroomThresholds()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java889 float headroom = mTemperatureWatcher.getForecast(forecastSecs); in runHeadroom() local
890 pw.println("Headroom in " + forecastSecs + " seconds: " + headroom); in runHeadroom()
1669 float headroom = normalizeTemperature(threshold, severeThreshold); in updateHeadroomThreshold() local
1671 mHeadroomThresholds[severity] = headroom; in updateHeadroomThreshold()
1674 mHeadroomThresholds[severity] = Math.min(lastHeadroom, headroom); in updateHeadroomThreshold()
/frameworks/base/native/android/
Dthermal.cpp233 t[i].headroom = (*thresholds)[i]; in getThermalHeadroomThresholds()
/frameworks/base/core/java/android/os/
Dflags.aconfig40 description: "Enable thermal headroom thresholds API"