Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp269 using JWeakValue = std::remove_pointer_t<jweak>; // this is just _jobject typedef
272 static_assert(std::is_same_v<JWeakValue*, jweak>);
280 new ConcurrentHashMap<SoundPool *, std::shared_ptr<JWeakValue>>(); in getSoundPoolJavaRefManager()
311 return std::shared_ptr<JWeakValue>( in make_shared_weakglobalref_from_localref()
313 [](JWeakValue* weak) { // cannot cache env as don't know which thread we're on. in make_shared_weakglobalref_from_localref()