/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestResultParserTest.java | 37 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 …]
|
D | GTestXmlResultParserTest.java | 80 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
|
D | GTestListTestParserTest.java | 43 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
|
D | GoogleBenchmarkResultParserTest.java | 99 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
|
D | PythonUnitTestResultParserTest.java | 489 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/ |
D | StreamUtilTest.java | 39 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
|
D | SubprocessTestResultsParserTest.java | 89 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/ |
D | DataSourceFromRAFTest.java | 68 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource() 72 Files.write(tmp.toPath(), contents); in createDataSource() local
|
D | InMemoryDataSinkDataSourceTest.java | 29 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
|
D | DataSourceFromByteBufferTest.java | 47 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
|
D | DataSourceFromRAFChunkTest.java | 65 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
|
D | DataSourceTestBase.java | 41 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/ |
D | IncidentReportCollectorTest.java | 110 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/ |
D | StreamUtil.java | 61 final String contents; in getStringFromSource() local 97 final ByteArrayList contents; in getByteArrayListFromSource() local
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 298 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/ |
D | CoverageMeasurementForwarderTest.java | 205 private File mockBuildArtifact(ByteString contents) throws IOException { in mockBuildArtifact()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoEditingPerformanceTest.java | 206 String contents; in parseOutputFile() local
|
D | MediaPlayerStressTest.java | 162 String contents; in parseOutputFile() local
|
D | VideoEditingMemoryTest.java | 217 String contents; in parseOutputFile() local
|
D | MediaMemoryTest.java | 226 String contents; in parseOutputFile() local
|
D | MediaStressTest.java | 138 String contents; in parseOutputFile() local
|
D | CameraLatencyTest.java | 234 String contents; in parseOutputFile() local
|
/tools/tradefederation/contrib/src/com/android/graphics/tests/ |
D | UserActionBenchmark.java | 167 String contents; in parseOutputFile() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | FileDownloadCacheTest.java | 322 String contents = StreamUtil.getStringFromStream(new FileInputStream(fileCopy)); in assertFetchRemoteFile() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | DeviceFileReporterTest.java | 406 final String contents = "these are file contents"; in testInferDataTypes() local
|