Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpSecTransform.java361 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() argument
363 Preconditions.checkNotNull(algo); in setEncryption()
364 mConfig.setEncryption(algo); in setEncryption()
376 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() argument
378 Preconditions.checkNotNull(algo); in setAuthentication()
379 mConfig.setAuthentication(algo); in setAuthentication()
397 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() argument
398 Preconditions.checkNotNull(algo); in setAuthenticatedEncryption()
399 mConfig.setAuthenticatedEncryption(algo); in setAuthenticatedEncryption()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java316 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {CRYPT_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsAuth()
319 config.setAuthentication(algo); in testValidateAlgorithmsAuth()
335 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, AEAD_ALGO}) { in testValidateAlgorithmsCrypt()
338 config.setEncryption(algo); in testValidateAlgorithmsCrypt()
354 for (IpSecAlgorithm algo : new IpSecAlgorithm[] {AUTH_ALGO, CRYPT_ALGO}) { in testValidateAlgorithmsAead()
357 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.cpp1895 compression->algo, compression->settings_len); in initTrackInfo()
1896 if (compression->algo == 3 in initTrackInfo()