Class AndroidInterceptors.FileDescriptorInterceptor

  • Enclosing class:
    AndroidInterceptors

    public static class AndroidInterceptors.FileDescriptorInterceptor
    extends Interceptor
    Intercepts calls to libcore-extensions to FileDescriptor.

    libcore implements extensions to FileDescriptor that support ownership tracking of unix FDs, which are not part of the Java API. This intercepts calls to these and maps them to the OpenJDK API.