class com.android.mtp.ServiceIntentSender
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.android.mtp.ServiceIntentSender
super_class: java.lang.Object
{
private static final java.lang.String CHANNEL_ID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "device_notification_channel"
private final android.content.Context mContext;
descriptor: Landroid/content/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(android.content.Context);
descriptor: (Landroid/content/Context;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tcom.android.internal.R.string cannot be resolved to a variable\n\tR cannot be resolved to a variable\n\tcom.android.internal.R.drawable cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/android/mtp/ServiceIntentSender;
MethodParameters:
Name Flags
context
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.android.mtp.ServiceIntentSender.mContext:Landroid/content/Context;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/android/mtp/ServiceIntentSender;
RuntimeInvisibleAnnotations:
com.android.internal.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.android.internal.annotations.VisibleForTesting()
void sendUpdateNotificationIntent(com.android.mtp.MtpDeviceRecord[]);
descriptor: ([Lcom/android/mtp/MtpDeviceRecord;)V
flags: (0x0000)
Code:
stack=5, locals=6, 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: new android.content.Intent
dup
ldc "com.android.mtp.UPDATE_NOTIFICATION"
invokespecial android.content.Intent.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
new android.content.ComponentName
dup
aload 0
getfield com.android.mtp.ServiceIntentSender.mContext:Landroid/content/Context;
ldc Lcom/android/mtp/MtpDocumentsService;
invokespecial android.content.ComponentName.<init>:(Landroid/content/Context;Ljava/lang/Class;)V
invokevirtual android.content.Intent.setComponent:(Landroid/content/ComponentName;)Landroid/content/Intent;
pop
3: aload 1
arraylength
ifeq 16
4: aload 1
arraylength
newarray 10
astore 3
start local 3 5: aload 1
arraylength
anewarray android.app.Notification
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 11
8: StackMap locals: com.android.mtp.ServiceIntentSender com.android.mtp.MtpDeviceRecord[] android.content.Intent int[] android.app.Notification[] int
StackMap stack:
aload 3
iload 5
aload 1
iload 5
aaload
getfield com.android.mtp.MtpDeviceRecord.deviceId:I
iastore
9: aload 4
iload 5
aload 0
getfield com.android.mtp.ServiceIntentSender.mContext:Landroid/content/Context;
aload 1
iload 5
aaload
invokestatic com.android.mtp.ServiceIntentSender.createNotification:(Landroid/content/Context;Lcom/android/mtp/MtpDeviceRecord;)Landroid/app/Notification;
aastore
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 1
arraylength
if_icmplt 8
end local 5 12: aload 2
ldc "deviceIds"
aload 3
invokevirtual android.content.Intent.putExtra:(Ljava/lang/String;[I)Landroid/content/Intent;
pop
13: aload 2
ldc "deviceNotifications"
aload 4
invokevirtual android.content.Intent.putExtra:(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;
pop
14: aload 0
getfield com.android.mtp.ServiceIntentSender.mContext:Landroid/content/Context;
aload 2
invokevirtual android.content.Context.startForegroundService:(Landroid/content/Intent;)Landroid/content/ComponentName;
pop
end local 4 end local 3 15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
getfield com.android.mtp.ServiceIntentSender.mContext:Landroid/content/Context;
aload 2
invokevirtual android.content.Context.startService:(Landroid/content/Intent;)Landroid/content/ComponentName;
pop
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/android/mtp/ServiceIntentSender;
0 18 1 records [Lcom/android/mtp/MtpDeviceRecord;
2 18 2 intent Landroid/content/Intent;
5 15 3 ids [I
6 15 4 notifications [Landroid/app/Notification;
7 12 5 i I
MethodParameters:
Name Flags
records
private static android.app.Notification createNotification(android.content.Context, com.android.mtp.MtpDeviceRecord);
descriptor: (Landroid/content/Context;Lcom/android/mtp/MtpDeviceRecord;)Landroid/app/Notification;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tR cannot be resolved to a variable\n\tcom.android.internal.R.drawable cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
device
}
SourceFile: "ServiceIntentSender.java"