/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStorePrivateKey.java | 28 public AndroidKeyStorePrivateKey(String alias, int uid, String algorithm) { argument 29 super(alias, uid, algorithm);
|
H A D | AndroidKeyStoreSecretKey.java | 28 public AndroidKeyStoreSecretKey(String alias, int uid, String algorithm) { argument 29 super(alias, uid, algorithm);
|
H A D | AndroidKeyStoreBCWorkaroundProvider.java | 230 private void putMacImpl(String algorithm, String implClass) { argument 231 put("Mac." + algorithm, implClass); 232 put("Mac." + algorithm + " SupportedKeyClasses", KEYSTORE_SECRET_KEY_CLASS_NAME); 246 private void putSignatureImpl(String algorithm, String implClass) { argument 247 put("Signature." + algorithm, implClass); 248 put("Signature." + algorithm + " SupportedKeyClasses",
|
H A D | AndroidKeyStorePublicKey.java | 31 public AndroidKeyStorePublicKey(String alias, int uid, String algorithm, byte[] x509EncodedForm) { argument 32 super(alias, uid, algorithm);
|
H A D | AndroidKeyStoreKey.java | 31 public AndroidKeyStoreKey(String alias, int uid, String algorithm) { argument 34 mAlgorithm = algorithm;
|
H A D | KeyProperties.java | 172 @NonNull @KeyAlgorithmEnum String algorithm) { 173 if (KEY_ALGORITHM_EC.equalsIgnoreCase(algorithm)) { 175 } else if (KEY_ALGORITHM_RSA.equalsIgnoreCase(algorithm)) { 178 throw new IllegalArgumentException("Unsupported key algorithm: " + algorithm); 192 "Unsupported key algorithm: " + keymasterAlgorithm); 197 @NonNull @KeyAlgorithmEnum String algorithm) { 198 if (KEY_ALGORITHM_AES.equalsIgnoreCase(algorithm)) { 200 } else if (algorithm.toUpperCase(Locale.US).startsWith("HMAC")) { 204 "Unsupported secret key algorithm 171 toKeymasterAsymmetricKeyAlgorithm( @onNull @eyAlgorithmEnum String algorithm) argument 196 toKeymasterSecretKeyAlgorithm( @onNull @eyAlgorithmEnum String algorithm) argument 241 toKeymasterDigest(@onNull @eyAlgorithmEnum String algorithm) argument [all...] |
/frameworks/base/core/java/android/security/net/config/ |
H A D | Pin.java | 37 public static boolean isSupportedDigestAlgorithm(String algorithm) { argument 40 return "SHA-256".equalsIgnoreCase(algorithm); 46 public static int getDigestLength(String algorithm) { argument 47 if ("SHA-256".equalsIgnoreCase(algorithm)) { 50 throw new IllegalArgumentException("Unsupported digest algorithm: " + algorithm);
|
H A D | NetworkSecurityTrustManager.java | 131 for (String algorithm : pinAlgorithms) { 132 MessageDigest md = digestMap.get(algorithm); 135 md = MessageDigest.getInstance(algorithm); 139 digestMap.put(algorithm, md); 141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | TokenBindingService.java | 50 * The algorithm that is used to generate the key pair. 82 * If no key pair exists, WebView chooses an algorithm from the list, in 85 * The user can pass a null if any algorithm is acceptable. 88 * @param algorithm The list of algorithms. Can be null. An 94 String[] algorithm, 93 getKey(Uri origin, String[] algorithm, ValueCallback<TokenBindingKey> callback) argument
|
/frameworks/base/tools/aapt2/compile/ |
H A D | XmlIdCollector_test.cpp | 21 #include <algorithm>
|
H A D | XmlIdCollector.cpp | 22 #include <algorithm>
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
H A D | MediaDrmSigner.java | 128 * @param algorithm the signing algorithm to use, e.g. "PKCS1-BlockType1" 134 String algorithm, byte[] wrappedKey, byte[] message) { 135 return drm.signRSA(sessionId, algorithm, wrappedKey, message); 133 signRSA(MediaDrm drm, byte[] sessionId, String algorithm, byte[] wrappedKey, byte[] message) argument
|
/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristics.java | 41 new TextDirectionHeuristicInternal(null /* no algorithm */, false); 47 new TextDirectionHeuristicInternal(null /* no algorithm */, true); 131 * Computes the text direction based on an algorithm. Subclasses implement 132 * {@link #defaultIsRtl} to handle cases where the algorithm cannot determine the 138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { argument 139 mAlgorithm = algorithm; 178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, argument 180 super(algorithm); 191 * Interface for an algorithm to guess the direction of a paragraph of text. 195 * Returns whether the range of text is RTL according to the algorithm [all...] |
/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer.cpp | 19 #include <algorithm>
|
/frameworks/support/compat/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicsCompat.java | 34 new TextDirectionHeuristicInternal(null /* no algorithm */, false); 40 new TextDirectionHeuristicInternal(null /* no algorithm */, true); 107 * Computes the text direction based on an algorithm. Subclasses implement 108 * {@link #defaultIsRtl} to handle cases where the algorithm cannot determine the 114 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { argument 115 mAlgorithm = algorithm; 154 TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, argument 156 super(algorithm); 167 * Interface for an algorithm to guess the direction of a paragraph of text. 171 * Returns whether the range of text is RTL according to the algorithm [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | DrmPlugin.h | 153 const Vector<uint8_t>& sessionId, const String8& algorithm) { 155 UNUSED(algorithm); 160 const Vector<uint8_t>& sessionId, const String8& algorithm) { 162 UNUSED(algorithm); 221 const String8& algorithm, 226 UNUSED(algorithm); 152 setCipherAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument 159 setMacAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument 219 signRSA( const Vector<uint8_t>& sessionId, const String8& algorithm, const Vector<uint8_t>& message, const Vector<uint8_t>& wrappedKey, Vector<uint8_t>& signature) argument
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | DefaultHttpClientTest.java | 125 private void authenticateDigestAlgorithm(String algorithm) throws Exception { argument 128 + "algorithm=" + algorithm;
|
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | math.h | 21 #include <algorithm>
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
H A D | SSLSocketFactory.java | 183 String algorithm, 192 if (algorithm == null) { 193 algorithm = TLS; 203 this.sslcontext = SSLContext.getInstance(algorithm); 182 SSLSocketFactory( String algorithm, final KeyStore keystore, final String keystorePassword, final KeyStore truststore, final SecureRandom random, final HostNameResolver nameResolver) argument
|
/frameworks/base/libs/hwui/ |
H A D | DisplayList.cpp | 18 #include <algorithm>
|
H A D | PathTessellator.h | 25 #include <algorithm>
|
/frameworks/base/libs/hwui/utils/ |
H A D | MathUtils.h | 19 #include <algorithm>
|
/frameworks/base/tools/aapt2/link/ |
H A D | PrivateAttributeMover.cpp | 20 #include <algorithm>
|
/frameworks/base/tools/split-select/ |
H A D | Rule_test.cpp | 22 #include <algorithm>
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 469 * specific {@code PrivateKey} type indicated by {@code algorithm} (e.g., 473 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { 474 final String algUpper = algorithm.toUpperCase(Locale.US); 481 * {@code PrivateKey} of the given {@code algorithm} to the device once 500 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { 501 if (!isKeyAlgorithmSupported(algorithm)) { 505 return KeyStore.getInstance().isHardwareBacked(algorithm); 472 isKeyAlgorithmSupported( @onNull @eyProperties.KeyAlgorithmEnum String algorithm) argument 499 isBoundKeyAlgorithm( @onNull @eyProperties.KeyAlgorithmEnum String algorithm) argument
|