• Home
  • Raw
  • Download

Lines Matching refs:path

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