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

12

/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/base/keystore/java/android/security/
H A DKeyChain.java364 * specific {@code PrivateKey} type indicated by {@code algorithm} (e.g.,
367 public static boolean isKeyAlgorithmSupported(String algorithm) { argument
368 final String algUpper = algorithm.toUpperCase(Locale.US);
374 * {@code PrivateKey} of the given {@code algorithm} to the device once
379 public static boolean isBoundKeyAlgorithm(String algorithm) { argument
380 if (!isKeyAlgorithmSupported(algorithm)) {
384 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/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
H A DSslCertificate.java265 private static String getDigest(X509Certificate x509Certificate, String algorithm) { argument
271 MessageDigest md = MessageDigest.getInstance(algorithm);
/frameworks/av/include/media/
H A DIDrm.h82 String8 const &algorithm) = 0;
85 String8 const &algorithm) = 0;
/frameworks/av/media/libmediaplayerservice/
H A DDrm.h86 String8 const &algorithm);
89 String8 const &algorithm);
H A DDrm.cpp492 String8 const &algorithm) {
503 return mPlugin->setCipherAlgorithm(sessionId, algorithm);
507 String8 const &algorithm) {
518 return mPlugin->setMacAlgorithm(sessionId, algorithm);
491 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
506 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp412 String8 const &algorithm)
416 ALOGD("MockDrmPlugin::setCipherAlgorithm(sessionId=%s, algorithm=%s)",
417 vectorToString(sessionId).string(), algorithm.string());
425 if (algorithm == "AES/CBC/NoPadding") {
432 String8 const &algorithm)
436 ALOGD("MockDrmPlugin::setMacAlgorithm(sessionId=%s, algorithm=%s)",
437 vectorToString(sessionId).string(), algorithm.string());
445 if (algorithm == "HmacSHA256") {
411 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
431 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
H A DMockDrmCryptoPlugin.h97 String8 const &algorithm);
100 String8 const &algorithm);
/frameworks/compile/slang/
H A Dslang_rs_reflection_base.cpp22 #include <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/av/media/libmedia/
H A DIDrm.cpp295 String8 const &algorithm) {
300 data.writeString8(algorithm);
306 String8 const &algorithm) {
311 data.writeString8(algorithm);
657 String8 algorithm = data.readString8(); local
658 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm));
667 String8 algorithm = data.readString8(); local
668 reply->writeInt32(setMacAlgorithm(sessionId, algorithm));
294 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
305 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
/frameworks/base/media/java/android/media/
H A DMediaDrm.java561 String algorithm);
564 String algorithm);
616 * Encrypt data using the CryptoSession's cipher algorithm
627 * Decrypt data using the CryptoSessions's cipher algorithm
638 * Sign data using the CryptoSessions's mac algorithm.
648 * Verify a signature using the CryptoSessions's mac algorithm. Return true
669 * @param cipherAlgorithm the algorithm to use for encryption and
670 * decryption ciphers. The algorithm string conforms to JCA Standard
673 * @param macAlgorithm the algorithm to use for sign and verify
674 * The algorithm strin
560 setCipherAlgorithmNative(MediaDrm drm, byte[] sessionId, String algorithm) argument
563 setMacAlgorithmNative(MediaDrm drm, byte[] sessionId, String algorithm) argument
[all...]
/frameworks/native/include/media/drm/
H A DDrmAPI.h239 // The algorithm string conforms to JCA Standard Names for Cipher
242 // Return OK if the algorithm is supported, otherwise return BAD_VALUE
245 String8 const &algorithm) = 0;
248 // The algorithm string conforms to JCA Standard Names for Mac
251 // Return OK if the algorithm is supported, otherwise return BAD_VALUE
254 String8 const &algorithm) = 0;
256 // Encrypt the provided input buffer with the cipher algorithm
265 // Decrypt the provided input buffer with the cipher algorithm
274 // Compute a signature on the provided message using the mac algorithm
282 // Compute a signature on the provided message using the mac algorithm
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java135 String algorithm = mClientPrivateKey.getAlgorithm();
139 dest.writeString(algorithm);
180 String algorithm = in.readString();
181 KeyFactory keyFactory = KeyFactory.getInstance(algorithm);
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp14 #include <algorithm>
H A DDiagnosticInfos.cpp18 #include <algorithm>
H A DEhFrameHdr.cpp19 #include <algorithm>
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSymbol.h26 #include <algorithm>
/frameworks/ex/variablespeed/jni/
H A Dsola_time_scaler.cc21 #include <algorithm>
/frameworks/rs/
H A DrsCppUtils.h46 #include <algorithm>

Completed in 1047 milliseconds

12