Home
last modified time | relevance | path

Searched refs:StreamUtil (Results 1 – 18 of 18) sorted by relevance

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBackupUtils.java63 StreamUtil.drainAndClose(new InputStreamReader(executeShellCommand(command))); in executeShellCommandSync()
67 return StreamUtil.readInputStream(executeShellCommand(command)); in getShellCommandOutput()
87 StreamUtil.drainAndClose(new InputStreamReader(backupNow(packageName))); in backupNowSync()
91 return StreamUtil.readInputStream(backupNow(packageName)); in getBackupNowOutput()
106 StreamUtil.drainAndClose(new InputStreamReader(restore(token, packageName))); in restoreSync()
110 return StreamUtil.readInputStream(restore(token, packageName)); in getRestoreOutput()
215 StreamUtil.drainAndClose(reader); in assertBackupIsSuccessful()
255 StreamUtil.drainAndClose(reader); in assertRestoreIsSuccessful()
281 StreamUtil.drainAndClose(reader); in getCurrentTokenOrFail()
345 StreamUtil.drainAndClose(reader); in getLineString()
DFileUtil.java63 StreamUtil.copyStreams(origStream, destStream); in writeToFile()
DStreamUtil.java29 public class StreamUtil { class
DLogcatInspector.java107 StreamUtil.drainAndClose(logcat); in numberOfLogcatStringsFound()
DZipUtil.java123 StreamUtil.copyStreams(inputStream, out); in writeToStream()
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigHandlerTest.java20 import com.android.tradefed.util.StreamUtil;
133 StreamUtil.close(stream); in createFileFromStr()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDeviceInfo.java27 import com.android.tradefed.util.StreamUtil;
74 StreamUtil.close(source); in testCollectDeviceInfo()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsVendorConfigFileUtil.java26 import com.android.tradefed.util.StreamUtil;
83 String content = StreamUtil.getStringFromStream(config); in LoadVendorConfig()
DVtsFileUtil.java57 StreamUtil.copyStreamToWriter(resourceStream, writer); in saveResourceFile()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParserTest.java20 import com.android.tradefed.util.StreamUtil;
163 return StreamUtil.getStringFromStream(input); in getResourceAsString()
DVtsMultiDeviceTestTest.java33 import com.android.tradefed.util.StreamUtil;
113 JSONObject configJson = new JSONObject(StreamUtil.getStringFromStream(fi)); in createResult()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusher.java36 import com.android.tradefed.util.StreamUtil;
149 apfeConfigInJson = StreamUtil.getStringFromStream(request.openStream()); in setUp()
DBusinessLogicPreparer.java42 import com.android.tradefed.util.StreamUtil;
490 return StreamUtil.getStringFromStream(conn.getInputStream()); in doPost()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java43 import com.android.tradefed.util.StreamUtil;
482 StreamUtil.close(fis); in saveLog()
493 StreamUtil.close(zipResultStream); in saveLog()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTestPlanResultReporter.java31 import com.android.tradefed.util.StreamUtil;
275 String content = StreamUtil.getStringFromStream(hal_release); in creatHalRelaseMap()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java36 import com.android.tradefed.util.StreamUtil;
162 StreamUtil.close(subPlanInputStream); in getSubPlanByName()
DResultReporter.java60 import com.android.tradefed.util.StreamUtil;
758 StreamUtil.close(fis); in saveLog()
770 StreamUtil.close(zipResultStream); in saveLog()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java64 import com.android.tradefed.util.StreamUtil;
500 StreamUtil.close(stack); in run()