Home
last modified time | relevance | path

Searched refs:contextFile (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterLogSaverTest.java122 File contextFile = in testFindTestContextFile() local
126 assertNotNull(contextFile); in testFindTestContextFile()
127 assertEquals(file.getAbsolutePath(), contextFile.getAbsolutePath()); in testFindTestContextFile()
147 File contextFile = in testFindTestContextFile_multipleMatches_pickFirst() local
151 assertNotNull(contextFile); in testFindTestContextFile_multipleMatches_pickFirst()
152 assertEquals(files[0].getAbsolutePath(), contextFile.getAbsolutePath()); in testFindTestContextFile_multipleMatches_pickFirst()
172 File contextFile = in testFindTestContextFile_multipleMatches_pickLast() local
176 assertNotNull(contextFile); in testFindTestContextFile_multipleMatches_pickLast()
177 assertEquals(files[1].getAbsolutePath(), contextFile.getAbsolutePath()); in testFindTestContextFile_multipleMatches_pickLast()
189 File contextFile = in testFindTestContextFile_noMatch() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java289 void appendFilesToContext(File contextFile, List<String> filesToAdd) { in appendFilesToContext() argument
295 URI uri = URI.create("jar:" + contextFile.toURI()); in appendFilesToContext()
324 File contextFile = null; in invocationEnded() local
345 contextFile = in invocationEnded()
348 if (contextFile != null) { in invocationEnded()
349 CLog.i("Context file = %s", contextFile.getAbsolutePath()); in invocationEnded()
350 outputFiles.put(contextFile, null); in invocationEnded()
351 appendFilesToContext(contextFile, mExtraContextFiles); in invocationEnded()
358 if (contextFile != null && outputFileUrls.containsKey(contextFile)) { in invocationEnded()
363 final String name = getRelativePath(contextFile.toPath()).toString(); in invocationEnded()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandboxRunner.java107 File contextFile = new File(argList.remove(0)); in run() local
109 Context c = Context.parseDelimitedFrom(new FileInputStream(contextFile)); in run()
115 context = (IInvocationContext) SerializationUtil.deserialize(contextFile, false); in run()
DTradefedSandbox.java185 try (InputStreamSource contextFile = new FileInputStreamSource(mSerializedContext)) { in run() argument
186 logger.testLog("sandbox-context", LogDataType.PB, contextFile); in run()