Home
last modified time | relevance | path

Searched refs:pathName (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DClassPathScanner.java55 boolean accept(String pathName); in accept() argument
64 String transform(String pathName); in transform() argument
77 public boolean accept(String pathName) { in accept() argument
78 return pathName.endsWith(DOT_CLASS); in accept()
85 public String transform(String pathName) { in transform() argument
86 String className = pathName.substring(0, pathName.length() - DOT_CLASS.length()); in transform()
101 public boolean accept(String pathName) { in accept() argument
102 return super.accept(pathName) && !pathName.contains("$"); in accept()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java171 public boolean accept(String pathName) { in accept() argument
173 final ConfigId pathId = new ConfigId(pathName); in accept()
174 String extension = FileUtil.getExtension(pathName); in accept()
175 return pathName.startsWith(mPrefix) in accept()
184 public String transform(String pathName) { in transform() argument
187 String extension = FileUtil.getExtension(pathName); in transform()
188 int pathEndIndex = pathName.length() - extension.length(); in transform()
189 return pathName.substring(pathStartIndex, pathEndIndex); in transform()