public class android.content.pm.PackageInstaller$Session implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.content.pm.PackageInstaller$Session
super_class: java.lang.Object
{
private android.content.pm.IPackageInstallerSession mSession;
descriptor: Landroid/content/pm/IPackageInstallerSession;
flags: (0x0002) ACC_PRIVATE
public void <init>(android.content.pm.IPackageInstallerSession);
descriptor: (Landroid/content/pm/IPackageInstallerSession;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Landroid/content/pm/PackageInstaller$Session;
0 3 1 session Landroid/content/pm/IPackageInstallerSession;
MethodParameters:
Name Flags
session
public void setProgress(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
invokevirtual android.content.pm.PackageInstaller$Session.setStagingProgress:(F)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/content/pm/PackageInstaller$Session;
0 2 1 progress F
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
progress
public void setStagingProgress(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
fload 1
invokeinterface android.content.pm.IPackageInstallerSession.setClientProgress:(F)V
1: goto 4
StackMap locals:
StackMap stack: android.os.RemoteException
2: astore 2
start local 2 3: aload 2
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/content/pm/PackageInstaller$Session;
0 5 1 progress F
3 4 2 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class android.os.RemoteException
MethodParameters:
Name Flags
progress
public void addProgress(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
fload 1
invokeinterface android.content.pm.IPackageInstallerSession.addClientProgress:(F)V
1: goto 4
StackMap locals:
StackMap stack: android.os.RemoteException
2: astore 2
start local 2 3: aload 2
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/content/pm/PackageInstaller$Session;
0 5 1 progress F
3 4 2 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class android.os.RemoteException
MethodParameters:
Name Flags
progress
public java.io.OutputStream openWrite(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: getstatic android.content.pm.PackageInstaller.ENABLE_REVOCABLE_FD:Z
ifeq 5
1: new android.os.ParcelFileDescriptor$AutoCloseOutputStream
dup
2: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
lload 2
lload 4
invokeinterface android.content.pm.IPackageInstallerSession.openWrite:(Ljava/lang/String;JJ)Landroid/os/ParcelFileDescriptor;
3: invokespecial android.os.ParcelFileDescriptor$AutoCloseOutputStream.<init>:(Landroid/os/ParcelFileDescriptor;)V
4: areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
6: lload 2
lload 4
7: invokeinterface android.content.pm.IPackageInstallerSession.openWrite:(Ljava/lang/String;JJ)Landroid/os/ParcelFileDescriptor;
astore 6
start local 6 8: new android.os.FileBridge$FileBridgeOutputStream
dup
aload 6
invokespecial android.os.FileBridge$FileBridgeOutputStream.<init>:(Landroid/os/ParcelFileDescriptor;)V
9: areturn
end local 6 10: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 6
start local 6 11: aload 6
invokestatic android.util.ExceptionUtils.maybeUnwrapIOException:(Ljava/lang/RuntimeException;)V
12: aload 6
athrow
end local 6 13: StackMap locals:
StackMap stack: android.os.RemoteException
astore 6
start local 6 14: aload 6
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Landroid/content/pm/PackageInstaller$Session;
0 15 1 name Ljava/lang/String;
0 15 2 offsetBytes J
0 15 4 lengthBytes J
8 10 6 clientSocket Landroid/os/ParcelFileDescriptor;
11 13 6 e Ljava/lang/RuntimeException;
14 15 6 e Landroid/os/RemoteException;
Exception table:
from to target type
0 4 10 Class java.lang.RuntimeException
5 9 10 Class java.lang.RuntimeException
0 4 13 Class android.os.RemoteException
5 9 13 Class android.os.RemoteException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
offsetBytes
lengthBytes
public void write(java.lang.String, long, long, android.os.ParcelFileDescriptor);
descriptor: (Ljava/lang/String;JJLandroid/os/ParcelFileDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
lload 2
lload 4
aload 6
invokeinterface android.content.pm.IPackageInstallerSession.write:(Ljava/lang/String;JJLandroid/os/ParcelFileDescriptor;)V
1: goto 7
StackMap locals:
StackMap stack: java.lang.RuntimeException
2: astore 7
start local 7 3: aload 7
invokestatic android.util.ExceptionUtils.maybeUnwrapIOException:(Ljava/lang/RuntimeException;)V
4: aload 7
athrow
end local 7 5: StackMap locals:
StackMap stack: android.os.RemoteException
astore 7
start local 7 6: aload 7
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 7 7: StackMap locals:
StackMap stack:
return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Landroid/content/pm/PackageInstaller$Session;
0 8 1 name Ljava/lang/String;
0 8 2 offsetBytes J
0 8 4 lengthBytes J
0 8 6 fd Landroid/os/ParcelFileDescriptor;
3 5 7 e Ljava/lang/RuntimeException;
6 7 7 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
0 1 5 Class android.os.RemoteException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
offsetBytes
lengthBytes
fd
public void fsync(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tOs cannot be resolved\n\tErrnoException cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/content/pm/PackageInstaller$Session;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public java.lang.String[] getNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
invokeinterface android.content.pm.IPackageInstallerSession.getNames:()[Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 1
start local 1 3: aload 1
invokestatic android.util.ExceptionUtils.maybeUnwrapIOException:(Ljava/lang/RuntimeException;)V
4: aload 1
athrow
end local 1 5: StackMap locals:
StackMap stack: android.os.RemoteException
astore 1
start local 1 6: aload 1
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Landroid/content/pm/PackageInstaller$Session;
3 5 1 e Ljava/lang/RuntimeException;
6 7 1 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
0 1 5 Class android.os.RemoteException
Exceptions:
throws java.io.IOException
public java.io.InputStream openRead(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
invokeinterface android.content.pm.IPackageInstallerSession.openRead:(Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;
astore 2
start local 2 1: new android.os.ParcelFileDescriptor$AutoCloseInputStream
dup
aload 2
invokespecial android.os.ParcelFileDescriptor$AutoCloseInputStream.<init>:(Landroid/os/ParcelFileDescriptor;)V
2: areturn
end local 2 3: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 4: aload 2
invokestatic android.util.ExceptionUtils.maybeUnwrapIOException:(Ljava/lang/RuntimeException;)V
5: aload 2
athrow
end local 2 6: StackMap locals:
StackMap stack: android.os.RemoteException
astore 2
start local 2 7: aload 2
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Landroid/content/pm/PackageInstaller$Session;
0 8 1 name Ljava/lang/String;
1 3 2 pfd Landroid/os/ParcelFileDescriptor;
4 6 2 e Ljava/lang/RuntimeException;
7 8 2 e Landroid/os/RemoteException;
Exception table:
from to target type
0 2 3 Class java.lang.RuntimeException
0 2 6 Class android.os.RemoteException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void removeSplit(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
invokeinterface android.content.pm.IPackageInstallerSession.removeSplit:(Ljava/lang/String;)V
1: goto 7
StackMap locals:
StackMap stack: java.lang.RuntimeException
2: astore 2
start local 2 3: aload 2
invokestatic android.util.ExceptionUtils.maybeUnwrapIOException:(Ljava/lang/RuntimeException;)V
4: aload 2
athrow
end local 2 5: StackMap locals:
StackMap stack: android.os.RemoteException
astore 2
start local 2 6: aload 2
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Landroid/content/pm/PackageInstaller$Session;
0 8 1 splitName Ljava/lang/String;
3 5 2 e Ljava/lang/RuntimeException;
6 7 2 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
0 1 5 Class android.os.RemoteException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
splitName
public void commit(android.content.IntentSender);
descriptor: (Landroid/content/IntentSender;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
iconst_0
invokeinterface android.content.pm.IPackageInstallerSession.commit:(Landroid/content/IntentSender;Z)V
1: goto 4
StackMap locals:
StackMap stack: android.os.RemoteException
2: astore 2
start local 2 3: aload 2
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/content/pm/PackageInstaller$Session;
0 5 1 statusReceiver Landroid/content/IntentSender;
3 4 2 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class android.os.RemoteException
MethodParameters:
Name Flags
statusReceiver
public void commitTransferred(android.content.IntentSender);
descriptor: (Landroid/content/IntentSender;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.INSTALL_PACKAGES cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/content/pm/PackageInstaller$Session;
RuntimeVisibleAnnotations:
android.annotation.SystemApi()
MethodParameters:
Name Flags
statusReceiver
public void transfer(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
aload 1
invokeinterface android.content.pm.IPackageInstallerSession.transfer:(Ljava/lang/String;)V
2: goto 8
StackMap locals:
StackMap stack: android.os.ParcelableException
3: astore 2
start local 2 4: aload 2
ldc Landroid/content/pm/PackageManager$NameNotFoundException;
invokevirtual android.os.ParcelableException.maybeRethrow:(Ljava/lang/Class;)V
5: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack: android.os.RemoteException
astore 2
start local 2 7: aload 2
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Landroid/content/pm/PackageInstaller$Session;
0 9 1 packageName Ljava/lang/String;
4 6 2 e Landroid/os/ParcelableException;
7 8 2 e Landroid/os/RemoteException;
Exception table:
from to target type
1 2 3 Class android.os.ParcelableException
1 2 6 Class android.os.RemoteException
Exceptions:
throws android.content.pm.PackageManager$NameNotFoundException
MethodParameters:
Name Flags
packageName
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
invokeinterface android.content.pm.IPackageInstallerSession.close:()V
1: goto 4
StackMap locals:
StackMap stack: android.os.RemoteException
2: astore 1
start local 1 3: aload 1
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/content/pm/PackageInstaller$Session;
3 4 1 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class android.os.RemoteException
public void abandon();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield android.content.pm.PackageInstaller$Session.mSession:Landroid/content/pm/IPackageInstallerSession;
invokeinterface android.content.pm.IPackageInstallerSession.abandon:()V
1: goto 4
StackMap locals:
StackMap stack: android.os.RemoteException
2: astore 1
start local 1 3: aload 1
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/content/pm/PackageInstaller$Session;
3 4 1 e Landroid/os/RemoteException;
Exception table:
from to target type
0 1 2 Class android.os.RemoteException
}
SourceFile: "PackageInstaller.java"
NestHost: android.content.pm.PackageInstaller
InnerClasses:
public Session = android.content.pm.PackageInstaller$Session of android.content.pm.PackageInstaller
public NameNotFoundException = android.content.pm.PackageManager$NameNotFoundException of android.content.pm.PackageManager
public FileBridgeOutputStream = android.os.FileBridge$FileBridgeOutputStream of android.os.FileBridge
public AutoCloseInputStream = android.os.ParcelFileDescriptor$AutoCloseInputStream of android.os.ParcelFileDescriptor
public AutoCloseOutputStream = android.os.ParcelFileDescriptor$AutoCloseOutputStream of android.os.ParcelFileDescriptor