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 ObjectShadow forNativeAllocationRegistrythat 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voidapplyFreeFunction(long freeFunction, long nativePtr)protected RunnableregisterNativeAllocation(Object referent, long nativePtr)
-