Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustParserTestBase.java43 Vector<String> fileContents = new Vector<String>(); in readInFile() local
52 fileContents.add(line); in readInFile()
59 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestParserTestBase.java56 Vector<String> fileContents = new Vector<String>(); in readInFile() local
63 fileContents.add(line); in readInFile()
72 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
DPythonUnitTestResultParserTest.java788 Vector<String> fileContents = new Vector<String>(); in readInFile() local
797 fileContents.add(line); in readInFile()
804 return fileContents.toArray(new String[fileContents.size()]); in readInFile()
DNativeCodeCoverageListenerTest.java291 private File createTar(Map<String, ByteString> fileContents) throws IOException { in createTar() argument
295 for (Map.Entry<String, ByteString> file : fileContents.entrySet()) { in createTar()
DClangCodeCoverageListenerTest.java384 private File createTar(Map<String, ByteString> fileContents) throws IOException { in createTar() argument
388 for (Map.Entry<String, ByteString> file : fileContents.entrySet()) { in createTar()
/tools/metalava/src/main/java/com/android/tools/metalava/
DFileFormat.kt116 fun parseHeader(fileContents: String): FileFormat { in parseHeader()
117 val firstLine = firstLine(fileContents) in parseHeader()
129 if (!fileContents.contains("<api")) { in parseHeader()
136 if (fileContents.contains("since=")) { in parseHeader()
/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/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java68 Vector<String> fileContents = new Vector<String>(); in readInFile() local
75 fileContents.add(line); in readInFile()
84 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/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceStressTest.java64 final String fileContents = "this is the test file contents"; in createTempTestFiles() local
67 FileUtil.writeToFile(fileContents, tmpFile); in createTempTestFiles()
DTestDeviceFuncTest.java348 final String fileContents = "this is the test file contents"; in createTempTestFile() local
350 FileUtil.writeToFile(fileContents, tmpFile); in createTempTestFile()