/frameworks/base/core/java/android/net/http/ |
H A D | X509TrustManagerExtensions.java | 53 * Verifies the given certificate chain. 56 * description of the chain and authType parameters. The final parameter, host, should be the 59 * @throws CertificateException if the chain does not verify correctly. 60 * @return the properly ordered chain used for verification as a list of X509Certificates. 62 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, argument 64 return mDelegate.checkServerTrusted(chain, authType, host);
|
H A D | CertificateChainValidator.java | 44 * The singleton instance of the certificate chain validator 53 * @return The singleton instance of the certificates chain validator 60 * Creates a new certificate chain validator. This is a private constructor. 61 * If you need a Certificate chain validator, call getInstance(). 67 * Notice a new chain will be rebuilt by tracing the issuer and subject 84 // retrieve the chain of the server peer certificates 106 * by Chromium HTTPS stack to validate the cert chain. 109 * @param authType The authentication type for the cert chain 117 throw new IllegalArgumentException("bad certificate chain"); 153 * @param chain th 158 verifyServerDomainAndCertificates( X509Certificate[] chain, String domain, String authType) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | X509TrustManagerExtensionsTest.java | 34 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 D | AndroidKeyStore.java | 63 * 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 D | SSLSocketTest.java | 583 * 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 D | InputTransport.h | 409 // chain to individually finish all input messages that were part of the batch. 412 uint32_t chain; // sequence number of previous batched input message member in struct:android::InputConsumer::SeqChain
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.h | 45 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 141 wp<EffectChain> mChain; // parent effect chain 236 // Effects in this chain can be insert or auxiliary. Effects in other chains (attached to 315 // At least one non offloadable effect in the chain is enabled 352 int16_t *mInBuffer; // chain input buffer 353 int16_t *mOutBuffer; // chain output buffer 361 bool mOwnInBuffer; // true if the chain own [all...] |
H A D | Effects.cpp | 57 const wp<AudioFlinger::EffectChain>& chain, 62 mThread(thread), mChain(chain), mId(id), mSessionId(sessionId), 284 sp<EffectChain> chain = mChain.promote(); local 285 if (chain != 0 && chain->activeTrackCnt() != 0) { 346 // last effect in the chain accumulates in output buffer: input buffer != output buffer 1344 // they are processed first and accumulated in chain input buffer 1355 // auxiliary effects output samples to chain input buffer for further processing 1421 // always read samples from chain input buffer 1424 // if last effect in the chain, outpu 56 EffectModule(ThreadBase *thread, const wp<AudioFlinger::EffectChain>& chain, effect_descriptor_t *desc, int id, int sessionId) argument [all...] |
H A D | Tracks.cpp | 823 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); local 824 if (chain == 0) { 828 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); 844 sp<EffectChain> dstChain = effect->chain().promote();
|
H A D | AudioFlinger.cpp | 492 // check if an effect chain with the same session ID is present on another 517 // move effect chain to this output thread if an effect on same session was waiting 1958 // remove all effects from the chain 2224 // first output. The effect chain will be moved to the correct output 2293 sp<EffectChain> chain = srcThread->getEffectChain_l(sessionId); local 2294 if (chain == 0) { 2295 ALOGW("moveEffectChain_l() effect chain for session %d not on source thread %p", 2300 // remove chain first. This is useful only if reconfiguring effect chain on same output thread, 2301 // so that a new chain i [all...] |
H A D | Threads.cpp | 473 sp<EffectChain> chain = mEffectChains[i]; local 474 if (chain != 0) { 475 chain->dump(fd, args); 608 sp<EffectChain> chain = getEffectChain_l(sessionId); local 609 if (chain != 0) { 611 chain->setEffectSuspended_l(type, suspend); 613 chain->setEffectSuspendedAll_l(suspend); 620 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain) argument 622 ssize_t index = mSuspendedSessions.indexOfKey(chain->sessionId()); 634 chain 728 sp<EffectChain> chain = getEffectChain_l(sessionId); local 748 sp<EffectChain> chain; local 867 sp<EffectChain> chain = getEffectChain_l(sessionId); local 877 sp<EffectChain> chain = getEffectChain_l(sessionId); local 925 sp<EffectChain> chain = effect->chain().promote(); local 1336 sp<EffectChain> chain = getEffectChain_l(sessionId); local 1466 sp<EffectChain> chain = getEffectChain_l(track->sessionId()); local 1512 sp<EffectChain> chain = getEffectChain_l(track->sessionId()); local 2005 addEffectChain_l(const sp<EffectChain>& chain) argument 2072 removeEffectChain_l(const sp<EffectChain>& chain) argument 2415 sp<EffectChain> chain = getEffectChain_l(track->sessionId()); local 2830 sp<EffectChain> chain = getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); local 5308 addEffectChain_l(const sp<EffectChain>& chain) argument 5326 removeEffectChain_l(const sp<EffectChain>& chain) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 105 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/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 1154 uint32_t* chain = (bucket + nbucket); local 1166 chain[idx] = bucket[bucket_pos]; 1193 uint32_t* chain = NULL; local 1236 // setup bucket and chain 1238 chain = (bucket + nbucket); 1253 // compute bucket, chain, and bitmask 1270 // last element terminates the chain 1273 chain[hashedidx - symidx] = val;
|