Potentially Intent Spoofing

Description

The application is vulnerable to intent spoofing which could result in the access and exploitation of unauthorized components.

Recommendation

It is recommended to apply proper input validation and parameter filtering on intent action.

Technical details
[TAINT] String 'market://details?id=com.paysys.nbpdigital&hl=en' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/paysys/nbpdigital/fragments/LoginFragment$4;', 'onClick', '(Landroid/content/DialogInterface; I)V'), ('Lcom/paysys/nbpdigital/fragments/LoginFragment;', 'play', '(Landroid/view/View;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.paysys.nbpdigital&hl=en to construct an Intent

Method com.paysys.nbpdigital.fragments.LoginFragment$4.onClick():


    public void onClick(android.content.DialogInterface p1, int p2)
    {
        this.this$0.getMainActivity().finish();
        this.this$0.play(this.this$0.getView());
        return;
    }

Method com.paysys.nbpdigital.fragments.LoginFragment.play():


    public void play(android.view.View p3)
    {
        this.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.paysys.nbpdigital&hl=en")));
        return;
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'gcm.n.' ==>>> Sink '['Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;')]]

Use of a string value gcm.n. to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.setData() not found.

[TAINT] String 'gcm.n.' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value gcm.n. to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'gcm.n.link' ==>>> Sink '['Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;')]]

Use of a string value gcm.n.link to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.setData() not found.

[TAINT] String 'gcm.n.link_android' ==>>> Sink '['Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;')]]

Use of a string value gcm.n.link_android to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.setData() not found.

[TAINT] String 'gcm.notification.' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value gcm.notification. to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'gcm.n.click_action' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value gcm.n.click_action to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'gcm.notification.' ==>>> Sink '['Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/c;', 'e', '(Landroid/os/Bundle;)Landroid/app/PendingIntent;'), ('Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;')]]

Use of a string value gcm.notification. to construct an Intent

Method com.google.firebase.messaging.c.e():


    private final android.app.PendingIntent e(android.os.Bundle p4)
    {
        android.content.Intent v1_2;
        int v0_3 = com.google.firebase.messaging.c.a(p4, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v0_3)) {
            int v0_15 = com.google.firebase.messaging.c.b(p4);
            if (v0_15 == 0) {
                v1_2 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                if (v1_2 == null) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v1_2 = new android.content.Intent("android.intent.action.VIEW");
                v1_2.setPackage(this.b.getPackageName());
                v1_2.setData(v0_15);
            }
        } else {
            v1_2 = new android.content.Intent(v0_3);
            v1_2.setPackage(this.b.getPackageName());
            v1_2.setFlags(268435456);
        }
        if (v1_2 != null) {
            v1_2.addFlags(67108864);
            int v0_9 = new android.os.Bundle(p4);
            com.google.firebase.messaging.FirebaseMessagingService.zzt(v0_9);
            v1_2.putExtras(v0_9);
            android.app.PendingIntent v4_2 = v0_9.keySet().iterator();
            while (v4_2.hasNext()) {
                int v0_14 = ((String) v4_2.next());
                if ((v0_14.startsWith("gcm.n.")) || (v0_14.startsWith("gcm.notification."))) {
                    v1_2.removeExtra(v0_14);
                }
            }
            return android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v1_2, 1073741824);
        } else {
            return 0;
        }
    }

