Home
last modified time | relevance | path

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

/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/prod-tests/src/com/android/framework/tests/
DBandwidthUtils.java71 String tmp = StreamUtil.getStringFromStream(fStream); in parseUidStats()
114 String tmp = StreamUtil.getStringFromStream(fStream); in parseNetDevStats()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DStreamUtilTest.java78 final String output = StreamUtil.getStringFromStream(stream); in testGetStringFromSource()
113 final String output = StreamUtil.getStringFromStream( in testGetStringFromStream()
DGCSFileDownloaderFuncTest.java102 String content = StreamUtil.getStringFromStream(inputStream); in testDownloadFile()
DFileUtilFuncTest.java170 String readContents = StreamUtil.getStringFromStream(new FileInputStream(tmpFile)); in testWriteToFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactoryTest.java104 String content = StreamUtil.getStringFromStream(input); in testGetConfigStream()
124 String content = StreamUtil.getStringFromStream(input); in testGetConfigStream_bundled()
DGCSConfigurationServerTest.java81 Assert.assertEquals(CONFIG, StreamUtil.getStringFromStream(input)); in testGetConfig()
/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java62 contents = getStringFromStream(stream); in getStringFromSource()
112 public static String getStringFromStream(InputStream stream) throws IOException { in getStringFromStream() method in StreamUtil
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpMultipartPost.java108 mBuilder.append(StreamUtil.getStringFromStream(in)); in addTextFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java103 assertEquals(DOWNLOADED_CONTENTS, StreamUtil.getStringFromStream(new FileInputStream( in testFetchRemoteFile_concurrent()
105 assertEquals(DOWNLOADED_CONTENTS, StreamUtil.getStringFromStream(new FileInputStream( in testFetchRemoteFile_concurrent()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogcatCrashResultForwarder.java109 String message = StreamUtil.getStringFromStream(logSource.createInputStream()); in extractLogcat()
DJsonHttpTestResultReporter.java129 String response = StreamUtil.getStringFromStream(conn.getInputStream()).trim(); in postResults()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DJacocoCodeCoverageTest.java165 String text = StreamUtil.getStringFromStream(template); in getBuildXml()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingPerformanceTest.java208 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DMediaPlayerStressTest.java164 contents = StreamUtil.getStringFromStream(dataStream); in parseOutputFile()
DMediaStressTest.java141 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/src/com/android/tradefed/device/
DDeviceManager.java641 StreamUtil.getStringFromStream(p.getInputStream()), in assertEmulatorProcessAlive()
642 StreamUtil.getStringFromStream(p.getErrorStream())); in assertEmulatorProcessAlive()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java92 String data = StreamUtil.getStringFromStream(bugreport.createInputStream()); in testBugreport()
DNativeDeviceTest.java1100 assertEquals(expectedOutput, StreamUtil.getStringFromStream( in testGetBugreport_deviceUnavail()
DTestDeviceTest.java3190 StreamUtil.getStringFromStream(res.createInputStream())); in testGetScreenshot_failure()