/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/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerTest.java | 76 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/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/tradefederation/core/src/com/android/tradefed/util/ |
D | SerializationUtil.java | 88 ObjectInputStream in = null; in deserialize() local 91 in = new ObjectInputStream(bais); in deserialize() 92 return in.readObject(); in deserialize() 96 StreamUtil.close(in); in deserialize() 111 ObjectInputStream in = null; in deserialize() local 114 in = new ObjectInputStream(fileIn); in deserialize() 115 return in.readObject(); in deserialize() 119 StreamUtil.close(in); in deserialize()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
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_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 | 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/loganalysis/tests/src/com/android/loganalysis/item/ |
D | MonkeyLogItemTest.java | 48 assertTrue(in("category1", categories)); in testToJson() 49 assertTrue(in("category2", categories)); in testToJson() 54 assertTrue(in("package1", packages)); in testToJson() 55 assertTrue(in("package2", packages)); in testToJson() 56 assertTrue(in("package3", packages)); in testToJson() 59 private boolean in(String value, JSONArray array) throws JSONException { in in() method in MonkeyLogItemTest
|
/tools/test/connectivity/acts/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/tradefederation/core/tests/res/testtype/ |
D | python_subtest_output.txt | 8 File "/tmp/example_test.py", line 39, in test_with_more_failing_subtests 16 File "/tmp/example_test.py", line 41, in test_with_more_failing_subtests 24 File "/tmp/example_test.py", line 27, in test_with_some_failing_subtests 32 File "/tmp/example_test.py", line 31, in test_with_some_failing_subtests 37 Ran 4 tests in 0.001s
|
/tools/test/connectivity/acts/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 …]
|
/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/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 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 …]
|
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/tradefederation/core/proto/ |
D | configuration_description.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 23 // Representation of the metadata attributes in a similar way as MultiMap in 41 // Representation of a Tradefed Configuration Descriptor in proto format. 51 // Whether we are currently running the configuration in sandbox mode or not. 53 // The module name if running in a suite.
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpMultipartPost.java | 81 FileInputStream in = new FileInputStream(file); in addTextFile() local 84 addTextFile(name, fileName, in); in addTextFile() 86 in.close(); in addTextFile() 98 public void addTextFile(String name, String fileName, InputStream in) in addTextFile() argument 108 mBuilder.append(StreamUtil.getStringFromStream(in)); in addTextFile()
|
/tools/test/connectivity/acts/tests/google/tel/config/ |
D | README.md | 2 …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 - **phone_call_iteration** - The number of calls to be placed in TelLiveStressCallTest 13 …- **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/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/asuite/asuite_plugin/ |
D | README.md | 14 **Debug in IntelliJ:** Edit configurations -> use `+` to add a Gradle configuration -> fill 20 **Quick run in IntelliJ sandbox:** `$./gradlew :runIde` 25 2. Fill in the test module. 29 3. Click Run, the test result will be shown in Atest tool window.
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
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/test/connectivity/acts/tests/google/wifi/rtt/ |
D | README.md | 4 the Wi-Fi RTT (IEEE 802.11mc) implementation in Android. 6 There are 2 groups of tests (in 2 sub-directories): 12 especially in an over-the-air situation, pass/fail criteria are either 19 Where a test file is any of the `.py` files in any of the test sub-directories. 40 The test configuration, the `<config>` in the commands above, is stored in 51 configuration of the AP used in the test. 52 * **rtt_reference_distance_mm**: The reference distance, in mm, between the test device and the test
|
/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/carrier_settings/ |
D | README | 3 AOSP default carrier configs can be found in packages/apps/CarrierConfig, 4 and APNs in device/sample/etc/apns-full-conf.xml. 16 in bin/README.md run it on Android 10.
|
/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 …]
|