Searched refs:rootPath (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | MockFileUtil.java | 38 public static void setMockDirContents(ITestDevice mockDevice, String rootPath, in setMockDirContents() argument 41 EasyMock.expect(mockDevice.getFileEntry(rootPath)).andStubReturn(rootEntry); in setMockDirContents() 44 EasyMock.expect(rootEntry.getFullEscapedPath()).andStubReturn(rootPath); in setMockDirContents() 45 EasyMock.expect(rootEntry.getName()).andStubReturn(rootPath); in setMockDirContents() 50 String fullPath = rootPath + FileListingService.FILE_SEPARATOR + childName; in setMockDirContents() 70 public static void setMockDirPath(ITestDevice mockDevice, String rootPath, in setMockDirPath() argument 73 EasyMock.expect(mockDevice.getFileEntry(rootPath)).andStubReturn(rootEntry); in setMockDirPath() 74 EasyMock.expect(rootEntry.getFullEscapedPath()).andStubReturn(rootPath); in setMockDirPath() 75 EasyMock.expect(rootEntry.getName()).andStubReturn(rootPath); in setMockDirPath() 79 rootPath = rootPath + FileListingService.FILE_SEPARATOR + pathSegments[i]; in setMockDirPath() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 150 private void getEntriesFromDir(File dir, Set<String> entries, List<String> rootPath, in getEntriesFromDir() argument 160 rootPath.add(childFile.getName() + "/"); in getEntriesFromDir() 161 getEntriesFromDir(childFile, entries, rootPath, filter); in getEntriesFromDir() 163 rootPath.remove(rootPath.size() - 1); in getEntriesFromDir() 166 String classPathEntryName = constructPath(rootPath, childFile.getName()); in getEntriesFromDir() 184 private String constructPath(List<String> rootPath, String fileName) { in constructPath() argument 186 for (String element : rootPath) { in constructPath()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 423 val rootPath = root.path in processFlags() constant 426 if (path.startsWith(rootPath)) { in processFlags() 427 path.substring(rootPath.length) in processFlags()
|