Searched refs:drainAndClose (Results 1 – 3 of 3) sorted by relevance
63 StreamUtil.drainAndClose(new InputStreamReader(executeShellCommand(command))); in executeShellCommandSync()87 StreamUtil.drainAndClose(new InputStreamReader(backupNow(packageName))); in backupNowSync()106 StreamUtil.drainAndClose(new InputStreamReader(restore(token, packageName))); in restoreSync()215 StreamUtil.drainAndClose(reader); in assertBackupIsSuccessful()255 StreamUtil.drainAndClose(reader); in assertRestoreIsSuccessful()281 StreamUtil.drainAndClose(reader); in getCurrentTokenOrFail()345 StreamUtil.drainAndClose(reader); in getLineString()
66 public static void drainAndClose(Reader reader) { in drainAndClose() method in StreamUtil
107 StreamUtil.drainAndClose(logcat); in numberOfLogcatStringsFound()