Home
last modified time | relevance | path

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

1234567

/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/test/connectivity/tools/lab/
DREADME.md1 This folder contains tools to be used in the testing lab.
3 NOTE: The config.json file in this folder contains random values - for the full
4 config file, look at the corresponding folder in google3
17 hash: hash of keys in $ADB_VENDOR_KEYS (string)
21 total: total space in 1k blocks (int)
22 used: total used in 1k blocks (int)
23 avail: total available in 1k blocks (int)
35 in the previous lists
37 total: total physical RAM available in KB (int)
38 used: total RAM used by system in KB (int)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java76 BufferedReader in = new BufferedReader(new InputStreamReader(data)); in testProcessClientOperations_invalidAction() local
79 mRemoteManager.processClientOperations(in, pw); in testProcessClientOperations_invalidAction()
95 BufferedReader in = new BufferedReader(new InputStreamReader(data)); in testProcessClientOperations_initHandover() local
98 mRemoteManager.processClientOperations(in, pw); in testProcessClientOperations_initHandover()
114 BufferedReader in = new BufferedReader(new InputStreamReader(data)); in testProcessClientOperations_addCommand() local
117 mRemoteManager.processClientOperations(in, pw); in testProcessClientOperations_addCommand()
130 BufferedReader in = new BufferedReader(new InputStreamReader(data)); in testProcessClientOperations_addCommand_fail() local
133 mRemoteManager.processClientOperations(in, pw); in testProcessClientOperations_addCommand_fail()
148 BufferedReader in = new BufferedReader(new InputStreamReader(data)); in testProcessClientOperations_addCommand_config() local
151 mRemoteManager.processClientOperations(in, pw); in testProcessClientOperations_addCommand_config()
[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 somple 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
29 This builds a binary distribution in `../../out/host/common/install/metalava/bin/metalava`.
71 * Compatibility with doclava1: in compat mode, metalava spits out the same
74 * Ability to read in an existing android.jar file instead of from source, which
76 new formats (e.g. to fix past errors in doclava, such as annotation instance
79 * Ability to merge in data (annotations etc) from external sources, such as
84 * Support for an updated signature file format (which is described in FORMAT.md)
86 * Address errors in the doclava1 format which for example was missing
92 modifiers in the canonical modifier order, using "extends" instead of
[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
54 can execute arbitrary code in the context of a debuggable
62 --lineage Signing certificate history to use in the event that
67 APK must be present in the signing lineage,
69 entry in the lineage must have a signer provided, so that
[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.
28 This option is required for each signer to be modified in the provided SigningCertificateLineage.
34 To modify the capabilities of a previous signer in the lineage the signer's
37 (2) private key file in PKCS #8 format and certificate file in X.509 format
41 used in some situations on the platform even though the APK is now being signed
54 stored in the KeyStore. This must be specified if the
60 env:<name> password provided in the named
[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
57 stored in the KeyStore. This must be specified if the
63 env:<name> password provided in the named
[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/tests/google/tel/config/
DREADME.md2 …erences from other ACTS configs that require additional keys to be defined in order to run nearly …
6 …a SIM card config file, which is needed in the event that the MSISDN/MDN is not programmed onto SI…
7 …ns run by "stress" tests. (Tests that require this always have the word "stress" in the test name).
8 …nty, this key specifies a maximum number of re-runs that will be performed in the event of a test …
12 …e/2g/wfc)** - The maximum amount of power in mW that can be used in steady state during calling po…
13 …lte/2g/wfc)** - The maximum amount of power in mW that can be used in steady state during idle pow…
15 - **phone_call_iteration** - The number of calls to be placed in TelLiveStressCallTest
16 …- **call_server_number** - the POTS telephone number of a call server used in TelLiveStressCallTest
/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/test/connectivity/acts/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/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/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/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/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/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/framework/acts/test_utils/bt/
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/repohooks/tools/
Dpylintrc4 # you may not use this file except in compliance with the License.
9 # Unless required by applicable law or agreed to in writing, software
53 # operator. Joining a lot of strings can lead to a maximum recursion error in
72 # option multiple times (only on the command line, not in the configuration
107 # Put messages in a separate file for each module / package specified on the
109 # written in a file name "pylint_global.[txt|html]".
144 # Tells whether missing members accessed in mixin class should be ignored. A
177 # Tells whether to store unknown words to indicated private dictionary in
184 # Logging modules to check that the string format arguments are in logging
191 # Tells whether we should check for unused import in __init__ files.
[all …]
/tools/repohooks/
DREADME.md40 These are the manifest-wide defaults and can be located in two places:
42 Simply check this in to the manifest git repo and you're done.
52 This file are checked in the top of a specific git repository. Stacking them
53 in subdirectories (to try and override parent settings) is not supported.
76 Hooks are executed in the top directory of the git repository. All paths should
88 branch. This is typically latest commit in the remote-tracking branch.
135 some_dog = tool --no-cat-in-commit-message ${PREUPLOAD_COMMIT_MESSAGE}
158 * `android_test_mapping_format`: Validate TEST_MAPPING files in Android source
162 files match in a specific commit, then the hook will be skipped for that commit.
175 here will be passed directly to the linter in question. This will completely
[all …]
/tools/external/fat32lib/
DNOTICE17 …cense or the ordinary General Public License is the better strategy to use in any particular case,…
19 …t it if you want it; that you can change the software and use pieces of it in new free programs; a…
29 …a version of the library must be consistent with the full freedom of use specified in this license.
31 …ordinary General Public License. We use this license for certain libraries in order to permit link…
35 …icense for many libraries. However, the Lesser license provides advantages in certain special circ…
39 …ary in non-free programs enables a greater number of people to use a large body of free software. …
43 …ode derived from the library, whereas the latter must be combined with the library in order to run.
51 …another language. (Hereinafter, translation is included without limitation in the term "modificati…
55 …stitute a work based on the Library (independent of the use of the Library in a tool for writing i…
57 …e verbatim copies of the Library's complete source code as you receive it, in any medium, provided…
[all …]

1234567