/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStore.java | 198 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 …]
|
D | KeyChain.java | 360 List<X509Certificate> chain = store in getCertificateChain() local 362 return chain.toArray(new X509Certificate[chain.size()]); in getCertificateChain()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 622 sp<EffectChain> chain = mEffectChains[i]; in dumpEffectChains() local 623 if (chain != 0) { in dumpEffectChains() 624 chain->dump(fd, args); in dumpEffectChains() 761 sp<EffectChain> chain = getEffectChain_l(sessionId); in setEffectSuspended_l() local 762 if (chain != 0) { in setEffectSuspended_l() 764 chain->setEffectSuspended_l(type, suspend); in setEffectSuspended_l() 766 chain->setEffectSuspendedAll_l(suspend); in setEffectSuspended_l() 773 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain) in checkSuspendOnAddEffectChain_l() argument 775 ssize_t index = mSuspendedSessions.indexOfKey(chain->sessionId()); in checkSuspendOnAddEffectChain_l() 787 chain->setEffectSuspendedAll_l(true); in checkSuspendOnAddEffectChain_l() [all …]
|
D | AudioFlinger.cpp | 1460 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)lSessionId); in openRecord() local 1461 if (chain != 0) { in openRecord() 1463 thread->addEffectChain_l(chain); in openRecord() 2116 sp<EffectChain> chain; in closeInput_nonvirtual() local 2122 chain = effectChains[0]; in closeInput_nonvirtual() 2125 if (chain != 0) { in closeInput_nonvirtual() 2135 if (t->hasAudioSession(chain->sessionId()) != 0) { in closeInput_nonvirtual() 2138 t->id(), chain->sessionId()); in closeInput_nonvirtual() 2139 t->addEffectChain_l(chain); in closeInput_nonvirtual() 2145 putOrphanEffectChain_l(chain); in closeInput_nonvirtual() [all …]
|
D | Effects.h | 45 const wp<AudioFlinger::EffectChain>& chain, 91 void setChain(const wp<EffectChain>& chain) { mChain = chain; } in setChain() argument 100 wp<EffectChain>& chain() { return mChain; } in chain() function
|
D | Threads.h | 300 virtual status_t addEffectChain_l(const sp<EffectChain>& chain) = 0; 302 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain) = 0; 387 void checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain); 574 virtual status_t addEffectChain_l(const sp<EffectChain>& chain); 575 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain); 1122 virtual status_t addEffectChain_l(const sp<EffectChain>& chain); 1123 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain);
|
D | Effects.cpp | 59 const wp<AudioFlinger::EffectChain>& chain, in EffectModule() argument 64 mThread(thread), mChain(chain), mId(id), mSessionId(sessionId), in EffectModule() 298 sp<EffectChain> chain = mChain.promote(); in process() local 299 if (chain != 0 && chain->activeTrackCnt() != 0) { in process() 484 sp<EffectChain> chain = mChain.promote(); in start_l() local 485 if (chain != 0) { in start_l() 486 chain->forceVolume(); in start_l()
|
D | Tracks.cpp | 958 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); in attachAuxEffect() local 959 if (chain == 0) { in attachAuxEffect() 963 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); in attachAuxEffect() 979 sp<EffectChain> dstChain = effect->chain().promote(); in attachAuxEffect()
|
D | AudioFlinger.h | 579 status_t putOrphanEffectChain_l(const sp<EffectChain>& chain);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 105 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/services/core/java/com/android/server/am/ |
D | TaskPersister.java | 555 List<OtherDeviceTask> chain = tasksByAffiliateIds.valueAt(i); in readOtherDeviceTasksFromDisk() local 556 Collections.sort(chain); in readOtherDeviceTasksFromDisk() 559 chain.get(chain.size()-1).mComponentName.getPackageName(); in readOtherDeviceTasksFromDisk() 565 chains.add(chain); in readOtherDeviceTasksFromDisk() 603 List<OtherDeviceTask> chain = chains.get(j); in removeExpiredTasksIfNeeded() local 605 for (int k = chain.size() - 1; k >= 0 ; k--) { in removeExpiredTasksIfNeeded() 606 OtherDeviceTask task = chain.get(k); in removeExpiredTasksIfNeeded() 618 for (int k = chain.size() - 1; k >= 0; k--) { in removeExpiredTasksIfNeeded() 619 final File file = chain.get(k).mFile; in removeExpiredTasksIfNeeded() 622 + chain.get(k).mComponentName); in removeExpiredTasksIfNeeded() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | X509TrustManagerExtensions.java | 66 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, in checkServerTrusted() argument 68 return mDelegate.checkServerTrusted(chain, authType, host); in checkServerTrusted()
|
D | CertificateChainValidator.java | 211 X509Certificate[] chain, String domain, String authType) in verifyServerDomainAndCertificates() argument 214 X509Certificate currCertificate = chain[0]; in verifyServerDomainAndCertificates() 234 trustManager.checkServerTrusted(chain, authType, domain); in verifyServerDomainAndCertificates() 236 x509TrustManager.checkServerTrusted(chain, authType); in verifyServerDomainAndCertificates()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 192 Signature[] chain = new Signature[1 + mCertificateChain.length]; in getChainSignatures() local 193 chain[0] = this; in getChainSignatures() 197 chain[i++] = new Signature(c.getEncoded()); in getChainSignatures() 200 return chain; in getChainSignatures()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | X509TrustManagerExtensionsTest.java | 34 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/ |
D | SSLSocketTest.java | 587 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/core/java/android/webkit/ |
D | ClientCertRequest.java | 69 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); in proceed() argument
|
/frameworks/base/keystore/tests/src/android/security/ |
D | AndroidKeyStoreTest.java | 2242 final Certificate[] chain = new Certificate[2]; in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() local 2243 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() 2244 chain[1] = caCert; in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() 2247 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, "foo".toCharArray(), chain); in testKeyStore_SetKeyEntry_ProtectedKey_Encrypted_Failure() 2263 final Certificate[] chain = new Certificate[2]; in testKeyStore_SetKeyEntry_Encrypted_Success() local 2264 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_SetKeyEntry_Encrypted_Success() 2265 chain[1] = caCert; in testKeyStore_SetKeyEntry_Encrypted_Success() 2267 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, null, chain); in testKeyStore_SetKeyEntry_Encrypted_Success() 2292 final Certificate[] chain = new Certificate[2]; in testKeyStore_SetKeyEntry_Replaced_Encrypted_Success() local 2293 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_SetKeyEntry_Replaced_Encrypted_Success() [all …]
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 553 uint32_t chain = 0; in consumeSamples() local 560 seqChain.chain = chain; in consumeSamples() 566 chain = msg.body.motion.seq; in consumeSamples() 570 *outSeq = chain; in consumeSamples() 821 currentSeq = seqChain.chain; in sendFinishedSignal() 835 seqChain.chain = chainSeqs[chainIndex]; in sendFinishedSignal()
|
/frameworks/base/docs/html/training/articles/ |
D | security-ssl.jd | 276 a chain of certificates from the server CA through any intermediates necessary to reach a 280 chain as viewed by the <a href="http://www.openssl.org/docs/apps/openssl.html">{@code openssl}</a> 286 Certificate chain 307 Certificate chain 317 need to have the intermediate CA included in the certificate chain the next time.</p> 321 chain, but have servers for resources such as images, CSS, or JavaScript not include the 328 include the intermediate CA in the server chain. Most CAs provide documentation on how to do
|
/frameworks/native/include/input/ |
D | InputTransport.h | 420 uint32_t chain; // sequence number of previous batched input message member
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
D | WebViewContentsClientAdapter.java | 824 public void proceed(final PrivateKey privateKey, final X509Certificate[] chain) { in proceed() argument 825 mCallback.proceed(privateKey, chain); in proceed()
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | toasts.jd | 56 <p>You can also chain your methods and avoid holding on to the Toast object, like this:</p>
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 1173 uint32_t* chain = (bucket + nbucket); in emitELFHashTab() local 1185 chain[idx] = bucket[bucket_pos]; in emitELFHashTab() 1212 uint32_t* chain = NULL; in emitGNUHashTab() local 1257 chain = (bucket + nbucket); in emitGNUHashTab() 1292 chain[hashedidx - symidx] = val; in emitGNUHashTab()
|
/frameworks/base/docs/html/design/downloads/ |
D | index.jd | 104 <p>Examples of how to chain together simple Android Wear UI components into common user flow patter…
|