Searched refs:StreamUtil (Results 1 – 5 of 5) sorted by relevance
70 StreamUtil.drainAndClose(new InputStreamReader(executeShellCommand(command))); in executeShellCommandSync()75 String result = StreamUtil.readInputStream(inputStream); in getShellCommandOutput()97 StreamUtil.drainAndClose(new InputStreamReader(backupNow(packageName))); in backupNowSync()101 return StreamUtil.readInputStream(backupNow(packageName)); in getBackupNowOutput()116 StreamUtil.drainAndClose(new InputStreamReader(restore(token, packageName))); in restoreSync()120 return StreamUtil.readInputStream(restore(token, packageName)); in getRestoreOutput()225 StreamUtil.drainAndClose(reader); in assertBackupIsSuccessful()265 StreamUtil.drainAndClose(reader); in assertRestoreIsSuccessful()332 StreamUtil.drainAndClose(reader); in getLineString()
63 StreamUtil.copyStreams(origStream, destStream); in writeToFile()
29 public class StreamUtil { class
124 StreamUtil.drainAndClose(logcat); in numberOfLogcatStringsFound()
137 StreamUtil.copyStreams(inputStream, out); in writeToStream()