Searched refs:TEMPERATURE_DIR (Results 1 – 1 of 1) sorted by relevance
34 #define TEMPERATURE_DIR "/sys/class/thermal" macro50 dir = opendir(TEMPERATURE_DIR); in get_temperatures()52 ALOGE("%s: failed to open directory %s: %s", __func__, TEMPERATURE_DIR, strerror(-errno)); in get_temperatures()58 snprintf(file_name, MAX_LENGTH, "%s/%s/temp", TEMPERATURE_DIR, de->d_name); in get_temperatures()