Searched refs:algorithm (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
H A DMediaDrmSigner.java128 * @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 DTextDirectionHeuristics.java41 new TextDirectionHeuristicInternal(null /* no algorithm */, false);
47 new TextDirectionHeuristicInternal(null /* no algorithm */, true);
113 * Computes the text direction based on an algorithm. Subclasses implement
114 * {@link #defaultIsRtl} to handle cases where the algorithm cannot determine the
120 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { argument
121 mAlgorithm = algorithm;
160 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, argument
162 super(algorithm);
173 * Interface for an algorithm to guess the direction of a paragraph of text.
177 * Returns whether the range of text is RTL according to the algorithm
[all...]
/frameworks/support/v4/java/android/support/v4/text/
H A DTextDirectionHeuristicsCompat.java34 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 DDrmPlugin.h156 const Vector<uint8_t>& sessionId, const String8& algorithm) {
158 UNUSED(algorithm);
163 const Vector<uint8_t>& sessionId, const String8& algorithm) {
165 UNUSED(algorithm);
224 const String8& algorithm,
229 UNUSED(algorithm);
155 setCipherAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument
162 setMacAlgorithm( const Vector<uint8_t>& sessionId, const String8& algorithm) argument
222 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/keystore/java/android/security/
H A DKeyChain.java377 * specific {@code PrivateKey} type indicated by {@code algorithm} (e.g.,
380 public static boolean isKeyAlgorithmSupported(String algorithm) { argument
381 final String algUpper = algorithm.toUpperCase(Locale.US);
387 * {@code PrivateKey} of the given {@code algorithm} to the device once
392 public static boolean isBoundKeyAlgorithm(String algorithm) { argument
393 if (!isKeyAlgorithmSupported(algorithm)) {
397 return KeyStore.getInstance().isHardwareBacked(algorithm);
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientTest.java125 private void authenticateDigestAlgorithm(String algorithm) throws Exception { argument
128 + "algorithm=" + algorithm;
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h21 #include <algorithm>
/frameworks/base/tools/split-select/
H A DRule_test.cpp22 #include <algorithm>
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java242 String algorithm,
246 username, password, realm, nonce, QOP, algorithm, opaque);
301 String algorithm,
327 if (algorithm != null) {
328 response += ", algorithm=" + algorithm;
236 setupDigestAuthResponse(boolean isProxy, String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
296 computeDigestAuthResponse(String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
/frameworks/base/media/java/android/media/
H A DMediaDrm.java653 String algorithm);
656 String algorithm);
707 * Encrypt data using the CryptoSession's cipher algorithm
718 * Decrypt data using the CryptoSessions's cipher algorithm
729 * Sign data using the CryptoSessions's mac algorithm.
739 * Verify a signature using the CryptoSessions's mac algorithm. Return true
760 * @param cipherAlgorithm the algorithm to use for encryption and
761 * decryption ciphers. The algorithm string conforms to JCA Standard
764 * @param macAlgorithm the algorithm to use for sign and verify
765 * The algorithm strin
652 setCipherAlgorithmNative(MediaDrm drm, byte[] sessionId, String algorithm) argument
655 setMacAlgorithmNative(MediaDrm drm, byte[] sessionId, String algorithm) argument
872 signRSANative(MediaDrm drm, byte[] sessionId, String algorithm, byte[] wrappedKey, byte[] message) argument
886 signRSA(byte[] sessionId, String algorithm, byte[] wrappedKey, byte[] message) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp447 String8 const &algorithm)
451 ALOGD("MockDrmPlugin::setCipherAlgorithm(sessionId=%s, algorithm=%s)",
452 vectorToString(sessionId).string(), algorithm.string());
460 if (algorithm == "AES/CBC/NoPadding") {
467 String8 const &algorithm)
471 ALOGD("MockDrmPlugin::setMacAlgorithm(sessionId=%s, algorithm=%s)",
472 vectorToString(sessionId).string(), algorithm.string());
480 if (algorithm == "HmacSHA256") {
639 String8 const &algorithm,
645 ALOGD("MockDrmPlugin::signRSA(sessionId=%s, algorithm
446 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
466 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
638 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...]
H A DMockDrmCryptoPlugin.h105 String8 const &algorithm);
108 String8 const &algorithm);
134 String8 const &algorithm,
/frameworks/base/libs/hwui/
H A DDisplayList.cpp20 #include <algorithm>
H A DAnimatorManager.cpp18 #include <algorithm>
/frameworks/av/include/media/
H A DIDrm.h90 String8 const &algorithm) = 0;
93 String8 const &algorithm) = 0;
119 String8 const &algorithm,
/frameworks/av/media/libmedia/
H A DIDrm.cpp337 String8 const &algorithm) {
342 data.writeString8(algorithm);
348 String8 const &algorithm) {
353 data.writeString8(algorithm);
432 String8 const &algorithm,
440 data.writeString8(algorithm);
753 String8 algorithm = data.readString8(); local
754 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm));
763 String8 algorithm = data.readString8(); local
764 reply->writeInt32(setMacAlgorithm(sessionId, algorithm));
336 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
347 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
431 signRSA(Vector<uint8_t> const &sessionId, String8 const &algorithm, Vector<uint8_t> const &message, Vector<uint8_t> const &wrappedKey, Vector<uint8_t> &signature) argument
829 String8 algorithm = data.readString8(); local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DDrm.h94 String8 const &algorithm);
97 String8 const &algorithm);
123 String8 const &algorithm,
H A DDrm.cpp553 String8 const &algorithm) {
564 return mPlugin->setCipherAlgorithm(sessionId, algorithm);
568 String8 const &algorithm) {
579 return mPlugin->setMacAlgorithm(sessionId, algorithm);
654 String8 const &algorithm,
672 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature);
552 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
567 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
653 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 DDrmAPI.h248 // The algorithm string conforms to JCA Standard Names for Cipher
251 // Return OK if the algorithm is supported, otherwise return BAD_VALUE
254 String8 const &algorithm) = 0;
257 // The algorithm string conforms to JCA Standard Names for Mac
260 // Return OK if the algorithm is supported, otherwise return BAD_VALUE
263 String8 const &algorithm) = 0;
265 // Encrypt the provided input buffer with the cipher algorithm
274 // Decrypt the provided input buffer with the cipher algorithm
283 // Compute a signature on the provided message using the mac algorithm
291 // Compute a signature on the provided message using the mac algorithm
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java133 String algorithm = mClientPrivateKey.getAlgorithm();
137 dest.writeString(algorithm);
178 String algorithm = in.readString();
179 KeyFactory keyFactory = KeyFactory.getInstance(algorithm);
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.cpp17 #include <algorithm>
/frameworks/rs/cpu_ref/linkloader/utils/
H A Dserialize.h22 #include <algorithm>
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp14 #include <algorithm>
H A DDiagnosticInfos.cpp18 #include <algorithm>
H A DEhFrameHdr.cpp17 #include <algorithm>

Completed in 1005 milliseconds

123