Searched refs:algo (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/vcn/util/ |
D | MtuUtils.java | 122 final int algo = encryptionAlgoPair.first; in getMtu() local 124 if (AUTHCRYPT_ALGORITHM_OVERHEAD.containsKey(algo)) { in getMtu() 126 max(maxAuthCryptOverhead, AUTHCRYPT_ALGORITHM_OVERHEAD.get(algo)); in getMtu() 128 } else if (CRYPT_ALGORITHM_OVERHEAD.containsKey(algo)) { in getMtu() 129 maxCryptOverhead = max(maxCryptOverhead, CRYPT_ALGORITHM_OVERHEAD.get(algo)); in getMtu() 133 Slog.wtf(TAG, "Unknown encryption algorithm requested: " + algo); in getMtu() 137 for (int algo : proposal.getIntegrityAlgorithms()) { in getMtu() 138 if (AUTH_ALGORITHM_OVERHEAD.containsKey(algo)) { in getMtu() 139 maxAuthOverhead = max(maxAuthOverhead, AUTH_ALGORITHM_OVERHEAD.get(algo)); in getMtu() 143 Slog.wtf(TAG, "Unknown integrity algorithm requested: " + algo); in getMtu()
|
/frameworks/base/core/java/android/net/ |
D | IpSecTransform.java | 256 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() argument 258 Preconditions.checkNotNull(algo); in setEncryption() 259 mConfig.setEncryption(algo); in setEncryption() 271 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() argument 273 Preconditions.checkNotNull(algo); in setAuthentication() 274 mConfig.setAuthentication(algo); in setAuthentication() 292 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() argument 293 Preconditions.checkNotNull(algo); in setAuthenticatedEncryption() 294 mConfig.setAuthenticatedEncryption(algo); in setAuthenticatedEncryption()
|
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | ChildSaProposalUtils.java | 61 for (int algo : integrityAlgoIdArray) { in fromPersistableBundle() 62 builder.addIntegrityAlgorithm(algo); in fromPersistableBundle()
|
D | IkeSaProposalUtils.java | 69 for (int algo : integrityAlgoIdArray) { in fromPersistableBundle() 70 builder.addIntegrityAlgorithm(algo); in fromPersistableBundle()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 301 for (String algo : Arrays.asList(values[19].split(LIST_DELIMITER))) { in decode() 302 profile.mAllowedAlgorithms.add(URLDecoder.decode(algo, DEFAULT_ENCODING)); in decode() 358 for (String algo : mAllowedAlgorithms) { in encode() 359 encodedAlgoNames.add(URLEncoder.encode(algo, DEFAULT_ENCODING)); in encode()
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobHandle.java | 297 final String algo = XmlUtils.readStringAttribute(in, ATTR_ALGO); in createFromXml() local 303 return BlobHandle.create(algo, digest, label, expiryTimeMs, tag); in createFromXml()
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 338 public static byte[] getCertHash(Signature signature, String algo) { in getCertHash() argument 340 MessageDigest md = MessageDigest.getInstance(algo); in getCertHash()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 729 final String algo = getMessageDigestAlgoForChecksumKind(type); in getApkChecksum() local 730 MessageDigest md = MessageDigest.getInstance(algo); in getApkChecksum()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1903 compression->algo, compression->settings_len); in initTrackInfo() 1904 if (compression->algo == 3 in initTrackInfo()
|