Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecTransform.java291 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() argument
293 Objects.requireNonNull(algo); in setEncryption()
294 mConfig.setEncryption(algo); in setEncryption()
306 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() argument
308 Objects.requireNonNull(algo); in setAuthentication()
309 mConfig.setAuthentication(algo); in setAuthentication()
327 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() argument
328 Objects.requireNonNull(algo); in setAuthenticatedEncryption()
329 mConfig.setAuthenticatedEncryption(algo); in setAuthenticatedEncryption()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DSaProposalTest.java246 for (int algo : integrityAlgos) { in buildIkeSaProposal()
247 builder.addIntegrityAlgorithm(algo); in buildIkeSaProposal()
249 for (int algo : prfs) { in buildIkeSaProposal()
250 builder.addPseudorandomFunction(algo); in buildIkeSaProposal()
257 for (int algo : dhGroups) { in buildIkeSaProposal()
258 if (algo != DH_GROUP_1024_BIT_MODP || !preferModp1024) { in buildIkeSaProposal()
259 builder.addDhGroup(algo); in buildIkeSaProposal()
296 for (int algo : integrityAlgos) { in buildChildSaProposal()
297 builder.addIntegrityAlgorithm(algo); in buildChildSaProposal()
299 for (int algo : dhGroups) { in buildChildSaProposal()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSaProposal.java101 for (int algo : integrityAlgoIdArray) { in fromPersistableBundle()
102 builder.addIntegrityAlgorithm(algo); in fromPersistableBundle()
146 for (int algo : getKeySet(SUPPORTED_INTEGRITY_ALGO_TO_STR)) { in getSupportedIntegrityAlgorithms()
147 if (algo == INTEGRITY_ALGORITHM_AES_CMAC_96 && !SdkLevel.isAtLeastS()) { in getSupportedIntegrityAlgorithms()
150 supportedSet.add(algo); in getSupportedIntegrityAlgorithms()
161 for (int algo : getKeySet(SUPPORTED_PRF_TO_STR)) { in getSupportedPseudorandomFunctions()
162 if (algo == PSEUDORANDOM_FUNCTION_AES128_CMAC && !SdkLevel.isAtLeastS()) { in getSupportedPseudorandomFunctions()
165 supportedSet.add(algo); in getSupportedPseudorandomFunctions()
DChildSaProposal.java124 for (int algo : integrityAlgoIdArray) { in fromPersistableBundle()
125 builder.addIntegrityAlgorithm(algo); in fromPersistableBundle()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSaProposal.java285 for (int algo : VALID_ENCRYPTION_ALGOS) { in getSupportedEncryptionAlgos()
287 encrAlgos[index++] = new Pair(algo, len); in getSupportedEncryptionAlgos()
311 for (int algo : VALID_AEAD_ALGOS) { in getSupportedAeadAlgos()
313 aeadAlgos[index++] = new Pair(algo, len); in getSupportedAeadAlgos()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java321 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {CRYPT_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsAuth()
324 config.setAuthentication(algo); in testValidateAlgorithmsAuth()
340 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsCrypt()
343 config.setEncryption(algo); in testValidateAlgorithmsCrypt()
359 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, CRYPT_ALGO}) { in testValidateAlgorithmsAead()
362 config.setAuthenticatedEncryption(algo); in testValidateAlgorithmsAead()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrityTest.java214 IpSecAlgorithm algo = mAes128XCbcIntgerityMac.buildIpSecAlgorithmWithKey(keyBytes); in testBuildIpSecAlgorithmFromAuthAes128XCbcMac() local
215 assertEquals(AUTH_AES_XCBC, algo.getName()); in testBuildIpSecAlgorithmFromAuthAes128XCbcMac()
216 assertArrayEquals(keyBytes, algo.getKey()); in testBuildIpSecAlgorithmFromAuthAes128XCbcMac()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarController.java52 SearchAlgorithm<WidgetsListBaseEntry> algo, ExtendedEditText editText, in WidgetsSearchBarController() argument
54 mSearchAlgorithm = algo; in WidgetsSearchBarController()
/packages/modules/Virtualization/libs/devicemapper/src/
Dverity.rs99 pub fn hash_algorithm(&mut self, algo: DmVerityHashAlgorithm) -> &mut Self { in hash_algorithm()
100 self.hash_algorithm = algo; in hash_algorithm()
/packages/modules/Virtualization/libs/apkverify/src/
Dv3.rs119 .filter(|sig| sig.signature_algorithm_id.map_or(false, |algo| algo.is_supported())) in strongest_signature()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTest.java834 for (String algo : supportedAlgos) {
835 assertTrue("Found invalid algo " + algo, algoToRequiredMinSdk.keySet().contains(algo));
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java2081 for (short algo : IkeAuthDigitalSignPayload.ALL_SIGNATURE_ALGO_TYPES) { in verifyIkeSaNegotiationResult()
2082 expectedHashAlgos.add(algo); in verifyIkeSaNegotiationResult()
3325 for (short algo : IkeAuthDigitalSignPayload.ALL_SIGNATURE_ALGO_TYPES) { in testCreateIkeLocalIkeAuthGenericDigitalSignature()
3326 hashAlgos.add(algo); in testCreateIkeLocalIkeAuthGenericDigitalSignature()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...