Home
last modified time | relevance | path

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

12345678

/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 …]
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 …]
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 …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java81 System.out.println(VERSION); in main()
107 System.out.println(VERSION); in main()
412 System.out.println("Signed"); in sign()
582 System.out.println("Verifies"); in verify()
583 System.out.println( in verify()
586 System.out.println( in verify()
589 System.out.println( in verify()
592 System.out.println( in verify()
595 System.out.println( in verify()
598 System.out.println("Verified for SourceStamp: " + result.isSourceStampVerified()); in verify()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py192 out = adb.AdbProxy().devices()
193 return _parse_device_list(out, "device")
203 out = fastboot.FastbootProxy().devices()
204 return _parse_device_list(out, "fastboot")
509 out = self.adb.devices()
510 devices = _parse_device_list(out, "device")
595 out = self.fastboot.getvar("product").strip()
598 lines = out.split('\n', 1)
757 out = self.adb.shell('%s | grep "S %s"' % (cmd, package_name),
759 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/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_logging_utils.py191 out = ad.adb.shell(
193 if out and "No such" not in out and "Permission denied" not in out:
198 return out.split("\n")[0]
204 out = ad.adb.shell("ls %s" % mask, ignore_status=True)
205 if out and "No such" not in out:
429 out = ad.adb.shell("ls -l /data/local/tmp/tcpdump/", ignore_status=True)
430 if "No such file" in out or not out:
443 out = ad.adb.shell(
447 intfs = re.findall(r"(\S+).*", out)
452 out = ad.adb.shell("ps -ef | grep tcpdump")
[all …]
Dtel_test_utils.py528 out = ad.adb.shell(
530 if out:
531 lte_rsrp = out.split()[9]
536 out = ad.adb.shell(
538 if out:
539 lte_cell_info = out.split('mLte=')[1]
1343 out = None
1345 out = ad.adb.shell('stat -c "%%s" %s' % file_path)
1349 if out and "No such" not in out:
1351 file_size = int(out)
[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/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java332 StringBuilder out = new StringBuilder(); in getOptionHelp() local
341 out.append(optionNameHelp); in getOptionHelp()
347 out.append(eol); in getOptionHelp()
355 out.append(' '); in getOptionHelp()
357 out.append(option.description()); in getOptionHelp()
358 out.append(getDefaultValueHelp(defaultValue)); in getOptionHelp()
359 out.append(OptionSetter.getEnumFieldValuesAsString(field)); in getOptionHelp()
360 out.append(eol); in getOptionHelp()
363 return out.toString(); in getOptionHelp()
/tools/external_updater/
Dregen_bp.sh39 rm -rf target.tmp cargo.out Cargo.lock
66 if [ -d $2/out ]; then
69 for f in $2/out/*
72 SRC=`ls ./target.tmp/*/debug/build/$PKGNAME-*/out/$OUTF ||
73 ls ./target.tmp/debug/build/$PKGNAME-*/out/$OUTF || true`
76 mkdir -p out
77 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 …]
/tools/loganalysis/src/com/android/loganalysis/item/
DMemoryHealthItem.java87 JSONObject out = new JSONObject(); in mapToJson() local
90 out.put(entry.getKey(), processToJson(entry.getValue())); in mapToJson()
95 return out; in mapToJson()
99 JSONObject out = new JSONObject(); in processToJson() local
102 out.put(entry.getKey(), entry.getValue()); in processToJson()
107 return out; in processToJson()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java120 System.out.println( in generateGoldenFiles()
725 File out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); in testRsaSignedVerifies() local
726 assertVerified(verifyForMinSdkVersion(out, 1)); in testRsaSignedVerifies()
729 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(18)); in testRsaSignedVerifies()
730 assertVerified(verifyForMinSdkVersion(out, 18)); in testRsaSignedVerifies()
733 verifyForMinSdkVersion(out, 17), Issue.JAR_SIG_UNSUPPORTED_SIG_ALG); in testRsaSignedVerifies()
743 File out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(1)); in testDsaSignedVerifies() local
744 assertVerified(verifyForMinSdkVersion(out, 1)); in testDsaSignedVerifies()
747 out = sign(in, new ApkSigner.Builder(signers).setMinSdkVersion(21)); in testDsaSignedVerifies()
748 assertVerified(verifyForMinSdkVersion(out, 21)); in testDsaSignedVerifies()
[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/asuite/atest/bazel/scripts/
Dgen_workspace_archive.sh37 out=$(get_build_var PRODUCT_OUT)
46 ANDROID_PRODUCT_OUT=${out} \
47 OUT=${out} \
106 …--override_repository=remote_coverage_tools=${ANDROID_BUILD_TOP}/out/atest_bazel_workspace/remote_…
124 tar zcfh ${DIST_DIR}/atest_bazel_workspace.tar.gz out/atest_bazel_workspace/

12345678