Home
last modified time | relevance | path

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

1234567

/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/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 …]
DSignatureFileWriter.java32 public static void writeMainSection(OutputStream out, Attributes attributes) in writeMainSection() argument
42 ManifestWriter.writeAttribute(out, Attributes.Name.SIGNATURE_VERSION, signatureVersion); in writeMainSection()
48 ManifestWriter.writeAttributes(out, namedAttributes); in writeMainSection()
50 writeSectionDelimiter(out); in writeMainSection()
53 public static void writeIndividualSection(OutputStream out, String name, Attributes attributes) in writeIndividualSection() argument
55 ManifestWriter.writeIndividualSection(out, name, attributes); in writeIndividualSection()
58 public static void writeSectionDelimiter(OutputStream out) throws IOException { in writeSectionDelimiter() argument
59 ManifestWriter.writeSectionDelimiter(out); in writeSectionDelimiter()
/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/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 …]
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 …]
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 …]
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/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py185 out = adb.AdbProxy().devices()
186 return _parse_device_list(out, "device")
196 out = fastboot.FastbootProxy().devices()
197 return _parse_device_list(out, "fastboot")
432 out = self.adb.devices()
433 devices = _parse_device_list(out, "device")
518 out = self.fastboot.getvar("product").strip()
521 lines = out.split('\n', 1)
674 out = self.adb.shell(
677 if package_name not in out:
[all …]
Dadb.py164 ret, out, err = result.exit_status, result.stdout, result.stderr
169 raise AdbError(cmd=cmd, stdout=out, stderr=err, ret_code=ret)
170 if "Result: Parcel" in out:
171 return parsing_parcel_output(out)
173 return out or err
175 raise AdbCommandError(cmd=cmd, stdout=out, stderr=err, ret_code=ret)
176 return out
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java77 System.out.println(VERSION); in main()
103 System.out.println(VERSION); in main()
398 System.out.println("Signed"); in sign()
560 System.out.println("Verifies"); in verify()
561 System.out.println( in verify()
564 System.out.println( in verify()
567 System.out.println( in verify()
570 System.out.println( in verify()
573 System.out.println("Verified for SourceStamp: " + result.isSourceStampVerified()); in verify()
575 System.out.println("Number of signers: " + signerCerts.size()); in verify()
[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/dexter/slicer/export/slicer/
Ddex_leb128.h98 u1 out = data & 0x7f; in WriteULeb128() local
99 if (out != data) { in WriteULeb128()
100 *ptr++ = out | 0x80; in WriteULeb128()
103 *ptr++ = out; in WriteULeb128()
114 u1 out = value & 0x7f; in WriteSLeb128() local
116 *ptr++ = out | 0x80; in WriteSLeb128()
118 out = value & 0x7f; in WriteSLeb128()
121 *ptr++ = out; in WriteSLeb128()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java119 System.out.println( in generateGoldenFiles()
705 File out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); in testRsaSignedVerifies() local
706 assertVerified(verifyForMinSdkVersion(out, 1)); in testRsaSignedVerifies()
709 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(18)); in testRsaSignedVerifies()
710 assertVerified(verifyForMinSdkVersion(out, 18)); in testRsaSignedVerifies()
713 verifyForMinSdkVersion(out, 17), Issue.JAR_SIG_UNSUPPORTED_SIG_ALG); in testRsaSignedVerifies()
723 File out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); in testDsaSignedVerifies() local
724 assertVerified(verifyForMinSdkVersion(out, 1)); in testDsaSignedVerifies()
727 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(21)); in testDsaSignedVerifies()
728 assertVerified(verifyForMinSdkVersion(out, 21)); in testDsaSignedVerifies()
[all …]
/tools/external_updater/
Dregen_bp.sh38 rm -rf target.tmp cargo.out Cargo.lock
65 if [ -d $2/out ]; then
68 for f in $2/out/*
71 SRC=`ls ./target.tmp/*/debug/build/$PKGNAME-*/out/$OUTF ||
72 ls ./target.tmp/debug/build/$PKGNAME-*/out/$OUTF || true`
75 mkdir -p out
76 cp $SRC out/$OUTF
Dgit_utils.py69 out = _run(['git', 'remote', '-v'], proj_path)
70 lines = out.splitlines()
82 out = _run([
86 return out.splitlines()
92 out = _run(['git', 'show', '-s', '--format=%ct', commit], cwd=proj_path)
93 return datetime.datetime.fromtimestamp(int(out.strip()))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/users/
Dusers.py28 out = android_device.adb.shell("pm list users")
30 for user in re.findall("UserInfo{(.*\d*\w):", out):
37 out = android_device.adb.shell("pm create-user {}".format(user_name))
38 return re.search("Success(.* (.*\d))", out).group(2)
55 out = android_device.adb.shell("dumpsys activity")
56 result = re.search("mCurrentUserId:(\d+)", out)
/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.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.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 …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dutils.py116 out = fd.send_command_ssh('ls -al "%s"' % file_path)
117 if isinstance(out, Error):
118 out = out.result
119 if 'No such file or directory' in out.stdout:
/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)
682 out = ad.adb.shell("ls -l data/misc/carrierid/carrier_list.pb")
683 if "No such" in out:
763 out = ad.adb.shell("ls -l data/misc/carrierid/carrier_list.pb")
764 if not out or "No such" in out:
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DFullApkSignTest.java51 File out = new File(mTemporaryFolder.getRoot(), "apk"); in testSignature() local
65 ZFile zf = new ZFile(out, options); in testSignature()
84 byte[] read1 = ApkZFileTestUtils.readSegment(out, f1DataStart, f1Data.length); in testSignature()
86 byte[] read2 = ApkZFileTestUtils.readSegment(out, f2DataStart, f2Data.length); in testSignature()
92 ZFile zf2 = new ZFile(out); in testSignature()

1234567