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()
321 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()
/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.java35 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;
147 apfeConfigInJson = StreamUtil.getStringFromStream(request.openStream()); in setUp()
DBusinessLogicPreparer.java43 import com.android.tradefed.util.StreamUtil;
501 return StreamUtil.getStringFromStream(conn.getInputStream()); in doPost()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTestPlanResultReporter.java30 import com.android.tradefed.util.StreamUtil;
255 String content = StreamUtil.getStringFromStream(hal_release); in creatHalRelaseMap()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java46 import com.android.tradefed.util.StreamUtil;
549 StreamUtil.close(fis); in saveLog()
560 StreamUtil.close(zipResultStream); in saveLog()
/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.java61 import com.android.tradefed.util.StreamUtil;
799 StreamUtil.close(fis); in saveLog()
811 StreamUtil.close(zipResultStream); in saveLog()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java40 import com.android.tradefed.util.StreamUtil;
1387 StreamUtil.close(stdOut); in doRunTest()
1388 StreamUtil.close(stdErr); in doRunTest()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java64 import com.android.tradefed.util.StreamUtil;
502 StreamUtil.close(stack); in run()