/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | PairTest.java | 27 Pair<Object, Object> p1 = Pair.create(obj1, obj1); in testPairs() 32 Pair<Object, Object> p2 = null; in testPairs() 36 p1 = Pair.create(null, null); in testPairs() 37 p2 = Pair.create(null, null); in testPairs() 44 p1 = Pair.create(null, new Object()); in testPairs() 45 p2 = Pair.create(null, new Object()); in testPairs() 49 p1 = Pair.create(null, obj1); in testPairs() 50 p2 = Pair.create(null, obj1); in testPairs() 55 p1 = Pair.create(obj1, obj2); in testPairs() 56 p2 = Pair.create(obj1, obj2); in testPairs() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | SignatureAlgorithm.java | 20 import com.android.apksig.internal.util.Pair; 38 Pair.of("SHA256withRSA/PSS", 51 Pair.of( 62 Pair.of("SHA256withRSA", null), 70 Pair.of("SHA512withRSA", null), 78 Pair.of("SHA256withECDSA", null), 86 Pair.of("SHA512withECDSA", null), 94 Pair.of("SHA256withDSA", null), 106 Pair.of("SHA256withRSA", null), 118 Pair.of("SHA256withECDSA", null), [all …]
|
D | ApkSigningBlockUtils.java | 26 import com.android.apksig.internal.util.Pair; 599 List<Pair<Integer, byte[]>> sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes() 601 for (Pair<Integer, byte[]> element : sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes() 606 for (Pair<Integer, byte[]> element : sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes() 665 public static Pair<DataSource, Integer> generateApkSigningBlockPadding( in generateApkSigningBlockPadding() 681 return Pair.of(beforeCentralDir, padSizeBeforeSigningBlock); in generateApkSigningBlockPadding() 700 List<Pair<byte[], Integer>> apkSignatureSchemeBlockPairs) { in generateApkSigningBlock() 712 for (Pair<byte[], Integer> schemeBlockPair : apkSignatureSchemeBlockPairs) { in generateApkSigningBlock() 742 for (Pair<byte[], Integer> schemeBlockPair : apkSignatureSchemeBlockPairs) { in generateApkSigningBlock() 774 public static Pair<List<SignerConfig>, Map<ContentDigestAlgorithm, byte[]>> [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | Pair.java | 23 public class Pair<A, B> { class 27 public Pair(A first, B second) { in Pair() method in Pair 37 if (!(o instanceof Pair)) { in equals() 41 final Pair<?, ?> pair = (Pair<?, ?>) o; in equals() 76 public static <A, B> Pair<A, B> create(A a, B b) { in create() 77 return new Pair<A, B> (a, b); in create()
|
/tools/apksig/src/main/java/com/android/apksig/apk/ |
D | ApkUtils.java | 21 import com.android.apksig.internal.util.Pair; 54 Pair<ByteBuffer, Long> eocdAndOffsetInFile = in findZipSections() 399 private static final Pair<Character, Integer>[] SORTED_CODENAMES_FIRST_CHAR_TO_API_LEVEL = 400 new Pair[] { 401 Pair.of('C', 2), 402 Pair.of('D', 3), 403 Pair.of('E', 4), 404 Pair.of('F', 7), 405 Pair.of('G', 8), 406 Pair.of('H', 10), [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | Pair.java | 22 public final class Pair<A, B> { class 26 private Pair(A first, B second) { in Pair() method in Pair 31 public static <A, B> Pair<A, B> of(A first, B second) { in of() 32 return new Pair<A, B>(first, second); in of() 64 Pair other = (Pair) obj; in equals()
|
D | ChainedDataSource.java | 76 Pair<Integer, Long> firstSource = locateDataSource(offset); in getByteBuffer() 104 Pair<Integer, Long> firstSource = locateDataSource(offset); in slice() 118 Pair<Integer, Long> lastSource = locateDataSource(offset + size); in slice() 134 private Pair<Integer, Long> locateDataSource(long offset) { in locateDataSource() 138 return Pair.of(i, localOffset); in locateDataSource()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/ |
D | Metrics.java | 22 import com.android.tradefed.util.Pair; 32 private final MultiMap<Pair<TestDescription, String>, Double> mTestMetrics = new MultiMap<>(); 94 Pair<TestDescription, String> metricId = new Pair<>(testId, name); in addTestMetric() 121 for (Pair<TestDescription, String> id : mTestMetrics.keySet()) { in validate() 158 for (Pair<TestDescription, String> id : mTestMetrics.keySet()) { in crossValidate() 167 for (Pair<TestDescription, String> id : after.mTestMetrics.keySet()) { in crossValidate() 227 public MultiMap<Pair<TestDescription, String>, Double> getTestMetrics() { in getTestMetrics()
|
D | DetectRegression.java | 30 import com.android.tradefed.util.Pair; 151 Set<Pair<TestDescription, String>> testMetricsToCompare = in runRegressionDetection() 155 for (Pair<TestDescription, String> id : testMetricsToCompare) { in runRegressionDetection()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeSigner.java | 28 import com.android.apksig.internal.util.Pair; 141 public static Pair<byte[], Integer> generateApkSignatureSchemeV2Block( in generateApkSignatureSchemeV2Block() 149 Pair<List<SignerConfig>, in generateApkSignatureSchemeV2Block() 157 private static Pair<byte[], Integer> generateApkSignatureSchemeV2Block( in generateApkSignatureSchemeV2Block() 180 return Pair.of(encodeAsSequenceOfLengthPrefixedElements( in generateApkSignatureSchemeV2Block() 205 List<Pair<Integer, byte[]>> digests = in generateSignerBlock() 216 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock() 282 public List<Pair<Integer, byte[]>> signatures; 287 public List<Pair<Integer, byte[]>> digests;
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 30 import com.android.apksig.internal.util.Pair; 130 public static Pair<byte[], Integer> generateApkSignatureSchemeV3Block( in generateApkSignatureSchemeV3Block() 137 Pair<List<SignerConfig>, in generateApkSignatureSchemeV3Block() 144 private static Pair<byte[], Integer> generateApkSignatureSchemeV3Block( in generateApkSignatureSchemeV3Block() 166 return Pair.of(encodeAsSequenceOfLengthPrefixedElements( in generateApkSignatureSchemeV3Block() 190 List<Pair<Integer, byte[]>> digests = in generateSignerBlock() 201 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock() 311 public List<Pair<Integer, byte[]>> signatures; 316 public List<Pair<Integer, byte[]>> digests;
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | i6s_headset.py | 35 Pair = "Pair" variable in Buttons 54 self.relays[Buttons.Pair.value].set_no_for(PAIRING_MODE_WAIT_TIME) 68 self.relays[Buttons.Pair.value].set_no_for(PAIRING_MODE_WAIT_TIME)
|
D | logitech_headset.py | 32 Pair = "Pair" variable in Buttons 66 self.relays[Buttons.Pair.value].set_nc()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 34 import com.android.apksig.internal.util.Pair; 240 public static List<Pair<String, byte[]>> sign( in sign() 272 public static List<Pair<String, byte[]>> signManifest( in signManifest() 285 List<Pair<String, byte[]>> signatureJarEntries = in signManifest() 304 signatureJarEntries.add(Pair.of("META-INF/" + signerName + ".SF", sfBytes)); in signManifest() 310 Pair.of(signatureBlockFileName, signatureBlock)); in signManifest() 312 signatureJarEntries.add(Pair.of(MANIFEST_ENTRY_NAME, manifest.contents)); in signManifest() 507 Pair<String, AlgorithmIdentifier> signatureAlgs = in generateSignatureBlock() 613 private static Pair<String, AlgorithmIdentifier> getSignerInfoSignatureAlgorithm( in getSignerInfoSignatureAlgorithm() 629 return Pair.of( in getSignerInfoSignatureAlgorithm() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 19 import com.android.apksig.internal.util.Pair; 112 public static Pair<ByteBuffer, Long> findZipEndOfCentralDirectoryRecord(DataSource zip) in findZipEndOfCentralDirectoryRecord() 132 Pair<ByteBuffer, Long> result = findZipEndOfCentralDirectoryRecord(zip, 0); in findZipEndOfCentralDirectoryRecord() 155 private static Pair<ByteBuffer, Long> findZipEndOfCentralDirectoryRecord( in findZipEndOfCentralDirectoryRecord() 192 return Pair.of(eocd, bufOffsetInFile + eocdOffsetInBuf); in findZipEndOfCentralDirectoryRecord()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/metricregression/ |
D | MetricsTest.java | 25 import com.android.tradefed.util.Pair; 70 mMetrics.getTestMetrics().get(new Pair<>(id1, "metric1"))); in testAddTestMetrics() 73 mMetrics.getTestMetrics().get(new Pair<>(id2, "metric1"))); in testAddTestMetrics() 76 mMetrics.getTestMetrics().get(new Pair<>(id2, "metric2"))); in testAddTestMetrics()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 33 import kotlin.Pair; 138 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseClass() 282 …private static Pair<String, List<String>> processKotlinTypeSuffix(TextCodebase api, String token, … in processKotlinTypeSuffix() 299 return new Pair<>(token, annotations); in processKotlinTypeSuffix() 302 …private static Pair<String, List<String>> getAnnotations(Tokenizer tokenizer, String token) throws… in getAnnotations() 334 return new Pair<>(token, annotations); in getAnnotations() 352 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseConstructor() 434 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseMethod() 509 … Pair<String, List<String>> kotlinTypeSuffix = processKotlinTypeSuffix(api, token, annotations); in parseMethod() 572 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseField() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bluetooth.proto | 18 // Session information that gets logged for every Pair event. 149 // Pair event time
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 28 import com.android.apksig.internal.util.Pair; 252 List<Pair<Integer, byte[]>> signatures = in spawnDescendant()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTestHelper.java | 22 import com.android.tradefed.util.Pair; 320 final Pair<Result, String> result = AudioLoopbackImageAnalyzer.analyzeImage(screenshot); in addTestData()
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | bluez_test_utils.py | 275 self.device_interface.Pair()
|