| /packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
| D | SaProposal.java | 503 protected static boolean isAead(@EncryptionAlgorithm int algorithm) { in isAead() argument 504 switch (algorithm) { in isAead() 536 @EncryptionAlgorithm int algorithm, int keyLength, boolean isChild) { in validateAndAddEncryptAlgo() 539 EncryptionTransform encryptionTransform = new EncryptionTransform(algorithm, keyLength); in validateAndAddEncryptAlgo() 543 && !ChildSaProposal.getSupportedEncryptionAlgorithms().contains(algorithm)) { in validateAndAddEncryptAlgo() 544 throw new IllegalArgumentException("Unsupported encryption algorithm " + algorithm); in validateAndAddEncryptAlgo() 548 boolean isCurrentAead = isAead(algorithm); in validateAndAddEncryptAlgo() 561 @IntegrityAlgorithm int algorithm, boolean isChild) { in validateAndAddIntegrityAlgo() 563 if (isChild && !ChildSaProposal.getSupportedIntegrityAlgorithms().contains(algorithm)) { in validateAndAddIntegrityAlgo() 564 throw new IllegalArgumentException("Unsupported integrity algorithm " + algorithm); in validateAndAddIntegrityAlgo() [all …]
|
| D | IkeSaProposal.java | 249 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument 250 validateAndAddEncryptAlgo(algorithm, keyLength, false /* isChild */); in addEncryptionAlgorithm() 264 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm() argument 265 validateAndAddIntegrityAlgo(algorithm, false /* isChild */); in addIntegrityAlgorithm() 291 public Builder addPseudorandomFunction(@PseudorandomFunction int algorithm) { in addPseudorandomFunction() argument 293 mProposedPrfs.add(new PrfTransform(algorithm)); in addPseudorandomFunction()
|
| D | ChildSaProposal.java | 305 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument 306 validateAndAddEncryptAlgo(algorithm, keyLength, true /* isChild */); in addEncryptionAlgorithm() 320 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm() argument 321 validateAndAddIntegrityAlgo(algorithm, true /* isChild */); in addIntegrityAlgorithm()
|
| /packages/apps/CertInstaller/src/com/android/certinstaller/ |
| D | Util.java | 59 MessageDigest algorithm = MessageDigest.getInstance("MD5"); in toMd5() local 60 algorithm.reset(); in toMd5() 61 algorithm.update(bytes); in toMd5() 62 return toHexString(algorithm.digest(), ""); in toMd5()
|
| D | CredentialHelper.java | 236 void setPrivateKey(String algorithm, byte[] bytes) { in setPrivateKey() argument 238 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); in setPrivateKey()
|
| /packages/modules/Wifi/framework/java/android/net/wifi/ |
| D | ParcelUtil.java | 72 String algorithm = in.readString(); in readPrivateKey() local 73 if (algorithm == null) { in readPrivateKey() 79 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); in readPrivateKey()
|
| /packages/modules/StatsD/lib/libkll/proto/ |
| D | aggregator.proto | 36 // Computes approximate quantiles using the KLL algorithm. 55 // The type (= algorithm + implementation) of the aggregator. 72 // which holds the algorithm-specific state for the aggregator.
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
| D | ContactMatcher.java | 194 int nameType, String name, int algorithm) { in matchName() argument 205 if (algorithm == MATCHING_ALGORITHM_EXACT) { in matchName() 225 NameDistance nameDistance = algorithm == MATCHING_ALGORITHM_CONSERVATIVE ? in matchName()
|
| D | RawContactMatcher.java | 192 candidateNameType, String candidateName, int nameType, String name, int algorithm) { in matchName() argument 203 if (algorithm == MATCHING_ALGORITHM_EXACT) { in matchName() 223 NameDistance nameDistance = algorithm == MATCHING_ALGORITHM_CONSERVATIVE ? in matchName()
|
| /packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
| D | FakeKeys.java | 665 private static PrivateKey loadPrivateKey(String algorithm, byte[] fakeKey) { in loadPrivateKey() argument 667 KeyFactory kf = KeyFactory.getInstance(algorithm); in loadPrivateKey()
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
| D | FakeKeys.java | 932 private static PrivateKey loadPrivateKey(String algorithm, byte[] fakeKey) { in loadPrivateKey() argument 934 KeyFactory kf = KeyFactory.getInstance(algorithm); in loadPrivateKey()
|
| /packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
| D | KeyChainServiceTestSupport.java | 73 @Override public int generateKeyPair(String algorithm, ParcelableKeyGenParameterSpec spec) 76 return keyChainService.generateKeyPair(algorithm, spec);
|
| D | IKeyChainServiceTestSupport.aidl | 39 int generateKeyPair(in String algorithm, in ParcelableKeyGenParameterSpec spec); in generateKeyPair() argument
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
| D | dom.md | 174 …algorithm is said to be an in situ algorithm, or in-place algorithm, if the extra amount of memory…
|
| D | internals.md | 234 The naive algorithm for integer-to-string conversion involves division per each decimal digit. We h… 243 ) implemented a newer, fast algorithm called Grisu3 (Loitsch, Florian. "Printing floating-point num… 245 …eader-only so that we implemented a header-only version of Grisu2. This algorithm guarantees that …
|
| /packages/apps/Car/DebuggingRestrictionController/server/functions/ |
| D | index.js | 23 algorithm: 'RS256', property
|
| /packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
| D | IpSecBaseTest.java | 126 protected static boolean hasIpSecAlgorithm(String algorithm) { in hasIpSecAlgorithm() argument 128 return IpSecAlgorithm.getSupportedAlgorithms().contains(algorithm); in hasIpSecAlgorithm() 130 return MANDATORY_IPSEC_ALGOS_SINCE_P.contains(algorithm); in hasIpSecAlgorithm()
|
| /packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
| D | FrameParser.java | 621 short algorithm = data.getShort(); in parseAuthenticationFrame() local 624 switch (algorithm) { in parseAuthenticationFrame()
|
| /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
| D | AdapterServiceTest.java | 745 String algorithm = "HmacSHA256"; in obfuscateInJava() local 747 Mac hmac256 = Mac.getInstance(algorithm); in obfuscateInJava() 748 hmac256.init(new SecretKeySpec(key, algorithm)); in obfuscateInJava()
|
| /packages/apps/KeyChain/src/com/android/keychain/ |
| D | KeyChainService.java | 315 String algorithm, ParcelableKeyGenParameterSpec parcelableSpec) { 321 alias, algorithm)); 336 algorithm, "AndroidKeyStore");
|
| /packages/modules/SdkExtensions/ |
| D | README.md | 42 merging algorithm that determines the order of the classpath entries is
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
| D | ContactAggregator.java | 879 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) { in matchAllCandidates() argument 895 nameType, name, algorithm); in matchAllCandidates()
|
| D | ContactAggregator2.java | 753 MatchCandidateList candidates, RawContactMatcher matcher, int algorithm, String limit) { in matchAllCandidates() argument 771 candidate.mName, nameType, name, algorithm); in matchAllCandidates()
|
| D | AbstractContactAggregator.java | 1235 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) { in matchAllCandidates() argument 1251 nameType, name, algorithm); in matchAllCandidates()
|
| /packages/modules/Virtualization/microdroid/ |
| D | Android.bp | 284 "--algorithm SHA256_RSA4096 " +
|