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.java54 boolean accept(String pathName); in accept() argument
63 String transform(String pathName); in transform() argument
76 public boolean accept(String pathName) { in accept() argument
77 return pathName.endsWith(DOT_CLASS); in accept()
84 public String transform(String pathName) { in transform() argument
85 String className = pathName.substring(0, pathName.length() - DOT_CLASS.length()); in transform()
100 public boolean accept(String pathName) { in accept() argument
101 return super.accept(pathName) && !pathName.contains("$"); in accept()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java152 public boolean accept(String pathName) { in accept() argument
154 final ConfigId pathId = new ConfigId(pathName); in accept()
155 return pathName.startsWith(mPrefix) && pathName.endsWith(CONFIG_SUFFIX) && in accept()
163 public String transform(String pathName) { in transform() argument
166 int pathEndIndex = pathName.length() - CONFIG_SUFFIX.length(); in transform()
167 return pathName.substring(pathStartIndex, pathEndIndex); in transform()