Searched refs:sysfsFd (Results 1 - 2 of 2) sorted by relevance

/hardware/qcom/display/msm8084/libqdutils/
H A Dmdp_version.cpp219 FILE *sysfsFd; local
236 sysfsFd = fopen(sysfsPath, "rb");
238 if (sysfsFd == NULL) {
244 while((read = getline(&line, &len, sysfsFd)) != -1) {
302 fclose(sysfsFd);
310 sysfsFd = fopen(sysfsPath, "rb");
311 if (sysfsFd == NULL) {
317 if((read = getline(&line, &len, sysfsFd)) != -1) {
324 fclose(sysfsFd);
/hardware/qcom/display/msm8226/libqdutils/
H A Dmdp_version.cpp225 FILE *sysfsFd; local
242 sysfsFd = fopen(sysfsPath, "rb");
244 if (sysfsFd == NULL) {
250 while((read = getline(&line, &len, sysfsFd)) != -1) {
308 fclose(sysfsFd);
316 sysfsFd = fopen(sysfsPath, "rb");
317 if (sysfsFd == NULL) {
323 if((read = getline(&line, &len, sysfsFd)) != -1) {
330 fclose(sysfsFd);

Completed in 163 milliseconds