Package org.robolectric.shadows
Class ShadowNativeAllocationRegistry
java.lang.Object
org.robolectric.shadows.ShadowNativeAllocationRegistry
@Implements(value=libcore.util.NativeAllocationRegistry.class, minSdk=26, isInAndroidSdk=false, shadowPicker=Picker.class) public class ShadowNativeAllocationRegistry extends Object
Shadow for
NativeAllocationRegistry
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeAllocationRegistry.Picker
Shadow picker forNativeAllocationRegistry
. -
Field Summary
Fields Modifier and Type Field Description protected libcore.util.NativeAllocationRegistry
realNativeAllocationRegistry
-
Constructor Summary
Constructors Constructor Description ShadowNativeAllocationRegistry()
-
Method Summary
Modifier and Type Method Description protected static void
applyFreeFunction(long freeFunction, long nativePtr)
protected Runnable
registerNativeAllocation(Object referent, long nativePtr)
-
Field Details
-
Constructor Details
-
ShadowNativeAllocationRegistry
public ShadowNativeAllocationRegistry()
-
-
Method Details