Lines Matching refs:file
80 File file = new File(utility.getHapPath()); in hapCommandVerify() local
81 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in hapCommandVerify()
94 return verifyOutPath(utility, file); in hapCommandVerify()
99 File file = new File(utility.getHspPath()); in hspCommandVerify() local
100 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HSP_SUFFIX)) { in hspCommandVerify()
104 return verifyOutPath(utility, file); in hspCommandVerify()
130 File file = new File(utility.getHarPath()); in harCommandVerify() local
131 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HAR_SUFFIX)) { in harCommandVerify()
141 return verifyOutPath(utility, file); in harCommandVerify()
158 File file = new File(utility.getAppPath()); in appCommandVerify() local
159 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(APP_SUFFIX)) { in appCommandVerify()
164 return verifyOutPath(utility, file); in appCommandVerify()
175 File file = new File(utility.getAPPQFPath()); in appqfVerify() local
176 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(APPQF_SUFFIX)) { in appqfVerify()
182 return verifyOutPath(utility, file); in appqfVerify()
192 private static boolean verifyOutPath(Utility utility, File file) { in verifyOutPath() argument
219 File file = new File(path); in isPathValid() local
220 … if (isFile && (file.isFile()) && file.getName().toLowerCase(Locale.ENGLISH).endsWith(flag)) { in isPathValid()
223 return (!isFile) && file.isDirectory(); in isPathValid()