Class ShadowNoopNativeAllocationRegistry


  • @Implements(value=libcore.util.NativeAllocationRegistry.class,
                minSdk=24,
                isInAndroidSdk=false,
                looseSignatures=true)
    public class ShadowNoopNativeAllocationRegistry
    extends Object
    Shadow for NativeAllocationRegistry that is a no-op.
    • Constructor Detail

      • ShadowNoopNativeAllocationRegistry

        public ShadowNoopNativeAllocationRegistry()
    • Method Detail

      • registerNativeAllocation

        @Implementation
        protected Runnable registerNativeAllocation​(Object referent,
                                                    Object allocator)
      • registerNativeAllocation

        @Implementation
        protected Runnable registerNativeAllocation​(Object referent,
                                                    long nativePtr)