class com.android.keyguard.KeyguardEsimArea extends android.widget.Button implements android.view.View$OnClickListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.android.keyguard.KeyguardEsimArea
super_class: android.widget.Button
{
private static final java.lang.String ACTION_DISABLE_ESIM;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.android.keyguard.disable_esim"
private static final java.lang.String TAG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "KeyguardEsimArea"
private static final java.lang.String PERMISSION_SELF;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.android.systemui.permission.SELF"
private android.telephony.euicc.EuiccManager mEuiccManager;
descriptor: Landroid/telephony/euicc/EuiccManager;
flags: (0x0002) ACC_PRIVATE
private android.content.BroadcastReceiver mReceiver;
descriptor: Landroid/content/BroadcastReceiver;
flags: (0x0002) ACC_PRIVATE
public void <init>(android.content.Context);
descriptor: (Landroid/content/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial com.android.keyguard.KeyguardEsimArea.<init>:(Landroid/content/Context;Landroid/util/AttributeSet;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/android/keyguard/KeyguardEsimArea;
0 2 1 context Landroid/content/Context;
MethodParameters:
Name Flags
context
public void <init>(android.content.Context, android.util.AttributeSet);
descriptor: (Landroid/content/Context;Landroid/util/AttributeSet;)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 1
aload 2
iconst_0
invokespecial com.android.keyguard.KeyguardEsimArea.<init>:(Landroid/content/Context;Landroid/util/AttributeSet;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/android/keyguard/KeyguardEsimArea;
0 2 1 context Landroid/content/Context;
0 2 2 attrs Landroid/util/AttributeSet;
MethodParameters:
Name Flags
context
attrs
public void <init>(android.content.Context, android.util.AttributeSet, int);
descriptor: (Landroid/content/Context;Landroid/util/AttributeSet;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tR cannot be resolved to a variable\n\tR cannot be resolved to a variable\n\tR cannot be resolved to a variable\n\tandroid.R.style 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/keyguard/KeyguardEsimArea;
MethodParameters:
Name Flags
context
attrs
defStyleAttr
public void <init>(android.content.Context, android.util.AttributeSet, int, int);
descriptor: (Landroid/content/Context;Landroid/util/AttributeSet;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial android.widget.Button.<init>:(Landroid/content/Context;Landroid/util/AttributeSet;II)V
1: aload 0
2: new com.android.keyguard.KeyguardEsimArea$1
dup
aload 0
invokespecial com.android.keyguard.KeyguardEsimArea$1.<init>:(Lcom/android/keyguard/KeyguardEsimArea;)V
putfield com.android.keyguard.KeyguardEsimArea.mReceiver:Landroid/content/BroadcastReceiver;
3: aload 0
aload 1
ldc "euicc"
invokevirtual android.content.Context.getSystemService:(Ljava/lang/String;)Ljava/lang/Object;
checkcast android.telephony.euicc.EuiccManager
putfield com.android.keyguard.KeyguardEsimArea.mEuiccManager:Landroid/telephony/euicc/EuiccManager;
4: aload 0
aload 0
invokevirtual com.android.keyguard.KeyguardEsimArea.setOnClickListener:(Landroid/view/View$OnClickListener;)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/android/keyguard/KeyguardEsimArea;
0 6 1 context Landroid/content/Context;
0 6 2 attrs Landroid/util/AttributeSet;
0 6 3 defStyleAttr I
0 6 4 defStyleRes I
MethodParameters:
Name Flags
context
attrs
defStyleAttr
defStyleRes
protected void onAttachedToWindow();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial android.widget.Button.onAttachedToWindow:()V
1: aload 0
getfield com.android.keyguard.KeyguardEsimArea.mContext:Landroid/content/Context;
aload 0
getfield com.android.keyguard.KeyguardEsimArea.mReceiver:Landroid/content/BroadcastReceiver;
new android.content.IntentFilter
dup
ldc "com.android.keyguard.disable_esim"
invokespecial android.content.IntentFilter.<init>:(Ljava/lang/String;)V
2: ldc "com.android.systemui.permission.SELF"
aconst_null
3: invokevirtual android.content.Context.registerReceiver:(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/android/keyguard/KeyguardEsimArea;
public static boolean isEsimLocked(android.content.Context, int);
descriptor: (Landroid/content/Context;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "euicc"
invokevirtual android.content.Context.getSystemService:(Ljava/lang/String;)Ljava/lang/Object;
checkcast android.telephony.euicc.EuiccManager
1: astore 2
start local 2 2: aload 2
invokevirtual android.telephony.euicc.EuiccManager.isEnabled:()Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals: android.telephony.euicc.EuiccManager
StackMap stack:
aload 0
invokestatic android.telephony.SubscriptionManager.from:(Landroid/content/Context;)Landroid/telephony/SubscriptionManager;
iload 1
invokevirtual android.telephony.SubscriptionManager.getActiveSubscriptionInfo:(I)Landroid/telephony/SubscriptionInfo;
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
invokevirtual android.telephony.SubscriptionInfo.isEmbedded:()Z
ifeq 6
iconst_1
ireturn
StackMap locals: android.telephony.SubscriptionInfo
StackMap stack:
6: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Landroid/content/Context;
0 7 1 subId I
2 7 2 euiccManager Landroid/telephony/euicc/EuiccManager;
5 7 3 sub Landroid/telephony/SubscriptionInfo;
MethodParameters:
Name Flags
context
subId
protected void onDetachedFromWindow();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.android.keyguard.KeyguardEsimArea.mContext:Landroid/content/Context;
aload 0
getfield com.android.keyguard.KeyguardEsimArea.mReceiver:Landroid/content/BroadcastReceiver;
invokevirtual android.content.Context.unregisterReceiver:(Landroid/content/BroadcastReceiver;)V
1: aload 0
invokespecial android.widget.Button.onDetachedFromWindow:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/android/keyguard/KeyguardEsimArea;
public void onClick(android.view.View);
descriptor: (Landroid/view/View;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new android.content.Intent
dup
ldc "com.android.keyguard.disable_esim"
invokespecial android.content.Intent.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
aload 0
getfield com.android.keyguard.KeyguardEsimArea.mContext:Landroid/content/Context;
invokevirtual android.content.Context.getPackageName:()Ljava/lang/String;
invokevirtual android.content.Intent.setPackage:(Ljava/lang/String;)Landroid/content/Intent;
pop
2: aload 0
getfield com.android.keyguard.KeyguardEsimArea.mContext:Landroid/content/Context;
3: iconst_0
4: aload 2
5: ldc 134217728
getstatic android.os.UserHandle.SYSTEM:Landroid/os/UserHandle;
6: invokestatic android.app.PendingIntent.getBroadcastAsUser:(Landroid/content/Context;ILandroid/content/Intent;ILandroid/os/UserHandle;)Landroid/app/PendingIntent;
astore 3
start local 3 7: aload 0
getfield com.android.keyguard.KeyguardEsimArea.mEuiccManager:Landroid/telephony/euicc/EuiccManager;
8: iconst_m1
aload 3
invokevirtual android.telephony.euicc.EuiccManager.switchToSubscription:(ILandroid/app/PendingIntent;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/android/keyguard/KeyguardEsimArea;
0 10 1 v Landroid/view/View;
1 10 2 intent Landroid/content/Intent;
7 10 3 callbackIntent Landroid/app/PendingIntent;
MethodParameters:
Name Flags
v
}
SourceFile: "KeyguardEsimArea.java"
NestMembers:
com.android.keyguard.KeyguardEsimArea$1
InnerClasses:
public abstract OnClickListener = android.view.View$OnClickListener of android.view.View
com.android.keyguard.KeyguardEsimArea$1