Home
last modified time | relevance | path

Searched refs:fileContents (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/rust/
DRustParserTestBase.java45 Vector<String> fileContents = new Vector<String>(); in readInFile() local
54 fileContents.add(line); in readInFile()
61 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestParserTestBase.java58 Vector<String> fileContents = new Vector<String>(); in readInFile() local
65 fileContents.add(line); in readInFile()
74 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
DPythonUnitTestResultParserTest.java891 Vector<String> fileContents = new Vector<String>(); in readInFile() local
900 fileContents.add(line); in readInFile()
907 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileUploader.java54 InputStream fileContents, in uploadFile() argument
58 InputStreamContent inputStreamData = new InputStreamContent(contentType, fileContents); in uploadFile()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java312 byte[] fileContents = "Very interesting contents".getBytes(Charsets.US_ASCII); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
320 zf.add(fileName, new ByteArrayInputStream(fileContents)); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
344 fileContents = "Not so interesting contents".getBytes(Charsets.US_ASCII); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
346 zf.add(fileName, new ByteArrayInputStream(fileContents)); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java71 Vector<String> fileContents = new Vector<String>(); in readInFile() local
78 fileContents.add(line); in readInFile()
85 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DGcovCodeCoverageCollectorTest.java331 private File createTar(Map<String, ByteString> fileContents) throws IOException { in createTar() argument
335 for (Map.Entry<String, ByteString> file : fileContents.entrySet()) { in createTar()
DGcovKernelCodeCoverageCollectorTest.java440 private File createTar(String fullFileName, Map<String, ByteString> fileContents) in createTar() argument
446 for (Map.Entry<String, ByteString> file : fileContents.entrySet()) { in createTar()
DJavaCodeCoverageCollectorTest.java601 private File createTarGz(Map<String, ByteString> fileContents) throws IOException { in createTarGz() argument
605 for (Map.Entry<String, ByteString> file : fileContents.entrySet()) { in createTarGz()
DClangCodeCoverageCollectorTest.java705 private File createTarGz(Map<String, ByteString> fileContents) throws IOException { in createTarGz() argument
709 for (Map.Entry<String, ByteString> file : fileContents.entrySet()) { in createTarGz()
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/
DMetalavaBuildPlugin.kt293 providers.fileContents( in Project()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceFuncTest.java364 final String fileContents = "this is the test file contents"; in createTempTestFile() local
366 FileUtil.writeToFile(fileContents, tmpFile); in createTempTestFile()