public class android.os.RevocableFileDescriptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.os.RevocableFileDescriptor
super_class: java.lang.Object
{
private static final java.lang.String TAG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "RevocableFileDescriptor"
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private java.io.FileDescriptor mInner;
descriptor: Ljava/io/FileDescriptor;
flags: (0x0002) ACC_PRIVATE
private android.os.ParcelFileDescriptor mOuter;
descriptor: Landroid/os/ParcelFileDescriptor;
flags: (0x0002) ACC_PRIVATE
private volatile boolean mRevoked;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final android.os.ProxyFileDescriptorCallback mCallback;
descriptor: Landroid/os/ProxyFileDescriptorCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new android.os.RevocableFileDescriptor$1
dup
aload 0
invokespecial android.os.RevocableFileDescriptor$1.<init>:(Landroid/os/RevocableFileDescriptor;)V
putfield android.os.RevocableFileDescriptor.mCallback:Landroid/os/ProxyFileDescriptorCallback;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Landroid/os/RevocableFileDescriptor;
public void <init>(android.content.Context, java.io.File);
descriptor: (Landroid/content/Context;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import android.system cannot be resolved\n\tThe import android.system cannot be resolved\n\tThe import android.system cannot be resolved\n\tThe import libcore.io cannot be resolved\n\tOs cannot be resolved\n\tOsConstants cannot be resolved to a variable\n\tOsConstants cannot be resolved to a variable\n\tErrnoException cannot be resolved to a type\n\tIoUtils cannot be resolved\n\tErrnoException cannot be resolved to a type\n\tErrnoException cannot be resolved to a type\n\tOsConstants cannot be resolved to a variable\n\tErrnoException cannot be resolved to a type\n\tThe method checkRevoked() from the type new ProxyFileDescriptorCallback(){} refers to the missing type ErrnoException\n\tOs cannot be resolved\n\tErrnoException cannot be resolved to a type\n\tThe method checkRevoked() from the type new ProxyFileDescriptorCallback(){} refers to the missing type ErrnoException\n\tOs cannot be resolved\n\tErrnoException cannot be resolved to a type\n\tThe method checkRevoked() from the type new ProxyFileDescriptorCallback(){} refers to the missing type ErrnoException\n\tOs cannot be resolved\n\tErrnoException cannot be resolved to a type\n\tThe method checkRevoked() from the type new ProxyFileDescriptorCallback(){} refers to the missing type ErrnoException\n\tOs cannot be resolved\n\tIoUtils cannot be resolved\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/os/RevocableFileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
file
public void <init>(android.content.Context, java.io.FileDescriptor);
descriptor: (Landroid/content/Context;Ljava/io/FileDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new android.os.RevocableFileDescriptor$1
dup
aload 0
invokespecial android.os.RevocableFileDescriptor$1.<init>:(Landroid/os/RevocableFileDescriptor;)V
putfield android.os.RevocableFileDescriptor.mCallback:Landroid/os/ProxyFileDescriptorCallback;
2: aload 0
aload 1
aload 2
invokevirtual android.os.RevocableFileDescriptor.init:(Landroid/content/Context;Ljava/io/FileDescriptor;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/os/RevocableFileDescriptor;
0 4 1 context Landroid/content/Context;
0 4 2 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
fd
public void init(android.content.Context, java.io.FileDescriptor);
descriptor: (Landroid/content/Context;Ljava/io/FileDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
putfield android.os.RevocableFileDescriptor.mInner:Ljava/io/FileDescriptor;
1: aload 0
aload 1
ldc Landroid/os/storage/StorageManager;
invokevirtual android.content.Context.getSystemService:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast android.os.storage.StorageManager
2: ldc 805306368
aload 0
getfield android.os.RevocableFileDescriptor.mCallback:Landroid/os/ProxyFileDescriptorCallback;
invokevirtual android.os.storage.StorageManager.openProxyFileDescriptor:(ILandroid/os/ProxyFileDescriptorCallback;)Landroid/os/ParcelFileDescriptor;
3: putfield android.os.RevocableFileDescriptor.mOuter:Landroid/os/ParcelFileDescriptor;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/os/RevocableFileDescriptor;
0 5 1 context Landroid/content/Context;
0 5 2 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
fd
public android.os.ParcelFileDescriptor getRevocableFileDescriptor();
descriptor: ()Landroid/os/ParcelFileDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.os.RevocableFileDescriptor.mOuter:Landroid/os/ParcelFileDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/os/RevocableFileDescriptor;
public void revoke();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIoUtils cannot be resolved\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/os/RevocableFileDescriptor;
public boolean isRevoked();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.os.RevocableFileDescriptor.mRevoked:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/os/RevocableFileDescriptor;
}
SourceFile: "RevocableFileDescriptor.java"
NestMembers:
android.os.RevocableFileDescriptor$1
InnerClasses:
android.os.RevocableFileDescriptor$1