Home
last modified time | relevance | path

Searched refs:rootEntry (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockitoFileUtil.java45 IFileEntry rootEntry = mock(IFileEntry.class); in setMockDirContents() local
46 when(mockDevice.getFileEntry(rootPath)).thenReturn(rootEntry); in setMockDirContents()
48 when(rootEntry.isDirectory()).thenReturn(isDir); in setMockDirContents()
49 when(rootEntry.getFullEscapedPath()).thenReturn(rootPath); in setMockDirContents()
50 when(rootEntry.getName()).thenReturn(rootPath); in setMockDirContents()
60 when(rootEntry.getChildren(Mockito.anyBoolean())).thenReturn(mockChildren); in setMockDirContents()
75 IFileEntry rootEntry = mock(IFileEntry.class); in setMockDirPath() local
76 when(mockDevice.getFileEntry(rootPath)).thenReturn(rootEntry); in setMockDirPath()
77 when(rootEntry.getFullEscapedPath()).thenReturn(rootPath); in setMockDirPath()
78 when(rootEntry.getName()).thenReturn(rootPath); in setMockDirPath()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeStressTest.java147 IFileEntry rootEntry, ITestDevice testDevice, ITestInvocationListener listener) in doRunAllTestsInSubdirectory() argument
150 if (rootEntry.isDirectory()) { in doRunAllTestsInSubdirectory()
152 for (IFileEntry childEntry : rootEntry.getChildren(true)) { in doRunAllTestsInSubdirectory()
158 NativeStressTestParser resultParser = createResultParser(rootEntry.getName()); in doRunAllTestsInSubdirectory()
159 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory()
169 CLog.i("Running %s for %d iterations", rootEntry.getName(), mNumIterations); in doRunAllTestsInSubdirectory()
DNativeBenchmarkTest.java172 IFileEntry rootEntry, ITestDevice testDevice, ITestInvocationListener listener) in doRunAllTestsInSubdirectory() argument
175 if (rootEntry.isDirectory()) { in doRunAllTestsInSubdirectory()
177 for (IFileEntry childEntry : rootEntry.getChildren(true)) { in doRunAllTestsInSubdirectory()
183 String runName = (mReportRunName == null ? rootEntry.getName() : mReportRunName); in doRunAllTestsInSubdirectory()
184 String fullPath = rootEntry.getFullEscapedPath(); in doRunAllTestsInSubdirectory()
204 rootEntry.getName(), mNumIterations, delayFloat); in doRunAllTestsInSubdirectory()
DGoogleBenchmarkTest.java194 String rootEntry = root.substring(root.lastIndexOf("/") + 1); in doRunAllTestsInSubdirectory() local
195 String runName = (mReportRunName == null ? rootEntry : mReportRunName); in doRunAllTestsInSubdirectory()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DNativeBenchmarkTestTest.java113 IFileEntry rootEntry, in testRun_setMaxFrequency()