Home
last modified time | relevance | path

Searched refs:cpu_file (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/modules/thermal/
Dthermal.c94 FILE *cpu_file; in get_cpu_usages() local
128 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
130 if (cpu_file == NULL) { in get_cpu_usages()
135 } else if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()
139 fclose(cpu_file); in get_cpu_usages()
142 fclose(cpu_file); in get_cpu_usages()
/hardware/qcom/sdm845/thermal/
Dthermal.c90 FILE *cpu_file; in get_cpu_usages() local
136 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
138 if (cpu_file == NULL) { in get_cpu_usages()
143 if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()
147 fclose(cpu_file); in get_cpu_usages()
150 fclose(cpu_file); in get_cpu_usages()
/hardware/qcom/sm8150/thermal/
Dthermal.c90 FILE *cpu_file; in get_cpu_usages() local
136 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
138 if (cpu_file == NULL) { in get_cpu_usages()
143 if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()
147 fclose(cpu_file); in get_cpu_usages()
150 fclose(cpu_file); in get_cpu_usages()