Home
last modified time | relevance | path

Searched refs:persistentCache (Results 1 – 12 of 12) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DServerSessionContext.java27 private SSLServerSessionCache persistentCache; field in ServerSessionContext
52 public void setPersistentCache(SSLServerSessionCache persistentCache) { in setPersistentCache() argument
53 this.persistentCache = persistentCache; in setPersistentCache()
58 if (persistentCache != null) { in getSessionFromPersistentCache()
59 byte[] data = persistentCache.getSessionData(sessionId); in getSessionFromPersistentCache()
75 if (persistentCache != null) { in onBeforeAddSession()
78 persistentCache.putSessionData(session.toSSLSession(), data); in onBeforeAddSession()
DClientSessionContext.java42 private SSLClientSessionCache persistentCache; field in ClientSessionContext
52 public void setPersistentCache(SSLClientSessionCache persistentCache) { in setPersistentCache() argument
53 this.persistentCache = persistentCache; in setPersistentCache()
137 if (persistentCache != null) { in getSession()
138 byte[] data = persistentCache.getSessionData(host, port); in getSession()
197 if (persistentCache != null && !session.isSingleUse()) { in onBeforeAddSession()
200 persistentCache.putSessionData(session.toSSLSession(), data); in onBeforeAddSession()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DServerSessionContext.java29 private SSLServerSessionCache persistentCache; field in ServerSessionContext
54 public void setPersistentCache(SSLServerSessionCache persistentCache) { in setPersistentCache() argument
55 this.persistentCache = persistentCache; in setPersistentCache()
60 if (persistentCache != null) { in getSessionFromPersistentCache()
61 byte[] data = persistentCache.getSessionData(sessionId); in getSessionFromPersistentCache()
77 if (persistentCache != null) { in onBeforeAddSession()
80 persistentCache.putSessionData(session.toSSLSession(), data); in onBeforeAddSession()
DClientSessionContext.java45 private SSLClientSessionCache persistentCache; field in ClientSessionContext
58 public void setPersistentCache(SSLClientSessionCache persistentCache) { in setPersistentCache() argument
59 this.persistentCache = persistentCache; in setPersistentCache()
144 if (persistentCache != null) { in getSession()
145 byte[] data = persistentCache.getSessionData(host, port); in getSession()
204 if (persistentCache != null && !session.isSingleUse()) { in onBeforeAddSession()
207 persistentCache.putSessionData(session.toSSLSession(), data); in onBeforeAddSession()
/external/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp222 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in finalize() local
223 if (persistentCache) { in finalize()
230 cached = persistentCache->load(*key); in finalize()
300 if (persistentCache && !cached) { in finalize()
DGrVkResourceProvider.cpp43 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in pipelineCache() local
45 if (persistentCache) { in pipelineCache()
48 cached = persistentCache->load(*keyData); in pipelineCache()
/external/skqp/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp283 auto persistentCache = fGpu->getContext()->contextPriv().getPersistentCache(); in finalize() local
284 if (persistentCache) { in finalize()
286 cached = persistentCache->load(*key); in finalize()
329 if (persistentCache) { in finalize()
DGrVkResourceProvider.cpp47 auto persistentCache = fGpu->getContext()->contextPriv().getPersistentCache(); in pipelineCache() local
49 if (persistentCache) { in pipelineCache()
52 cached = persistentCache->load(*keyData); in pipelineCache()
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp591 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in finalize() local
592 if (persistentCache) { in finalize()
597 cached = persistentCache->load(*key); in finalize()
645 if (persistentCache && !cached) { in finalize()
660 persistentCache->store(*key, *data, description); in finalize()
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp48 auto persistentCache = gpu->getContext()->contextPriv().getPersistentCache(); in CreateProgram() local
49 if (persistentCache) { in CreateProgram()
51 builder.fCached = persistentCache->load(*key); in CreateProgram()
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm506 auto persistentCache = fGpu->getContext()->priv().getPersistentCache();
507 if (persistentCache) {
509 cached = persistentCache->load(*key);
511 if (persistentCache && !cached) {
553 if (persistentCache && cached) {
627 if (persistentCache && !cached) {
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp63 auto persistentCache = dContext->priv().getPersistentCache(); in CreateProgram() local
64 if (persistentCache && !precompiledProgram) { in CreateProgram()
66 builder.fCached = persistentCache->load(*key); in CreateProgram()