Searched refs:current_index (Results 1 – 4 of 4) sorted by relevance
/device/htc/flounder/thermal/ |
D | thermal.c | 97 size_t current_index = 0; in get_temperatures() local 104 if (current_index < size) { in get_temperatures() 107 UNKNOWN_TEMPERATURE, UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures() 111 current_index++; in get_temperatures() 112 if (current_index < size) { in get_temperatures() 113 list[current_index] = list[current_index - 1]; in get_temperatures() 114 list[current_index].name = CPU_LABEL[1]; in get_temperatures() 115 current_index++; in get_temperatures() 120 if (current_index < size) { in get_temperatures() 123 UNKNOWN_TEMPERATURE, UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures() [all …]
|
/device/huawei/angler/thermal/ |
D | thermal.c | 127 size_t current_index = 0; in get_temperatures() local 137 current_index += result; in get_temperatures() 140 if (current_index < size) { in get_temperatures() 144 &list[current_index]); in get_temperatures() 148 current_index++; in get_temperatures() 152 if (current_index < size) { in get_temperatures() 156 &list[current_index]); in get_temperatures() 160 current_index++; in get_temperatures() 164 if (current_index < size) { in get_temperatures() 168 &list[current_index]); in get_temperatures() [all …]
|
/device/moto/shamu/thermal/ |
D | thermal.c | 122 size_t current_index = 0; in get_temperatures() local 132 current_index += result; in get_temperatures() 135 if (current_index < size) { in get_temperatures() 138 1, UNKNOWN_TEMPERATURE, UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures() 142 current_index++; in get_temperatures() 146 if (current_index < size) { in get_temperatures() 149 0.001, UNKNOWN_TEMPERATURE, BATTERY_SHUTDOWN_THRESHOLD, &list[current_index]); in get_temperatures() 153 current_index++; in get_temperatures() 157 if (current_index < size) { in get_temperatures() 160 SKIN_THROTTLING_THRESHOLD, UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures() [all …]
|
/device/lge/bullhead/thermal/ |
D | thermal.c | 128 size_t current_index = 0; in get_temperatures() local 139 current_index += result; in get_temperatures() 142 if (current_index < size) { in get_temperatures() 146 UNKNOWN_TEMPERATURE, UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures() 150 current_index++; in get_temperatures() 154 if (current_index < size) { in get_temperatures() 158 0.001, UNKNOWN_TEMPERATURE, BATTERY_SHUTDOWN_THRESHOLD, &list[current_index]); in get_temperatures() 162 current_index++; in get_temperatures() 166 if (current_index < size) { in get_temperatures() 170 UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures() [all …]
|