Home
last modified time | relevance | path

Searched refs:out (Results 1 – 22 of 22) sorted by relevance

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DMemHealthRecord.java120 PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName, true))); in saveVerbose() local
125 out.println("Foreground"); in saveVerbose()
148 out.println(procName); in saveVerbose()
149 out.printf("Average Native Heap: %d\n", getAverage(nativeHeap)); in saveVerbose()
150 out.printf("Average Dalvik Heap: %d\n", getAverage(dalvikHeap)); in saveVerbose()
151 out.printf("Average PSS: %d\n", getAverage(pss)); in saveVerbose()
152 out.printf("Peak Native Heap: %d\n", getMax(nativeHeap)); in saveVerbose()
153 out.printf("Peak Dalvik Heap: %d\n", getMax(dalvikHeap)); in saveVerbose()
154 out.printf("Peak PSS: %d\n", getMax(pss)); in saveVerbose()
155 out.printf("Count %d\n", nativeHeap.size()); in saveVerbose()
[all …]
DFilesystemUtil.java46 OutputStream out = new FileOutputStream(file); in saveProcessOutput() local
47 saveProcessOutput(instr, command, out); in saveProcessOutput()
48 out.close(); in saveProcessOutput()
52 public static void saveProcessOutput(Instrumentation instr, String command, OutputStream out) in saveProcessOutput() argument
57 pipe(new ParcelFileDescriptor.AutoCloseInputStream(pfd), out); in saveProcessOutput()
62 pipe(process.getInputStream(), out); in saveProcessOutput()
130 private static void pipe(InputStream in, OutputStream out) throws IOException { in pipe() argument
136 out.write(buffer, 0, bytesRead); in pipe()
141 out.flush(); in pipe()
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
DAppLinkTests.java65 String out = getAppLink(TEST_PKG_NAME); in testDefaultAppLinkSettting() local
66 assertTrue("Default app link not set to 'undefined' mode", "undefined".equals(out)); in testDefaultAppLinkSettting()
115 String out = getAppLink(YOUTUBE_PKG_NAME); in testVerifiedAppOpenWhenUnverifiedSetToAsk() local
161 String out = getAppLink(TEST_PKG_NAME); in testSettingsChangeUI() local
163 assertTrue(String.format("Default app link not set to 'always ask' rather set to %s", out), in testSettingsChangeUI()
164 "always".equals(out)); in testSettingsChangeUI()
169 out = getAppLink(TEST_PKG_NAME); in testSettingsChangeUI()
171 assertTrue(String.format("Default app link not set to 'never' rather set to %s", out), in testSettingsChangeUI()
172 "never".equals(out)); in testSettingsChangeUI()
177 out = getAppLink(TEST_PKG_NAME); in testSettingsChangeUI()
[all …]
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java67 ByteArrayOutputStream out = new ByteArrayOutputStream()) { in executeCommandBlocking()
72 out.write(buf, 0, length); in executeCommandBlocking()
75 return out.toByteArray(); in executeCommandBlocking()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/
DAndroid.bp22 out: ["statsd-config-protos.jar"],
31 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets/statsd-configs\" " +
34 "&& jar cf $(out) -C $$(dirname $(out)) $$assets_dir"
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenshotOnFailureCollector.java146 OutputStream out = new BufferedOutputStream(new FileOutputStream(img)) in takeScreenshot() argument
148 screenshotToStream(out); in takeScreenshot()
149 out.flush(); in takeScreenshot()
162 public void screenshotToStream(OutputStream out) { in screenshotToStream() argument
164 .takeScreenshot().compress(Bitmap.CompressFormat.PNG, mQuality, out); in screenshotToStream()
DBatteryStatsListener.java186 OutputStream out = new BufferedOutputStream(new FileOutputStream(logFile)) in dumpBatteryStats()
191 out.write(buf, 0, bytes); in dumpBatteryStats()
DBaseMetricListener.java279 ByteArrayOutputStream out = new ByteArrayOutputStream() in executeCommandBlocking()
284 out.write(buf, 0, length); in executeCommandBlocking()
286 return out.toByteArray(); in executeCommandBlocking()
/platform_testing/libraries/health/runners/longevity/platform/samples/
DAndroid.bp25 out: ["sample-profiles.jar"],
34 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets\" " +
41 "&& exit 1 ; fi ; done && jar cf $(out) -C $$(dirname $(out)) $$assets_dir",
/platform_testing/libraries/health/runners/longevity/platform/tests/
DAndroid.bp25 out: ["lib-test-profiles.jar"],
34 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets\" " +
41 "&& exit 1 ; fi ; done && jar cf $(out) -C $$(dirname $(out)) $$assets_dir",
/platform_testing/tests/health/scenarios/tests/
DAndroid.bp25 out: ["sample-profiles-common.jar"],
34 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets\" " +
41 "&& exit 1 ; fi ; done && jar cf $(out) -C $$(dirname $(out)) $$assets_dir",
/platform_testing/libraries/health/runners/longevity/
DREADME.md16 **Template command with stubbed out options.**
22 `java -Diterations=5 -Dquitter=true -cp out/host/linux-x86/framework/LongevityHostSamples.jar
28 out/host/linux-x86/framework/LongevityHostSamples.jar
33 **Template command with stubbed out options.**
77 `tests/` directory. Run them using `java out/host/linux-x86/framework/LongevityHostLibTests.jar
/platform_testing/emu_test/
Drun_android_bridge_test.cmd18 REM where adt-infra needs to be checked out.
55 echo "ADB test timed out"
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatOnFailureCollectorTest.java108 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatOnFailure_nofailure()
132 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatOnFailure()
180 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testRetrievingLogcat()
252 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatTimespan()
338 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testMultipleIterations()
DBatteryStatsListenerTest.java118 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testTestRunCollector()
168 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testTestRunToBytesCollector()
214 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testTestCaseCollector()
DScheduledRunMetricListenerTest.java67 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testPeriodicRun()
DScreenshotOnFailureCollectorTest.java130 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testSavePngAsFile()
167 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testSaveUixAsFile()
204 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testNoUixWithoutOption()
DBaseMetricListenerInstrumentedTest.java111 mListener.instrumentationRunFinished(System.out, resultBundle, new Result());
401 mListener.instrumentationRunFinished(System.out, resultBundle, new Result());
453 mListener.instrumentationRunFinished(System.out, resultBundle, new Result());
509 mListener.instrumentationRunFinished(System.out, resultBundle, new Result());
562 mListener.instrumentationRunFinished(System.out, resultBundle, new Result());
DScreenRecordCollectorTest.java143 mListener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testScreenRecord()
DScheduledRunCollectionListenerTest.java143 mListener.instrumentationRunFinished(System.out, result, new Result()); in testInstrumentationResult()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java89 public XmlRunListener(OutputStream out, String suiteName) { in XmlRunListener() argument
92 mOutputStream = out; in XmlRunListener()
163 if (mOutputStream != System.out && mOutputStream != System.err) { in endTestSuite()
DJUnitXmlRunner.java86 TextListener textListener = new TextListener(System.out); in main()