/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
D | InputStreamBerDataValueReader.java | 31 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/ |
D | rfc2460.txt | 97 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/ |
D | FORMAT.md | 13 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 …]
|
D | README.md | 11 (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 This builds a binary distribution in `../../out/host/common/install/metalava/bin/metalava`. 74 * Compatibility with doclava1: in compat mode, metalava spits out the same 77 * Ability to read in an existing android.jar file instead of from source, which 79 new formats (e.g. to fix past errors in doclava, such as annotation instance 82 * Ability to merge in data (annotations etc) from external sources, such as 87 * Support for an updated signature file format (which is described in FORMAT.md) 89 * Address errors in the doclava1 format which for example was missing 95 modifiers in the canonical modifier order, using "extends" instead of [all …]
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_sign.txt | 12 --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 67 can execute arbitrary code in the context of a debuggable 75 --lineage Signing certificate history to use in the event that [all …]
|
D | PasswordRetriever.java | 156 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 …]
|
D | help_lineage.txt | 3 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 …]
|
D | help_rotate.txt | 4 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/ |
D | descriptor.proto | 5 // 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/ |
D | plugin.proto | 5 // 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/ |
D | Resources.java | 46 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/ |
D | LICENSE | 5 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/ |
D | SM_PTS_INSTRUCTIONS | 4 # 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 …]
|
D | GAP_PTS_INSTRUCTIONS | 4 # 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/ |
D | NOTICE | 5 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/ |
D | LICENSE | 36 "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/ |
D | LICENSE | 36 "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/treble/ |
D | LICENSE | 36 "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/ |
D | LICENSE | 36 "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/tests/google/wifi/aware/ |
D | README.md | 4 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/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/ |
D | bluetooth.proto | 5 * 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/treble/split/ |
D | README.md | 7 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 …]
|
/tools/external/fat32lib/ |
D | NOTICE | 17 …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 …]
|
/tools/repohooks/tools/ |
D | pylintrc | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 60 # operator. Joining a lot of strings can lead to a maximum recursion error in 134 unpacking-in-except, 142 # option multiple times (only on the command line, not in the configuration 179 # Put messages in a separate file for each module / package specified on the 181 # written in a file name "pylint_global.[txt|html]". 219 # Tells whether missing members accessed in mixin class should be ignored. A 252 # Tells whether to store unknown words to indicated private dictionary in 259 # Logging modules to check that the string format arguments are in logging [all …]
|
/tools/repohooks/ |
D | README.md | 40 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 is checked in the top of a specific git repository. Stacking them 53 in subdirectories (to try and override parent settings) is not supported. 79 Hooks are executed in the top directory of the git repository. All paths should 91 branch. This is typically latest commit in the remote-tracking branch. 152 Whitespace in the key name is OK! 165 some dog = tool --no-cat-in-commit-message ${PREUPLOAD_COMMIT_MESSAGE} 174 * `android_test_mapping_format`: Validate TEST_MAPPING files in Android source 189 `Relnote:` field in the commit message. [all …]
|