Lines Matching full:path
43 static void appendInputDeviceConfigurationFileRelativePath(String8& path,
45 path.append(CONFIGURATION_FILE_DIR[type]);
51 path.append(&ch, 1);
53 path.append(CONFIGURATION_FILE_EXTENSION[type]);
89 String8 path;
90 path.setTo(getenv("ANDROID_ROOT"));
91 path.append("/usr/");
92 appendInputDeviceConfigurationFileRelativePath(path, name, type);
94 ALOGD("Probing for system provided input device configuration file: path='%s'", path.string());
96 if (!access(path.string(), R_OK)) {
100 return path;
105 path.setTo(getenv("ANDROID_DATA"));
106 path.append("/system/devices/");
107 appendInputDeviceConfigurationFileRelativePath(path, name, type);
109 ALOGD("Probing for system user input device configuration file: path='%s'", path.string());
111 if (!access(path.string(), R_OK)) {
115 return path;