Searched refs:algorithm (Results 26 - 50 of 140) sorted by relevance

123456

/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java233 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 DCamera3BufferManager.h21 #include <algorithm>
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreProvider.java126 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 DHTTPRequest.java96 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 DAnnotationProcessor.cpp20 #include <algorithm>
H A DManifestClassGenerator.cpp24 #include <algorithm>
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.h104 String8 const &algorithm);
107 String8 const &algorithm);
133 String8 const &algorithm,
H A DMockDrmCryptoPlugin.cpp512 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 DDrm.h94 String8 const &algorithm);
97 String8 const &algorithm);
123 String8 const &algorithm,
H A DIDrm.h89 String8 const &algorithm) = 0;
92 String8 const &algorithm) = 0;
118 String8 const &algorithm,
/frameworks/av/media/libmedia/
H A DIDrm.cpp396 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 DDrmAPI.h276 // 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 DDrm.cpp633 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 DInterpolator.cpp21 #include <algorithm>
H A DPropertyValuesAnimatorSet.cpp20 #include <algorithm>
H A DAnimatorManager.cpp18 #include <algorithm>
H A DVertexBuffer.h20 #include <algorithm>
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp23 #include <algorithm>
/frameworks/base/tools/aapt2/util/
H A DStringPiece_test.cpp17 #include <algorithm>
/frameworks/compile/mclinker/lib/LD/
H A DDiagnosticInfos.cpp19 #include <algorithm>
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.cpp17 #include <algorithm>
/frameworks/base/media/java/android/media/
H A DMediaDrm.java1025 @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 DCallbackDataSource.cpp27 #include <algorithm>
/frameworks/base/tools/aapt2/
H A DResourceTable_test.cpp24 #include <algorithm>
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h30 #include <algorithm>

Completed in 662 milliseconds

123456