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

/hardware/libhardware/modules/sensors/
H A Dmultihal.cpp483 char *real_path = realpath(line, NULL); local
484 if (starts_with(real_path, LEGAL_SUBHAL_PATH_PREFIX) ||
485 starts_with(real_path, LEGAL_SUBHAL_ALTERNATE_PATH_PREFIX)) {
486 ALOGV("accepting valid path '%s'", real_path);
487 char* compact_line = new char[strlen(real_path) + 1];
488 strcpy(compact_line, real_path);
492 real_path, LEGAL_SUBHAL_PATH_PREFIX, LEGAL_SUBHAL_ALTERNATE_PATH_PREFIX);
494 free(real_path);

Completed in 30 milliseconds