Home
last modified time | relevance | path

Searched refs:algorithmName (Results 1 – 8 of 8) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacIntegrity.java68 String algorithmName, in IkeMacIntegrity() argument
71 super(algorithmId, keyLength, algorithmName, isJceSupported); in IkeMacIntegrity()
85 String algorithmName = ""; in create() local
94 algorithmName = "HmacSHA1"; in create()
100 algorithmName = ALGO_NAME_JCE_UNSUPPORTED; in create()
105 algorithmName = "AESCMAC"; in create()
110 algorithmName = "HmacSHA256"; in create()
115 algorithmName = "HmacSHA384"; in create()
120 algorithmName = "HmacSHA512"; in create()
129 algorithmId, keyLength, algorithmName, isJceSupported, checksumLength); in create()
DIkeMacPrf.java53 String algorithmName, in IkeMacPrf() argument
55 super(algorithmId, keyLength, algorithmName, isJceSupported); in IkeMacPrf()
68 String algorithmName = ""; in create() local
74 algorithmName = "HmacSHA1"; in create()
79 algorithmName = ALGO_NAME_JCE_UNSUPPORTED; in create()
83 algorithmName = "AESCMAC"; in create()
87 algorithmName = "HmacSHA256"; in create()
91 algorithmName = "HmacSHA384"; in create()
95 algorithmName = "HmacSHA512"; in create()
101 return new IkeMacPrf(algorithmId, keyLength, algorithmName, isJceSupported); in create()
DIkeNormalModeCipher.java45 IkeNormalModeCipher(int algorithmId, int keyLength, int ivLength, String algorithmName) { in IkeNormalModeCipher() argument
46 this(algorithmId, keyLength, ivLength, algorithmName, SALT_LEN_NOT_INCLUDED); in IkeNormalModeCipher()
51 int algorithmId, int keyLength, int ivLength, String algorithmName, int saltLen) { in IkeNormalModeCipher() argument
56 algorithmName, in IkeNormalModeCipher()
DIkeCombinedModeCipher.java54 int algorithmId, int keyLength, int ivLength, String algorithmName, int saltLen) { in IkeCombinedModeCipher() argument
55 this(algorithmId, keyLength, ivLength, algorithmName, saltLen, BLOCK_SIZE_NOT_SPECIFIED); in IkeCombinedModeCipher()
63 String algorithmName, in IkeCombinedModeCipher() argument
66 super(algorithmId, keyLength, ivLength, algorithmName, true /*isAead*/, saltLen, blockSize); in IkeCombinedModeCipher()
DIkeCrypto.java31 protected IkeCrypto(int algorithmId, int keyLength, String algorithmName) { in IkeCrypto() argument
34 mAlgorithmName = algorithmName; in IkeCrypto()
DIkeMac.java37 protected IkeMac(int algorithmId, int keyLength, String algorithmName, boolean isJceSupported) { in IkeMac() argument
38 super(algorithmId, keyLength, algorithmName); in IkeMac()
DIkeCipher.java88 String algorithmName, in IkeCipher() argument
92 super(algorithmId, keyLength, algorithmName); in IkeCipher()
/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImpl.java67 String algorithmName = defaultAlgorithm; in calculateScores() local
70 algorithmName = algorithms.get(categoryId); in calculateScores()
76 if (algorithmName == null || !(algorithmName.equals(DEFAULT_ALGORITHM) in calculateScores()
77 || algorithmName.equals(REQUIRED_ALGORITHM_EXACT_MATCH) in calculateScores()
78 || algorithmName.equals(REQUIRED_ALGORITHM_CREDIT_CARD))) { in calculateScores()
79 Log.w(TAG, "algorithmName is " + algorithmName + ", defaulting to " in calculateScores()
81 algorithmName = DEFAULT_ALGORITHM; in calculateScores()
85 if (algorithmName.equals(REQUIRED_ALGORITHM_EDIT_DISTANCE)) { in calculateScores()
88 } else if (algorithmName.equals(REQUIRED_ALGORITHM_EXACT_MATCH)) { in calculateScores()