Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/libcore/util/
DNativeAllocationRegistry_Delegate.java34 public class NativeAllocationRegistry_Delegate { class
37 private static final DelegateManager<NativeAllocationRegistry_Delegate> sManager =
38 new DelegateManager<>(NativeAllocationRegistry_Delegate.class);
42 private NativeAllocationRegistry_Delegate(FreeFunction finalizer) { in NativeAllocationRegistry_Delegate() method in NativeAllocationRegistry_Delegate
50 return sManager.addNewDelegate(new NativeAllocationRegistry_Delegate(finalizer)); in createFinalizer()
59 NativeAllocationRegistry_Delegate delegate = sManager.getDelegate(freeFunction); in applyFreeFunction()
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceControl_Delegate.java22 import libcore.util.NativeAllocationRegistry_Delegate;
40 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetNativeTransactionFinalizer()
DDisplayEventReceiver_Delegate.java27 import libcore.util.NativeAllocationRegistry_Delegate;
45 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetDisplayEventReceiverFinalizer()
/frameworks/layoutlib/bridge/src/android/os/
DBinder_Delegate.java22 import libcore.util.NativeAllocationRegistry_Delegate;
48 sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer( in getNativeFinalizer()
/frameworks/layoutlib/bridge/src/android/content/res/
DAssetManager_Delegate.java24 import libcore.util.NativeAllocationRegistry_Delegate;
64 sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer( in nativeGetThemeFreeFunction()
/frameworks/base/core/jni/platform/host/
DHostRuntime.cpp73 NATIVE_METHOD(NativeAllocationRegistry_Delegate, nativeApplyFreeFunction, "(JJ)V"),