Home
last modified time | relevance | path

Searched refs:cachedContext (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp93 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local
151 if (cachedContext.get() != currentContext) { in renderLayersImpl()
152 if (cachedContext.get()) { in renderLayersImpl()
154 cachedContext->flushAndSubmit(); in renderLayersImpl()
156 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()
160 if (cachedContext.get()) { in renderLayersImpl()
162 cachedContext->flushAndSubmit(); in renderLayersImpl()
/aosp12/frameworks/base/media/java/android/media/
H A DAudioManager.java7274 Context cachedContext = sContext.get(); in hasHapticChannels() local
7275 if (cachedContext != null) { in hasHapticChannels()
7279 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()