Lines Matching refs:path

47 static void appendInputDeviceConfigurationFileRelativePath(std::string& path,  in appendInputDeviceConfigurationFileRelativePath()  argument
49 path += CONFIGURATION_FILE_DIR[type]; in appendInputDeviceConfigurationFileRelativePath()
50 path += name; in appendInputDeviceConfigurationFileRelativePath()
51 path += CONFIGURATION_FILE_EXTENSION[type]; in appendInputDeviceConfigurationFileRelativePath()
87 std::string path; in getInputDeviceConfigurationFilePathByName() local
95 path = rootsForPartition[i]; in getInputDeviceConfigurationFilePathByName()
96 path += "/usr/"; in getInputDeviceConfigurationFilePathByName()
97 appendInputDeviceConfigurationFileRelativePath(path, name, type); in getInputDeviceConfigurationFilePathByName()
100 path.c_str()); in getInputDeviceConfigurationFilePathByName()
102 if (!access(path.c_str(), R_OK)) { in getInputDeviceConfigurationFilePathByName()
106 return path; in getInputDeviceConfigurationFilePathByName()
112 path = ""; in getInputDeviceConfigurationFilePathByName()
115 path += androidData; in getInputDeviceConfigurationFilePathByName()
117 path += "/system/devices/"; in getInputDeviceConfigurationFilePathByName()
118 appendInputDeviceConfigurationFileRelativePath(path, name, type); in getInputDeviceConfigurationFilePathByName()
120 ALOGD("Probing for system user input device configuration file: path='%s'", path.c_str()); in getInputDeviceConfigurationFilePathByName()
122 if (!access(path.c_str(), R_OK)) { in getInputDeviceConfigurationFilePathByName()
126 return path; in getInputDeviceConfigurationFilePathByName()