Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/services/audioflinger/
DThreads.cpp468 sp<EffectChain> chain = mEffectChains[i]; in dumpEffectChains() local
469 if (chain != 0) { in dumpEffectChains()
470 chain->dump(fd, args); in dumpEffectChains()
549 sp<EffectChain> chain = getEffectChain_l(sessionId); in setEffectSuspended_l() local
550 if (chain != 0) { in setEffectSuspended_l()
552 chain->setEffectSuspended_l(type, suspend); in setEffectSuspended_l()
554 chain->setEffectSuspendedAll_l(suspend); in setEffectSuspended_l()
561 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain) in checkSuspendOnAddEffectChain_l() argument
563 ssize_t index = mSuspendedSessions.indexOfKey(chain->sessionId()); in checkSuspendOnAddEffectChain_l()
575 chain->setEffectSuspendedAll_l(true); in checkSuspendOnAddEffectChain_l()
[all …]
DEffects.h41 const wp<AudioFlinger::EffectChain>& chain,
87 void setChain(const wp<EffectChain>& chain) { mChain = chain; } in setChain() argument
96 wp<EffectChain>& chain() { return mChain; } in chain() function
DThreads.h177 virtual status_t addEffectChain_l(const sp<EffectChain>& chain) = 0;
179 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain) = 0;
250 void checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain);
424 virtual status_t addEffectChain_l(const sp<EffectChain>& chain);
425 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain);
763 virtual status_t addEffectChain_l(const sp<EffectChain>& chain);
764 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain);
DEffects.cpp56 const wp<AudioFlinger::EffectChain>& chain, in EffectModule() argument
61 mThread(thread), mChain(chain), mId(id), mSessionId(sessionId), in EffectModule()
292 sp<EffectChain> chain = mChain.promote(); in process() local
293 if (chain != 0 && chain->activeTrackCnt() != 0) { in process()
DAudioFlinger.cpp2188 sp<EffectChain> chain = srcThread->getEffectChain_l(sessionId); in moveEffectChain_l() local
2189 if (chain == 0) { in moveEffectChain_l()
2199 srcThread->removeEffectChain_l(chain); in moveEffectChain_l()
2206 sp<EffectModule> effect = chain->getEffectFromId_l(0); in moveEffectChain_l()
2218 dstChain = effect->chain().promote(); in moveEffectChain_l()
2234 effect = chain->getEffectFromId_l(0); in moveEffectChain_l()
DTracks.cpp759 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); in attachAuxEffect() local
760 if (chain == 0) { in attachAuxEffect()
764 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); in attachAuxEffect()
776 sp<EffectChain> dstChain = effect->chain().promote(); in attachAuxEffect()
/frameworks/base/keystore/java/android/security/
DAndroidKeyStore.java198 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) in engineSetKeyEntry() argument
205 setPrivateKeyEntry(alias, (PrivateKey) key, chain, null); in engineSetKeyEntry()
211 private void setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain, in setPrivateKeyEntry() argument
249 if ((chain == null) || (chain.length == 0)) { in setPrivateKeyEntry()
254 X509Certificate[] x509chain = new X509Certificate[chain.length]; in setPrivateKeyEntry()
255 for (int i = 0; i < chain.length; i++) { in setPrivateKeyEntry()
256 if (!"X.509".equals(chain[i].getType())) { in setPrivateKeyEntry()
261 if (!(chain[i] instanceof X509Certificate)) { in setPrivateKeyEntry()
266 x509chain[i] = (X509Certificate) chain[i]; in setPrivateKeyEntry()
282 if (chain.length > 1) { in setPrivateKeyEntry()
[all …]
DKeyChain.java346 List<X509Certificate> chain = store in getCertificateChain() local
348 return chain.toArray(new X509Certificate[chain.size()]); in getCertificateChain()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp105 void encode(int tick, AudioStream *chain);
264 void AudioStream::encode(int tick, AudioStream *chain) in encode() argument
308 while (chain) { in encode()
309 if (chain != this) { in encode()
310 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate); in encode()
312 chain = chain->mNext; in encode()
698 for (AudioStream *chain = mChain; chain->mNext; chain = chain->mNext) { in remove() local
699 if (chain->mNext == stream) { in remove()
704 chain->mNext = stream->mNext; in remove()
720 AudioStream *chain = mGroup->mChain; in threadLoop() local
[all …]
/frameworks/base/core/java/android/net/http/
DCertificateChainValidator.java152 X509Certificate[] chain, String domain, String authType) in verifyServerDomainAndCertificates() argument
155 X509Certificate currCertificate = chain[0]; in verifyServerDomainAndCertificates()
174 trustManager.checkServerTrusted(chain, authType, domain); in verifyServerDomainAndCertificates()
176 x509TrustManager.checkServerTrusted(chain, authType); in verifyServerDomainAndCertificates()
DX509TrustManagerExtensions.java62 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, in checkServerTrusted() argument
64 return mDelegate.checkServerTrusted(chain, authType, host); in checkServerTrusted()
/frameworks/base/core/java/android/webkit/
DSslClientCertLookupTable.java47 public void Allow(String host_and_port, PrivateKey privateKey, byte[][] chain) { in Allow() argument
49 certificateChains.put(host_and_port, chain); in Allow()
DClientCertRequestHandler.java54 public void proceed(PrivateKey privateKey, X509Certificate[] chain) { in proceed() argument
56 byte[][] chainBytes = NativeCrypto.encodeCertificates(chain); in proceed()
/frameworks/base/core/tests/coretests/src/android/net/http/
DX509TrustManagerExtensionsTest.java34 public void checkClientTrusted(X509Certificate[] chain, String authType) {} in checkClientTrusted() argument
36 public void checkServerTrusted(X509Certificate[] chain, String authType) {} in checkServerTrusted() argument
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java587 private X509Certificate[] chain; field in SSLSocketTest.TestTrustManager
591 public void checkClientTrusted(X509Certificate[] chain, String authType) { in checkClientTrusted() argument
592 this.chain = chain; in checkClientTrusted()
596 public void checkServerTrusted(X509Certificate[] chain, String authType) { in checkServerTrusted() argument
597 this.chain = chain; in checkServerTrusted()
606 return chain; in getChain()
/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyStoreTest.java1500 final Certificate[] chain = new Certificate[2]; in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() local
1501 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure()
1502 chain[1] = caCert; in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure()
1505 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, "foo".toCharArray(), chain); in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure()
1521 final Certificate[] chain = new Certificate[2]; in testKeyStore_SetKeyEntry_Encrypted_Success() local
1522 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1)); in testKeyStore_SetKeyEntry_Encrypted_Success()
1523 chain[1] = caCert; in testKeyStore_SetKeyEntry_Encrypted_Success()
1525 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, null, chain); in testKeyStore_SetKeyEntry_Encrypted_Success()
1550 final Certificate[] chain = new Certificate[2]; in testKeyStore_SetKeyEntry_Replaced_Encrypted_Success() local
1551 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1)); in testKeyStore_SetKeyEntry_Replaced_Encrypted_Success()
[all …]
/frameworks/base/libs/androidfw/
DInputTransport.cpp548 uint32_t chain = 0; in consumeSamples() local
555 seqChain.chain = chain; in consumeSamples()
561 chain = msg.body.motion.seq; in consumeSamples()
565 *outSeq = chain; in consumeSamples()
816 currentSeq = seqChain.chain; in sendFinishedSignal()
830 seqChain.chain = chainSeqs[chainIndex]; in sendFinishedSignal()
/frameworks/base/docs/html/training/articles/
Dsecurity-ssl.jd275 a chain of certificates from the server CA through any intermediates necessary to reach a
279 chain as viewed by the <a href="http://www.openssl.org/docs/apps/openssl.html">{@code openssl}</a>
285 Certificate chain
306 Certificate chain
316 need to have the intermediate CA included in the certificate chain the next time.</p>
320 chain, but have servers for resources such as images, CSS, or JavaScript not include the
327 include the intermediate CA in the server chain. Most CAs provide documentation on how to do
/frameworks/base/include/androidfw/
DInputTransport.h412 uint32_t chain; // sequence number of previous batched input message member
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp557 uint32_t* chain = (bucket + nbucket); in emitDynNamePools() local
567 chain[sym_idx] = bucket[bucket_pos]; in emitDynNamePools()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1175 uint32_t* chain = (bucket + nbucket); in emitELFHashTab() local
1187 chain[idx] = bucket[bucket_pos]; in emitELFHashTab()
1214 uint32_t* chain = NULL; in emitGNUHashTab() local
1259 chain = (bucket + nbucket); in emitGNUHashTab()
1294 chain[hashedidx - symidx] = val; in emitGNUHashTab()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd56 <p>You can also chain your methods and avoid holding on to the Toast object, like this:</p>
/frameworks/base/docs/html/training/location/
Dactivity-recognition.jd313 purpose is to start the chain of method calls for requesting updates.
702 method from anywhere in your activity; its purpose is to start the chain of method calls that
/frameworks/base/docs/html/about/versions/
Dandroid-4.2.jd521 <p>{@link android.renderscript.ScriptGroup}s allow you to chain together related Renderscript
/frameworks/base/docs/html/tools/testing/
Dtesting_ui.jd183 …t}tools/help/uiautomator/UiSelector.html">{@code UiSelector}</a>, you can chain together multiple …

12