Searched defs:chain (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/net/http/
H A DX509TrustManagerExtensions.java57 * Verifies the given certificate chain.
60 * description of the chain and authType parameters. The final parameter, host, should be the
63 * @throws CertificateException if the chain does not verify correctly.
64 * @return the properly ordered chain used for verification as a list of X509Certificates.
66 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, argument
68 return mDelegate.checkServerTrusted(chain, authType, host);
74 * <p>Since {@link X509TrustManager#checkServerTrusted} allows its parameter {@code chain} to
75 * chain up to user-added CA certificates, this method can be used to perform additional
H A DCertificateChainValidator.java55 * The singleton instance of the certificate chain validator.
69 * @return The singleton instance of the certificates chain validator
76 * Creates a new certificate chain validator. This is a private constructor.
77 * If you need a Certificate chain validator, call getInstance().
102 * Notice a new chain will be rebuilt by tracing the issuer and subject
119 // retrieve the chain of the server peer certificates
141 * by Chromium HTTPS stack to validate the cert chain.
144 * @param authType The authentication type for the cert chain
152 throw new IllegalArgumentException("bad certificate chain");
205 * @param chain th
210 verifyServerDomainAndCertificates( X509Certificate[] chain, String domain, String authType) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DClientCertRequest.java66 * Proceed with the specified private key and client certificate chain.
69 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DX509TrustManagerExtensionsTest.java34 public void checkClientTrusted(X509Certificate[] chain, String authType) {} argument
36 public void checkServerTrusted(X509Certificate[] chain, String authType) {} argument
/frameworks/base/keystore/java/android/security/
H A DAndroidKeyStore.java63 * Credentials.USER_CERTIFICATE as the first certificate in the chain (the one
65 * entry which will have the rest of the chain concatenated in BER format.
198 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
205 setPrivateKeyEntry(alias, (PrivateKey) key, chain, null);
211 private void setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain, argument
248 // Make sure the chain exists since this is a PrivateKey
249 if ((chain == null) || (chain.length == 0)) {
253 // Do chain type checking.
254 X509Certificate[] x509chain = new X509Certificate[chain
344 engineSetKeyEntry(String alias, byte[] userKey, Certificate[] chain) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java583 * chain it sees, so it can later be queried.
587 private X509Certificate[] chain; field in class:SSLSocketTest.TestTrustManager
591 public void checkClientTrusted(X509Certificate[] chain, String authType) { argument
592 this.chain = chain;
596 public void checkServerTrusted(X509Certificate[] chain, String authType) { argument
597 this.chain = chain;
606 return chain;
812 // Caution: The clientChain is the certificate chain fro
[all...]
/frameworks/native/include/input/
H A DInputTransport.h417 // chain to individually finish all input messages that were part of the batch.
420 uint32_t chain; // sequence number of previous batched input message member in struct:android::InputConsumer::SeqChain
/frameworks/av/services/audioflinger/
H A DEffects.h45 const wp<AudioFlinger::EffectChain>& chain,
91 void setChain(const wp<EffectChain>& chain) { mChain = chain; } argument
100 wp<EffectChain>& chain() { return mChain; } function in class:EffectModule
142 wp<EffectChain> mChain; // parent effect chain
239 // Effects in this chain can be insert or auxiliary. Effects in other chains (attached to
319 // At least one non offloadable effect in the chain is enabled
366 int16_t *mInBuffer; // chain input buffer
367 int16_t *mOutBuffer; // chain output buffer
375 bool mOwnInBuffer; // true if the chain own
[all...]
H A DEffects.cpp59 const wp<AudioFlinger::EffectChain>& chain,
64 mThread(thread), mChain(chain), mId(id), mSessionId(sessionId),
298 sp<EffectChain> chain = mChain.promote(); local
299 if (chain != 0 && chain->activeTrackCnt() != 0) {
360 // last effect in the chain accumulates in output buffer: input buffer != output buffer
484 sp<EffectChain> chain = mChain.promote(); local
485 if (chain != 0) {
486 chain->forceVolume();
1482 // they are processed first and accumulated in chain inpu
58 EffectModule(ThreadBase *thread, const wp<AudioFlinger::EffectChain>& chain, effect_descriptor_t *desc, int id, int sessionId) argument
[all...]
H A DTracks.cpp958 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); local
959 if (chain == 0) {
963 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId);
979 sp<EffectChain> dstChain = effect->chain().promote();
H A DAudioFlinger.cpp603 // check if an effect chain with the same session ID is present on another
629 // move effect chain to this output thread if an effect on same session was waiting
1458 // Check if one effect chain was awaiting for an AudioRecord to be created on this
1460 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)lSessionId); local
1461 if (chain != 0) {
1463 thread->addEffectChain_l(chain);
2113 // on at least one effect. We must either move the chain to an existing thread with the
2116 sp<EffectChain> chain; local
2120 // Note: maximum one chain per record thread
2122 chain
2580 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)sessionId); local
2642 sp<EffectChain> chain = srcThread->getEffectChain_l(sessionId); local
2758 putOrphanEffectChain_l(const sp<AudioFlinger::EffectChain>& chain) argument
2773 sp<EffectChain> chain; local
2790 sp<EffectChain> chain = mOrphanEffectChains.valueAt(index); local
[all...]
H A DThreads.cpp622 sp<EffectChain> chain = mEffectChains[i]; local
623 if (chain != 0) {
624 chain->dump(fd, args);
761 sp<EffectChain> chain = getEffectChain_l(sessionId); local
762 if (chain != 0) {
764 chain->setEffectSuspended_l(type, suspend);
766 chain->setEffectSuspendedAll_l(suspend);
773 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain) argument
775 ssize_t index = mSuspendedSessions.indexOfKey(chain->sessionId());
787 chain
881 sp<EffectChain> chain = getEffectChain_l(sessionId); local
900 sp<EffectChain> chain; local
1038 sp<EffectChain> chain = getEffectChain_l(sessionId); local
1048 sp<EffectChain> chain = getEffectChain_l(sessionId); local
1096 sp<EffectChain> chain = effect->chain().promote(); local
1526 sp<EffectChain> chain = getEffectChain_l(sessionId); local
1656 sp<EffectChain> chain = getEffectChain_l(track->sessionId()); local
1700 sp<EffectChain> chain = getEffectChain_l(track->sessionId()); local
2247 addEffectChain_l(const sp<EffectChain>& chain) argument
2316 removeEffectChain_l(const sp<EffectChain>& chain) argument
2692 sp<EffectChain> chain = getEffectChain_l(track->sessionId()); local
3192 sp<EffectChain> chain = getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); local
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskPersister.java552 // Sort each affiliated tasks chain by taskId which is the order they were created
555 List<OtherDeviceTask> chain = tasksByAffiliateIds.valueAt(i);
556 Collections.sort(chain);
557 // Package name of the root task in the affiliate chain.
559 chain.get(chain.size()-1).mComponentName.getPackageName();
565 chains.add(chain);
597 // remove task if it is safe to remove all tasks in the affiliation chain.
603 List<OtherDeviceTask> chain = chains.get(j);
605 for (int k = chain
849 canAddOtherDeviceTaskChain(List<OtherDeviceTask> chain) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp105 void encode(int tick, AudioStream *chain);
264 void AudioStream::encode(int tick, AudioStream *chain) argument
308 while (chain) {
309 if (chain != this) {
310 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);
312 chain = chain->mNext;
698 for (AudioStream *chain = mChain; chain->mNext; chain
720 AudioStream *chain = mGroup->mChain; local
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java824 public void proceed(final PrivateKey privateKey, final X509Certificate[] chain) { argument
825 mCallback.proceed(privateKey, chain);
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp1173 uint32_t* chain = (bucket + nbucket); local
1185 chain[idx] = bucket[bucket_pos];
1212 uint32_t* chain = NULL; local
1255 // setup bucket and chain
1257 chain = (bucket + nbucket);
1272 // compute bucket, chain, and bitmask
1289 // last element terminates the chain
1292 chain[hashedidx - symidx] = val;

Completed in 7705 milliseconds