class com.android.mtp.MtpManager
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.android.mtp.MtpManager
  super_class: java.lang.Object
{
  static final int OBJECT_HANDLE_ROOT_CHILDREN;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private static final int SUBCLASS_STILL_IMAGE_CAPTURE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int SUBCLASS_MTP;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 255

  private static final int PROTOCOL_PICTURE_TRANSFER;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int PROTOCOL_MTP;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private final android.hardware.usb.UsbManager mManager;
    descriptor: Landroid/hardware/usb/UsbManager;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final android.util.SparseArray<android.mtp.MtpDevice> mDevices;
    descriptor: Landroid/util/SparseArray;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Landroid/util/SparseArray<Landroid/mtp/MtpDevice;>;

  void <init>(android.content.Context);
    descriptor: (Landroid/content/Context;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // android.content.Context context
         0: .line 72
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            aload 0 /* this */
            new android.util.SparseArray
            dup
            invokespecial android.util.SparseArray.<init>:()V
            putfield com.android.mtp.MtpManager.mDevices:Landroid/util/SparseArray;
         2: .line 73
            aload 0 /* this */
            aload 1 /* context */
            ldc "usb"
            invokevirtual android.content.Context.getSystemService:(Ljava/lang/String;)Ljava/lang/Object;
            checkcast android.hardware.usb.UsbManager
            putfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
         3: .line 74
            return
        end local 1 // android.content.Context context
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/android/mtp/MtpManager;
            0    4     1  context  Landroid/content/Context;
    MethodParameters:
         Name  Flags
      context  

  synchronized com.android.mtp.MtpDeviceRecord openDevice(int);
    descriptor: (I)Lcom/android/mtp/MtpDeviceRecord;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
         0: .line 77
            aconst_null
            astore 2 /* rawDevice */
        start local 2 // android.hardware.usb.UsbDevice rawDevice
         1: .line 78
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
            invokevirtual android.hardware.usb.UsbManager.getDeviceList:()Ljava/util/HashMap;
            invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: com.android.mtp.MtpManager int android.hardware.usb.UsbDevice top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast android.hardware.usb.UsbDevice
            astore 3 /* candidate */
        start local 3 // android.hardware.usb.UsbDevice candidate
         3: .line 79
            aload 3 /* candidate */
            invokevirtual android.hardware.usb.UsbDevice.getDeviceId:()I
            iload 1 /* deviceId */
            if_icmpne 6
         4: .line 80
            aload 3 /* candidate */
            astore 2 /* rawDevice */
         5: .line 81
            goto 7
        end local 3 // android.hardware.usb.UsbDevice candidate
         6: .line 78
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 85
      StackMap locals: com.android.mtp.MtpManager int android.hardware.usb.UsbDevice
      StackMap stack:
            aload 2 /* rawDevice */
            new java.lang.StringBuilder
            dup
            ldc "Not found USB device: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* deviceId */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         8: .line 87
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
            aload 2 /* rawDevice */
            invokevirtual android.hardware.usb.UsbManager.hasPermission:(Landroid/hardware/usb/UsbDevice;)Z
            ifne 12
         9: .line 88
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
            aload 2 /* rawDevice */
            invokevirtual android.hardware.usb.UsbManager.grantPermission:(Landroid/hardware/usb/UsbDevice;)V
        10: .line 89
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
            aload 2 /* rawDevice */
            invokevirtual android.hardware.usb.UsbManager.hasPermission:(Landroid/hardware/usb/UsbDevice;)Z
            ifne 12
        11: .line 90
            new java.io.IOException
            dup
            ldc "Failed to grant a device permission."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 94
      StackMap locals:
      StackMap stack:
            new android.mtp.MtpDevice
            dup
            aload 2 /* rawDevice */
            invokespecial android.mtp.MtpDevice.<init>:(Landroid/hardware/usb/UsbDevice;)V
            astore 3 /* device */
        start local 3 // android.mtp.MtpDevice device
        13: .line 97
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
            aload 2 /* rawDevice */
            invokevirtual android.hardware.usb.UsbManager.openDevice:(Landroid/hardware/usb/UsbDevice;)Landroid/hardware/usb/UsbDeviceConnection;
        14: .line 98
            ldc "Failed to open a USB connection."
        15: .line 96
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast android.hardware.usb.UsbDeviceConnection
            astore 4 /* connection */
        start local 4 // android.hardware.usb.UsbDeviceConnection connection
        16: .line 100
            aload 3 /* device */
            aload 4 /* connection */
            invokevirtual android.mtp.MtpDevice.open:(Landroid/hardware/usb/UsbDeviceConnection;)Z
            ifne 18
        17: .line 102
            new com.android.mtp.BusyDeviceException
            dup
            invokespecial com.android.mtp.BusyDeviceException.<init>:()V
            athrow
        18: .line 107
      StackMap locals: android.mtp.MtpDevice android.hardware.usb.UsbDeviceConnection
      StackMap stack:
            aload 3 /* device */
            invokevirtual android.mtp.MtpDevice.getStorageIds:()[I
        19: .line 108
            ldc "Not found MTP storages in the device."
        20: .line 106
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast int[]
            pop
        21: .line 110
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mDevices:Landroid/util/SparseArray;
            iload 1 /* deviceId */
            aload 3 /* device */
            invokevirtual android.util.SparseArray.put:(ILjava/lang/Object;)V
        22: .line 111
            aload 0 /* this */
            aload 2 /* rawDevice */
            invokevirtual com.android.mtp.MtpManager.createDeviceRecord:(Landroid/hardware/usb/UsbDevice;)Lcom/android/mtp/MtpDeviceRecord;
            areturn
        end local 4 // android.hardware.usb.UsbDeviceConnection connection
        end local 3 // android.mtp.MtpDevice device
        end local 2 // android.hardware.usb.UsbDevice rawDevice
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   23     0        this  Lcom/android/mtp/MtpManager;
            0   23     1    deviceId  I
            1   23     2   rawDevice  Landroid/hardware/usb/UsbDevice;
            3    6     3   candidate  Landroid/hardware/usb/UsbDevice;
           13   23     3      device  Landroid/mtp/MtpDevice;
           16   23     4  connection  Landroid/hardware/usb/UsbDeviceConnection;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      deviceId  

  synchronized void closeDevice(int);
    descriptor: (I)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
         0: .line 115
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            invokevirtual android.mtp.MtpDevice.close:()V
         1: .line 116
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mDevices:Landroid/util/SparseArray;
            iload 1 /* deviceId */
            invokevirtual android.util.SparseArray.remove:(I)V
         2: .line 117
            return
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lcom/android/mtp/MtpManager;
            0    3     1  deviceId  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      deviceId  

  synchronized com.android.mtp.MtpDeviceRecord[] getDevices();
    descriptor: ()[Lcom/android/mtp/MtpDeviceRecord;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.android.mtp.MtpManager this
         0: .line 120
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* devices */
        start local 1 // java.util.ArrayList devices
         1: .line 121
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mManager:Landroid/hardware/usb/UsbManager;
            invokevirtual android.hardware.usb.UsbManager.getDeviceList:()Ljava/util/HashMap;
            invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 3
            goto 6
      StackMap locals: com.android.mtp.MtpManager java.util.ArrayList top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast android.hardware.usb.UsbDevice
            astore 2 /* device */
        start local 2 // android.hardware.usb.UsbDevice device
         3: .line 122
            aload 2 /* device */
            invokestatic com.android.mtp.MtpManager.isMtpDevice:(Landroid/hardware/usb/UsbDevice;)Z
            ifne 5
         4: .line 123
            goto 6
         5: .line 125
      StackMap locals: com.android.mtp.MtpManager java.util.ArrayList android.hardware.usb.UsbDevice java.util.Iterator
      StackMap stack:
            aload 1 /* devices */
            aload 0 /* this */
            aload 2 /* device */
            invokevirtual com.android.mtp.MtpManager.createDeviceRecord:(Landroid/hardware/usb/UsbDevice;)Lcom/android/mtp/MtpDeviceRecord;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // android.hardware.usb.UsbDevice device
         6: .line 121
      StackMap locals: com.android.mtp.MtpManager java.util.ArrayList top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 127
            aload 1 /* devices */
            aload 1 /* devices */
            invokevirtual java.util.ArrayList.size:()I
            anewarray com.android.mtp.MtpDeviceRecord
            invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast com.android.mtp.MtpDeviceRecord[]
            areturn
        end local 1 // java.util.ArrayList devices
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lcom/android/mtp/MtpManager;
            1    8     1  devices  Ljava/util/ArrayList<Lcom/android/mtp/MtpDeviceRecord;>;
            3    6     2   device  Landroid/hardware/usb/UsbDevice;

  android.mtp.MtpObjectInfo getObjectInfo(int, int);
    descriptor: (II)Landroid/mtp/MtpObjectInfo;
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
         0: .line 131
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 3 /* device */
        start local 3 // android.mtp.MtpDevice device
         1: .line 132
            aload 3 /* device */
            dup
            astore 4
            monitorenter
         2: .line 134
            aload 3 /* device */
            iload 2 /* objectHandle */
            invokevirtual android.mtp.MtpDevice.getObjectInfo:(I)Landroid/mtp/MtpObjectInfo;
         3: .line 135
            new java.lang.StringBuilder
            dup
            ldc "Failed to get object info: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* objectHandle */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 133
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast android.mtp.MtpObjectInfo
            aload 4
            monitorexit
         5: areturn
         6: .line 132
      StackMap locals: com.android.mtp.MtpManager int int android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
         7: athrow
        end local 3 // android.mtp.MtpDevice device
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lcom/android/mtp/MtpManager;
            0    8     1      deviceId  I
            0    8     2  objectHandle  I
            1    8     3        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  

  int[] getObjectHandles(int, int, int);
    descriptor: (III)[I
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int storageId
        start local 3 // int parentObjectHandle
         0: .line 141
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 4 /* device */
        start local 4 // android.mtp.MtpDevice device
         1: .line 142
            aload 4 /* device */
            dup
            astore 5
            monitorenter
         2: .line 144
            aload 4 /* device */
            iload 2 /* storageId */
            iconst_0
            iload 3 /* parentObjectHandle */
            invokevirtual android.mtp.MtpDevice.getObjectHandles:(III)[I
         3: .line 145
            ldc "Failed to fetch object handles."
         4: .line 143
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast int[]
            aload 5
            monitorexit
         5: areturn
         6: .line 142
      StackMap locals: com.android.mtp.MtpManager int int int android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 5
            monitorexit
         7: athrow
        end local 4 // android.mtp.MtpDevice device
        end local 3 // int parentObjectHandle
        end local 2 // int storageId
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    8     0                this  Lcom/android/mtp/MtpManager;
            0    8     1            deviceId  I
            0    8     2           storageId  I
            0    8     3  parentObjectHandle  I
            1    8     4              device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                    Name  Flags
      deviceId            
      storageId           
      parentObjectHandle  

  byte[] getObject(int, int, int);
    descriptor: (III)[B
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
        start local 3 // int expectedSize
         0: .line 151
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 4 /* device */
        start local 4 // android.mtp.MtpDevice device
         1: .line 152
            aload 4 /* device */
            dup
            astore 5
            monitorenter
         2: .line 154
            aload 4 /* device */
            iload 2 /* objectHandle */
            iload 3 /* expectedSize */
            invokevirtual android.mtp.MtpDevice.getObject:(II)[B
         3: .line 155
            ldc "Failed to fetch object bytes"
         4: .line 153
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast byte[]
            aload 5
            monitorexit
         5: areturn
         6: .line 152
      StackMap locals: com.android.mtp.MtpManager int int int android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 5
            monitorexit
         7: athrow
        end local 4 // android.mtp.MtpDevice device
        end local 3 // int expectedSize
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lcom/android/mtp/MtpManager;
            0    8     1      deviceId  I
            0    8     2  objectHandle  I
            0    8     3  expectedSize  I
            1    8     4        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  
      expectedSize  

  long getPartialObject(int, int, long, long, byte[]);
    descriptor: (IIJJ[B)J
    flags: (0x0000) 
    Code:
      stack=7, locals=10, args_size=6
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
        start local 3 // long offset
        start local 5 // long size
        start local 7 // byte[] buffer
         0: .line 161
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 8 /* device */
        start local 8 // android.mtp.MtpDevice device
         1: .line 162
            aload 8 /* device */
            dup
            astore 9
            monitorenter
         2: .line 163
            aload 8 /* device */
            iload 2 /* objectHandle */
            lload 3 /* offset */
            lload 5 /* size */
            aload 7 /* buffer */
            invokevirtual android.mtp.MtpDevice.getPartialObject:(IJJ[B)J
            aload 9
            monitorexit
         3: lreturn
         4: .line 162
      StackMap locals: com.android.mtp.MtpManager int int long long byte[] android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 9
            monitorexit
         5: athrow
        end local 8 // android.mtp.MtpDevice device
        end local 7 // byte[] buffer
        end local 5 // long size
        end local 3 // long offset
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Lcom/android/mtp/MtpManager;
            0    6     1      deviceId  I
            0    6     2  objectHandle  I
            0    6     3        offset  J
            0    6     5          size  J
            0    6     7        buffer  [B
            1    6     8        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     3       4  any
           4     5       4  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  
      offset        
      size          
      buffer        

  long getPartialObject64(int, int, long, long, byte[]);
    descriptor: (IIJJ[B)J
    flags: (0x0000) 
    Code:
      stack=7, locals=10, args_size=6
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
        start local 3 // long offset
        start local 5 // long size
        start local 7 // byte[] buffer
         0: .line 169
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 8 /* device */
        start local 8 // android.mtp.MtpDevice device
         1: .line 170
            aload 8 /* device */
            dup
            astore 9
            monitorenter
         2: .line 171
            aload 8 /* device */
            iload 2 /* objectHandle */
            lload 3 /* offset */
            lload 5 /* size */
            aload 7 /* buffer */
            invokevirtual android.mtp.MtpDevice.getPartialObject64:(IJJ[B)J
            aload 9
            monitorexit
         3: lreturn
         4: .line 170
      StackMap locals: com.android.mtp.MtpManager int int long long byte[] android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 9
            monitorexit
         5: athrow
        end local 8 // android.mtp.MtpDevice device
        end local 7 // byte[] buffer
        end local 5 // long size
        end local 3 // long offset
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Lcom/android/mtp/MtpManager;
            0    6     1      deviceId  I
            0    6     2  objectHandle  I
            0    6     3        offset  J
            0    6     5          size  J
            0    6     7        buffer  [B
            1    6     8        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     3       4  any
           4     5       4  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  
      offset        
      size          
      buffer        

  byte[] getThumbnail(int, int);
    descriptor: (II)[B
    flags: (0x0000) 
    Code:
      stack=2, locals=5, args_size=3
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
         0: .line 176
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 3 /* device */
        start local 3 // android.mtp.MtpDevice device
         1: .line 177
            aload 3 /* device */
            dup
            astore 4
            monitorenter
         2: .line 179
            aload 3 /* device */
            iload 2 /* objectHandle */
            invokevirtual android.mtp.MtpDevice.getThumbnail:(I)[B
         3: .line 180
            ldc "Failed to obtain thumbnail bytes"
         4: .line 178
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast byte[]
            aload 4
            monitorexit
         5: areturn
         6: .line 177
      StackMap locals: com.android.mtp.MtpManager int int android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
         7: athrow
        end local 3 // android.mtp.MtpDevice device
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lcom/android/mtp/MtpManager;
            0    8     1      deviceId  I
            0    8     2  objectHandle  I
            1    8     3        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  

  void deleteDocument(int, int);
    descriptor: (II)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
         0: .line 185
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 3 /* device */
        start local 3 // android.mtp.MtpDevice device
         1: .line 186
            aload 3 /* device */
            dup
            astore 4
            monitorenter
         2: .line 187
            aload 3 /* device */
            iload 2 /* objectHandle */
            invokevirtual android.mtp.MtpDevice.deleteObject:(I)Z
            ifne 4
         3: .line 188
            new java.io.IOException
            dup
            ldc "Failed to delete document"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 186
      StackMap locals: android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack:
            aload 4
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 4
            monitorexit
         7: athrow
         8: .line 191
      StackMap locals:
      StackMap stack:
            return
        end local 3 // android.mtp.MtpDevice device
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0          this  Lcom/android/mtp/MtpManager;
            0    9     1      deviceId  I
            0    9     2  objectHandle  I
            1    9     3        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  

  int createDocument(int, android.mtp.MtpObjectInfo, android.os.ParcelFileDescriptor);
    descriptor: (ILandroid/mtp/MtpObjectInfo;Landroid/os/ParcelFileDescriptor;)I
    flags: (0x0000) 
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // android.mtp.MtpObjectInfo objectInfo
        start local 3 // android.os.ParcelFileDescriptor source
         0: .line 195
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 4 /* device */
        start local 4 // android.mtp.MtpDevice device
         1: .line 196
            aload 4 /* device */
            dup
            astore 5
            monitorenter
         2: .line 197
            aload 4 /* device */
            aload 2 /* objectInfo */
            invokevirtual android.mtp.MtpDevice.sendObjectInfo:(Landroid/mtp/MtpObjectInfo;)Landroid/mtp/MtpObjectInfo;
            astore 6 /* sendObjectInfoResult */
        start local 6 // android.mtp.MtpObjectInfo sendObjectInfoResult
         3: .line 198
            aload 6 /* sendObjectInfoResult */
            ifnonnull 5
         4: .line 199
            new com.android.mtp.SendObjectInfoFailure
            dup
            invokespecial com.android.mtp.SendObjectInfoFailure.<init>:()V
            athrow
         5: .line 201
      StackMap locals: android.mtp.MtpDevice android.mtp.MtpDevice android.mtp.MtpObjectInfo
      StackMap stack:
            aload 2 /* objectInfo */
            invokevirtual android.mtp.MtpObjectInfo.getFormat:()I
            sipush 12289
            if_icmpeq 11
         6: .line 202
            aload 4 /* device */
            aload 6 /* sendObjectInfoResult */
            invokevirtual android.mtp.MtpObjectInfo.getObjectHandle:()I
         7: .line 203
            aload 6 /* sendObjectInfoResult */
            invokevirtual android.mtp.MtpObjectInfo.getCompressedSize:()I
            i2l
            aload 3 /* source */
         8: .line 202
            invokevirtual android.mtp.MtpDevice.sendObject:(IJLandroid/os/ParcelFileDescriptor;)Z
         9: .line 203
            ifne 11
        10: .line 204
            new java.io.IOException
            dup
            ldc "Failed to send contents of a document"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 207
      StackMap locals:
      StackMap stack:
            aload 6 /* sendObjectInfoResult */
            invokevirtual android.mtp.MtpObjectInfo.getObjectHandle:()I
            aload 5
            monitorexit
        12: ireturn
        end local 6 // android.mtp.MtpObjectInfo sendObjectInfoResult
        13: .line 196
      StackMap locals: com.android.mtp.MtpManager int android.mtp.MtpObjectInfo android.os.ParcelFileDescriptor android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 5
            monitorexit
        14: athrow
        end local 4 // android.mtp.MtpDevice device
        end local 3 // android.os.ParcelFileDescriptor source
        end local 2 // android.mtp.MtpObjectInfo objectInfo
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   15     0                  this  Lcom/android/mtp/MtpManager;
            0   15     1              deviceId  I
            0   15     2            objectInfo  Landroid/mtp/MtpObjectInfo;
            0   15     3                source  Landroid/os/ParcelFileDescriptor;
            1   15     4                device  Landroid/mtp/MtpDevice;
            3   13     6  sendObjectInfoResult  Landroid/mtp/MtpObjectInfo;
      Exception table:
        from    to  target  type
           2    12      13  any
          13    14      13  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      deviceId    
      objectInfo  
      source      

  int getParent(int, int);
    descriptor: (II)I
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
         0: .line 212
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 3 /* device */
        start local 3 // android.mtp.MtpDevice device
         1: .line 213
            aload 3 /* device */
            dup
            astore 4
            monitorenter
         2: .line 214
            aload 3 /* device */
            iload 2 /* objectHandle */
            invokevirtual android.mtp.MtpDevice.getParent:(I)J
            l2i
            istore 5 /* result */
        start local 5 // int result
         3: .line 215
            iload 5 /* result */
            iconst_m1
            if_icmpne 5
         4: .line 216
            new java.io.FileNotFoundException
            dup
            ldc "Not found parent object"
            invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 218
      StackMap locals: android.mtp.MtpDevice android.mtp.MtpDevice int
      StackMap stack:
            iload 5 /* result */
            aload 4
            monitorexit
         6: ireturn
        end local 5 // int result
         7: .line 213
      StackMap locals: com.android.mtp.MtpManager int int android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
         8: athrow
        end local 3 // android.mtp.MtpDevice device
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0          this  Lcom/android/mtp/MtpManager;
            0    9     1      deviceId  I
            0    9     2  objectHandle  I
            1    9     3        device  Landroid/mtp/MtpDevice;
            3    7     5        result  I
      Exception table:
        from    to  target  type
           2     6       7  any
           7     8       7  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  

  void importFile(int, int, android.os.ParcelFileDescriptor);
    descriptor: (IILandroid/os/ParcelFileDescriptor;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
        start local 3 // android.os.ParcelFileDescriptor target
         0: .line 224
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 4 /* device */
        start local 4 // android.mtp.MtpDevice device
         1: .line 225
            aload 4 /* device */
            dup
            astore 5
            monitorenter
         2: .line 226
            aload 4 /* device */
            iload 2 /* objectHandle */
            aload 3 /* target */
            invokevirtual android.mtp.MtpDevice.importFile:(ILandroid/os/ParcelFileDescriptor;)Z
            ifne 4
         3: .line 227
            new java.io.IOException
            dup
            ldc "Failed to import file to FD"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 225
      StackMap locals: android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack:
            aload 5
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 5
            monitorexit
         7: athrow
         8: .line 230
      StackMap locals:
      StackMap stack:
            return
        end local 4 // android.mtp.MtpDevice device
        end local 3 // android.os.ParcelFileDescriptor target
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0          this  Lcom/android/mtp/MtpManager;
            0    9     1      deviceId  I
            0    9     2  objectHandle  I
            0    9     3        target  Landroid/os/ParcelFileDescriptor;
            1    9     4        device  Landroid/mtp/MtpDevice;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  
      target        

  android.mtp.MtpEvent readEvent(int, android.os.CancellationSignal);
    descriptor: (ILandroid/os/CancellationSignal;)Landroid/mtp/MtpEvent;
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // android.os.CancellationSignal signal
         0: .line 234
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 3 /* device */
        start local 3 // android.mtp.MtpDevice device
         1: .line 235
            aload 3 /* device */
            aload 2 /* signal */
            invokevirtual android.mtp.MtpDevice.readEvent:(Landroid/os/CancellationSignal;)Landroid/mtp/MtpEvent;
            areturn
        end local 3 // android.mtp.MtpDevice device
        end local 2 // android.os.CancellationSignal signal
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lcom/android/mtp/MtpManager;
            0    2     1  deviceId  I
            0    2     2    signal  Landroid/os/CancellationSignal;
            1    2     3    device  Landroid/mtp/MtpDevice;
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      com.android.internal.annotations.VisibleForTesting()
    RuntimeInvisibleTypeAnnotations: 
      METHOD_RETURN
        com.android.internal.annotations.VisibleForTesting()
    MethodParameters:
          Name  Flags
      deviceId  
      signal    

  long getObjectSizeLong(int, int, int);
    descriptor: (III)J
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
        start local 2 // int objectHandle
        start local 3 // int format
         0: .line 239
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 4 /* device */
        start local 4 // android.mtp.MtpDevice device
         1: .line 240
            aload 4 /* device */
            iload 2 /* objectHandle */
            iload 3 /* format */
            invokevirtual android.mtp.MtpDevice.getObjectSizeLong:(II)J
            lreturn
        end local 4 // android.mtp.MtpDevice device
        end local 3 // int format
        end local 2 // int objectHandle
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lcom/android/mtp/MtpManager;
            0    2     1      deviceId  I
            0    2     2  objectHandle  I
            0    2     3        format  I
            1    2     4        device  Landroid/mtp/MtpDevice;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      deviceId      
      objectHandle  
      format        

  private synchronized android.mtp.MtpDevice getDevice(int);
    descriptor: (I)Landroid/mtp/MtpDevice;
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
         0: .line 245
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mDevices:Landroid/util/SparseArray;
            iload 1 /* deviceId */
            invokevirtual android.util.SparseArray.get:(I)Ljava/lang/Object;
            checkcast android.mtp.MtpDevice
         1: .line 246
            new java.lang.StringBuilder
            dup
            ldc "USB device "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* deviceId */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " is not opened."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 244
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast android.mtp.MtpDevice
            areturn
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lcom/android/mtp/MtpManager;
            0    3     1  deviceId  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      deviceId  

  private com.android.mtp.MtpRoot[] getRoots(int);
    descriptor: (I)[Lcom/android/mtp/MtpRoot;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // int deviceId
         0: .line 250
            aload 0 /* this */
            iload 1 /* deviceId */
            invokevirtual com.android.mtp.MtpManager.getDevice:(I)Landroid/mtp/MtpDevice;
            astore 2 /* device */
        start local 2 // android.mtp.MtpDevice device
         1: .line 251
            aload 2 /* device */
            dup
            astore 3
            monitorenter
         2: .line 253
            aload 2 /* device */
            invokevirtual android.mtp.MtpDevice.getStorageIds:()[I
            ldc "Failed to obtain storage IDs."
            invokestatic com.android.mtp.MtpManager.ensureNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast int[]
         3: .line 252
            astore 4 /* storageIds */
        start local 4 // int[] storageIds
         4: .line 254
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 5 /* roots */
        start local 5 // java.util.ArrayList roots
         5: .line 255
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         6: goto 12
         7: .line 256
      StackMap locals: com.android.mtp.MtpManager int android.mtp.MtpDevice android.mtp.MtpDevice int[] java.util.ArrayList int
      StackMap stack:
            aload 2 /* device */
            aload 4 /* storageIds */
            iload 6 /* i */
            iaload
            invokevirtual android.mtp.MtpDevice.getStorageInfo:(I)Landroid/mtp/MtpStorageInfo;
            astore 7 /* info */
        start local 7 // android.mtp.MtpStorageInfo info
         8: .line 257
            aload 7 /* info */
            ifnonnull 10
         9: .line 258
            goto 11
        10: .line 260
      StackMap locals: android.mtp.MtpStorageInfo
      StackMap stack:
            aload 5 /* roots */
            new com.android.mtp.MtpRoot
            dup
            aload 2 /* device */
            invokevirtual android.mtp.MtpDevice.getDeviceId:()I
            aload 7 /* info */
            invokespecial com.android.mtp.MtpRoot.<init>:(ILandroid/mtp/MtpStorageInfo;)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // android.mtp.MtpStorageInfo info
        11: .line 255
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 6 /* i */
            aload 4 /* storageIds */
            arraylength
            if_icmplt 7
        end local 6 // int i
        13: .line 262
            aload 5 /* roots */
            aload 5 /* roots */
            invokevirtual java.util.ArrayList.size:()I
            anewarray com.android.mtp.MtpRoot
            invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast com.android.mtp.MtpRoot[]
            aload 3
            monitorexit
        14: areturn
        end local 5 // java.util.ArrayList roots
        end local 4 // int[] storageIds
        15: .line 251
      StackMap locals: com.android.mtp.MtpManager int android.mtp.MtpDevice android.mtp.MtpDevice
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        16: athrow
        end local 2 // android.mtp.MtpDevice device
        end local 1 // int deviceId
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lcom/android/mtp/MtpManager;
            0   17     1    deviceId  I
            1   17     2      device  Landroid/mtp/MtpDevice;
            4   15     4  storageIds  [I
            5   15     5       roots  Ljava/util/ArrayList<Lcom/android/mtp/MtpRoot;>;
            6   13     6           i  I
            8   11     7        info  Landroid/mtp/MtpStorageInfo;
      Exception table:
        from    to  target  type
           2    14      15  any
          15    16      15  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      deviceId  

  private com.android.mtp.MtpDeviceRecord createDeviceRecord(android.hardware.usb.UsbDevice);
    descriptor: (Landroid/hardware/usb/UsbDevice;)Lcom/android/mtp/MtpDeviceRecord;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=9, locals=9, args_size=2
        start local 0 // com.android.mtp.MtpManager this
        start local 1 // android.hardware.usb.UsbDevice device
         0: .line 267
            aload 0 /* this */
            getfield com.android.mtp.MtpManager.mDevices:Landroid/util/SparseArray;
            aload 1 /* device */
            invokevirtual android.hardware.usb.UsbDevice.getDeviceId:()I
            invokevirtual android.util.SparseArray.get:(I)Ljava/lang/Object;
            checkcast android.mtp.MtpDevice
            astore 2 /* mtpDevice */
        start local 2 // android.mtp.MtpDevice mtpDevice
         1: .line 268
            aload 2 /* mtpDevice */
            ifnull 2
            iconst_1
            goto 3
      StackMap locals: android.mtp.MtpDevice
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: istore 3 /* opened */
        start local 3 // boolean opened
         4: .line 269
            aload 1 /* device */
            invokevirtual android.hardware.usb.UsbDevice.getProductName:()Ljava/lang/String;
            astore 4 /* name */
        start local 4 // java.lang.String name
         5: .line 271
            aconst_null
            astore 6 /* operationsSupported */
        start local 6 // int[] operationsSupported
         6: .line 272
            aconst_null
            astore 7 /* eventsSupported */
        start local 7 // int[] eventsSupported
         7: .line 273
            iload 3 /* opened */
            ifeq 18
         8: .line 275
            aload 0 /* this */
            aload 1 /* device */
            invokevirtual android.hardware.usb.UsbDevice.getDeviceId:()I
            invokevirtual com.android.mtp.MtpManager.getRoots:(I)[Lcom/android/mtp/MtpRoot;
            astore 5 /* roots */
        start local 5 // com.android.mtp.MtpRoot[] roots
         9: .line 276
            goto 13
        end local 5 // com.android.mtp.MtpRoot[] roots
      StackMap locals: com.android.mtp.MtpManager android.hardware.usb.UsbDevice android.mtp.MtpDevice int java.lang.String top int[] int[]
      StackMap stack: java.io.IOException
        10: astore 8 /* exp */
        start local 8 // java.io.IOException exp
        11: .line 277
            ldc "MtpDocumentsProvider"
            ldc "Failed to open device"
            aload 8 /* exp */
            invokestatic android.util.Log.e:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
            pop
        12: .line 281
            iconst_0
            anewarray com.android.mtp.MtpRoot
            astore 5 /* roots */
        end local 8 // java.io.IOException exp
        start local 5 // com.android.mtp.MtpRoot[] roots
        13: .line 283
      StackMap locals: com.android.mtp.MtpManager android.hardware.usb.UsbDevice android.mtp.MtpDevice int java.lang.String com.android.mtp.MtpRoot[] int[] int[]
      StackMap stack:
            aload 2 /* mtpDevice */
            invokevirtual android.mtp.MtpDevice.getDeviceInfo:()Landroid/mtp/MtpDeviceInfo;
            astore 8 /* info */
        start local 8 // android.mtp.MtpDeviceInfo info
        14: .line 284
            aload 8 /* info */
            ifnull 19
        15: .line 285
            aload 8 /* info */
            invokevirtual android.mtp.MtpDeviceInfo.getOperationsSupported:()[I
            astore 6 /* operationsSupported */
        16: .line 286
            aload 8 /* info */
            invokevirtual android.mtp.MtpDeviceInfo.getEventsSupported:()[I
            astore 7 /* eventsSupported */
        end local 8 // android.mtp.MtpDeviceInfo info
        17: .line 288
            goto 19
        end local 5 // com.android.mtp.MtpRoot[] roots
        18: .line 289
      StackMap locals: com.android.mtp.MtpManager android.hardware.usb.UsbDevice android.mtp.MtpDevice int java.lang.String top int[] int[]
      StackMap stack:
            iconst_0
            anewarray com.android.mtp.MtpRoot
            astore 5 /* roots */
        start local 5 // com.android.mtp.MtpRoot[] roots
        19: .line 291
      StackMap locals: com.android.mtp.MtpManager android.hardware.usb.UsbDevice android.mtp.MtpDevice int java.lang.String com.android.mtp.MtpRoot[] int[] int[]
      StackMap stack:
            new com.android.mtp.MtpDeviceRecord
            dup
        20: .line 292
            aload 1 /* device */
            invokevirtual android.hardware.usb.UsbDevice.getDeviceId:()I
            aload 4 /* name */
            aload 1 /* device */
            invokevirtual android.hardware.usb.UsbDevice.getSerialNumber:()Ljava/lang/String;
            iload 3 /* opened */
            aload 5 /* roots */
        21: .line 293
            aload 6 /* operationsSupported */
            aload 7 /* eventsSupported */
        22: .line 291
            invokespecial com.android.mtp.MtpDeviceRecord.<init>:(ILjava/lang/String;Ljava/lang/String;Z[Lcom/android/mtp/MtpRoot;[I[I)V
            areturn
        end local 7 // int[] eventsSupported
        end local 6 // int[] operationsSupported
        end local 5 // com.android.mtp.MtpRoot[] roots
        end local 4 // java.lang.String name
        end local 3 // boolean opened
        end local 2 // android.mtp.MtpDevice mtpDevice
        end local 1 // android.hardware.usb.UsbDevice device
        end local 0 // com.android.mtp.MtpManager this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   23     0                 this  Lcom/android/mtp/MtpManager;
            0   23     1               device  Landroid/hardware/usb/UsbDevice;
            1   23     2            mtpDevice  Landroid/mtp/MtpDevice;
            4   23     3               opened  Z
            5   23     4                 name  Ljava/lang/String;
            9   10     5                roots  [Lcom/android/mtp/MtpRoot;
           13   18     5                roots  [Lcom/android/mtp/MtpRoot;
           19   23     5                roots  [Lcom/android/mtp/MtpRoot;
            6   23     6  operationsSupported  [I
            7   23     7      eventsSupported  [I
           11   13     8                  exp  Ljava/io/IOException;
           14   17     8                 info  Landroid/mtp/MtpDeviceInfo;
      Exception table:
        from    to  target  type
           8     9      10  Class java.io.IOException
    MethodParameters:
        Name  Flags
      device  

  static boolean isMtpDevice(android.hardware.usb.UsbDevice);
    descriptor: (Landroid/hardware/usb/UsbDevice;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // android.hardware.usb.UsbDevice device
         0: .line 297
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 13
         2: .line 298
      StackMap locals: int
      StackMap stack:
            aload 0 /* device */
            iload 1 /* i */
            invokevirtual android.hardware.usb.UsbDevice.getInterface:(I)Landroid/hardware/usb/UsbInterface;
            astore 2 /* usbInterface */
        start local 2 // android.hardware.usb.UsbInterface usbInterface
         3: .line 299
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getInterfaceClass:()I
            bipush 6
            if_icmpne 7
         4: .line 300
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getInterfaceSubclass:()I
            iconst_1
            if_icmpne 7
         5: .line 301
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getInterfaceProtocol:()I
            iconst_1
            if_icmpne 7
         6: .line 302
            iconst_1
            ireturn
         7: .line 304
      StackMap locals: android.hardware.usb.UsbInterface
      StackMap stack:
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getInterfaceClass:()I
            sipush 255
            if_icmpne 12
         8: .line 305
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getInterfaceSubclass:()I
            sipush 255
            if_icmpne 12
         9: .line 306
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getInterfaceProtocol:()I
            ifne 12
        10: .line 307
            ldc "MTP"
            aload 2 /* usbInterface */
            invokevirtual android.hardware.usb.UsbInterface.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        11: .line 308
            iconst_1
            ireturn
        end local 2 // android.hardware.usb.UsbInterface usbInterface
        12: .line 297
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 1 /* i */
            aload 0 /* device */
            invokevirtual android.hardware.usb.UsbDevice.getInterfaceCount:()I
            if_icmplt 2
        end local 1 // int i
        14: .line 311
            iconst_0
            ireturn
        end local 0 // android.hardware.usb.UsbDevice device
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   15     0        device  Landroid/hardware/usb/UsbDevice;
            1   14     1             i  I
            3   12     2  usbInterface  Landroid/hardware/usb/UsbInterface;
    MethodParameters:
        Name  Flags
      device  

  private static <T> T ensureNotNull(T, java.lang.String);
    descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.Object t
        start local 1 // java.lang.String errorMessage
         0: .line 315
            aload 0 /* t */
            ifnull 2
         1: .line 316
            aload 0 /* t */
            areturn
         2: .line 318
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            aload 1 /* errorMessage */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.String errorMessage
        end local 0 // java.lang.Object t
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0             t  TT;
            0    3     1  errorMessage  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/String;)TT;
    MethodParameters:
              Name  Flags
      t             
      errorMessage  
}
SourceFile: "MtpManager.java"