Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 23 of 23) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DSaProposal.java409 protected static boolean isAead(@EncryptionAlgorithm int algorithm) { in isAead() argument
410 switch (algorithm) { in isAead()
438 @EncryptionAlgorithm int algorithm, int keyLength) { in validateAndAddEncryptAlgo()
441 EncryptionTransform encryptionTransform = new EncryptionTransform(algorithm, keyLength); in validateAndAddEncryptAlgo()
444 boolean isCurrentAead = isAead(algorithm); in validateAndAddEncryptAlgo()
456 protected void addIntegrityAlgo(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgo() argument
459 mProposedIntegrityAlgos.add(new IntegrityTransform(algorithm)); in addIntegrityAlgo()
493 public static boolean isSupportedEncryptionAlgorithm(@EncryptionAlgorithm int algorithm) { in isSupportedEncryptionAlgorithm() argument
494 return SUPPORTED_ENCRYPTION_ALGO_TO_STR.get(algorithm) != null; in isSupportedEncryptionAlgorithm()
504 public static boolean isSupportedPseudorandomFunction(@PseudorandomFunction int algorithm) { in isSupportedPseudorandomFunction() argument
[all …]
DIkeSaProposal.java133 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument
134 validateAndAddEncryptAlgo(algorithm, keyLength); in addEncryptionAlgorithm()
145 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm() argument
146 addIntegrityAlgo(algorithm); in addIntegrityAlgorithm()
169 public Builder addPseudorandomFunction(@PseudorandomFunction int algorithm) { in addPseudorandomFunction() argument
171 mProposedPrfs.add(new PrfTransform(algorithm)); in addPseudorandomFunction()
DChildSaProposal.java145 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument
146 validateAndAddEncryptAlgo(algorithm, keyLength); in addEncryptionAlgorithm()
157 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm() argument
158 addIntegrityAlgo(algorithm); in addIntegrityAlgorithm()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java59 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()
DCredentialHelper.java238 void setPrivateKey(String algorithm, byte[] bytes) { in setPrivateKey() argument
240 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); in setPrivateKey()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactMatcher.java194 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()
DRawContactMatcher.java192 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/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java98 @Override public int generateKeyPair(String algorithm, ParcelableKeyGenParameterSpec spec)
101 return keyChainService.generateKeyPair(algorithm, spec);
DIKeyChainServiceTestSupport.aidl43 int generateKeyPair(in String algorithm, in ParcelableKeyGenParameterSpec spec); in generateKeyPair() argument
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md174algorithm is said to be an in situ algorithm, or in-place algorithm, if the extra amount of memory…
Dinternals.md234 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/KeyChain/src/com/android/keychain/
DKeyChainService.java177 String algorithm, ParcelableKeyGenParameterSpec parcelableSpec) {
183 alias, algorithm));
210 algorithm, "AndroidKeyStore");
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java709 String algorithm = "HmacSHA256"; in obfuscateInJava() local
711 Mac hmac256 = Mac.getInstance(algorithm); in obfuscateInJava()
712 hmac256.init(new SecretKeySpec(key, algorithm)); in obfuscateInJava()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java879 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) { in matchAllCandidates() argument
895 nameType, name, algorithm); in matchAllCandidates()
DContactAggregator2.java753 MatchCandidateList candidates, RawContactMatcher matcher, int algorithm, String limit) { in matchAllCandidates() argument
771 candidate.mName, nameType, name, algorithm); in matchAllCandidates()
DAbstractContactAggregator.java1235 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) { in matchAllCandidates() argument
1251 nameType, name, algorithm); in matchAllCandidates()
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses11000 NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994. See
11003 the algorithm.
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...