Searched refs:headroom (Results 1 – 8 of 8) sorted by relevance
297 float headroom = mPm.getThermalHeadroom(0); in testGetThermalHeadroom() local299 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()
94 // Thermal headroom.95 optional float headroom = 3; field114 * Logs the current thermal headroom thresholds of a device.118 // Thermal headroom threshold for that status.119 repeated float headroom = 1; field
24 description: "API to enable apps to restrict the amount of HDR headroom that is used"83 description: "Automatically animate all changes in HDR headroom"
240 float headroom; member
98 ASSERT_EQ(expected[i], t.headroom) in checkThermalHeadroomThresholds()
889 float headroom = mTemperatureWatcher.getForecast(forecastSecs); in runHeadroom() local890 pw.println("Headroom in " + forecastSecs + " seconds: " + headroom); in runHeadroom()1669 float headroom = normalizeTemperature(threshold, severeThreshold); in updateHeadroomThreshold() local1671 mHeadroomThresholds[severity] = headroom; in updateHeadroomThreshold()1674 mHeadroomThresholds[severity] = Math.min(lastHeadroom, headroom); in updateHeadroomThreshold()
233 t[i].headroom = (*thresholds)[i]; in getThermalHeadroomThresholds()
40 description: "Enable thermal headroom thresholds API"