/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStorePrivateKey.java | 28 public AndroidKeyStorePrivateKey(String alias, String algorithm) { argument 29 super(alias, algorithm);
|
H A D | AndroidKeyStoreSecretKey.java | 28 public AndroidKeyStoreSecretKey(String alias, String algorithm) { argument 29 super(alias, 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, String algorithm, byte[] x509EncodedForm) { argument 32 super(alias, algorithm);
|
H A D | AndroidKeyStoreKey.java | 30 public AndroidKeyStoreKey(String alias, String algorithm) { argument 32 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...] |
H A D | AndroidKeyStoreProvider.java | 121 private void putSecretKeyFactoryImpl(String algorithm) { argument 122 put("SecretKeyFactory." + algorithm, PACKAGE_NAME + ".AndroidKeyStoreSecretKeyFactorySpi"); 125 private void putKeyFactoryImpl(String algorithm) { argument 126 put("KeyFactory." + algorithm, PACKAGE_NAME + ".AndroidKeyStoreKeyFactorySpi"); 187 throw new ProviderException("Unsupported Android Keystore public key algorithm: " 203 throw new ProviderException("Unsupported Android Keystore public key algorithm: " 231 throw new UnrecoverableKeyException("Key algorithm unknown"); 282 throw new UnrecoverableKeyException("Key algorithm unknown"); 291 // JCA key algorithm name.
|
/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/libs/hwui/ |
H A D | DisplayList.cpp | 20 #include <algorithm>
|
/frameworks/base/tools/aapt2/ |
H A D | BigBuffer.cpp | 19 #include <algorithm>
|
H A D | StringPiece_test.cpp | 17 #include <algorithm>
|
/frameworks/support/v4/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 private 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 | 157 const Vector<uint8_t>& sessionId, const String8& algorithm) { 159 UNUSED(algorithm); 164 const Vector<uint8_t>& sessionId, const String8& algorithm) { 166 UNUSED(algorithm); 225 const String8& algorithm, 230 UNUSED(algorithm); 156 setCipherAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument 163 setMacAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument 223 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/tools/split-select/ |
H A D | Rule_test.cpp | 22 #include <algorithm>
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 435 * specific {@code PrivateKey} type indicated by {@code algorithm} (e.g., 439 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { 440 final String algUpper = algorithm.toUpperCase(Locale.US); 447 * {@code PrivateKey} of the given {@code algorithm} to the device once 466 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { 467 if (!isKeyAlgorithmSupported(algorithm)) { 471 return KeyStore.getInstance().isHardwareBacked(algorithm); 438 isKeyAlgorithmSupported( @onNull @eyProperties.KeyAlgorithmEnum String algorithm) argument 465 isBoundKeyAlgorithm( @onNull @eyProperties.KeyAlgorithmEnum String algorithm) argument
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 106 String8 const &algorithm); 109 String8 const &algorithm); 135 String8 const &algorithm,
|
/frameworks/av/include/media/ |
H A D | IDrm.h | 91 String8 const &algorithm) = 0; 94 String8 const &algorithm) = 0; 120 String8 const &algorithm,
|
/frameworks/av/media/libmedia/ |
H A D | IDrm.cpp | 409 String8 const &algorithm) { 414 data.writeString8(algorithm); 423 String8 const &algorithm) { 428 data.writeString8(algorithm); 522 String8 const &algorithm, 530 data.writeString8(algorithm); 851 String8 algorithm = data.readString8(); local 852 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm)); 861 String8 algorithm = data.readString8(); local 862 reply->writeInt32(setMacAlgorithm(sessionId, algorithm)); 408 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 422 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 521 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument 927 String8 algorithm = data.readString8(); local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.h | 96 String8 const &algorithm); 99 String8 const &algorithm); 125 String8 const &algorithm,
|
H A D | Drm.cpp | 655 String8 const &algorithm) { 668 return mPlugin->setCipherAlgorithm(sessionId, algorithm); 672 String8 const &algorithm) { 685 return mPlugin->setMacAlgorithm(sessionId, algorithm); 768 String8 const &algorithm, 788 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature); 654 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 671 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 767 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument
|
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 279 // The algorithm string conforms to JCA Standard Names for Cipher 282 // Return OK if the algorithm is supported, otherwise return BAD_VALUE 285 String8 const &algorithm) = 0; 288 // The algorithm string conforms to JCA Standard Names for Mac 291 // Return OK if the algorithm is supported, otherwise return BAD_VALUE 294 String8 const &algorithm) = 0; 296 // Encrypt the provided input buffer with the cipher algorithm 305 // Decrypt the provided input buffer with the cipher algorithm 314 // Compute a signature on the provided message using the mac algorithm 322 // Compute a signature on the provided message using the mac algorithm [all...] |