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 classShadowNativeAllocationRegistry.PickerShadow picker forNativeAllocationRegistry. -
Field Summary
Fields Modifier and Type Field Description protected libcore.util.NativeAllocationRegistryrealNativeAllocationRegistry -
Constructor Summary
Constructors Constructor Description ShadowNativeAllocationRegistry() -
Method Summary
Modifier and Type Method Description protected static voidapplyFreeFunction(long freeFunction, long nativePtr)protected RunnableregisterNativeAllocation(Object referent, long nativePtr)
-
Field Details
-
Constructor Details
-
ShadowNativeAllocationRegistry
public ShadowNativeAllocationRegistry()
-
-
Method Details