Home
last modified time | relevance | path

Searched defs:contents (Results 1 – 25 of 41) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestResultParserTest.java37 String[] contents = readInFile(GTEST_OUTPUT_FILE_1); in testParseSimpleFile() local
62 String[] contents = readInFile(GTEST_OUTPUT_FILE_2); in testParseSimpleFileNoTimes() local
86 String[] contents = readInFile(GTEST_OUTPUT_FILE_3); in testParseNoTests() local
103 String[] contents = readInFile(GTEST_OUTPUT_FILE_4); in testParseLargerFile() local
130 String[] contents = readInFile(GTEST_OUTPUT_FILE_5); in testParseWithFailures() local
190 String[] contents = readInFile(GTEST_OUTPUT_FILE_6); in testParseWithErrors() local
242 String[] contents = readInFile(GTEST_OUTPUT_FILE_7); in testParseNonAlignedTag() local
269 String[] contents = readInFile(GTEST_OUTPUT_FILE_8); in testParseSimpleFile_AltFormat() local
324 String[] contents = readInFile(GTEST_OUTPUT_FILE_9); in testParseSimpleFile_LinkError() local
347 String[] contents = readInFile(GTEST_OUTPUT_FILE_10); in testParseSimpleFile_earlyError() local
[all …]
DGTestXmlResultParserTest.java80 File contents = readInFile(GTEST_OUTPUT_FILE_1); in testParseSimpleFile() local
112 File contents = readInFile(GTEST_OUTPUT_FILE_2); in testParseLargerFile() local
142 File contents = readInFile(GTEST_OUTPUT_FILE_3); in testParseWithFailures() local
179 File contents = FileUtil.createTempFile("test", ".xml"); in testParseWithEmptyFile() local
202 File contents = readInFile(GTEST_OUTPUT_FILE_4); in testParseUnexpectedNumberTest() local
235 File contents = readInFile(GTEST_OUTPUT_FILE_5); in testParseSimpleFile_badXmltag() local
274 File contents = FileUtil.createTempFile("test", ".xml"); in testParseWithEmptyFile_AdditionalOutput() local
296 File contents = readInFile(GTEST_OUTPUT_FILE_6); in testParseSimpleFile_skipped() local
DGTestListTestParserTest.java43 String[] contents = readInFile(GTEST_LIST_FILE_1); in testParseSimpleList() local
68 String[] contents = readInFile(GTEST_LIST_FILE_2); in testParseMultiClassList() local
92 String[] contents = readInFile(GTEST_LIST_FILE_3); in testParseMalformedList() local
108 String[] contents = readInFile(GTEST_LIST_FILE_4); in testParseSimpleList_withSpecialChar() local
145 String[] contents = readInFile(GTEST_LIST_FILE_5); in testParseParameterized() local
DGoogleBenchmarkResultParserTest.java99 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_1); in testParseSimpleFile() local
157 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_2); in testParseSimpleFile_twoTests() local
181 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_3); in testParse_contextError() local
195 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_4); in testParse_noBenchmarkResults() local
230 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_5); in testParseSimpleFile_withWarning() local
DPythonUnitTestResultParserTest.java489 String[] contents = readInFile(PYTHON_OUTPUT_FILE_1); in testParseRealOutput() local
527 String[] contents = readInFile(PYTHON_OUTPUT_FILE_2); in testParseRealOutput2() local
542 String[] contents = readInFile(PYTHON_OUTPUT_FILE_3); in testParseRealOutput3() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DStreamUtilTest.java39 final String contents = "this is a string"; in testGetByteArrayListFromSource() local
58 final String contents = "this is a string"; in testGetByteArrayListFromStream() local
75 final String contents = "this is a string"; in testGetStringFromSource() local
88 final String contents = "this is a string"; in testGetBufferedReaderFromInputStream() local
105 final String contents = "foo\nbar\n\foo\n"; in testCountLinesFromSource() local
115 final String contents = "this is a string"; in testGetStringFromStream() local
DSubprocessTestResultsParserTest.java89 String[] contents = readInFile(SUBPROC_OUTPUT_FILE_1); in testParse_randomEvents() local
128 String[] contents = readInFile(SUBPROC_OUTPUT_FILE_2); in testParse_invalidEventOrder() local
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFTest.java68 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
72 Files.write(tmp.toPath(), contents); in createDataSource() local
DInMemoryDataSinkDataSourceTest.java29 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
DDataSourceFromByteBufferTest.java47 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
DDataSourceFromRAFChunkTest.java65 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
DDataSourceTestBase.java41 protected abstract CloseableWithDataSource createDataSource(byte[] contents) throws IOException; in createDataSource()
43 protected CloseableWithDataSource createDataSource(String contents) throws IOException { in createDataSource()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DIncidentReportCollectorTest.java110 private File createFileWithBytes(byte[] contents) { in createFileWithBytes()
114 Files.write(result.toPath(), contents, StandardOpenOption.WRITE); in createFileWithBytes() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java61 final String contents; in getStringFromSource() local
97 final ByteArrayList contents; in getByteArrayListFromSource() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java298 ByteBuffer contents = chunk.getContents(); in next() local
342 ByteBuffer contents = chunk.getContents(); in next() local
505 public Chunk(int type, ByteBuffer header, ByteBuffer contents) { in Chunk()
609 ByteBuffer contents = chunk.getContents(); in StringPool() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarderTest.java205 private File mockBuildArtifact(ByteString contents) throws IOException { in mockBuildArtifact()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingPerformanceTest.java206 String contents; in parseOutputFile() local
DMediaPlayerStressTest.java162 String contents; in parseOutputFile() local
DVideoEditingMemoryTest.java217 String contents; in parseOutputFile() local
DMediaMemoryTest.java226 String contents; in parseOutputFile() local
DMediaStressTest.java138 String contents; in parseOutputFile() local
DCameraLatencyTest.java234 String contents; in parseOutputFile() local
/tools/tradefederation/contrib/src/com/android/graphics/tests/
DUserActionBenchmark.java167 String contents; in parseOutputFile() local
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheTest.java322 String contents = StreamUtil.getStringFromStream(new FileInputStream(fileCopy)); in assertFetchRemoteFile() local
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DDeviceFileReporterTest.java406 final String contents = "these are file contents"; in testInferDataTypes() local

12