Lines Matching refs:path
212 def HasInstrumentationTest(path): argument
218 manifest_parser = android_manifest.CreateAndroidManifest(path)
285 def _IsJavaFile(self, path): argument
287 return os.path.isfile(path) and self._IsJavaFileName(path)
291 return os.path.splitext(filename)[1] == '.java'
293 def _IsJavaPackage(self, path): argument
305 if not os.path.isdir(path):
307 for file_name in os.listdir(path):
323 filename = os.path.basename(java_file_path)
324 class_name = os.path.splitext(filename)[0]
328 def _GetPackageNameFromDir(self, path): argument
340 for filename in os.listdir(path):
342 return self._GetPackageNameFromFile(os.path.join(path, filename))