Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp104 sk_sp<GrDirectContext> cachedContext; in renderLayersImpl() local
162 if (cachedContext.get() != currentContext) { in renderLayersImpl()
163 if (cachedContext.get()) { in renderLayersImpl()
165 cachedContext->flushAndSubmit(); in renderLayersImpl()
167 cachedContext.reset(SkSafeRef(currentContext)); in renderLayersImpl()
171 if (cachedContext.get()) { in renderLayersImpl()
173 cachedContext->flushAndSubmit(); in renderLayersImpl()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioManager.java8400 Context cachedContext = sContext.get(); in hasHapticChannels() local
8401 if (cachedContext != null) { in hasHapticChannels()
8405 return hasHapticChannelsImpl(cachedContext, uri); in hasHapticChannels()