Searched refs:algorithm (Results 1 - 25 of 39) 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/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientTest.java125 private void authenticateDigestAlgorithm(String algorithm) throws Exception { argument
128 + "algorithm=" + algorithm;
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java361 * specific {@code PrivateKey} type indicated by {@code algorithm} (e.g.,
364 public static boolean isKeyAlgorithmSupported(String algorithm) { argument
365 return "RSA".equals(algorithm);
370 * {@code PrivateKey} of the given {@code algorithm} to the device once
375 public static boolean isBoundKeyAlgorithm(String algorithm) { argument
376 if (!isKeyAlgorithmSupported(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.cpp485 String8 const &algorithm) {
496 return mPlugin->setCipherAlgorithm(sessionId, algorithm);
500 String8 const &algorithm) {
511 return mPlugin->setMacAlgorithm(sessionId, algorithm);
484 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
499 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp404 String8 const &algorithm)
408 ALOGD("MockDrmPlugin::setCipherAlgorithm(sessionId=%s, algorithm=%s)",
409 vectorToString(sessionId).string(), algorithm.string());
417 if (algorithm == "AES/CBC/NoPadding") {
424 String8 const &algorithm)
428 ALOGD("MockDrmPlugin::setMacAlgorithm(sessionId=%s, algorithm=%s)",
429 vectorToString(sessionId).string(), algorithm.string());
437 if (algorithm == "HmacSHA256") {
403 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
423 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
H A DMockDrmCryptoPlugin.h96 String8 const &algorithm);
99 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/driver/linkloader/utils/
H A Dserialize.h22 #include <algorithm>
/frameworks/av/media/libmedia/
H A DIDrm.cpp294 String8 const &algorithm) {
299 data.writeString8(algorithm);
305 String8 const &algorithm) {
310 data.writeString8(algorithm);
654 String8 algorithm = data.readString8(); local
655 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm));
664 String8 algorithm = data.readString8(); local
665 reply->writeInt32(setMacAlgorithm(sessionId, algorithm));
293 setCipherAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
304 setMacAlgorithm(Vector<uint8_t> const &sessionId, String8 const &algorithm) argument
/frameworks/base/media/java/android/media/
H A DMediaDrm.java546 String algorithm);
549 String algorithm);
601 * Encrypt data using the CryptoSession's cipher algorithm
612 * Decrypt data using the CryptoSessions's cipher algorithm
623 * Sign data using the CryptoSessions's mac algorithm.
633 * Verify a signature using the CryptoSessions's mac algorithm. Return true
654 * @param cipherAlgorithm the algorithm to use for encryption and
655 * decryption ciphers. The algorithm string conforms to JCA Standard
658 * @param macAlgorithm the algorithm to use for sign and verify
659 * The algorithm strin
545 setCipherAlgorithmNative(MediaDrm drm, byte[] sessionId, String algorithm) argument
548 setMacAlgorithmNative(MediaDrm drm, byte[] sessionId, String algorithm) argument
[all...]
/frameworks/native/include/media/drm/
H A DDrmAPI.h234 // The algorithm string conforms to JCA Standard Names for Cipher
237 // Return OK if the algorithm is supported, otherwise return BAD_VALUE
240 String8 const &algorithm) = 0;
243 // The algorithm string conforms to JCA Standard Names for Mac
246 // Return OK if the algorithm is supported, otherwise return BAD_VALUE
249 String8 const &algorithm) = 0;
251 // Encrypt the provided input buffer with the cipher algorithm
260 // Decrypt the provided input buffer with the cipher algorithm
269 // Compute a signature on the provided message using the mac algorithm
277 // Compute a signature on the provided message using the mac algorithm
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java130 String algorithm = mClientPrivateKey.getAlgorithm();
134 dest.writeString(algorithm);
175 String algorithm = in.readString();
176 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/driver/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.h43 #include <algorithm>
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java775 String algorithm = KeyManagerFactory.getDefaultAlgorithm();
776 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm);

Completed in 5020 milliseconds

12