Home
last modified time | relevance | path

Searched refs:thresholds (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalUtils.java122 public static int calculateThermalState(int temp, Integer thresholds[]) { in calculateThermalState() argument
123 if (thresholds == null) return THERMAL_STATE_OFF; in calculateThermalState()
125 if (temp < thresholds[0]) in calculateThermalState()
128 if (temp >= thresholds[thresholds.length - 2]) in calculateThermalState()
129 return (thresholds.length - 2); in calculateThermalState()
131 for (int i = 0; i < thresholds.length - 1; i++) { in calculateThermalState()
132 if (temp >= thresholds[i] && temp < thresholds[i + 1]) { in calculateThermalState()
141 public static int getLowerThresholdTemp(int index, Integer thresholds[]) { in getLowerThresholdTemp() argument
142 if (thresholds == null) return INVALID_TEMP; in getLowerThresholdTemp()
143 if (index < 0 || index >= thresholds.length) in getLowerThresholdTemp()
[all …]
/hardware/interfaces/wifi/1.0/
DIWifiStaIfaceEventCallback.hal44 * |REPORT_EVENTS_EACH_SCAN| or one of the configured thresholds was
54 * thresholds set via |IWifiStaIface.startRssiMonitoring|.