Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 216) sorted by relevance

123456789

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DInputStreamBerDataValueReader.java31 public InputStreamBerDataValueReader(InputStream in) { in InputStreamBerDataValueReader() argument
32 if (in == null) { in InputStreamBerDataValueReader()
35 mIn = in; in InputStreamBerDataValueReader()
51 RecordingInputStream in = new RecordingInputStream(input); in readDataValue() local
54 int firstIdentifierByte = in.read(); in readDataValue()
59 int tagNumber = readTagNumber(in, firstIdentifierByte); in readDataValue()
61 int firstLengthByte = in.read(); in readDataValue()
72 contentsOffsetInDataValue = in.getReadByteCount(); in readDataValue()
73 skipDefiniteLengthContents(in, contentsLength); in readDataValue()
76 contentsLength = readLongFormLength(in, firstLengthByte); in readDataValue()
[all …]
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt97 Changes in the way IP header options are encoded allows for
100 in the future.
128 semantics of IPv6 addresses are specified separately in [ADDRARCH].
130 to include, is specified in [ICMPv6].
145 over (i.e., encapsulated in) IPv6 such as IPX,
165 size in octets, that can be conveyed over a link.
175 path MTU - the minimum link MTU of all the links in a path between
220 this IPv6 header, in octets. (Note that any
233 in the length count.)
289 In IPv6, optional internet-layer information is encoded in separate
[all …]
/tools/metalava/
DFORMAT.md13 such as dropping the "final" modifier in front of every member if the
16 2. The "new" format, which is described below, and is used in Android Q. This
24 in format v2, but it was deferred since type-use annotations introduces
25 some complexities in the implementation.
57 signature files. For example, in v3 the type "String" means "@NonNull String",
58 but in v2 "String" means "String with unknown nullness".
97 (Note: Only in version format 3+)
152 structure in the signature file. For example, in v1, an interface is called an
180 The v1 signature files uses raw types in some places but not others. Note that
181 in the above it was missing from super interface Collection:
[all …]
DREADME.md11 which in turn get compiled into android.jar, the Android SDK library) and
17 the typedef annotations, which cannot be stored in the SDK as .class level
32 It puts build artifacts in `../../out/metalava/`.
78 * Ability to read in an existing android.jar file instead of from source, which
80 new formats (e.g. to fix past errors in doclava, such as annotation instance
83 * Ability to merge in data (annotations etc) from external sources, such as
88 * Support for an updated signature file format (which is described in [FORMAT.md](FORMAT.md))
90 * Address errors in the doclava1 format which for example was missing
96 modifiers in the canonical modifier order, using "extends" instead of
98 tweaks outlined in the `Compatibility` class. (Metalava also allows (and
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt12 --in Input APK file to sign. This is an alternative to
18 APK is signed in-place, overwriting the input file.
23 signing scheme) used in Android since day one. By default,
28 (aka v2 signing scheme) introduced in Android Nougat,
34 (aka v3 signing scheme) introduced in Android P,
39 multiple signers may be provided in conjunction with the
44 (aka v4 signing scheme) introduced in Android 11,
49 --force-stamp-overwrite Whether to overwrite existing source stamp in the
68 (Android Sv2) will result in the original V3 signing block
85 can execute arbitrary code in the context of a debuggable
[all …]
DPasswordRetriever.java156 byte[] encodedPwd = readEncodedPassword(System.in); in getPasswords()
168 InputStream in = mFileInputStreams.get(file); in getPasswords() local
169 if (in == null) { in getPasswords()
170 in = new FileInputStream(file); in getPasswords()
171 mFileInputStreams.put(file, in); in getPasswords()
173 byte[] encodedPwd = readEncodedPassword(in); in getPasswords()
368 private static byte[] readEncodedPassword(InputStream in) throws IOException { in readEncodedPassword() argument
371 while ((b = in.read()) != -1) { in readEncodedPassword()
375 int next = in.read(); in readEncodedPassword()
380 if (!(in instanceof PushbackInputStream)) { in readEncodedPassword()
[all …]
Dhelp_lineage.txt3 This modifies the capabilities of one or more signers in the provided SigningCertificateLineage.
10 --in Input SigningCertificateLineage. This file contains a binary representation of
14 specified; the lineage will then be read from the signed data in the APK.
20 in the SigningCertificateLineage.
23 in the SigningCertificateLineage; prints the PEM encoding of each signing
32 This option is required for each signer to be modified in the provided SigningCertificateLineage.
38 To modify the capabilities of a previous signer in the lineage the signer's
41 (2) private key file in PKCS #8 format and certificate file in X.509 format
45 used in some situations on the platform even though the APK is now being signed
58 stored in the KeyStore. This must be specified if the
[all …]
Dhelp_rotate.txt4 new, for use in a key rotation scenario using APK Signature Scheme v3.
9 --in Input SigningCertificateLineage. This file contains a binary representation of
14 specified; the lineage will then be read from the signed data in the APK.
28 be used to sign a new entry in the SigningCertificateLineage allowing the
34 be the last key in the SigningCertificate object, signed by the old-signer.
38 KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate
39 file in X.509 format (see --key and --cert).
42 used in some situations on the platform even though the APK is now being signed
50 Prior to Android 12, if multiple apps shared a common signer in their signing lineage
51 with distinct capabilities assigned, a bug in the platform would cause the capabilities
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto5 // Redistribution and use in source and binary forms, with or without
11 // * Redistributions in binary form must reproduce the above
13 // in the documentation and/or other materials provided with the
35 // The messages in this file describe the definitions found in .proto files.
63 // Indexes of the public imported files in the dependency list above.
65 // Indexes of the weak imported files in the dependency list.
69 // All top-level definitions in this file.
130 // New in version 2.
164 // resolved in the same manner as type_name.
169 // For strings, contains the default text contents (not escaped in any way).
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto5 // Redistribution and use in source and binary forms, with or without
11 // * Redistributions in binary form must reproduce the above
13 // in the documentation and/or other materials provided with the
43 // A plugin executable needs only to be placed somewhere in the path. The
58 // descriptor will be included in proto_file, below.
64 // FileDescriptorProtos for all files in files_to_generate and everything
65 // they import. The files will appear in topological order, so each file
71 // in the FileDescriptorProtos and handle them one by one rather than read
73 // is not similarly optimized on protoc's end -- it will store all fields in
81 // should exit with status code zero even if it reports an error in this way.
[all …]
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java46 try (InputStream in = cls.getResourceAsStream(resourceName)) { in toByteArray() argument
47 if (in == null) { in toByteArray()
50 return ByteStreams.toByteArray(in); in toByteArray()
55 InputStream in = cls.getResourceAsStream(resourceName); in toInputStream() local
56 if (in == null) { in toInputStream()
59 return in; in toInputStream()
64 try (InputStream in = cls.getResourceAsStream(resourceName)) { in toCertificate() argument
65 if (in == null) { in toCertificate()
68 return X509CertificateUtils.generateCertificate(in); in toCertificate()
75 try (InputStream in = cls.getResourceAsStream(resourceName)) { in toCertificateChain() argument
[all …]
/tools/apksig/
DLICENSE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DSM_PTS_INSTRUCTIONS4 # use this file except in compliance with the License. You may obtain a copy of
9 # Unless required by applicable law or agreed to in writing, software
119 Note: Start advertiment and enter in random address to PTS
125 Note: Start advertiment and enter in random address to PTS
131 Note: Start advertiment and enter in random address to PTS
137 Note: Start advertiment and enter in random address to PTS
142 Note: Start advertiment and enter in random address to PTS before starting test
148 Note: Start advertiment and enter in random address to PTS before starting test
154 Note: Start advertiment and enter in random address to PTS before starting test
159 Note: Start advertiment and enter in random address to PTS before starting test
[all …]
DGAP_PTS_INSTRUCTIONS4 # use this file except in compliance with the License. You may obtain a copy of
9 # Unless required by applicable law or agreed to in writing, software
190 be the peer address in the PTS logs that start with:
208 be the peer address in the PTS logs that start with:
251 be the peer address in the PTS logs that start with:
268 be the peer address in the PTS logs that start with:
297 be the peer address in the PTS logs that start with:
306 Enter address in PTS and run test
318 be the peer address in the PTS logs that start with:
348 be the peer address in the PTS logs that start with:
[all …]
/tools/security/sanitizer-status/
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/
DREADME.md4 the Wi-Fi Aware implementation in Android.
6 There are 4 groups of tests (in 4 sub-directories):
16 especially in an over-the-air situation, pass/fail criteria are either
19 in a particular mode and expect the tester to capture an over-the-air
22 The tests can be executed in several ways:
26 Where a test file is any of the `.py` files in any of the test sub-directories.
29 2. All tests in a test group: `act.py -c <config> -tf <test_file>`
33 directory which lists all tests in the directory. E.g. to execute all functional
39 The test configurations, the `<config>` in the commands above, are stored in
45 * **aware_default_power_mode**: The power mode in which to run all tests. Options
/tools/treble/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
41 "Derivative Works" shall mean any work, whether in Source or Object
52 submitted to Licensor for inclusion in the Work by the copyright owner
61 designated in writing by the copyright owner as "Not a Contribution."
72 Work and such Derivative Works in Source or Object form.
77 (except as stated in this section) patent license to make, have made,
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
91 Work or Derivative Works thereof in any medium, with or without
[all …]
/tools/trebuchet/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
41 "Derivative Works" shall mean any work, whether in Source or Object
52 submitted to Licensor for inclusion in the Work by the copyright owner
61 designated in writing by the copyright owner as "Not a Contribution."
72 Work and such Derivative Works in Source or Object form.
77 (except as stated in this section) patent license to make, have made,
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
91 Work or Derivative Works thereof in any medium, with or without
[all …]
/tools/test/openhst/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
41 "Derivative Works" shall mean any work, whether in Source or Object
52 submitted to Licensor for inclusion in the Work by the copyright owner
61 designated in writing by the copyright owner as "Not a Contribution."
72 Work and such Derivative Works in Source or Object form.
77 (except as stated in this section) patent license to make, have made,
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
91 Work or Derivative Works thereof in any medium, with or without
[all …]
/tools/test/connectivity/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
41 "Derivative Works" shall mean any work, whether in Source or Object
52 submitted to Licensor for inclusion in the Work by the copyright owner
61 designated in writing by the copyright owner as "Not a Contribution."
72 Work and such Derivative Works in Source or Object form.
77 (except as stated in this section) patent license to make, have made,
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
91 Work or Derivative Works thereof in any medium, with or without
[all …]
/tools/test/mobly_snippets/gft/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
41 "Derivative Works" shall mean any work, whether in Source or Object
52 submitted to Licensor for inclusion in the Work by the copyright owner
61 designated in writing by the copyright owner as "Not a Contribution."
72 Work and such Derivative Works in Source or Object form.
77 (except as stated in this section) patent license to make, have made,
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
91 Work or Derivative Works thereof in any medium, with or without
[all …]
/tools/acloud/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
41 "Derivative Works" shall mean any work, whether in Source or Object
52 submitted to Licensor for inclusion in the Work by the copyright owner
61 designated in writing by the copyright owner as "Not a Contribution."
72 Work and such Derivative Works in Source or Object form.
77 (except as stated in this section) patent license to make, have made,
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
91 Work or Derivative Works thereof in any medium, with or without
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/
Dbluetooth.proto5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
86 // Type of technology used in the connection.
99 // is not a real disconnect, but a discontinuation in metrics logging.
124 // Numeric reason for disconnecting as defined in metrics.h
147 // Media timer in milliseconds.
150 // Media timer in milliseconds.
153 // Media timer in milliseconds.
168 // Total audio time in this A2DP session
171 // Audio codec used in this A2DP session in A2DP source role
[all …]
/tools/asuite/atest/bazel/
Datest_bazel_mode.md5 what we call Atest Standard Mode in this document.
11 that requires a device is still work in progress.
82 * In Atest Standard Mode, user can view detailed test case result in the
83 terminal, while in Bazel Mode only test target result is showing. For test case
91 file path or package name, while in Bazel Mode, we only support module name
92 currently. Supporting flexible test finder is work in progress.
93 * In Atest Standard Mode, test logs are saved under ```/tmp/atest_result```, while in
99 ### 1. Why my test failed with "error: Read-only file system" in the test log?
106 allows all read access to "/" since it mounted "/" as readable in the sandbox.
114 ### 2. Why I got "Too many levels of symbolic links" while reading files in Bazel Mode?
[all …]
/tools/treble/split/
DREADME.md7 the target, it shouldn't be in the split manifest. This smaller manifest can be
15 can, but some will be missed due to implicit dependencies in the build system
24 completed build in order to have a full view of the dependency graph. While the
59 1. Initialize a new repo directory using the steps in
69 by now-removed projects. These dependencies may be implicit in the source code,
73 1. Find the dependency source project in your full-manifest repo directory.
76 - For example, the following line in `sample_config.xml` in this tool
77 directory specifies a project that should be included in the split
85 1. Regenerate the split manifest using `treble_manifest_split` in your
91 A successful build alone is not sufficient to have full confidence in the split
[all …]

123456789