Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpSecTransform.java358 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() argument
360 Preconditions.checkNotNull(algo); in setEncryption()
361 mConfig.setEncryption(algo); in setEncryption()
373 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() argument
375 Preconditions.checkNotNull(algo); in setAuthentication()
376 mConfig.setAuthentication(algo); in setAuthentication()
394 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() argument
395 Preconditions.checkNotNull(algo); in setAuthenticatedEncryption()
396 mConfig.setAuthenticatedEncryption(algo); in setAuthenticatedEncryption()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java309 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {CRYPT_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsAuth()
312 config.setAuthentication(algo); in testValidateAlgorithmsAuth()
328 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsCrypt()
331 config.setEncryption(algo); in testValidateAlgorithmsCrypt()
347 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, CRYPT_ALGO}) { in testValidateAlgorithmsAead()
350 config.setAuthenticatedEncryption(algo); in testValidateAlgorithmsAead()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java253 private static byte[] getCertHash(Signature signature, String algo) { in getCertHash() argument
255 MessageDigest md = MessageDigest.getInstance(algo); in getCertHash()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1360 compression->algo, compression->settings_len); in initTrackInfo()
1361 if (compression->algo == 3 in initTrackInfo()