Method android.content.Intent.setData() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'a', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.i.a():


    public final void a(String p3, String p4, android.os.Bundle p5)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            com.google.firebase.iid.i.d.b(this.g, p3, p4);
            if (p5 == null) {
                p5 = new android.os.Bundle();
            }
            p5.putString("delete", "1");
            this.c(p3, p4, p5);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'a', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.i.a():


    public final void a(String p3, String p4, android.os.Bundle p5)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            com.google.firebase.iid.i.d.b(this.g, p3, p4);
            if (p5 == null) {
                p5 = new android.os.Bundle();
            }
            p5.putString("delete", "1");
            this.c(p3, p4, p5);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/i;', 'a', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.i.a():


    public final void a(String p3, String p4, android.os.Bundle p5)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            com.google.firebase.iid.i.d.b(this.g, p3, p4);
            if (p5 == null) {
                p5 = new android.os.Bundle();
            }
            p5.putString("delete", "1");
            this.c(p3, p4, p5);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'e', '()Ljava/lang/String;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.e():


    final String e()
    {
        return this.a(this.e, "*");
    }

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public String a(String p3, String p4)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        this.a(v0_1);
        return this.d.b(p3, p4, v0_1);
    }

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'e', '()Ljava/lang/String;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.e():


    final String e()
    {
        return this.a(this.e, "*");
    }

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public String a(String p3, String p4)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        this.a(v0_1);
        return this.d.b(p3, p4, v0_1);
    }

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'e', '()Ljava/lang/String;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.e():


    final String e()
    {
        return this.a(this.e, "*");
    }

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public String a(String p3, String p4)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        this.a(v0_1);
        return this.d.b(p3, p4, v0_1);
    }

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'c', '()Ljava/lang/String;'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zzbI', '(Landroid/content/Context;)V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.c():


    public String c()
    {
        int v0_0 = this.d();
        if ((v0_0 == 0) || (v0_0.b(com.google.firebase.iid.i.a))) {
            com.google.firebase.iid.FirebaseInstanceIdService.zzbI(this.c.a());
        }
        if (v0_0 == 0) {
            return 0;
        } else {
            return v0_0.a;
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zzbI():


    static void zzbI(android.content.Context p3)
    {
        if (com.google.firebase.iid.k.a(p3) != null) {
            try {
                if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
                    com.google.firebase.iid.p.a().a(p3, com.google.firebase.iid.FirebaseInstanceIdService.zzbZ(0));
                    com.google.firebase.iid.FirebaseInstanceIdService.zzcky = 1;
                }
            } catch (int v3_2) {
                throw v3_2;
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'b', '(Ljava/lang/String;)V'), ('Lcom/google/firebase/iid/i;', 'a', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.b():


    final void b(String p7)
    {
        String v0_0 = this.d();
        if ((v0_0 == null) || (v0_0.b(com.google.firebase.iid.i.a))) {
            throw new java.io.IOException("token not available");
        } else {
            String v3_2;
            android.os.Bundle v1_1 = new android.os.Bundle();
            String v3_1 = String.valueOf("/topics/");
            int v4_0 = String.valueOf(p7);
            if (v4_0.length() == 0) {
                v3_2 = new String(v3_1);
            } else {
                v3_2 = v3_1.concat(v4_0);
            }
            String v7_3;
            v1_1.putString("gcm.topic", v3_2);
            com.google.firebase.iid.i v2_1 = this.d;
            String v0_1 = v0_0.a;
            String v3_4 = String.valueOf("/topics/");
            String v7_1 = String.valueOf(p7);
            if (v7_1.length() == 0) {
                v7_3 = new String(v3_4);
            } else {
                v7_3 = v3_4.concat(v7_1);
            }
            v2_1.a(v0_1, v7_3, v1_1);
            return;
        }
    }

Method com.google.firebase.iid.i.a():


    public final void a(String p3, String p4, android.os.Bundle p5)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            com.google.firebase.iid.i.d.b(this.g, p3, p4);
            if (p5 == null) {
                p5 = new android.os.Bundle();
            }
            p5.putString("delete", "1");
            this.c(p3, p4, p5);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'b', '(Ljava/lang/String;)V'), ('Lcom/google/firebase/iid/i;', 'a', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.b():


    final void b(String p7)
    {
        String v0_0 = this.d();
        if ((v0_0 == null) || (v0_0.b(com.google.firebase.iid.i.a))) {
            throw new java.io.IOException("token not available");
        } else {
            String v3_2;
            android.os.Bundle v1_1 = new android.os.Bundle();
            String v3_1 = String.valueOf("/topics/");
            int v4_0 = String.valueOf(p7);
            if (v4_0.length() == 0) {
                v3_2 = new String(v3_1);
            } else {
                v3_2 = v3_1.concat(v4_0);
            }
            String v7_3;
            v1_1.putString("gcm.topic", v3_2);
            com.google.firebase.iid.i v2_1 = this.d;
            String v0_1 = v0_0.a;
            String v3_4 = String.valueOf("/topics/");
            String v7_1 = String.valueOf(p7);
            if (v7_1.length() == 0) {
                v7_3 = new String(v3_4);
            } else {
                v7_3 = v3_4.concat(v7_1);
            }
            v2_1.a(v0_1, v7_3, v1_1);
            return;
        }
    }

Method com.google.firebase.iid.i.a():


    public final void a(String p3, String p4, android.os.Bundle p5)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            com.google.firebase.iid.i.d.b(this.g, p3, p4);
            if (p5 == null) {
                p5 = new android.os.Bundle();
            }
            p5.putString("delete", "1");
            this.c(p3, p4, p5);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'b', '(Ljava/lang/String;)V'), ('Lcom/google/firebase/iid/i;', 'a', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.b():


    final void b(String p7)
    {
        String v0_0 = this.d();
        if ((v0_0 == null) || (v0_0.b(com.google.firebase.iid.i.a))) {
            throw new java.io.IOException("token not available");
        } else {
            String v3_2;
            android.os.Bundle v1_1 = new android.os.Bundle();
            String v3_1 = String.valueOf("/topics/");
            int v4_0 = String.valueOf(p7);
            if (v4_0.length() == 0) {
                v3_2 = new String(v3_1);
            } else {
                v3_2 = v3_1.concat(v4_0);
            }
            String v7_3;
            v1_1.putString("gcm.topic", v3_2);
            com.google.firebase.iid.i v2_1 = this.d;
            String v0_1 = v0_0.a;
            String v3_4 = String.valueOf("/topics/");
            String v7_1 = String.valueOf(p7);
            if (v7_1.length() == 0) {
                v7_3 = new String(v3_4);
            } else {
                v7_3 = v3_4.concat(v7_1);
            }
            v2_1.a(v0_1, v7_3, v1_1);
            return;
        }
    }

Method com.google.firebase.iid.i.a():


    public final void a(String p3, String p4, android.os.Bundle p5)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            com.google.firebase.iid.i.d.b(this.g, p3, p4);
            if (p5 == null) {
                p5 = new android.os.Bundle();
            }
            p5.putString("delete", "1");
            this.c(p3, p4, p5);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    final void a(String p7)
    {
        String v0_0 = this.d();
        if ((v0_0 == null) || (v0_0.b(com.google.firebase.iid.i.a))) {
            throw new java.io.IOException("token not available");
        } else {
            int v3_2;
            android.os.Bundle v1_1 = new android.os.Bundle();
            int v3_1 = String.valueOf("/topics/");
            String v4_0 = String.valueOf(p7);
            if (v4_0.length() == 0) {
                v3_2 = new String(v3_1);
            } else {
                v3_2 = v3_1.concat(v4_0);
            }
            String v7_3;
            v1_1.putString("gcm.topic", v3_2);
            String v0_1 = v0_0.a;
            com.google.firebase.iid.i v2_2 = String.valueOf("/topics/");
            String v7_1 = String.valueOf(p7);
            if (v7_1.length() == 0) {
                v7_3 = new String(v2_2);
            } else {
                v7_3 = v2_2.concat(v7_1);
            }
            this.a(v1_1);
            this.d.c(v0_1, v7_3, v1_1);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    final void a(String p7)
    {
        String v0_0 = this.d();
        if ((v0_0 == null) || (v0_0.b(com.google.firebase.iid.i.a))) {
            throw new java.io.IOException("token not available");
        } else {
            int v3_2;
            android.os.Bundle v1_1 = new android.os.Bundle();
            int v3_1 = String.valueOf("/topics/");
            String v4_0 = String.valueOf(p7);
            if (v4_0.length() == 0) {
                v3_2 = new String(v3_1);
            } else {
                v3_2 = v3_1.concat(v4_0);
            }
            String v7_3;
            v1_1.putString("gcm.topic", v3_2);
            String v0_1 = v0_0.a;
            com.google.firebase.iid.i v2_2 = String.valueOf("/topics/");
            String v7_1 = String.valueOf(p7);
            if (v7_1.length() == 0) {
                v7_3 = new String(v2_2);
            } else {
                v7_3 = v2_2.concat(v7_1);
            }
            this.a(v1_1);
            this.d.c(v0_1, v7_3, v1_1);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String;)V'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    final void a(String p7)
    {
        String v0_0 = this.d();
        if ((v0_0 == null) || (v0_0.b(com.google.firebase.iid.i.a))) {
            throw new java.io.IOException("token not available");
        } else {
            int v3_2;
            android.os.Bundle v1_1 = new android.os.Bundle();
            int v3_1 = String.valueOf("/topics/");
            String v4_0 = String.valueOf(p7);
            if (v4_0.length() == 0) {
                v3_2 = new String(v3_1);
            } else {
                v3_2 = v3_1.concat(v4_0);
            }
            String v7_3;
            v1_1.putString("gcm.topic", v3_2);
            String v0_1 = v0_0.a;
            com.google.firebase.iid.i v2_2 = String.valueOf("/topics/");
            String v7_1 = String.valueOf(p7);
            if (v7_1.length() == 0) {
                v7_3 = new String(v2_2);
            } else {
                v7_3 = v2_2.concat(v7_1);
            }
            this.a(v1_1);
            this.d.c(v0_1, v7_3, v1_1);
            return;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '()V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public String a(String p3, String p4)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        this.a(v0_1);
        return this.d.b(p3, p4, v0_1);
    }

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.b():


    private final void b()
    {
        if (this.i == null) {
            com.google.firebase.iid.k.a(this.g);
            this.i = new android.os.Messenger(new com.google.firebase.iid.l(this, android.os.Looper.getMainLooper()));
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'google.messenger' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Parcelable;)Landroid/content/Intent;')]]

Use of a string value google.messenger to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public String a(String p3, String p4)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        this.a(v0_1);
        return this.d.b(p3, p4, v0_1);
    }

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method android.content.Intent.putExtra() not found.

[TAINT] String 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'b', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/i;', 'c', '(Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'b', '(Landroid/os/Bundle; Ljava/security/KeyPair;)Landroid/content/Intent;'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.google.example.invalidpackage to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public String a(String p3, String p4)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        this.a(v0_1);
        return this.d.b(p3, p4, v0_1);
    }

Method com.google.firebase.iid.i.b():


    public final String b(String p8, String p9, android.os.Bundle p10)
    {
        if (android.os.Looper.getMainLooper() == android.os.Looper.myLooper()) {
            throw new java.io.IOException("MAIN_THREAD");
        } else {
            int v0_1 = 1;
            if ((p10.getString("ttl") == null) && (!"jwt".equals(p10.getString("type")))) {
                com.google.firebase.iid.q v1_5 = com.google.firebase.iid.i.d.a(this.g, p8, p9);
                if ((v1_5 != null) && (!v1_5.b(com.google.firebase.iid.i.a))) {
                    return v1_5.a;
                }
            } else {
                v0_1 = 0;
            }
            String v10_1 = this.c(p8, p9, p10);
            if ((v10_1 != null) && (v0_1 != 0)) {
                com.google.firebase.iid.i.d.a(this.g, p8, p9, v10_1, com.google.firebase.iid.i.a);
            }
            return v10_1;
        }
    }

Method com.google.firebase.iid.i.c():


    public final String c(String p2, String p3, android.os.Bundle p4)
    {
        if (p3 != null) {
            p4.putString("scope", p3);
        }
        p4.putString("sender", p2);
        if (!"".equals(this.g)) {
            p2 = this.g;
        }
        p4.putString("subtype", p2);
        p4.putString("X-subtype", p2);
        java.io.IOException v2_2 = com.google.firebase.iid.i.e.a(p4, this.a());
        if (v2_2 == null) {
            throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
        } else {
            String v3_6 = v2_2.getStringExtra("registration_id");
            if (v3_6 == null) {
                v3_6 = v2_2.getStringExtra("unregistered");
            }
            if (v3_6 != null) {
                return v3_6;
            } else {
                String v3_10 = v2_2.getStringExtra("error");
                if (v3_10 == null) {
                    java.io.IOException v2_6 = String.valueOf(v2_2.getExtras());
                    String v4_2 = new StringBuilder((String.valueOf(v2_6).length() + 29));
                    v4_2.append("Unexpected response from GCM ");
                    v4_2.append(v2_6);
                    android.util.Log.w("InstanceID/Rpc", v4_2.toString(), new Throwable());
                    throw new java.io.IOException("SERVICE_NOT_AVAILABLE");
                } else {
                    throw new java.io.IOException(v3_10);
                }
            }
        }
    }

Method com.google.firebase.iid.k.a():


    final android.content.Intent a(android.os.Bundle p3, java.security.KeyPair p4)
    {
        int v0 = this.b(p3, p4);
        if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
            v0 = this.b(p3, p4);
            if ((v0 != 0) && (v0.hasExtra("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.k.b():

Couldn't retrieve source code

Method com.google.firebase.iid.k.a():


    public static declared_synchronized void a(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.k.l == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.k.l = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.k.l);
        return;
    }

Method android.content.Intent.setPackage() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'getInstance', '(Lcom/google/firebase/a;)Lcom/google/firebase/iid/FirebaseInstanceId;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', '<init>', '(Lcom/google/firebase/a; Lcom/google/firebase/iid/i;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zza', '(Landroid/content/Context; Lcom/google/firebase/iid/FirebaseInstanceId;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zzbI', '(Landroid/content/Context;)V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.getInstance():


    public static declared_synchronized com.google.firebase.iid.FirebaseInstanceId getInstance(com.google.firebase.a p4)
    {
        try {
            com.google.firebase.iid.FirebaseInstanceId v1_4 = ((com.google.firebase.iid.FirebaseInstanceId) com.google.firebase.iid.FirebaseInstanceId.a.get(p4.c().b()));
        } catch (String v4_1) {
            throw v4_1;
        }
        if (v1_4 == null) {
            com.google.firebase.iid.FirebaseInstanceId v1_2 = com.google.firebase.iid.i.a(p4.a(), 0);
            if (com.google.firebase.iid.FirebaseInstanceId.b == null) {
                com.google.firebase.iid.FirebaseInstanceId.b = new com.google.firebase.iid.j(com.google.firebase.iid.i.c());
            }
            com.google.firebase.iid.FirebaseInstanceId v2_5 = new com.google.firebase.iid.FirebaseInstanceId(p4, v1_2);
            com.google.firebase.iid.FirebaseInstanceId.a.put(p4.c().b(), v2_5);
            v1_4 = v2_5;
        }
        return v1_4;
    }

Method com.google.firebase.iid.FirebaseInstanceId.<init>():


    private FirebaseInstanceId(com.google.firebase.a p3, com.google.firebase.iid.i p4)
    {
        this.c = p3;
        this.d = p4;
        String v3_3 = this.c.c().c();
        if (v3_3 == null) {
            v3_3 = this.c.c().b();
            if (v3_3.startsWith("1:")) {
                String v3_4 = v3_3.split(":");
                if (v3_4.length >= 2) {
                    v3_3 = v3_4[1];
                    if (!v3_3.isEmpty()) {
                        this.e = v3_3;
                        if (this.e == null) {
                            throw new IllegalStateException("IID failing to initialize, FirebaseApp is missing project ID");
                        } else {
                            com.google.firebase.iid.FirebaseInstanceIdService.zza(this.c.a(), this);
                            return;
                        }
                    }
                }
                v3_3 = 0;
            }
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zza():


    static void zza(android.content.Context p2, com.google.firebase.iid.FirebaseInstanceId p3)
    {
        if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
            String v3_3 = p3.d();
            if ((v3_3 == null) || ((v3_3.b(com.google.firebase.iid.i.a)) || (com.google.firebase.iid.FirebaseInstanceId.f().a() != null))) {
                com.google.firebase.iid.FirebaseInstanceIdService.zzbI(p2);
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zzbI():


    static void zzbI(android.content.Context p3)
    {
        if (com.google.firebase.iid.k.a(p3) != null) {
            try {
                if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
                    com.google.firebase.iid.p.a().a(p3, com.google.firebase.iid.FirebaseInstanceIdService.zzbZ(0));
                    com.google.firebase.iid.FirebaseInstanceIdService.zzcky = 1;
                }
            } catch (int v3_2) {
                throw v3_2;
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '()Lcom/google/firebase/iid/FirebaseInstanceId;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', 'getInstance', '(Lcom/google/firebase/a;)Lcom/google/firebase/iid/FirebaseInstanceId;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', '<init>', '(Lcom/google/firebase/a; Lcom/google/firebase/iid/i;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zza', '(Landroid/content/Context; Lcom/google/firebase/iid/FirebaseInstanceId;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zzbI', '(Landroid/content/Context;)V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public static com.google.firebase.iid.FirebaseInstanceId a()
    {
        return com.google.firebase.iid.FirebaseInstanceId.getInstance(com.google.firebase.a.d());
    }

Method com.google.firebase.iid.FirebaseInstanceId.getInstance():


    public static declared_synchronized com.google.firebase.iid.FirebaseInstanceId getInstance(com.google.firebase.a p4)
    {
        try {
            com.google.firebase.iid.FirebaseInstanceId v1_4 = ((com.google.firebase.iid.FirebaseInstanceId) com.google.firebase.iid.FirebaseInstanceId.a.get(p4.c().b()));
        } catch (String v4_1) {
            throw v4_1;
        }
        if (v1_4 == null) {
            com.google.firebase.iid.FirebaseInstanceId v1_2 = com.google.firebase.iid.i.a(p4.a(), 0);
            if (com.google.firebase.iid.FirebaseInstanceId.b == null) {
                com.google.firebase.iid.FirebaseInstanceId.b = new com.google.firebase.iid.j(com.google.firebase.iid.i.c());
            }
            com.google.firebase.iid.FirebaseInstanceId v2_5 = new com.google.firebase.iid.FirebaseInstanceId(p4, v1_2);
            com.google.firebase.iid.FirebaseInstanceId.a.put(p4.c().b(), v2_5);
            v1_4 = v2_5;
        }
        return v1_4;
    }

Method com.google.firebase.iid.FirebaseInstanceId.<init>():


    private FirebaseInstanceId(com.google.firebase.a p3, com.google.firebase.iid.i p4)
    {
        this.c = p3;
        this.d = p4;
        String v3_3 = this.c.c().c();
        if (v3_3 == null) {
            v3_3 = this.c.c().b();
            if (v3_3.startsWith("1:")) {
                String v3_4 = v3_3.split(":");
                if (v3_4.length >= 2) {
                    v3_3 = v3_4[1];
                    if (!v3_3.isEmpty()) {
                        this.e = v3_3;
                        if (this.e == null) {
                            throw new IllegalStateException("IID failing to initialize, FirebaseApp is missing project ID");
                        } else {
                            com.google.firebase.iid.FirebaseInstanceIdService.zza(this.c.a(), this);
                            return;
                        }
                    }
                }
                v3_3 = 0;
            }
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zza():


    static void zza(android.content.Context p2, com.google.firebase.iid.FirebaseInstanceId p3)
    {
        if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
            String v3_3 = p3.d();
            if ((v3_3 == null) || ((v3_3.b(com.google.firebase.iid.i.a)) || (com.google.firebase.iid.FirebaseInstanceId.f().a() != null))) {
                com.google.firebase.iid.FirebaseInstanceIdService.zzbI(p2);
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zzbI():


    static void zzbI(android.content.Context p3)
    {
        if (com.google.firebase.iid.k.a(p3) != null) {
            try {
                if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
                    com.google.firebase.iid.p.a().a(p3, com.google.firebase.iid.FirebaseInstanceIdService.zzbZ(0));
                    com.google.firebase.iid.FirebaseInstanceIdService.zzcky = 1;
                }
            } catch (int v3_2) {
                throw v3_2;
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/FirebaseInstanceId;', '<init>', '(Lcom/google/firebase/a; Lcom/google/firebase/iid/i;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zza', '(Landroid/content/Context; Lcom/google/firebase/iid/FirebaseInstanceId;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zzbI', '(Landroid/content/Context;)V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.iid.FirebaseInstanceId.<init>():


    private FirebaseInstanceId(com.google.firebase.a p3, com.google.firebase.iid.i p4)
    {
        this.c = p3;
        this.d = p4;
        String v3_3 = this.c.c().c();
        if (v3_3 == null) {
            v3_3 = this.c.c().b();
            if (v3_3.startsWith("1:")) {
                String v3_4 = v3_3.split(":");
                if (v3_4.length >= 2) {
                    v3_3 = v3_4[1];
                    if (!v3_3.isEmpty()) {
                        this.e = v3_3;
                        if (this.e == null) {
                            throw new IllegalStateException("IID failing to initialize, FirebaseApp is missing project ID");
                        } else {
                            com.google.firebase.iid.FirebaseInstanceIdService.zza(this.c.a(), this);
                            return;
                        }
                    }
                }
                v3_3 = 0;
            }
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zza():


    static void zza(android.content.Context p2, com.google.firebase.iid.FirebaseInstanceId p3)
    {
        if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
            String v3_3 = p3.d();
            if ((v3_3 == null) || ((v3_3.b(com.google.firebase.iid.i.a)) || (com.google.firebase.iid.FirebaseInstanceId.f().a() != null))) {
                com.google.firebase.iid.FirebaseInstanceIdService.zzbI(p2);
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zzbI():


    static void zzbI(android.content.Context p3)
    {
        if (com.google.firebase.iid.k.a(p3) != null) {
            try {
                if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
                    com.google.firebase.iid.p.a().a(p3, com.google.firebase.iid.FirebaseInstanceIdService.zzbZ(0));
                    com.google.firebase.iid.FirebaseInstanceIdService.zzcky = 1;
                }
            } catch (int v3_2) {
                throw v3_2;
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.

[TAINT] String 'com.google.iid.TOKEN_REQUEST' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/crash/FirebaseCrash;', 'getInstance', '(Lcom/google/firebase/a;)Lcom/google/firebase/crash/FirebaseCrash;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', 'a', '()Lcom/google/firebase/iid/FirebaseInstanceId;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', 'getInstance', '(Lcom/google/firebase/a;)Lcom/google/firebase/iid/FirebaseInstanceId;'), ('Lcom/google/firebase/iid/FirebaseInstanceId;', '<init>', '(Lcom/google/firebase/a; Lcom/google/firebase/iid/i;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zza', '(Landroid/content/Context; Lcom/google/firebase/iid/FirebaseInstanceId;)V'), ('Lcom/google/firebase/iid/FirebaseInstanceIdService;', 'zzbI', '(Landroid/content/Context;)V'), ('Lcom/google/firebase/iid/k;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.iid.TOKEN_REQUEST to construct an Intent

Method com.google.firebase.crash.FirebaseCrash.getInstance():


    public static com.google.firebase.crash.FirebaseCrash getInstance(com.google.firebase.a p9)
    {
        if (com.google.firebase.crash.FirebaseCrash.a == null) {
            try {
                if (com.google.firebase.crash.FirebaseCrash.a == null) {
                    com.google.firebase.crash.a v1_9 = new java.util.concurrent.ThreadPoolExecutor;
                    v1_9(1, 1, 10000, java.util.concurrent.TimeUnit.MILLISECONDS, new java.util.concurrent.LinkedBlockingQueue());
                    v1_9.allowCoreThreadTimeOut(1);
                    com.google.firebase.crash.FirebaseCrash v2_3 = new com.google.firebase.crash.FirebaseCrash(p9, v1_9);
                    com.google.firebase.crash.c v4_1 = new com.google.firebase.crash.c(p9, com.google.firebase.iid.FirebaseInstanceId.a().b());
                    Thread.setDefaultUncaughtExceptionHandler(new com.google.firebase.crash.FirebaseCrash$c(v2_3, Thread.getDefaultUncaughtExceptionHandler()));
                    com.google.firebase.crash.b v8_3 = new com.google.firebase.crash.b(v2_3);
                    java.util.concurrent.ExecutorService v9_4 = java.util.concurrent.Executors.newFixedThreadPool(2);
                    com.google.firebase.crash.a v1_6 = new com.google.firebase.crash.e;
                    v1_6(v4_1, v9_4.submit(new com.google.firebase.crash.d(v4_1)), 10000, v8_3);
                    v9_4.submit(v1_6);
                    v9_4.shutdown();
                    v2_3.c.execute(new com.google.firebase.crash.a(v2_3));
                    com.google.firebase.crash.FirebaseCrash.a = v2_3;
                }
            } catch (java.util.concurrent.ExecutorService v9_6) {
                throw v9_6;
            }
        }
        return com.google.firebase.crash.FirebaseCrash.a;
    }

Method com.google.firebase.iid.FirebaseInstanceId.a():


    public static com.google.firebase.iid.FirebaseInstanceId a()
    {
        return com.google.firebase.iid.FirebaseInstanceId.getInstance(com.google.firebase.a.d());
    }

Method com.google.firebase.iid.FirebaseInstanceId.getInstance():


    public static declared_synchronized com.google.firebase.iid.FirebaseInstanceId getInstance(com.google.firebase.a p4)
    {
        try {
            com.google.firebase.iid.FirebaseInstanceId v1_4 = ((com.google.firebase.iid.FirebaseInstanceId) com.google.firebase.iid.FirebaseInstanceId.a.get(p4.c().b()));
        } catch (String v4_1) {
            throw v4_1;
        }
        if (v1_4 == null) {
            com.google.firebase.iid.FirebaseInstanceId v1_2 = com.google.firebase.iid.i.a(p4.a(), 0);
            if (com.google.firebase.iid.FirebaseInstanceId.b == null) {
                com.google.firebase.iid.FirebaseInstanceId.b = new com.google.firebase.iid.j(com.google.firebase.iid.i.c());
            }
            com.google.firebase.iid.FirebaseInstanceId v2_5 = new com.google.firebase.iid.FirebaseInstanceId(p4, v1_2);
            com.google.firebase.iid.FirebaseInstanceId.a.put(p4.c().b(), v2_5);
            v1_4 = v2_5;
        }
        return v1_4;
    }

Method com.google.firebase.iid.FirebaseInstanceId.<init>():


    private FirebaseInstanceId(com.google.firebase.a p3, com.google.firebase.iid.i p4)
    {
        this.c = p3;
        this.d = p4;
        String v3_3 = this.c.c().c();
        if (v3_3 == null) {
            v3_3 = this.c.c().b();
            if (v3_3.startsWith("1:")) {
                String v3_4 = v3_3.split(":");
                if (v3_4.length >= 2) {
                    v3_3 = v3_4[1];
                    if (!v3_3.isEmpty()) {
                        this.e = v3_3;
                        if (this.e == null) {
                            throw new IllegalStateException("IID failing to initialize, FirebaseApp is missing project ID");
                        } else {
                            com.google.firebase.iid.FirebaseInstanceIdService.zza(this.c.a(), this);
                            return;
                        }
                    }
                }
                v3_3 = 0;
            }
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zza():


    static void zza(android.content.Context p2, com.google.firebase.iid.FirebaseInstanceId p3)
    {
        if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
            String v3_3 = p3.d();
            if ((v3_3 == null) || ((v3_3.b(com.google.firebase.iid.i.a)) || (com.google.firebase.iid.FirebaseInstanceId.f().a() != null))) {
                com.google.firebase.iid.FirebaseInstanceIdService.zzbI(p2);
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.FirebaseInstanceIdService.zzbI():


    static void zzbI(android.content.Context p3)
    {
        if (com.google.firebase.iid.k.a(p3) != null) {
            try {
                if (!com.google.firebase.iid.FirebaseInstanceIdService.zzcky) {
                    com.google.firebase.iid.p.a().a(p3, com.google.firebase.iid.FirebaseInstanceIdService.zzbZ(0));
                    com.google.firebase.iid.FirebaseInstanceIdService.zzcky = 1;
                }
            } catch (int v3_2) {
                throw v3_2;
            }
            return;
        } else {
            return;
        }
    }

Method com.google.firebase.iid.k.a():


    public static String a(android.content.Context p5)
    {
        if (com.google.firebase.iid.k.a == null) {
            com.google.firebase.iid.k.c = android.os.Process.myUid();
            String v5_5 = p5.getPackageManager();
            String v0_2 = v5_5.queryBroadcastReceivers(new android.content.Intent("com.google.iid.TOKEN_REQUEST"), 0).iterator();
            do {
                int v3 = 1;
                if (!v0_2.hasNext()) {
                    v3 = 0;
                } else {
                }
                if (v3 == 0) {
                    if ((com.google.android.gms.common.util.n.h()) || (!com.google.firebase.iid.k.a(v5_5))) {
                        android.util.Log.w("InstanceID/Rpc", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gms")) {
                            if ((com.google.android.gms.common.util.n.f()) || (!com.google.firebase.iid.k.a(v5_5, "com.google.android.gsf"))) {
                                android.util.Log.w("InstanceID/Rpc", "Google Play services is missing, unable to get tokens");
                                return 0;
                            } else {
                                com.google.firebase.iid.k.b = 0;
                                return com.google.firebase.iid.k.a;
                            }
                        } else {
                            com.google.firebase.iid.k.b = com.google.android.gms.common.util.n.h();
                            return com.google.firebase.iid.k.a;
                        }
                    } else {
                        return com.google.firebase.iid.k.a;
                    }
                } else {
                    return com.google.firebase.iid.k.a;
                }
            } while(!com.google.firebase.iid.k.a(v5_5, ((android.content.pm.ResolveInfo) v0_2.next()).activityInfo.packageName, "com.google.iid.TOKEN_REQUEST"));
            com.google.firebase.iid.k.b = 1;
        } else {
            return com.google.firebase.iid.k.a;
        }
    }

Method android.content.Intent.<init>() not found.