Home
last modified time | relevance | path

Searched refs:TEXT (Results 1 – 25 of 70) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFixedByteArrayOutputStreamTest.java31 private static final String TEXT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " field in FixedByteArrayOutputStreamTest
63 String text = TEXT.substring(0, BUF_SIZE - 5); in testLessThanBuffer()
71 String text = TEXT.substring(0, BUF_SIZE); in testEqualsBuffer()
79 String text = TEXT.substring(0, BUF_SIZE + 1); in testBufferPlusOne()
88 String expected = TEXT.substring(TEXT.length() - BUF_SIZE); in testBufferPlusPlus()
89 assertEquals(expected, writeTextIntoStreamAndReturn(TEXT)); in testBufferPlusPlus()
112 String text = TEXT.substring(0, BUF_SIZE); in testLessThanBufferWithOffset()
DTarUtilTest.java106 listener.testLog(EasyMock.eq(baseName + "_TEST.log"), EasyMock.eq(LogDataType.TEXT), in testExtractAndLog()
108 listener.testLog(EasyMock.eq(baseName + "_TEST2.log"), EasyMock.eq(LogDataType.TEXT), in testExtractAndLog()
/tools/loganalysis/src/com/android/loganalysis/item/
DTopItem.java44 public static final String TEXT = "TEXT"; field in TopItem
47 USER, NICE, SYSTEM, IDLE, IOW, IRQ, SIRQ, TOTAL, TEXT));
176 return (String) getAttribute(TEXT); in getText()
183 setAttribute(TEXT, text); in setText()
DMemInfoItem.java30 public static final String TEXT = "TEXT"; field in MemInfoItem
56 object.put(TEXT, getText()); in toJson()
DSystemPropsItem.java30 public static final String TEXT = "TEXT"; field in SystemPropsItem
56 object.put(TEXT, getText()); in toJson()
DProcrankItem.java49 public static final String TEXT = "TEXT"; field in ProcrankItem
196 object.put(TEXT, getText()); in toJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardListenerTest.java144 EasyMock.eq("run-file"), EasyMock.eq(LogDataType.TEXT), EasyMock.anyObject()); in testLogOrderingForSharding()
145 LogFile runFile = new LogFile("path", "url", false, LogDataType.TEXT, 0L); in testLogOrderingForSharding()
149 EasyMock.eq(LogDataType.TEXT), in testLogOrderingForSharding()
154 EasyMock.eq(LogDataType.TEXT), in testLogOrderingForSharding()
159 EasyMock.eq("test-file"), EasyMock.eq(LogDataType.TEXT), EasyMock.anyObject()); in testLogOrderingForSharding()
160 LogFile testFile = new LogFile("path", "url", false, LogDataType.TEXT, 0L); in testLogOrderingForSharding()
164 EasyMock.eq(LogDataType.TEXT), in testLogOrderingForSharding()
169 EasyMock.eq(LogDataType.TEXT), in testLogOrderingForSharding()
202 "run-file", LogDataType.TEXT, new ByteArrayInputStreamSource("test".getBytes())); in testLogOrderingForSharding()
206 LogDataType.TEXT, in testLogOrderingForSharding()
DTestInvocationTest.java539 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
545 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
551 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
555 EasyMock.eq(LogDataType.TEXT), in testInvoke_resume()
557 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
571 EasyMock.eq(LogDataType.TEXT), (InputStreamSource)EasyMock.anyObject()); in testInvoke_resume()
608 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
614 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
620 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in testInvoke_resume()
624 EasyMock.eq(LogDataType.TEXT), in testInvoke_resume()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollectorTest.java59 testLog(key, LogDataType.TEXT, source); in setUp()
67 testLog(key, LogDataType.TEXT, source); in setUp()
101 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKey()
123 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKeyPattern()
140 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPatternNotMatching()
162 .testLog(Mockito.eq("coverageDirectory"), Mockito.eq(LogDataType.TEXT), in testPullMatchingDirectory()
DIonHeapInfoMetricCollectorTest.java66 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
87 verify(mListener).testLog(eq("ion-system-2"), eq(LogDataType.TEXT), any()); in testCollect()
88 verify(mListener).testLog(eq("ion-audio-1"), eq(LogDataType.TEXT), any()); in testCollect()
DTraceMetricCollectorTest.java66 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
83 verify(mListener).testLog(eq("trace-1"), eq(LogDataType.TEXT), any()); in testCollect()
DBuddyInfoMetricCollectorTest.java65 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
81 verify(mListener).testLog(eq("unusable-index-1"), eq(LogDataType.TEXT), any()); in testCollect()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DTopItemTest.java38 assertTrue(output.has(TopItem.TEXT)); in testToJson()
39 assertEquals("User 20%, System 20%, IOW 5%, IRQ 3%", output.get(TopItem.TEXT)); in testToJson()
DSystemPropsItemTest.java42 assertTrue(output.has(SystemPropsItem.TEXT)); in testToJson()
43 assertEquals("[foo]: [123]\n[bar]: [456]", output.get(SystemPropsItem.TEXT)); in testToJson()
DMemInfoItemTest.java42 assertTrue(output.has(MemInfoItem.TEXT)); in testToJson()
43 assertEquals("foo: 123 kB\nbar: 456 kB", output.get(MemInfoItem.TEXT)); in testToJson()
DProcrankItemTest.java43 assertTrue(output.has(ProcrankItem.TEXT)); in testToJson()
44 assertEquals("foo\nbar", output.get(ProcrankItem.TEXT)); in testToJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java158 logFile = saver.saveLogData("testSaveLogData", LogDataType.TEXT, mockInput); in testSaveLogData()
185 logFile = saver.saveAndGZipLogData("testSaveLogData", LogDataType.TEXT, mockInput); in testSaveAndGZipLogData()
209 logFile = saver.saveAndZipLogData("testSaveLogData", LogDataType.TEXT, mockInput); in testSaveAndZipLogData()
237 logFile = saver.createCompressedLogFile("testSaveAndGZipLogData", LogDataType.TEXT); in testCreateAndGZipLogData()
238 assertTrue(logFile.getName().endsWith(LogDataType.TEXT.getFileExt() + "." + in testCreateAndGZipLogData()
269 "testSaveLogData", LogDataType.TEXT.getFileExt(), mockInput); in testSaveLogDataRaw()
DTestRunResultTest.java128 result.testLogSaved("test", new LogFile("path", "url", LogDataType.TEXT)); in testLogSavedFile_testCases()
131 result.testLogSaved("afterFailure", new LogFile("path", "url", LogDataType.TEXT)); in testLogSavedFile_testCases()
146 result.testLogSaved("outsideTestCase", new LogFile("path", "url", LogDataType.TEXT)); in testLogSavedFile_runLogs()
154 result.testLogSaved("insideTestCase", new LogFile("path", "url", LogDataType.TEXT)); in testLogSavedFile_runLogs()
155 result.testLogSaved("insideTestCase2", new LogFile("path", "url", LogDataType.TEXT)); in testLogSavedFile_runLogs()
157 result.testLogSaved("outsideTestCase2", new LogFile("path", "url", LogDataType.TEXT)); in testLogSavedFile_runLogs()
337 result1.testLogSaved("run log", new LogFile("path1", "url", LogDataType.TEXT)); in testMergeRetriedRunResults_CheckMergeMapAttributes()
345 result1.testLogSaved("run log", new LogFile("path2", "url", LogDataType.TEXT)); in testMergeRetriedRunResults_CheckMergeMapAttributes()
DSubprocessResultsReporterTest.java145 EasyMock.eq(LogDataType.TEXT), in testTestLog()
149 mReporter.testLog("foo", LogDataType.TEXT, logStreamSource); in testTestLog()
177 mReporter.testLog("foo", LogDataType.TEXT, logStreamSource); in testTestLog_disabled()
DConsoleResultReporterTest.java102 null, null, null, new LogFile("/path/to/log1", "http://log1", LogDataType.TEXT)); in testGetInvocationSummary_logs()
104 null, null, null, new LogFile("/path/to/log2", null, LogDataType.TEXT)); in testGetInvocationSummary_logs()
189 null, null, null, new LogFile("/path/to/log1", "http://log1", LogDataType.TEXT)); in testGetInvocationSummary_all()
191 null, null, null, new LogFile("/path/to/log2", null, LogDataType.TEXT)); in testGetInvocationSummary_all()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DIonHeapInfoMetricCollector.java53 LogDataType.TEXT, in collectIonAudio()
71 LogDataType.TEXT, in collectIonSystem()
DPagetypeInfoMetricCollector.java45 LogDataType.TEXT, in collect()
DTraceMetricCollector.java46 LogDataType.TEXT, in collect()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogDataType.java23 TEXT("txt", "text/plain", false, true), enumConstant
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java84 EasyMock.eq(LogDataType.TEXT), in testRun()
150 EasyMock.eq(LogDataType.TEXT), in testRunFail_failureOnly()

123