Home
last modified time | relevance | path

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

123456789

/tools/asuite/atest/unittest_data/
Dtest_record.proto.testonly79 …8.140953 install path: /usr/local/google/home/yelinhsieh/yl_workspace/aosp/out/soong/host/linux-x8…
86out/host/linux-x86/tradefed/tradefed-test-framework.jar:/usr/local/google/home/yelinhsieh/yl_works…
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java77 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testProcessClientOperations_invalidAction() local
78 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_invalidAction()
85 out.toString()); in testProcessClientOperations_invalidAction()
96 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testProcessClientOperations_initHandover() local
97 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_initHandover()
101 assertEquals("{}\n", out.toString()); in testProcessClientOperations_initHandover()
115 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testProcessClientOperations_addCommand() local
116 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_addCommand()
120 assertEquals("{}\n", out.toString()); in testProcessClientOperations_addCommand()
131 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testProcessClientOperations_addCommand_fail() local
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py183 out = adb.AdbProxy().devices()
184 return _parse_device_list(out, "device")
194 out = fastboot.FastbootProxy().devices()
195 return _parse_device_list(out, "fastboot")
430 out = self.adb.devices()
431 devices = _parse_device_list(out, "device")
516 out = self.fastboot.getvar("product").strip()
519 lines = out.split('\n', 1)
662 out = self.adb.shell(
665 if package_name not in out:
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCentralDirectory.java450 ByteBuffer out = ByteBuffer.allocate(total); in computeByteRepresentation() local
453 F_SIGNATURE.write(out); in computeByteRepresentation()
454 F_MADE_BY.write(out, cdhs[idx].getMadeBy()); in computeByteRepresentation()
455 F_VERSION_EXTRACT.write(out, compressInfos[idx].getVersionExtract()); in computeByteRepresentation()
456 F_GP_BIT.write(out, cdhs[idx].getGpBit().getValue()); in computeByteRepresentation()
457 F_METHOD.write(out, compressInfos[idx].getMethod().methodCode); in computeByteRepresentation()
460 F_LAST_MOD_TIME.write(out, 0); in computeByteRepresentation()
461 F_LAST_MOD_DATE.write(out, 0); in computeByteRepresentation()
463 F_LAST_MOD_TIME.write(out, cdhs[idx].getLastModTime()); in computeByteRepresentation()
464 F_LAST_MOD_DATE.write(out, cdhs[idx].getLastModDate()); in computeByteRepresentation()
[all …]
DStoredEntry.java704 ByteBuffer out = in toHeaderData() local
710 F_LOCAL_SIGNATURE.write(out); in toHeaderData()
711 F_VERSION_EXTRACT.write(out, compressInfo.getVersionExtract()); in toHeaderData()
712 F_GP_BIT.write(out, cdh.getGpBit().getValue()); in toHeaderData()
713 F_METHOD.write(out, compressInfo.getMethod().methodCode); in toHeaderData()
716 F_LAST_MOD_TIME.write(out, 0); in toHeaderData()
717 F_LAST_MOD_DATE.write(out, 0); in toHeaderData()
719 F_LAST_MOD_TIME.write(out, cdh.getLastModTime()); in toHeaderData()
720 F_LAST_MOD_DATE.write(out, cdh.getLastModDate()); in toHeaderData()
723 F_CRC32.write(out, cdh.getCrc32()); in toHeaderData()
[all …]
DExtraField.java207 public void write(@Nonnull ByteBuffer out) throws IOException { in write() argument
209 out.put(rawData); in write()
213 s.write(out); in write()
260 void write(@Nonnull ByteBuffer out) throws IOException; in write() argument
315 public void write(@Nonnull ByteBuffer out) throws IOException { in write() argument
316 LittleEndianUtils.writeUnsigned2Le(out, headerId); in write()
317 LittleEndianUtils.writeUnsigned2Le(out, data.length); in write()
318 out.put(data); in write()
389 public void write(@Nonnull ByteBuffer out) throws IOException { in write() argument
390 LittleEndianUtils.writeUnsigned2Le(out, ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID); in write()
[all …]
DEocd.java253 ByteBuffer out = ByteBuffer.allocate(F_COMMENT_SIZE.endOffset() + comment.length); in computeByteRepresentation() local
256 F_SIGNATURE.write(out); in computeByteRepresentation()
257 F_NUMBER_OF_DISK.write(out); in computeByteRepresentation()
258 F_DISK_CD_START.write(out); in computeByteRepresentation()
259 F_RECORDS_DISK.write(out, totalRecords); in computeByteRepresentation()
260 F_RECORDS_TOTAL.write(out, totalRecords); in computeByteRepresentation()
261 F_CD_SIZE.write(out, directorySize); in computeByteRepresentation()
262 F_CD_OFFSET.write(out, directoryOffset); in computeByteRepresentation()
263 F_COMMENT_SIZE.write(out, comment.length); in computeByteRepresentation()
264 out.put(comment); in computeByteRepresentation()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestWriter.java40 public static void writeMainSection(OutputStream out, Attributes attributes) in writeMainSection() argument
50 writeAttribute(out, Attributes.Name.MANIFEST_VERSION, manifestVersion); in writeMainSection()
55 writeAttributes(out, namedAttributes); in writeMainSection()
57 writeSectionDelimiter(out); in writeMainSection()
60 public static void writeIndividualSection(OutputStream out, String name, Attributes attributes) in writeIndividualSection() argument
62 writeAttribute(out, "Name", name); in writeIndividualSection()
65 writeAttributes(out, getAttributesSortedByName(attributes)); in writeIndividualSection()
67 writeSectionDelimiter(out); in writeIndividualSection()
70 static void writeSectionDelimiter(OutputStream out) throws IOException { in writeSectionDelimiter() argument
71 out.write(CRLF); in writeSectionDelimiter()
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java76 System.out.println(VERSION); in main()
98 System.out.println(VERSION); in main()
357 System.out.println("Signed"); in sign()
458 System.out.println("Verifies"); in verify()
459 System.out.println( in verify()
462 System.out.println( in verify()
465 System.out.println( in verify()
468 System.out.println("Number of signers: " + signerCerts.size()); in verify()
486 PrintStream warningsOut = warningsTreatedAsErrors ? System.err : System.out; in verify()
664 System.out.println("Rotation entry generated."); in rotate()
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtilsTest.java37 ByteBuffer out = ByteBuffer.allocate(2); in write2Le() local
38 LittleEndianUtils.writeUnsigned2Le(out, 0x0102); in write2Le()
39 assertArrayEquals(new byte[] { 2, 1 }, out.array()); in write2Le()
41 out = ByteBuffer.allocate(2); in write2Le()
42 LittleEndianUtils.writeUnsigned2Le(out, 0xfedc); in write2Le()
43 assertArrayEquals(new byte[] { (byte) 0xdc, (byte) 0xfe }, out.array()); in write2Le()
58 ByteBuffer out = ByteBuffer.allocate(COUNT * 2); in readWrite2Le() local
60 LittleEndianUtils.writeUnsigned2Le(out, d); in readWrite2Le()
63 ByteBuffer in = ByteBuffer.wrap(out.array()); in readWrite2Le()
79 ByteBuffer out = ByteBuffer.allocate(4); in write4Le() local
[all …]
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java85 System.out.println( in generateGoldenFiles()
583 DataSource out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); in testRsaSignedVerifies() local
584 assertVerified(verifyForMinSdkVersion(out, 1)); in testRsaSignedVerifies()
587 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(18)); in testRsaSignedVerifies()
588 assertVerified(verifyForMinSdkVersion(out, 18)); in testRsaSignedVerifies()
591 verifyForMinSdkVersion(out, 17), Issue.JAR_SIG_UNSUPPORTED_SIG_ALG); in testRsaSignedVerifies()
601 DataSource out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); in testDsaSignedVerifies() local
602 assertVerified(verifyForMinSdkVersion(out, 1)); in testDsaSignedVerifies()
605 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(21)); in testDsaSignedVerifies()
606 assertVerified(verifyForMinSdkVersion(out, 21)); in testDsaSignedVerifies()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil.java175 ZipOutputStream out = null; in createZip() local
178 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); in createZip()
179 addToZip(out, dir, new LinkedList<String>()); in createZip()
187 StreamUtil.close(out); in createZip()
224 ZipOutputStream out = null; in createZip() local
227 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); in createZip()
229 addToZip(out, file, new LinkedList<String>()); in createZip()
235 StreamUtil.close(out); in createZip()
247 public static void addToZip(ZipOutputStream out, File file, List<String> relativePathSegs) in addToZip() argument
255 out.putNextEntry(zipEntry); in addToZip()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py631 out = ad.adb.shell(
633 if out:
634 lte_rsrp = out.split()[9]
639 out = ad.adb.shell(
641 if out:
642 lte_cell_info = out.split('mLte=')[1]
657 out = ad.adb.shell("dumpsys network_stack " \
660 ad.log.debug("Output is %s", out)
661 if out:
662 ad.log.info("NetworkMonitor detected - %s", out)
[all …]
/tools/dexter/testdata/expected/
Dexit_hooks.asm24 1| sget-object v1, java.lang.System.out
30 11| sget-object v1, java.lang.System.out
51 9| sget-object v1, java.lang.System.out
67 32| sget-object v1, java.lang.System.out
83 55| sget-object v1, java.lang.System.out
101 82| sget-object v1, java.lang.System.out
227 5| sget-object v2, java.lang.System.out
261 5| sget-object v2, java.lang.System.out
273 17| sget-object v2, java.lang.System.out
305 1| sget-object v2, java.lang.System.out
[all …]
Dexit_hooks.rewrite24 1| sget-object v1, java.lang.System.out
30 11| sget-object v1, java.lang.System.out
51 9| sget-object v1, java.lang.System.out
67 32| sget-object v1, java.lang.System.out
83 55| sget-object v1, java.lang.System.out
101 82| sget-object v1, java.lang.System.out
229 5| sget-object v2, java.lang.System.out
263 5| sget-object v2, java.lang.System.out
275 17| sget-object v2, java.lang.System.out
307 1| sget-object v2, java.lang.System.out
[all …]
Dexit_hooks.exit_hook25 1| sget-object v1, java.lang.System.out
31 11| sget-object v1, java.lang.System.out
53 9| sget-object v1, java.lang.System.out
69 32| sget-object v1, java.lang.System.out
85 55| sget-object v1, java.lang.System.out
103 82| sget-object v1, java.lang.System.out
236 5| sget-object v2, java.lang.System.out
272 5| sget-object v2, java.lang.System.out
285 20| sget-object v2, java.lang.System.out
318 1| sget-object v2, java.lang.System.out
[all …]
Dexit_hooks.compact_cfg27 1| sget-object v1, java.lang.System.out
33 11| sget-object v1, java.lang.System.out
56 9| sget-object v1, java.lang.System.out
72 32| sget-object v1, java.lang.System.out
88 55| sget-object v1, java.lang.System.out
106 82| sget-object v1, java.lang.System.out
262 5| sget-object v2, java.lang.System.out
304 5| sget-object v2, java.lang.System.out
320 17| sget-object v2, java.lang.System.out
356 1| sget-object v2, java.lang.System.out
[all …]
Dexit_hooks.scratch_regs30 10| sget-object v11, java.lang.System.out
36 20| sget-object v11, java.lang.System.out
57 9| sget-object v1, java.lang.System.out
73 32| sget-object v1, java.lang.System.out
89 55| sget-object v1, java.lang.System.out
107 82| sget-object v1, java.lang.System.out
253 23| sget-object v9, java.lang.System.out
293 23| sget-object v9, java.lang.System.out
305 35| sget-object v9, java.lang.System.out
343 10| sget-object v4, java.lang.System.out
[all …]
Dexit_hooks.verbose_cfg29 1| sget-object v1, java.lang.System.out
43 11| sget-object v1, java.lang.System.out
76 9| sget-object v1, java.lang.System.out
104 32| sget-object v1, java.lang.System.out
132 55| sget-object v1, java.lang.System.out
164 82| sget-object v1, java.lang.System.out
336 5| sget-object v2, java.lang.System.out
390 5| sget-object v2, java.lang.System.out
414 17| sget-object v2, java.lang.System.out
460 1| sget-object v2, java.lang.System.out
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java543 mScheduler.displayInvocationsInfo(new PrintWriter(System.out, true)); in addDefaultCommands()
551 manager.displayDevicesInfo(new PrintWriter(System.out, true), false); in addDefaultCommands()
559 manager.displayDevicesInfo(new PrintWriter(System.out, true), true); in addDefaultCommands()
565 mScheduler.displayCommandsInfo(new PrintWriter(System.out, true), null); in addDefaultCommands()
573 mScheduler.displayCommandsInfo(new PrintWriter(System.out, true), pattern); in addDefaultCommands()
586 getConfigurationFactory().printHelp(System.out); in addDefaultCommands()
624 dumpStacks(System.out); in addDefaultCommands()
650 getConfigurationFactory().dumpConfig(configArg, System.out); in addDefaultCommands()
658 mScheduler.displayCommandQueue(new PrintWriter(System.out, true)); in addDefaultCommands()
665 mScheduler.dumpCommandsXml(new PrintWriter(System.out, true), null); in addDefaultCommands()
[all …]
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java210 System.out.format( in getGlobalConfigPath()
219 System.out.format("Attempting to use autodetected global config \"%s\".\n", path); in getGlobalConfigPath()
248 System.out.format("Use global config server config %s.\n", path); in createGlobalConfigServer()
712 public void printCommandUsage(boolean importantOnly, PrintStream out) in printCommandUsage() argument
714 out.println(String.format("'%s' configuration: %s", getName(), getDescription())); in printCommandUsage()
715 out.println(); in printCommandUsage()
717 out.println("Printing help for only the important options. " + in printCommandUsage()
719 out.println(); in printCommandUsage()
733 out.printf(" %s%s options:", classAlias, configObjectsEntry.getKey()); in printCommandUsage()
734 out.println(); in printCommandUsage()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java598 PrintWriter out = new PrintWriter(test); in testDumpXml() local
599 mConfig.dumpXml(out); in testDumpXml()
600 out.flush(); in testDumpXml()
617 PrintWriter out = new PrintWriter(test); in testDumpXml_withFilter() local
620 mConfig.dumpXml(out, filters); in testDumpXml_withFilter()
621 out.flush(); in testDumpXml_withFilter()
642 PrintWriter out = new PrintWriter(test); in testDumpXml_multi_device() local
643 mConfig.dumpXml(out); in testDumpXml_multi_device()
644 out.flush(); in testDumpXml_multi_device()
665 PrintWriter out = new PrintWriter(test); in testDumpXml_multi_device_fake() local
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DHistogramTest.java50 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testSimple() local
51 histogram.plotAscii(out, 2); in testSimple()
57 out.toString()); in testSimple()
86 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testPlotCutoff() local
87 histogram.plotAscii(out, 1); in testPlotCutoff()
94 out.toString()); in testPlotCutoff()
141 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testPlot() local
142 histogram.plotAscii(out, 10); in testPlot()
155 out.toString()); in testPlot()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNativeCodeCoverageListenerTest.java121 try (OutputStream out = new FileOutputStream(outputZip)) { in test_logsCoverageZip() argument
122 logs.get(0).writeTo(out); in test_logsCoverageZip()
153 try (OutputStream out = new FileOutputStream(outputZip)) { in testNoCoverageFiles_logsEmptyZip() argument
154 logs.get(0).writeTo(out); in testNoCoverageFiles_logsEmptyZip()
259 try (OutputStream out = new FileOutputStream(outputZip)) { in testNoCollectOnTestEnd_noCoverageMeasurements() argument
260 logs.get(0).writeTo(out); in testNoCollectOnTestEnd_noCoverageMeasurements()
293 try (TarArchiveOutputStream out = in createTar() argument
299 out.putArchiveEntry(entry); in createTar()
300 file.getValue().writeTo(out); in createTar()
301 out.closeArchiveEntry(); in createTar()
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveNoQXDMLogTest.py461 out = ad.adb.shell("ls -l /data/vendor/ssrdump/ramdump_modem_*",
463 if "No such file" in out or not out:
464 ad.log.error("Ramdump Modem File not found post SSR\n %s", out)
466 ad.log.info("Ramdump Modem File found post SSR\n %s", out)
490 out = ad.adb.shell("pm path %s" % SL4A_APK_NAME)
491 result = re.search(r"package:(.*)", out)
681 out = ad.adb.shell("ls -l data/misc/carrierid/carrier_list.pb")
682 if "No such" in out:
762 out = ad.adb.shell("ls -l data/misc/carrierid/carrier_list.pb")
763 if not out or "No such" in out:

123456789