HomeSort by relevance Sort by last modified time
    Searched refs:cpu_file (Results 1 - 2 of 2) sorted by null

  /hardware/libhardware/modules/thermal/
thermal.c 94 FILE *cpu_file; local
128 cpu_file = fopen(file_name, "r");
130 if (cpu_file == NULL) {
135 } else if (1 != fscanf(cpu_file, "%d", &online)) {
139 fclose(cpu_file);
142 fclose(cpu_file);
  /device/google/wahoo/thermal/
thermal-helper.cpp 198 FILE *cpu_file; local
244 cpu_file = fopen(file_name, "r");
246 if (cpu_file == NULL) {
251 if (1 != fscanf(cpu_file, "%d", &online)) {
255 fclose(cpu_file);
258 fclose(cpu_file);

Completed in 78 milliseconds