Searched refs:drainAndClose (Results 1 – 3 of 3) sorted by relevance
70 StreamUtil.drainAndClose(new InputStreamReader(executeShellCommand(command))); in executeShellCommandSync()97 StreamUtil.drainAndClose(new InputStreamReader(backupNow(packageName))); in backupNowSync()116 StreamUtil.drainAndClose(new InputStreamReader(restore(token, packageName))); in restoreSync()225 StreamUtil.drainAndClose(reader); in assertBackupIsSuccessful()265 StreamUtil.drainAndClose(reader); in assertRestoreIsSuccessful()332 StreamUtil.drainAndClose(reader); in getLineString()
66 public static void drainAndClose(Reader reader) { in drainAndClose() method in StreamUtil
124 StreamUtil.drainAndClose(logcat); in numberOfLogcatStringsFound()