Class ShadowLinux


  • @Implements(value=libcore.io.Linux.class,
                minSdk=26,
                isInAndroidSdk=false)
    public class ShadowLinux
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowLinux()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected android.system.StructStat fstat​(java.io.FileDescriptor fd)  
      protected android.system.StructStat fstat​(java.lang.String path)  
      protected android.system.StructStat lstat​(java.lang.String path)  
      void mkdir​(java.lang.String path, int mode)  
      protected java.io.FileDescriptor open​(java.lang.String path, int flags, int mode)  
      android.system.StructStat stat​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowLinux

        public ShadowLinux()
    • Method Detail

      • mkdir

        @Implementation
        public void mkdir​(java.lang.String path,
                          int mode)
                   throws android.system.ErrnoException
        Throws:
        android.system.ErrnoException
      • stat

        @Implementation
        public android.system.StructStat stat​(java.lang.String path)
                                       throws android.system.ErrnoException
        Throws:
        android.system.ErrnoException
      • lstat

        @Implementation
        protected android.system.StructStat lstat​(java.lang.String path)
                                           throws android.system.ErrnoException
        Throws:
        android.system.ErrnoException
      • fstat

        @Implementation(maxSdk=25)
        protected android.system.StructStat fstat​(java.lang.String path)
                                           throws android.system.ErrnoException
        Throws:
        android.system.ErrnoException
      • fstat

        @Implementation
        protected android.system.StructStat fstat​(java.io.FileDescriptor fd)
                                           throws android.system.ErrnoException
        Throws:
        android.system.ErrnoException
      • open

        @Implementation
        protected java.io.FileDescriptor open​(java.lang.String path,
                                              int flags,
                                              int mode)
                                       throws android.system.ErrnoException
        Throws:
        android.system.ErrnoException