Home
last modified time | relevance | path

Searched refs:getStringFromStream (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterClient.java151 final String content = StreamUtil.getStringFromStream(response.getContent()); in getTestEnvironment()
168 final String content = StreamUtil.getStringFromStream(response.getContent()); in getTestResources()
191 final String content = StreamUtil.getStringFromStream(response.getContent()); in getTestContext()
211 final String content = StreamUtil.getStringFromStream(response.getContent()); in updateTestContext()
230 String content = StreamUtil.getStringFromStream(response.getContent()); in getCommandStatus()
256 response = StreamUtil.getStringFromStream(content); in parseCommandTasks()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java66 contents = getStringFromStream(stream); in getStringFromSource()
116 public static String getStringFromStream(InputStream stream) throws IOException { in getStringFromStream() method in StreamUtil
117 return getStringFromStream(stream, 0); in getStringFromStream()
128 public static String getStringFromStream(InputStream stream, long length) throws IOException { in getStringFromStream() method in StreamUtil
DFileUtil.java589 return StreamUtil.getStringFromStream(is); in readStringFromFile()
591 return StreamUtil.getStringFromStream(is, length); in readStringFromFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java138 String timestamp = StreamUtil.getStringFromStream(new FileInputStream(retentionFile)); in testGetFileDir_retention()
190 String actualLogString = StreamUtil.getStringFromStream(gzipStream); in testSaveAndGZipLogData()
215 String actualLogString = StreamUtil.getStringFromStream(zipFile.getInputStream( in testSaveAndZipLogData()
252 String actualLogString = StreamUtil.getStringFromStream(gzipInputStream); in testCreateAndGZipLogData()
DFileSystemLogSaverTest.java153 String timestamp = StreamUtil.getStringFromStream(new FileInputStream(retentionFile)); in testGetFileDir_retention()
184 String actualLogString = StreamUtil.getStringFromStream(zipFile.getInputStream( in testSaveLogData_uncompressed()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DStreamUtilTest.java80 final String output = StreamUtil.getStringFromStream(stream); in testGetStringFromSource()
118 final String output = StreamUtil.getStringFromStream( in testGetStringFromStream()
130 StreamUtil.getStringFromStream(new ByteArrayInputStream(contents.getBytes()), 5); in testGetStringFromStream_withLength()
DGCSFileDownloaderFuncTest.java158 String content = StreamUtil.getStringFromStream(inputStream); in testDownloadFile_streamOutput()
DFileUtilFuncTest.java174 String readContents = StreamUtil.getStringFromStream(new FileInputStream(tmpFile)); in testWriteToFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactoryTest.java107 String content = StreamUtil.getStringFromStream(input); in testGetConfigStream()
128 String content = StreamUtil.getStringFromStream(input); in testGetConfigStream_bundled()
DGCSConfigurationServerTest.java89 Assert.assertEquals(CONFIG, StreamUtil.getStringFromStream(input)); in testGetConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java112 assertEquals(DOWNLOADED_CONTENTS, StreamUtil.getStringFromStream(new FileInputStream( in testFetchRemoteFile_concurrent()
114 assertEquals(DOWNLOADED_CONTENTS, StreamUtil.getStringFromStream(new FileInputStream( in testFetchRemoteFile_concurrent()
DFileDownloadCacheTest.java367 String contents = StreamUtil.getStringFromStream(new FileInputStream(fileCopy)); in assertFetchRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java784 StreamUtil.getStringFromStream(p.getInputStream()), in assertEmulatorProcessAlive()
785 StreamUtil.getStringFromStream(p.getErrorStream())); in assertEmulatorProcessAlive()
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DHttpMultipartPost.java108 mBuilder.append(StreamUtil.getStringFromStream(in)); in addTextFile()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogSaverResultForwarder.java100 StreamUtil.getStringFromStream(stream))); in reportEndHostLog()
DLogcatCrashResultForwarder.java146 String message = StreamUtil.getStringFromStream(logSource.createInputStream()); in extractLogcat()
DJsonHttpTestResultReporter.java176 String response = StreamUtil.getStringFromStream(conn.getInputStream()).trim(); in postResults()
/tools/tradefederation/contrib/src/com/android/media/tests/
DMediaPlayerStressTest.java164 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DMediaStressTest.java141 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DVideoEditingPerformanceTest.java208 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DVideoEditingMemoryTest.java219 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DMediaMemoryTest.java228 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DCameraLatencyTest.java236 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DCameraStressTest.java270 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java279 String message = StreamUtil.getStringFromStream(errorStream); in sendToClearcut()

12