/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | ZipUtil.java | 55 ZipOutputStream out = null; in createZip() local 58 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); in createZip() 60 addToZip(out, file, new ArrayList<>()); in createZip() 69 out.close(); in createZip() 81 public static void addToZip(ZipOutputStream out, File file, List<String> relativePathSegs) in addToZip() argument 89 out.putNextEntry(zipEntry); in addToZip() 91 writeToStream(file, out); in addToZip() 93 out.closeEntry(); in addToZip() 102 addToZip(out, subFile, relativePathSegs); in addToZip() 133 private static void writeToStream(File file, OutputStream out) throws IOException { in writeToStream() argument [all …]
|
D | ReadElf.java | 585 System.out.println("===Symbol==="); in main() 588 System.out.println(String.format("%8x: %s", i, symArr[i].toString())); in main() 590 System.out.println("===Dynamic Symbol==="); in main() 594 System.out.println( in main() 603 System.out.println( in main() 613 System.out.println("===Dynamic Dependencies==="); in main() 615 System.out.println(DynDepEntry); in main() 618 System.out.println("===Strings in Read Only(.rodata) section==="); in main() 620 System.out.println(roStr); in main() 874 System.out.println( in readSectionHeaders() [all …]
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | ArtifactSaver.java | 88 try (ZipOutputStream out = new ZipOutputStream(new FileOutputStream(hierarchy))) { in onError() argument 89 out.putNextEntry(new ZipEntry("bugreport.txt")); in onError() 90 dumpCommandAndOutput("dumpsys window windows", out); in onError() 91 dumpCommandAndOutput("dumpsys package", out); in onError() 92 out.closeEntry(); in onError() 94 out.putNextEntry(new ZipEntry("visible_windows.zip")); in onError() 95 dumpCommandOutput("cmd window dump-visible-window-views", out); in onError() 96 out.closeEntry(); in onError() 155 private static void dumpCommandAndOutput(String cmd, OutputStream out) throws IOException { in dumpCommandAndOutput() argument 156 out.write(("\n\n" + cmd + "\n").getBytes()); in dumpCommandAndOutput() [all …]
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | MemHealthRecord.java | 120 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 …]
|
D | FilesystemUtil.java | 46 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/scripts/map_tests/ |
D | map_tests.py | 105 out = json.dumps(test_mapping, indent=2) variable 112 f.write(out + "\n") 114 print(out)
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ScreenshotOnFailureCollector.java | 146 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()
|
/platform_testing/libraries/health/runners/longevity/platform/samples/ |
D | Android.bp | 30 out: ["sample-profiles.jar"], 39 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets\" " + 46 "&& exit 1 ; fi ; done && jar cf $(out) -C $$(dirname $(out)) $$assets_dir",
|
/platform_testing/tests/bootdoa/ |
D | Android.bp | 24 out: [ 27 cmd: "cp $(in) $(out)",
|
/platform_testing/libraries/health/runners/longevity/platform/tests/ |
D | Android.bp | 30 out: ["lib-test-profiles.jar"], 39 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets\" " + 46 "&& exit 1 ; fi ; done && jar cf $(out) -C $$(dirname $(out)) $$assets_dir",
|
/platform_testing/host_runners/utils/src/com/android/runner/utils/ |
D | NohupCommandHelper.java | 49 File out = new File(logPath); in executeAdbNohupCommand() local 50 if (!device.doesFileExist(out.getParent())) { in executeAdbNohupCommand()
|
/platform_testing/tests/health/scenarios/tests/ |
D | Android.bp | 30 out: ["sample-profiles-common.jar"], 39 cmd: "out_dir=$$(dirname $(out)) && assets_dir=\"assets\" " + 46 "&& exit 1 ; fi ; done && jar cf $(out) -C $$(dirname $(out)) $$assets_dir",
|
/platform_testing/utils/shell-as/ |
D | Android.bp | 81 "$(out)", 82 out: ["AndroidManifest.xml"], 104 ") > $(out)", 105 out: ["test-app-apk.cpp"],
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 128 ByteArrayOutputStream out = new ByteArrayOutputStream()) { in executeCommandBlocking() 133 out.write(buf, 0, length); in executeCommandBlocking() 136 return out.toByteArray(); in executeCommandBlocking()
|
/platform_testing/libraries/audio-test-harness/proto/ |
D | Android.bp | 34 "$(location soong_zip) -o $(out) -C $(genDir)/gen -D $(genDir)/gen" 38 "$(location soong_zip) -o $(out) -C $(genDir)/gen -D $(genDir)/gen" 69 out: [ 81 out: [
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTestBase.java | 278 File out = new File(root, "out"); in getPlatformDirFromRoot() local 279 if (!out.isDirectory()) { in getPlatformDirFromRoot() 282 File host = new File(out, "host"); in getPlatformDirFromRoot() 300 private static String getPlatformDirFromHostOut(File out) { in getPlatformDirFromHostOut() argument 301 if (!out.isDirectory()) { in getPlatformDirFromHostOut() 304 File sdkDir = new File(out, "sdk"); in getPlatformDirFromHostOut() 510 System.out.println("Warning " + tag + ": " + message); in getLayoutLog() 518 System.out.println("FidelityWarning " + tag + ": " + message); in getLayoutLog() 528 System.out.println("Error " + tag + ": " + message); in getLayoutLog() 535 System.out.println("Error " + tag + ": " + message); in getLayoutLog() [all …]
|
/platform_testing/libraries/health/runners/longevity/ |
D | README.md | 16 **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/libraries/sts-common-util/sts-sdk/ |
D | Android.bp | 34 out: ["sts-sdk-samples.zip"], 48 … "$(location soong_zip) -o $(out) -C $(genDir)/tmp -D $(genDir)/tmp -D $(genDir)/tmp/.idea",
|
/platform_testing/emu_test/ |
D | run_android_bridge_test.cmd | 18 REM where adt-infra needs to be checked out. 55 echo "ADB test timed out"
|
/platform_testing/libraries/screenshot/scripts/ |
D | deviceless_converter.py | 26 … out = subprocess.check_output([java_binary, '-version'], stderr=subprocess.STDOUT).decode('utf-8') 27 version = re.search(' version \"(\d+\.\d+).*\"', out).groups()[0]
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/ |
D | Android.bp | 26 out: ["statsd-config-protos.jar"], 38 …"&& $(location soong_zip) -jar -o $(out) -C $(genDir)/pb -P assets/statsd-configs -D $(genDir)/pb",
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | LogcatCollectorTest.java | 120 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatCollectionOnEveryTestEnd() 192 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatCollectionWithBeforeDuration() 236 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatCollectionWithDirectoryOption() 276 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatOnlyOnTestFailureOption() 322 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testRetrievingLogcat() 392 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testLogcatTimespan() 478 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testMultipleIterations()
|
D | GcaEventLogCollectorTest.java | 100 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testGcaEventLogCollectionOnTestEnd_includeFailure() 155 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testGcaEventLogCollectOnTestEnd_skipFailure() 208 listener.instrumentationRunFinished(System.out, resultBundle, new Result()); in testGcaEventLogCollectionOnTestRunEnd_runEndOnly()
|
D | BatteryStatsListenerTest.java | 118 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()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 107 System.out.println("Calibrating ..."); in doCalibration() 123 System.out.printf(" DONE %fms\n", sCalibrated); in doCalibration()
|