/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 233 final String algorithm = DIGEST_ALGORITHMS[i]; 234 final String hash = attributes.getValue(algorithm + "-Digest"); 241 return new VerifierEntry(name, MessageDigest.getInstance(algorithm), hashBytes, 475 String algorithm = DIGEST_ALGORITHMS[i]; 476 String hash = attributes.getValue(algorithm + entry); 483 md = MessageDigest.getInstance(algorithm);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3BufferManager.h | 21 #include <algorithm>
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreProvider.java | 126 private void putSecretKeyFactoryImpl(String algorithm) { argument 127 put("SecretKeyFactory." + algorithm, PACKAGE_NAME + ".AndroidKeyStoreSecretKeyFactorySpi"); 130 private void putKeyFactoryImpl(String algorithm) { argument 131 put("KeyFactory." + algorithm, PACKAGE_NAME + ".AndroidKeyStoreKeyFactorySpi"); 193 throw new ProviderException("Unsupported Android Keystore public key algorithm: " 209 throw new ProviderException("Unsupported Android Keystore public key algorithm: " 237 throw new UnrecoverableKeyException("Key algorithm unknown"); 288 throw new UnrecoverableKeyException("Key algorithm unknown"); 297 // JCA key algorithm name.
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPRequest.java | 96 String algorithm = itemMap.remove("algorithm"); 97 if (algorithm != null && !algorithm.equalsIgnoreCase("md5")) { 98 throw new IOException("Unsupported algorithm: '" + algorithm + "'");
|
/frameworks/base/tools/aapt2/java/ |
H A D | AnnotationProcessor.cpp | 20 #include <algorithm>
|
H A D | ManifestClassGenerator.cpp | 24 #include <algorithm>
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 104 String8 const &algorithm); 107 String8 const &algorithm); 133 String8 const &algorithm,
|
H A D | MockDrmCryptoPlugin.cpp | 512 String8 const &algorithm) 516 ALOGD("MockDrmPlugin::setCipherAlgorithm(sessionId=%s, algorithm=%s)", 517 vectorToString(sessionId).string(), algorithm.string()); 525 if (algorithm == "AES/CBC/NoPadding") { 532 String8 const &algorithm) 536 ALOGD("MockDrmPlugin::setMacAlgorithm(sessionId=%s, algorithm=%s)", 537 vectorToString(sessionId).string(), algorithm.string()); 545 if (algorithm == "HmacSHA256") { 704 String8 const &algorithm, 710 ALOGD("MockDrmPlugin::signRSA(sessionId=%s, algorithm 511 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 531 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 703 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument [all...] |
/frameworks/av/include/media/ |
H A D | Drm.h | 94 String8 const &algorithm); 97 String8 const &algorithm); 123 String8 const &algorithm,
|
H A D | IDrm.h | 89 String8 const &algorithm) = 0; 92 String8 const &algorithm) = 0; 118 String8 const &algorithm,
|
/frameworks/av/media/libmedia/ |
H A D | IDrm.cpp | 396 String8 const &algorithm) { 401 data.writeString8(algorithm); 410 String8 const &algorithm) { 415 data.writeString8(algorithm); 509 String8 const &algorithm, 517 data.writeString8(algorithm); 830 String8 algorithm = data.readString8(); local 831 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm)); 840 String8 algorithm = data.readString8(); local 841 reply->writeInt32(setMacAlgorithm(sessionId, algorithm)); 395 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 409 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 508 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument 906 String8 algorithm = data.readString8(); local [all...] |
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 276 // The algorithm string conforms to JCA Standard Names for Cipher 279 // Return OK if the algorithm is supported, otherwise return BAD_VALUE 282 String8 const &algorithm) = 0; 285 // The algorithm string conforms to JCA Standard Names for Mac 288 // Return OK if the algorithm is supported, otherwise return BAD_VALUE 291 String8 const &algorithm) = 0; 293 // Encrypt the provided input buffer with the cipher algorithm 302 // Decrypt the provided input buffer with the cipher algorithm 311 // Compute a signature on the provided message using the mac algorithm 319 // Compute a signature on the provided message using the mac algorithm [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | Drm.cpp | 633 String8 const &algorithm) { 646 return mPlugin->setCipherAlgorithm(sessionId, algorithm); 650 String8 const &algorithm) { 663 return mPlugin->setMacAlgorithm(sessionId, algorithm); 746 String8 const &algorithm, 766 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature); 632 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 649 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument 745 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/base/libs/hwui/ |
H A D | Interpolator.cpp | 21 #include <algorithm>
|
H A D | AnimatorManager.cpp | 18 #include <algorithm>
|
H A D | PropertyValuesAnimatorSet.cpp | 20 #include <algorithm>
|
H A D | VertexBuffer.h | 20 #include <algorithm>
|
/frameworks/base/tools/aapt2/link/ |
H A D | AutoVersioner.cpp | 23 #include <algorithm>
|
/frameworks/base/tools/aapt2/util/ |
H A D | StringPiece_test.cpp | 17 #include <algorithm>
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticInfos.cpp | 19 #include <algorithm>
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | stochastic_linear_ranker.cpp | 17 #include <algorithm>
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDrm.java | 1025 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); 1028 @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); 1085 * Encrypt data using the CryptoSession's cipher algorithm 1098 * Decrypt data using the CryptoSessions's cipher algorithm 1111 * Sign data using the CryptoSessions's mac algorithm. 1122 * Verify a signature using the CryptoSessions's mac algorithm. Return true 1144 * @param cipherAlgorithm the algorithm to use for encryption and 1145 * decryption ciphers. The algorithm string conforms to JCA Standard 1148 * @param macAlgorithm the algorithm to use for sign and verify 1149 * The algorithm strin 1024 setCipherAlgorithmNative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm) argument 1027 setMacAlgorithmNative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm) argument 1280 signRSANative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm, @NonNull byte[] wrappedKey, @NonNull byte[] message) argument 1296 signRSA( @onNull byte[] sessionId, @NonNull String algorithm, @NonNull byte[] wrappedKey, @NonNull byte[] message) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | CallbackDataSource.cpp | 27 #include <algorithm>
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable_test.cpp | 24 #include <algorithm>
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.h | 30 #include <algorithm>
|