Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.h156 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setCipherAlgorithm() argument
158 UNUSED(algorithm); in setCipherAlgorithm()
163 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setMacAlgorithm() argument
165 UNUSED(algorithm); in setMacAlgorithm()
224 const String8& algorithm, in signRSA() argument
229 UNUSED(algorithm); in signRSA()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java120 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl() argument
121 mAlgorithm = algorithm; in TextDirectionHeuristicImpl()
160 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal() argument
162 super(algorithm); in TextDirectionHeuristicInternal()
/frameworks/support/v4/java/android/support/v4/text/
DTextDirectionHeuristicsCompat.java114 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl() argument
115 mAlgorithm = algorithm; in TextDirectionHeuristicImpl()
154 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal() argument
156 super(algorithm); in TextDirectionHeuristicInternal()
/frameworks/base/keystore/java/android/security/
DKeyChain.java380 public static boolean isKeyAlgorithmSupported(String algorithm) { in isKeyAlgorithmSupported() argument
381 final String algUpper = algorithm.toUpperCase(Locale.US); in isKeyAlgorithmSupported()
392 public static boolean isBoundKeyAlgorithm(String algorithm) { in isBoundKeyAlgorithm() argument
393 if (!isKeyAlgorithmSupported(algorithm)) { in isBoundKeyAlgorithm()
397 return KeyStore.getInstance().isHardwareBacked(algorithm); in isBoundKeyAlgorithm()
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA() argument
135 return drm.signRSA(sessionId, algorithm, wrappedKey, message); in signRSA()
/frameworks/base/media/java/android/media/
DMediaDrm.java653 String algorithm);
656 String algorithm);
873 String algorithm, byte[] wrappedKey, byte[] message);
886 public byte[] signRSA(byte[] sessionId, String algorithm,
888 return signRSANative(this, sessionId, algorithm, wrappedKey, message);
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp447 String8 const &algorithm) in setCipherAlgorithm() argument
452 vectorToString(sessionId).string(), algorithm.string()); in setCipherAlgorithm()
460 if (algorithm == "AES/CBC/NoPadding") { in setCipherAlgorithm()
467 String8 const &algorithm) in setMacAlgorithm() argument
472 vectorToString(sessionId).string(), algorithm.string()); in setMacAlgorithm()
480 if (algorithm == "HmacSHA256") { in setMacAlgorithm()
639 String8 const &algorithm, in signRSA() argument
648 algorithm.string(), in signRSA()
658 mStringProperties.add(String8("mock-algorithm"), algorithm); in signRSA()
DMockDrmCryptoPlugin.h105 String8 const &algorithm);
108 String8 const &algorithm);
134 String8 const &algorithm,
/frameworks/base/core/java/android/net/http/
DRequestHandle.java242 String algorithm, in setupDigestAuthResponse() argument
246 username, password, realm, nonce, QOP, algorithm, opaque); in setupDigestAuthResponse()
301 String algorithm, in computeDigestAuthResponse() argument
327 if (algorithm != null) { in computeDigestAuthResponse()
328 response += ", algorithm=" + algorithm; in computeDigestAuthResponse()
DSslCertificate.java265 private static String getDigest(X509Certificate x509Certificate, String algorithm) { in getDigest() argument
271 MessageDigest md = MessageDigest.getInstance(algorithm); in getDigest()
/frameworks/av/include/media/
DIDrm.h90 String8 const &algorithm) = 0;
93 String8 const &algorithm) = 0;
119 String8 const &algorithm,
/frameworks/av/media/libmedia/
DIDrm.cpp337 String8 const &algorithm) { in setCipherAlgorithm()
342 data.writeString8(algorithm); in setCipherAlgorithm()
348 String8 const &algorithm) { in setMacAlgorithm()
353 data.writeString8(algorithm); in setMacAlgorithm()
432 String8 const &algorithm, in signRSA()
440 data.writeString8(algorithm); in signRSA()
753 String8 algorithm = data.readString8(); in onTransact() local
754 reply->writeInt32(setCipherAlgorithm(sessionId, algorithm)); in onTransact()
763 String8 algorithm = data.readString8(); in onTransact() local
764 reply->writeInt32(setMacAlgorithm(sessionId, algorithm)); in onTransact()
[all …]
/frameworks/av/media/libmediaplayerservice/
DDrm.h94 String8 const &algorithm);
97 String8 const &algorithm);
123 String8 const &algorithm,
DDrm.cpp553 String8 const &algorithm) { in setCipherAlgorithm() argument
564 return mPlugin->setCipherAlgorithm(sessionId, algorithm); in setCipherAlgorithm()
568 String8 const &algorithm) { in setMacAlgorithm() argument
579 return mPlugin->setMacAlgorithm(sessionId, algorithm); in setMacAlgorithm()
654 String8 const &algorithm, in signRSA() argument
672 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature); in signRSA()
/frameworks/native/include/media/drm/
DDrmAPI.h254 String8 const &algorithm) = 0;
263 String8 const &algorithm) = 0;
305 String8 const &algorithm,
/frameworks/base/core/tests/coretests/src/android/net/http/
DDefaultHttpClientTest.java125 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm() argument
128 + "algorithm=" + algorithm; in authenticateDigestAlgorithm()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java133 String algorithm = mClientPrivateKey.getAlgorithm(); in writeToParcel() local
137 dest.writeString(algorithm); in writeToParcel()
178 String algorithm = in.readString();
179 KeyFactory keyFactory = KeyFactory.getInstance(algorithm);
/frameworks/base/docs/html/distribute/analyze/
Dgoogle-services.jd96 algorithm X or algorithm Y better for cross-selling products in your app?
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1192 String8 algorithm = JStringToString8(env, jalgorithm); in android_media_MediaDrm_setCipherAlgorithmNative() local
1194 status_t err = drm->setCipherAlgorithm(sessionId, algorithm); in android_media_MediaDrm_setCipherAlgorithmNative()
1216 String8 algorithm = JStringToString8(env, jalgorithm); in android_media_MediaDrm_setMacAlgorithmNative() local
1218 status_t err = drm->setMacAlgorithm(sessionId, algorithm); in android_media_MediaDrm_setMacAlgorithmNative()
1361 String8 algorithm = JStringToString8(env, jalgorithm); in android_media_MediaDrm_signRSANative() local
1366 status_t err = drm->signRSA(sessionId, algorithm, message, wrappedKey, signature); in android_media_MediaDrm_signRSANative()
/frameworks/base/docs/html/training/cloudsave/
Dconflict-res.jd144 conflict is detected. The "store only the total" conflict resolution algorithm would resolve
206 cloud save is not enough to implement a robust conflict resolution algorithm.</p>
216 <p>With this structure, your conflict resolution algorithm has room to be more
220 <p>Here is the conflict resolution algorithm for including the delta:</p>
336 algorithm.</p>
447 <p>The new conflict resolution algorithm for the "drawer" solution is as follows:</p>
462 <p>To test this new algorithm, apply it to any of the test scenarios
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java775 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers() local
776 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm); in getKeyManagers()
/frameworks/base/tools/orientationplot/
DREADME.txt57 There should be no gap observed initially. The algorithm should pick one
/frameworks/native/cmds/flatland/
DREADME.txt23 measures the behavior of the dynamic clocking algorithm under a fairly
/frameworks/base/docs/html/training/articles/
Dkeystore.jd70 KeyPairGenerator.getInstance(algorithm, provider)} method.</p>
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd91 …sfers where successful completion is important, an exponential back-off algorithm can be used to r…

12