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 'com.google.example.invalidpackage' ==>>> Sink '['Landroid/content/Intent;', 'setPackage', '(Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/google/firebase/messaging/FirebaseMessaging;', 'send', '(Lcom/google/firebase/messaging/RemoteMessage;)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.messaging.FirebaseMessaging.send():


    public void send(com.google.firebase.messaging.RemoteMessage p6)
    {
        if (android.text.TextUtils.isEmpty(p6.getTo())) {
            throw new IllegalArgumentException("Missing \'to\'");
        } else {
            String v0_2 = com.google.firebase.FirebaseApp.getInstance().getApplicationContext();
            android.content.Intent v1_1 = new android.content.Intent("com.google.android.gcm.intent.SEND");
            String v2_2 = new android.content.Intent();
            v2_2.setPackage("com.google.example.invalidpackage");
            v1_1.putExtra("app", android.app.PendingIntent.getBroadcast(v0_2, 0, v2_2, 0));
            v1_1.setPackage("com.google.android.gms");
            v1_1.putExtras(p6.zzds);
            v0_2.sendOrderedBroadcast(v1_1, "com.google.android.gtalkservice.permission.GTALK_SERVICE");
            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/zzs;', 'run', '()V'), ('Lcom/google/firebase/iid/zzr;', 'zza', '(Landroid/os/Bundle; Lcom/google/android/gms/tasks/g;)V'), ('Lcom/google/firebase/iid/zzat;', 'zzc', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzan;', 'zzac', '()I'), ('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.zzs.run():


    public final void run()
    {
        this.zzbk.zza(this.zzbl, this.zzbm);
        return;
    }

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


    final synthetic void zza(android.os.Bundle p2, com.google.android.gms.tasks.g p3)
    {
        try {
            p3.a(this.zzbi.zzc(p2));
            return;
        } catch (java.io.IOException v2_2) {
            p3.a(v2_2);
            return;
        }
    }

Method com.google.firebase.iid.zzat.zzc():


    final android.os.Bundle zzc(android.os.Bundle p6)
    {
        if (this.zzan.zzaf() < 12000000) {
            return this.zzd(p6);
        } else {
            try {
                return ((android.os.Bundle) com.google.android.gms.tasks.i.a(com.google.firebase.iid.zzab.zzc(this.zzx).zzb(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    String v2_1 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v2_1).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v2_1);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.zzal)) {
                    if (((com.google.firebase.iid.zzal) v0_5.getCause()).getErrorCode() == 4) {
                        return this.zzd(p6);
                    }
                }
                return 0;
            }
        }
    }

Method com.google.firebase.iid.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

Method com.google.firebase.iid.zzan.zzac():


    public final declared_synchronized int zzac()
    {
        try {
            if (this.zzcl == 0) {
                int v0_5 = this.zzx.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.o.i()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.zzcl = 1;
                            return this.zzcl;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.o.i()) {
                            this.zzcl = 1;
                        } else {
                            this.zzcl = 2;
                        }
                        return this.zzcl;
                    } else {
                        this.zzcl = 2;
                        return this.zzcl;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.zzcl;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

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/zzs;', 'run', '()V'), ('Lcom/google/firebase/iid/zzr;', 'zza', '(Landroid/os/Bundle; Lcom/google/android/gms/tasks/g;)V'), ('Lcom/google/firebase/iid/zzat;', 'zzc', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zza', '(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.zzs.run():


    public final void run()
    {
        this.zzbk.zza(this.zzbl, this.zzbm);
        return;
    }

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


    final synthetic void zza(android.os.Bundle p2, com.google.android.gms.tasks.g p3)
    {
        try {
            p3.a(this.zzbi.zzc(p2));
            return;
        } catch (java.io.IOException v2_2) {
            p3.a(v2_2);
            return;
        }
    }

Method com.google.firebase.iid.zzat.zzc():


    final android.os.Bundle zzc(android.os.Bundle p6)
    {
        if (this.zzan.zzaf() < 12000000) {
            return this.zzd(p6);
        } else {
            try {
                return ((android.os.Bundle) com.google.android.gms.tasks.i.a(com.google.firebase.iid.zzab.zzc(this.zzx).zzb(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    String v2_1 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v2_1).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v2_1);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.zzal)) {
                    if (((com.google.firebase.iid.zzal) v0_5.getCause()).getErrorCode() == 4) {
                        return this.zzd(p6);
                    }
                }
                return 0;
            }
        }
    }

Method com.google.firebase.iid.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

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


    private static declared_synchronized void zza(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.zzat.zzcr == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.zzat.zzcr = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.zzat.zzcr);
        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/zzs;', 'run', '()V'), ('Lcom/google/firebase/iid/zzr;', 'zza', '(Landroid/os/Bundle; Lcom/google/android/gms/tasks/g;)V'), ('Lcom/google/firebase/iid/zzat;', 'zzc', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('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.zzs.run():


    public final void run()
    {
        this.zzbk.zza(this.zzbl, this.zzbm);
        return;
    }

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


    final synthetic void zza(android.os.Bundle p2, com.google.android.gms.tasks.g p3)
    {
        try {
            p3.a(this.zzbi.zzc(p2));
            return;
        } catch (java.io.IOException v2_2) {
            p3.a(v2_2);
            return;
        }
    }

Method com.google.firebase.iid.zzat.zzc():


    final android.os.Bundle zzc(android.os.Bundle p6)
    {
        if (this.zzan.zzaf() < 12000000) {
            return this.zzd(p6);
        } else {
            try {
                return ((android.os.Bundle) com.google.android.gms.tasks.i.a(com.google.firebase.iid.zzab.zzc(this.zzx).zzb(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    String v2_1 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v2_1).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v2_1);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.zzal)) {
                    if (((com.google.firebase.iid.zzal) v0_5.getCause()).getErrorCode() == 4) {
                        return this.zzd(p6);
                    }
                }
                return 0;
            }
        }
    }

Method com.google.firebase.iid.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

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

[TAINT] String 'com.google.firebase.INSTANCE_ID_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'run', '()V'), ('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Lcom/google/firebase/iid/zzav;', 'zzb', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.INSTANCE_ID_EVENT to construct an Intent

Method com.google.firebase.iid.zzay.run():


    public final void run()
    {
        this.zzdi.acquire();
        try {
            this.zzdj.zza(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_9) {
            this.zzdi.release();
            throw v0_9;
        }
        if (this.zzdj.zzn()) {
            if (this.zzao()) {
                if ((!this.zzam()) || ((!this.zzan()) || (!this.zzaq.zzc(this.zzdj)))) {
                    this.zzdj.zza(this.zzdh);
                } else {
                    this.zzdj.zza(0);
                }
                this.zzdi.release();
                return;
            } else {
                new com.google.firebase.iid.zzaz(this).zzap();
                this.zzdi.release();
                return;
            }
        } else {
            this.zzdj.zza(0);
            this.zzdi.release();
            return;
        }
    }

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.zzav.zzb():


    public static void zzb(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.zzav.zza(p1, "com.google.firebase.INSTANCE_ID_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.MESSAGING_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'run', '()V'), ('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Lcom/google/firebase/iid/zzav;', 'zzc', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.MESSAGING_EVENT to construct an Intent

Method com.google.firebase.iid.zzay.run():


    public final void run()
    {
        this.zzdi.acquire();
        try {
            this.zzdj.zza(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_9) {
            this.zzdi.release();
            throw v0_9;
        }
        if (this.zzdj.zzn()) {
            if (this.zzao()) {
                if ((!this.zzam()) || ((!this.zzan()) || (!this.zzaq.zzc(this.zzdj)))) {
                    this.zzdj.zza(this.zzdh);
                } else {
                    this.zzdj.zza(0);
                }
                this.zzdi.release();
                return;
            } else {
                new com.google.firebase.iid.zzaz(this).zzap();
                this.zzdi.release();
                return;
            }
        } else {
            this.zzdj.zza(0);
            this.zzdi.release();
            return;
        }
    }

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.zzav.zzc():


    public static void zzc(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.zzav.zza(p1, "com.google.firebase.MESSAGING_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.iid.TOKEN_REFRESH' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'run', '()V'), ('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

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

Method com.google.firebase.iid.zzay.run():


    public final void run()
    {
        this.zzdi.acquire();
        try {
            this.zzdj.zza(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_9) {
            this.zzdi.release();
            throw v0_9;
        }
        if (this.zzdj.zzn()) {
            if (this.zzao()) {
                if ((!this.zzam()) || ((!this.zzan()) || (!this.zzaq.zzc(this.zzdj)))) {
                    this.zzdj.zza(this.zzdh);
                } else {
                    this.zzdj.zza(0);
                }
                this.zzdi.release();
                return;
            } else {
                new com.google.firebase.iid.zzaz(this).zzap();
                this.zzdi.release();
                return;
            }
        } else {
            this.zzdj.zza(0);
            this.zzdi.release();
            return;
        }
    }

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

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

[TAINT] String 'com.google.firebase.messaging.NEW_TOKEN' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'run', '()V'), ('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.firebase.messaging.NEW_TOKEN to construct an Intent

Method com.google.firebase.iid.zzay.run():


    public final void run()
    {
        this.zzdi.acquire();
        try {
            this.zzdj.zza(1);
        } catch (com.google.firebase.iid.FirebaseInstanceId v0_9) {
            this.zzdi.release();
            throw v0_9;
        }
        if (this.zzdj.zzn()) {
            if (this.zzao()) {
                if ((!this.zzam()) || ((!this.zzan()) || (!this.zzaq.zzc(this.zzdj)))) {
                    this.zzdj.zza(this.zzdh);
                } else {
                    this.zzdj.zza(0);
                }
                this.zzdi.release();
                return;
            } else {
                new com.google.firebase.iid.zzaz(this).zzap();
                this.zzdi.release();
                return;
            }
        } else {
            this.zzdj.zza(0);
            this.zzdi.release();
            return;
        }
    }

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

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

[TAINT] String 'com.google.firebase.INSTANCE_ID_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Lcom/google/firebase/iid/zzav;', 'zzb', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.INSTANCE_ID_EVENT to construct an Intent

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.zzav.zzb():


    public static void zzb(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.zzav.zza(p1, "com.google.firebase.INSTANCE_ID_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.MESSAGING_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Lcom/google/firebase/iid/zzav;', 'zzc', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.MESSAGING_EVENT to construct an Intent

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

Method com.google.firebase.iid.zzav.zzc():


    public static void zzc(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.zzav.zza(p1, "com.google.firebase.MESSAGING_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.iid.TOKEN_REFRESH' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

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

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

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

[TAINT] String 'com.google.firebase.messaging.NEW_TOKEN' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzay;', 'zzan', '()Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.google.firebase.messaging.NEW_TOKEN to construct an Intent

Method com.google.firebase.iid.zzay.zzan():


    private final boolean zzan()
    {
        boolean v0_1 = this.zzdj.zzj();
        if ((!v0_1) || (v0_1.zzj(this.zzan.zzad()))) {
            try {
                android.content.Intent v3_1 = this.zzdj.zzk();
            } catch (boolean v0_6) {
                boolean v0_8 = String.valueOf(v0_6.getMessage());
                if (v0_8.length() == 0) {
                    boolean v0_10 = new String("Token retrieval failed: ");
                } else {
                    v0_10 = "Token retrieval failed: ".concat(v0_8);
                }
                android.util.Log.e("FirebaseInstanceId", v0_10);
                return 0;
            }
            if (v3_1 != null) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    android.util.Log.d("FirebaseInstanceId", "Token successfully retrieved");
                }
                if ((!v0_1) || ((v0_1) && (!v3_1.equals(v0_1.zzbq)))) {
                    boolean v0_4 = this.getContext();
                    String v4_4 = new android.content.Intent("com.google.firebase.messaging.NEW_TOKEN");
                    v4_4.putExtra("token", v3_1);
                    com.google.firebase.iid.zzav.zzc(v0_4, v4_4);
                    com.google.firebase.iid.zzav.zzb(v0_4, new android.content.Intent("com.google.firebase.iid.TOKEN_REFRESH"));
                }
                return 1;
            } else {
                android.util.Log.e("FirebaseInstanceId", "Token retrieval failed: null");
                return 0;
            }
        } else {
            return 1;
        }
    }

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

[TAINT] String 'com.google.firebase.MESSAGING_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzav;', 'zzc', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.MESSAGING_EVENT to construct an Intent

Method com.google.firebase.iid.zzav.zzc():


    public static void zzc(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.zzav.zza(p1, "com.google.firebase.MESSAGING_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() not found.

[TAINT] String 'com.google.firebase.INSTANCE_ID_EVENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/google/firebase/iid/zzav;', 'zzb', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value com.google.firebase.INSTANCE_ID_EVENT to construct an Intent

Method com.google.firebase.iid.zzav.zzb():


    public static void zzb(android.content.Context p1, android.content.Intent p2)
    {
        p1.sendBroadcast(com.google.firebase.iid.zzav.zza(p1, "com.google.firebase.INSTANCE_ID_EVENT", p2));
        return;
    }

Method android.content.Context.sendBroadcast() 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/zzat;', 'zzc', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzan;', 'zzac', '()I'), ('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.zzat.zzc():


    final android.os.Bundle zzc(android.os.Bundle p6)
    {
        if (this.zzan.zzaf() < 12000000) {
            return this.zzd(p6);
        } else {
            try {
                return ((android.os.Bundle) com.google.android.gms.tasks.i.a(com.google.firebase.iid.zzab.zzc(this.zzx).zzb(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    String v2_1 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v2_1).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v2_1);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.zzal)) {
                    if (((com.google.firebase.iid.zzal) v0_5.getCause()).getErrorCode() == 4) {
                        return this.zzd(p6);
                    }
                }
                return 0;
            }
        }
    }

Method com.google.firebase.iid.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

Method com.google.firebase.iid.zzan.zzac():


    public final declared_synchronized int zzac()
    {
        try {
            if (this.zzcl == 0) {
                int v0_5 = this.zzx.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.o.i()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.zzcl = 1;
                            return this.zzcl;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.o.i()) {
                            this.zzcl = 1;
                        } else {
                            this.zzcl = 2;
                        }
                        return this.zzcl;
                    } else {
                        this.zzcl = 2;
                        return this.zzcl;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.zzcl;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

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/zzat;', 'zzc', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zza', '(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.zzat.zzc():


    final android.os.Bundle zzc(android.os.Bundle p6)
    {
        if (this.zzan.zzaf() < 12000000) {
            return this.zzd(p6);
        } else {
            try {
                return ((android.os.Bundle) com.google.android.gms.tasks.i.a(com.google.firebase.iid.zzab.zzc(this.zzx).zzb(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    String v2_1 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v2_1).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v2_1);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.zzal)) {
                    if (((com.google.firebase.iid.zzal) v0_5.getCause()).getErrorCode() == 4) {
                        return this.zzd(p6);
                    }
                }
                return 0;
            }
        }
    }

Method com.google.firebase.iid.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

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


    private static declared_synchronized void zza(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.zzat.zzcr == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.zzat.zzcr = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.zzat.zzcr);
        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/zzat;', 'zzc', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('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.zzat.zzc():


    final android.os.Bundle zzc(android.os.Bundle p6)
    {
        if (this.zzan.zzaf() < 12000000) {
            return this.zzd(p6);
        } else {
            try {
                return ((android.os.Bundle) com.google.android.gms.tasks.i.a(com.google.firebase.iid.zzab.zzc(this.zzx).zzb(1, p6)));
            } catch (int v0_5) {
                if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    String v2_1 = String.valueOf(v0_5);
                    StringBuilder v4_1 = new StringBuilder((String.valueOf(v2_1).length() + 22));
                    v4_1.append("Error making request: ");
                    v4_1.append(v2_1);
                    android.util.Log.d("FirebaseInstanceId", v4_1.toString());
                }
                if ((v0_5.getCause() instanceof com.google.firebase.iid.zzal)) {
                    if (((com.google.firebase.iid.zzal) v0_5.getCause()).getErrorCode() == 4) {
                        return this.zzd(p6);
                    }
                }
                return 0;
            }
        }
    }

Method com.google.firebase.iid.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

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/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zza', '(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.zzat.zze():

Couldn't retrieve source code

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


    private static declared_synchronized void zza(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.zzat.zzcr == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.zzat.zzcr = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.zzat.zzcr);
        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/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzan;', 'zzac', '()I'), ('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.zzat.zze():

Couldn't retrieve source code

Method com.google.firebase.iid.zzan.zzac():


    public final declared_synchronized int zzac()
    {
        try {
            if (this.zzcl == 0) {
                int v0_5 = this.zzx.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.o.i()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.zzcl = 1;
                            return this.zzcl;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.o.i()) {
                            this.zzcl = 1;
                        } else {
                            this.zzcl = 2;
                        }
                        return this.zzcl;
                    } else {
                        this.zzcl = 2;
                        return this.zzcl;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.zzcl;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

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/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('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.zzat.zze():

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/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzan;', 'zzac', '()I'), ('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.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

Method com.google.firebase.iid.zzan.zzac():


    public final declared_synchronized int zzac()
    {
        try {
            if (this.zzcl == 0) {
                int v0_5 = this.zzx.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.o.i()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.zzcl = 1;
                            return this.zzcl;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.o.i()) {
                            this.zzcl = 1;
                        } else {
                            this.zzcl = 2;
                        }
                        return this.zzcl;
                    } else {
                        this.zzcl = 2;
                        return this.zzcl;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.zzcl;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

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/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zza', '(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.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

Couldn't retrieve source code

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


    private static declared_synchronized void zza(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.zzat.zzcr == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.zzat.zzcr = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.zzat.zzcr);
        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/zzat;', 'zzd', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('Lcom/google/firebase/iid/zzat;', 'zze', '(Landroid/os/Bundle;)Landroid/os/Bundle;'), ('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.zzat.zzd():


    private final android.os.Bundle zzd(android.os.Bundle p3)
    {
        int v0 = this.zze(p3);
        if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
            v0 = this.zze(p3);
            if ((v0 != 0) && (v0.containsKey("google.messenger"))) {
                v0 = 0;
            }
        }
        return v0;
    }

Method com.google.firebase.iid.zzat.zze():

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/zzat;', 'zza', '(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.zzat.zza():


    private static declared_synchronized void zza(android.content.Context p3, android.content.Intent p4)
    {
        try {
            if (com.google.firebase.iid.zzat.zzcr == null) {
                android.app.PendingIntent v1_3 = new android.content.Intent();
                v1_3.setPackage("com.google.example.invalidpackage");
                com.google.firebase.iid.zzat.zzcr = android.app.PendingIntent.getBroadcast(p3, 0, v1_3, 0);
            }
        } catch (String v3_1) {
            throw v3_1;
        }
        p4.putExtra("app", com.google.firebase.iid.zzat.zzcr);
        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/zzan;', 'zzac', '()I'), ('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.zzan.zzac():


    public final declared_synchronized int zzac()
    {
        try {
            if (this.zzcl == 0) {
                int v0_5 = this.zzx.getPackageManager();
                if (v0_5.checkPermission("com.google.android.c2dm.permission.SEND", "com.google.android.gms") != -1) {
                    if (!com.google.android.gms.common.util.o.i()) {
                        int v1_2 = new android.content.Intent("com.google.android.c2dm.intent.REGISTER");
                        v1_2.setPackage("com.google.android.gms");
                        int v1_3 = v0_5.queryIntentServices(v1_2, 0);
                        if ((v1_3 != 0) && (v1_3.size() > 0)) {
                            this.zzcl = 1;
                            return this.zzcl;
                        }
                    }
                    int v1_6 = new android.content.Intent("com.google.iid.TOKEN_REQUEST");
                    v1_6.setPackage("com.google.android.gms");
                    int v0_2 = v0_5.queryBroadcastReceivers(v1_6, 0);
                    if ((v0_2 == 0) || (v0_2.size() <= 0)) {
                        android.util.Log.w("FirebaseInstanceId", "Failed to resolve IID implementation package, falling back");
                        if (!com.google.android.gms.common.util.o.i()) {
                            this.zzcl = 1;
                        } else {
                            this.zzcl = 2;
                        }
                        return this.zzcl;
                    } else {
                        this.zzcl = 2;
                        return this.zzcl;
                    }
                } else {
                    android.util.Log.e("FirebaseInstanceId", "Google Play services missing or without correct permission.");
                    return 0;
                }
            } else {
                return this.zzcl;
            }
        } catch (int v0_7) {
            throw v0_7;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.PushService' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String; Lcom/baidu/android/pushservice/message/PublicMsg; Ljava/lang/String; I [B [B)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.baidu.android.pushservice.PushService to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4, com.baidu.android.pushservice.message.PublicMsg p5, String p6, int p7, byte[] p8, byte[] p9)
    {
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.putExtra("public_msg", p5);
        v0_1.putExtra("notify_type", "rich_media");
        v0_1.putExtra("app_id", p4);
        v0_1.putExtra("message_id", p6);
        v0_1.putExtra("pushService_package_name", p3.getPackageName());
        v0_1.putExtra("baidu_message_type", p7);
        v0_1.putExtra("service_name", "com.baidu.android.pushservice.PushService");
        if (com.baidu.android.pushservice.i.l.m(p3, p5.mPkgName) > 45) {
            v0_1.putExtra("baidu_message_body", p9);
            v0_1.putExtra("baidu_message_secur_info", p8);
        }
        com.baidu.android.pushservice.i.l.b(p3, v0_1, "com.baidu.android.pushservice.action.notification.SHOW", p5.mPkgName);
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.SHOW' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String; Lcom/baidu/android/pushservice/message/PublicMsg; Ljava/lang/String; I [B [B)V'), ('Lcom/baidu/android/pushservice/i/l;', 'b', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'c', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.SHOW to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4, com.baidu.android.pushservice.message.PublicMsg p5, String p6, int p7, byte[] p8, byte[] p9)
    {
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.putExtra("public_msg", p5);
        v0_1.putExtra("notify_type", "rich_media");
        v0_1.putExtra("app_id", p4);
        v0_1.putExtra("message_id", p6);
        v0_1.putExtra("pushService_package_name", p3.getPackageName());
        v0_1.putExtra("baidu_message_type", p7);
        v0_1.putExtra("service_name", "com.baidu.android.pushservice.PushService");
        if (com.baidu.android.pushservice.i.l.m(p3, p5.mPkgName) > 45) {
            v0_1.putExtra("baidu_message_body", p9);
            v0_1.putExtra("baidu_message_secur_info", p8);
        }
        com.baidu.android.pushservice.i.l.b(p3, v0_1, "com.baidu.android.pushservice.action.notification.SHOW", p5.mPkgName);
        return;
    }

Method com.baidu.android.pushservice.i.l.b():


    public static void b(android.content.Context p3, android.content.Intent p4, String p5, String p6)
    {
        p4.setFlags(32);
        String v1_2 = com.baidu.android.pushservice.i.l.m(p3, p6);
        if (v1_2 >= 32) {
            try {
                if (!android.text.TextUtils.isEmpty(p5)) {
                    p4.setAction(p5);
                }
            } catch (Exception) {
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
                p4.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            p4.putExtra("command_type", "reflect_receiver");
            if (p3.startService(p4) == null) {
                boolean v0_6 = new StringBuilder();
                v0_6.append("sendRedirecctionIntent#intergratedPushVersion=");
                v0_6.append(v1_2);
                v0_6.append(", packageName=");
                v0_6.append(p6);
                v0_6.append(", intent=");
                v0_6.append(p4.toUri(0));
                com.baidu.android.pushservice.i.l.b(v0_6.toString(), p3);
            } else {
                return;
            }
        }
        if (!com.baidu.android.pushservice.i.l.F(p3)) {
            if (!android.text.TextUtils.isEmpty(p5)) {
                p4.setAction(p5);
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
            }
            String v5_1 = com.baidu.android.pushservice.i.l.c(p3, p6, p5);
            if (!android.text.TextUtils.isEmpty(v5_1)) {
                p4.setClassName(p6, v5_1);
            }
            p3.sendBroadcast(p4);
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.c():


    public static String c(android.content.Context p2, String p3, String p4)
    {
        String v1 = 0;
        if ((!android.text.TextUtils.isEmpty(p3)) && (!android.text.TextUtils.isEmpty(p4))) {
            android.content.Intent v0_3 = new android.content.Intent(p4);
            v0_3.setPackage(p3);
            try {
                android.content.pm.ActivityInfo v2_1 = p2.getPackageManager();
            } catch (Exception) {
                android.content.pm.ActivityInfo v2_2 = 0;
            }
            if (v2_1 != null) {
                v2_2 = v2_1.queryBroadcastReceivers(v0_3, 576);
                if ((v2_2 != null) && (v2_2.size() > 0)) {
                    v1 = ((android.content.pm.ResolveInfo) v2_2.get(0)).activityInfo.name;
                }
            } else {
                return 0;
            }
        }
        return v1;
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
            v0_1.putExtra("method", "com.baidu.android.pushservice.action.UNBINDAPP");
            v0_1.putExtra("app_id", p4);
            com.baidu.android.pushservice.i.k.a(p3, v0_1);
        } catch (Exception) {
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.UNBINDAPP' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.baidu.android.pushservice.action.UNBINDAPP to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
            v0_1.putExtra("method", "com.baidu.android.pushservice.action.UNBINDAPP");
            v0_1.putExtra("app_id", p4);
            com.baidu.android.pushservice.i.k.a(p3, v0_1);
        } catch (Exception) {
        }
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/h;'), ('Lcom/baidu/android/pushservice/h;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
            v0_1.putExtra("method", "com.baidu.android.pushservice.action.UNBINDAPP");
            v0_1.putExtra("app_id", p4);
            com.baidu.android.pushservice.i.k.a(p3, v0_1);
        } catch (Exception) {
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.h.a():


    public static declared_synchronized com.baidu.android.pushservice.h a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.h.c == null) {
                com.baidu.android.pushservice.h.c = new com.baidu.android.pushservice.h(p2);
            }
        } catch (com.baidu.android.pushservice.h v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.h.c;
    }

Method com.baidu.android.pushservice.h.<init>():


    private h(android.content.Context p1)
    {
        this.a = p1;
        com.baidu.android.pushservice.a.b.a(p1);
        com.baidu.android.pushservice.i.a(p1);
        com.baidu.android.pushservice.h.d.a();
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
            v0_1.putExtra("method", "com.baidu.android.pushservice.action.UNBINDAPP");
            v0_1.putExtra("app_id", p4);
            com.baidu.android.pushservice.i.k.a(p3, v0_1);
        } catch (Exception) {
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, String p4)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
            v0_1.putExtra("method", "com.baidu.android.pushservice.action.UNBINDAPP");
            v0_1.putExtra("app_id", p4);
            com.baidu.android.pushservice.i.k.a(p3, v0_1);
        } catch (Exception) {
        }
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.SHOW' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Lcom/baidu/android/pushservice/message/PublicMsg; Ljava/lang/String; Ljava/lang/String; I [B [B)V'), ('Lcom/baidu/android/pushservice/i/l;', 'b', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'c', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.SHOW to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, com.baidu.android.pushservice.message.PublicMsg p4, String p5, String p6, int p7, byte[] p8, byte[] p9)
    {
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.putExtra("public_msg", p4);
        v0_1.putExtra("pushService_package_name", p3.getPackageName());
        v0_1.putExtra("service_name", "com.baidu.android.pushservice.PushService");
        v0_1.putExtra("notify_type", "private");
        v0_1.putExtra("message_id", p5);
        v0_1.putExtra("app_id", p6);
        v0_1.putExtra("baidu_message_type", p7);
        if (com.baidu.android.pushservice.i.l.m(p3, p4.mPkgName) > 45) {
            v0_1.putExtra("baidu_message_body", p9);
            v0_1.putExtra("baidu_message_secur_info", p8);
        }
        com.baidu.android.pushservice.i.l.b(p3, v0_1, "com.baidu.android.pushservice.action.notification.SHOW", p4.mPkgName);
        return;
    }

Method com.baidu.android.pushservice.i.l.b():


    public static void b(android.content.Context p3, android.content.Intent p4, String p5, String p6)
    {
        p4.setFlags(32);
        String v1_2 = com.baidu.android.pushservice.i.l.m(p3, p6);
        if (v1_2 >= 32) {
            try {
                if (!android.text.TextUtils.isEmpty(p5)) {
                    p4.setAction(p5);
                }
            } catch (Exception) {
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
                p4.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            p4.putExtra("command_type", "reflect_receiver");
            if (p3.startService(p4) == null) {
                boolean v0_6 = new StringBuilder();
                v0_6.append("sendRedirecctionIntent#intergratedPushVersion=");
                v0_6.append(v1_2);
                v0_6.append(", packageName=");
                v0_6.append(p6);
                v0_6.append(", intent=");
                v0_6.append(p4.toUri(0));
                com.baidu.android.pushservice.i.l.b(v0_6.toString(), p3);
            } else {
                return;
            }
        }
        if (!com.baidu.android.pushservice.i.l.F(p3)) {
            if (!android.text.TextUtils.isEmpty(p5)) {
                p4.setAction(p5);
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
            }
            String v5_1 = com.baidu.android.pushservice.i.l.c(p3, p6, p5);
            if (!android.text.TextUtils.isEmpty(v5_1)) {
                p4.setClassName(p6, v5_1);
            }
            p3.sendBroadcast(p4);
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.c():


    public static String c(android.content.Context p2, String p3, String p4)
    {
        String v1 = 0;
        if ((!android.text.TextUtils.isEmpty(p3)) && (!android.text.TextUtils.isEmpty(p4))) {
            android.content.Intent v0_3 = new android.content.Intent(p4);
            v0_3.setPackage(p3);
            try {
                android.content.pm.ActivityInfo v2_1 = p2.getPackageManager();
            } catch (Exception) {
                android.content.pm.ActivityInfo v2_2 = 0;
            }
            if (v2_1 != null) {
                v2_2 = v2_1.queryBroadcastReceivers(v0_3, 576);
                if ((v2_2 != null) && (v2_2.size() > 0)) {
                    v1 = ((android.content.pm.ResolveInfo) v2_2.get(0)).activityInfo.name;
                }
            } else {
                return 0;
            }
        }
        return v1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.PushService' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/a/e;', 'a', '(Landroid/content/Context; Lcom/baidu/android/pushservice/message/PublicMsg; Ljava/lang/String; Ljava/lang/String; I [B [B)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.baidu.android.pushservice.PushService to construct an Intent

Method com.baidu.android.pushservice.message.a.e.a():


    public static void a(android.content.Context p3, com.baidu.android.pushservice.message.PublicMsg p4, String p5, String p6, int p7, byte[] p8, byte[] p9)
    {
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.putExtra("public_msg", p4);
        v0_1.putExtra("pushService_package_name", p3.getPackageName());
        v0_1.putExtra("service_name", "com.baidu.android.pushservice.PushService");
        v0_1.putExtra("notify_type", "private");
        v0_1.putExtra("message_id", p5);
        v0_1.putExtra("app_id", p6);
        v0_1.putExtra("baidu_message_type", p7);
        if (com.baidu.android.pushservice.i.l.m(p3, p4.mPkgName) > 45) {
            v0_1.putExtra("baidu_message_body", p9);
            v0_1.putExtra("baidu_message_secur_info", p8);
        }
        com.baidu.android.pushservice.i.l.b(p3, v0_1, "com.baidu.android.pushservice.action.notification.SHOW", p4.mPkgName);
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.media.CLICK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handleRichMediaNotification', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.media.CLICK to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handleRichMediaNotification():


    public void handleRichMediaNotification(android.content.Context p4, String p5, String p6)
    {
        com.baidu.android.pushservice.a.f v5_2;
        com.baidu.android.pushservice.f.a.a("PublicMsg", "Handle rich media notification", p4);
        com.baidu.android.pushservice.g.j v0_2 = new com.baidu.android.pushservice.g.j();
        if (!"com.baidu.android.pushservice.action.media.DELETE".equals(p5)) {
            com.baidu.android.pushservice.a.f v5_1 = new android.content.Intent("com.baidu.android.pushservice.action.media.CLICK");
            v5_1.setPackage(this.mPkgName);
            v5_1.putExtra("public_msg", this);
            p4.sendBroadcast(v5_1);
            v5_2 = "010401";
        } else {
            v5_2 = "010402";
        }
        v0_2.d = v5_2;
        v0_2.a = this.mMsgId;
        v0_2.c = com.baidu.android.pushservice.message.a.k.h.a();
        v0_2.e = System.currentTimeMillis();
        v0_2.g = 0;
        v0_2.f = com.baidu.android.pushservice.g.a.b.b(p4);
        v0_2.h = p6;
        com.baidu.android.pushservice.a.f v5_9 = com.baidu.android.pushservice.a.b.a(p4).d(p6);
        if (v5_9 != null) {
            this.insertBehavior(p4, v5_9, v0_2, new com.baidu.android.pushservice.g.i(p6));
        }
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handleRichMediaNotification', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handleRichMediaNotification():


    public void handleRichMediaNotification(android.content.Context p4, String p5, String p6)
    {
        com.baidu.android.pushservice.a.f v5_2;
        com.baidu.android.pushservice.f.a.a("PublicMsg", "Handle rich media notification", p4);
        com.baidu.android.pushservice.g.j v0_2 = new com.baidu.android.pushservice.g.j();
        if (!"com.baidu.android.pushservice.action.media.DELETE".equals(p5)) {
            com.baidu.android.pushservice.a.f v5_1 = new android.content.Intent("com.baidu.android.pushservice.action.media.CLICK");
            v5_1.setPackage(this.mPkgName);
            v5_1.putExtra("public_msg", this);
            p4.sendBroadcast(v5_1);
            v5_2 = "010401";
        } else {
            v5_2 = "010402";
        }
        v0_2.d = v5_2;
        v0_2.a = this.mMsgId;
        v0_2.c = com.baidu.android.pushservice.message.a.k.h.a();
        v0_2.e = System.currentTimeMillis();
        v0_2.g = 0;
        v0_2.f = com.baidu.android.pushservice.g.a.b.b(p4);
        v0_2.h = p6;
        com.baidu.android.pushservice.a.f v5_9 = com.baidu.android.pushservice.a.b.a(p4).d(p6);
        if (v5_9 != null) {
            this.insertBehavior(p4, v5_9, v0_2, new com.baidu.android.pushservice.g.i(p6));
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.pushservice.app_id' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handlePrivateNotification', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [B [B)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.baidu.pushservice.app_id to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handlePrivateNotification():


    public void handlePrivateNotification(android.content.Context p5, String p6, String p7, String p8, byte[] p9, byte[] p10)
    {
        int v1_2 = new StringBuilder();
        v1_2.append("=== Handle private notification: ");
        v1_2.append(p6);
        com.baidu.android.pushservice.f.a.a("PublicMsg", v1_2.toString(), p5);
        if (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(p6)) {
            String v6_5 = p5.getPackageManager();
            try {
                if (v6_5.getPackageInfo(this.mPkgName, 0).versionCode >= this.mPkgVercode) {
                    int v0_5 = new android.content.Intent();
                    v0_5.putExtra("msgid", p7);
                    v0_5.putExtra("notification_title", this.mTitle);
                    v0_5.putExtra("notification_content", this.mDescription);
                    v0_5.putExtra("com.baidu.pushservice.app_id", p8);
                    v0_5.putExtra("baidu_message_secur_info", p9);
                    v0_5.putExtra("baidu_message_body", p10);
                    this.addCustomContentToIntent(v0_5);
                    com.baidu.android.pushservice.i.l.b(p5, v0_5, "com.baidu.android.pushservice.action.notification.CLICK", this.mPkgName);
                    this.insertNotiBehavior(p5, p7, p8, "010201");
                    if ((this.mOpenType != 1) || (this.mUrl == null)) {
                        if (this.mOpenType == 2) {
                            if (android.text.TextUtils.isEmpty(this.mPkgContent)) {
                                this.startApplicationLauncher(p5, this.mPkgName, p7);
                            } else {
                                android.content.Intent v8_9 = android.content.Intent.parseUri(this.mPkgContent, 0);
                                v8_9.setPackage(this.mPkgName);
                                if (v6_5.queryBroadcastReceivers(v8_9, 0).size() <= 0) {
                                    if (v6_5.queryIntentActivities(v8_9, 0).size() > 0) {
                                        v8_9.addFlags(268435456);
                                        v8_9.putExtra("open_type", 1);
                                        v8_9.putExtra("msgid", p7);
                                        p5.startActivity(v8_9);
                                    }
                                } else {
                                    p5.sendBroadcast(v8_9);
                                }
                            }
                        }
                    } else {
                        String v6_12 = new android.content.Intent();
                        v6_12.setAction("android.intent.action.VIEW");
                        v6_12.setData(android.net.Uri.parse(this.mUrl));
                        v6_12.addFlags(268435456);
                        p5.startActivity(v6_12);
                    }
                }
            } catch (String v6_14) {
                android.net.Uri v7_1 = "PublicMsg";
                android.content.Intent v8_2 = new StringBuilder();
                v8_2.append("package not exist \r\n");
                String v6_1 = v6_14.getMessage();
                v8_2.append(v6_1);
                com.baidu.android.pushservice.f.a.b(v7_1, v8_2.toString(), p5);
            } catch (String v6_13) {
                v7_1 = "PublicMsg";
                v8_2 = new StringBuilder();
                v8_2.append("uri to intent fail \r\n");
                v6_1 = v6_13.getMessage();
            }
            return;
        } else {
            this.insertNotiBehavior(p5, p7, p8, "010202");
            return;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handlePrivateNotification', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [B [B)V'), ('Lcom/baidu/android/pushservice/message/PublicMsg;', 'insertNotiBehavior', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handlePrivateNotification():


    public void handlePrivateNotification(android.content.Context p5, String p6, String p7, String p8, byte[] p9, byte[] p10)
    {
        int v1_2 = new StringBuilder();
        v1_2.append("=== Handle private notification: ");
        v1_2.append(p6);
        com.baidu.android.pushservice.f.a.a("PublicMsg", v1_2.toString(), p5);
        if (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(p6)) {
            String v6_5 = p5.getPackageManager();
            try {
                if (v6_5.getPackageInfo(this.mPkgName, 0).versionCode >= this.mPkgVercode) {
                    int v0_5 = new android.content.Intent();
                    v0_5.putExtra("msgid", p7);
                    v0_5.putExtra("notification_title", this.mTitle);
                    v0_5.putExtra("notification_content", this.mDescription);
                    v0_5.putExtra("com.baidu.pushservice.app_id", p8);
                    v0_5.putExtra("baidu_message_secur_info", p9);
                    v0_5.putExtra("baidu_message_body", p10);
                    this.addCustomContentToIntent(v0_5);
                    com.baidu.android.pushservice.i.l.b(p5, v0_5, "com.baidu.android.pushservice.action.notification.CLICK", this.mPkgName);
                    this.insertNotiBehavior(p5, p7, p8, "010201");
                    if ((this.mOpenType != 1) || (this.mUrl == null)) {
                        if (this.mOpenType == 2) {
                            if (android.text.TextUtils.isEmpty(this.mPkgContent)) {
                                this.startApplicationLauncher(p5, this.mPkgName, p7);
                            } else {
                                android.content.Intent v8_9 = android.content.Intent.parseUri(this.mPkgContent, 0);
                                v8_9.setPackage(this.mPkgName);
                                if (v6_5.queryBroadcastReceivers(v8_9, 0).size() <= 0) {
                                    if (v6_5.queryIntentActivities(v8_9, 0).size() > 0) {
                                        v8_9.addFlags(268435456);
                                        v8_9.putExtra("open_type", 1);
                                        v8_9.putExtra("msgid", p7);
                                        p5.startActivity(v8_9);
                                    }
                                } else {
                                    p5.sendBroadcast(v8_9);
                                }
                            }
                        }
                    } else {
                        String v6_12 = new android.content.Intent();
                        v6_12.setAction("android.intent.action.VIEW");
                        v6_12.setData(android.net.Uri.parse(this.mUrl));
                        v6_12.addFlags(268435456);
                        p5.startActivity(v6_12);
                    }
                }
            } catch (String v6_14) {
                android.net.Uri v7_1 = "PublicMsg";
                android.content.Intent v8_2 = new StringBuilder();
                v8_2.append("package not exist \r\n");
                String v6_1 = v6_14.getMessage();
                v8_2.append(v6_1);
                com.baidu.android.pushservice.f.a.b(v7_1, v8_2.toString(), p5);
            } catch (String v6_13) {
                v7_1 = "PublicMsg";
                v8_2 = new StringBuilder();
                v8_2.append("uri to intent fail \r\n");
                v6_1 = v6_13.getMessage();
            }
            return;
        } else {
            this.insertNotiBehavior(p5, p7, p8, "010202");
            return;
        }
    }

Method com.baidu.android.pushservice.message.PublicMsg.insertNotiBehavior():


    private void insertNotiBehavior(android.content.Context p4, String p5, String p6, String p7)
    {
        com.baidu.android.pushservice.g.j v0_1 = new com.baidu.android.pushservice.g.j();
        v0_1.d = p7;
        v0_1.a = p5;
        v0_1.e = System.currentTimeMillis();
        v0_1.f = com.baidu.android.pushservice.g.a.b.b(p4);
        v0_1.c = com.baidu.android.pushservice.message.a.k.f.a();
        v0_1.h = p6;
        com.baidu.android.pushservice.a.f v5_4 = com.baidu.android.pushservice.a.b.a(p4).d(p6);
        if (v5_4 != null) {
            this.insertBehavior(p4, v5_4, v0_1, new com.baidu.android.pushservice.g.i(p6));
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.CLICK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handlePrivateNotification', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [B [B)V'), ('Lcom/baidu/android/pushservice/i/l;', 'b', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'c', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.CLICK to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handlePrivateNotification():


    public void handlePrivateNotification(android.content.Context p5, String p6, String p7, String p8, byte[] p9, byte[] p10)
    {
        int v1_2 = new StringBuilder();
        v1_2.append("=== Handle private notification: ");
        v1_2.append(p6);
        com.baidu.android.pushservice.f.a.a("PublicMsg", v1_2.toString(), p5);
        if (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(p6)) {
            String v6_5 = p5.getPackageManager();
            try {
                if (v6_5.getPackageInfo(this.mPkgName, 0).versionCode >= this.mPkgVercode) {
                    int v0_5 = new android.content.Intent();
                    v0_5.putExtra("msgid", p7);
                    v0_5.putExtra("notification_title", this.mTitle);
                    v0_5.putExtra("notification_content", this.mDescription);
                    v0_5.putExtra("com.baidu.pushservice.app_id", p8);
                    v0_5.putExtra("baidu_message_secur_info", p9);
                    v0_5.putExtra("baidu_message_body", p10);
                    this.addCustomContentToIntent(v0_5);
                    com.baidu.android.pushservice.i.l.b(p5, v0_5, "com.baidu.android.pushservice.action.notification.CLICK", this.mPkgName);
                    this.insertNotiBehavior(p5, p7, p8, "010201");
                    if ((this.mOpenType != 1) || (this.mUrl == null)) {
                        if (this.mOpenType == 2) {
                            if (android.text.TextUtils.isEmpty(this.mPkgContent)) {
                                this.startApplicationLauncher(p5, this.mPkgName, p7);
                            } else {
                                android.content.Intent v8_9 = android.content.Intent.parseUri(this.mPkgContent, 0);
                                v8_9.setPackage(this.mPkgName);
                                if (v6_5.queryBroadcastReceivers(v8_9, 0).size() <= 0) {
                                    if (v6_5.queryIntentActivities(v8_9, 0).size() > 0) {
                                        v8_9.addFlags(268435456);
                                        v8_9.putExtra("open_type", 1);
                                        v8_9.putExtra("msgid", p7);
                                        p5.startActivity(v8_9);
                                    }
                                } else {
                                    p5.sendBroadcast(v8_9);
                                }
                            }
                        }
                    } else {
                        String v6_12 = new android.content.Intent();
                        v6_12.setAction("android.intent.action.VIEW");
                        v6_12.setData(android.net.Uri.parse(this.mUrl));
                        v6_12.addFlags(268435456);
                        p5.startActivity(v6_12);
                    }
                }
            } catch (String v6_14) {
                android.net.Uri v7_1 = "PublicMsg";
                android.content.Intent v8_2 = new StringBuilder();
                v8_2.append("package not exist \r\n");
                String v6_1 = v6_14.getMessage();
                v8_2.append(v6_1);
                com.baidu.android.pushservice.f.a.b(v7_1, v8_2.toString(), p5);
            } catch (String v6_13) {
                v7_1 = "PublicMsg";
                v8_2 = new StringBuilder();
                v8_2.append("uri to intent fail \r\n");
                v6_1 = v6_13.getMessage();
            }
            return;
        } else {
            this.insertNotiBehavior(p5, p7, p8, "010202");
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.b():


    public static void b(android.content.Context p3, android.content.Intent p4, String p5, String p6)
    {
        p4.setFlags(32);
        String v1_2 = com.baidu.android.pushservice.i.l.m(p3, p6);
        if (v1_2 >= 32) {
            try {
                if (!android.text.TextUtils.isEmpty(p5)) {
                    p4.setAction(p5);
                }
            } catch (Exception) {
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
                p4.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            p4.putExtra("command_type", "reflect_receiver");
            if (p3.startService(p4) == null) {
                boolean v0_6 = new StringBuilder();
                v0_6.append("sendRedirecctionIntent#intergratedPushVersion=");
                v0_6.append(v1_2);
                v0_6.append(", packageName=");
                v0_6.append(p6);
                v0_6.append(", intent=");
                v0_6.append(p4.toUri(0));
                com.baidu.android.pushservice.i.l.b(v0_6.toString(), p3);
            } else {
                return;
            }
        }
        if (!com.baidu.android.pushservice.i.l.F(p3)) {
            if (!android.text.TextUtils.isEmpty(p5)) {
                p4.setAction(p5);
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
            }
            String v5_1 = com.baidu.android.pushservice.i.l.c(p3, p6, p5);
            if (!android.text.TextUtils.isEmpty(v5_1)) {
                p4.setClassName(p6, v5_1);
            }
            p3.sendBroadcast(p4);
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.c():


    public static String c(android.content.Context p2, String p3, String p4)
    {
        String v1 = 0;
        if ((!android.text.TextUtils.isEmpty(p3)) && (!android.text.TextUtils.isEmpty(p4))) {
            android.content.Intent v0_3 = new android.content.Intent(p4);
            v0_3.setPackage(p3);
            try {
                android.content.pm.ActivityInfo v2_1 = p2.getPackageManager();
            } catch (Exception) {
                android.content.pm.ActivityInfo v2_2 = 0;
            }
            if (v2_1 != null) {
                v2_2 = v2_1.queryBroadcastReceivers(v0_3, 576);
                if ((v2_2 != null) && (v2_2.size() > 0)) {
                    v1 = ((android.content.pm.ResolveInfo) v2_2.get(0)).activityInfo.name;
                }
            } else {
                return 0;
            }
        }
        return v1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handleAlarmMessage', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/message/PublicMsg;', 'insertNotiBehavior', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handleAlarmMessage():


    public void handleAlarmMessage(android.content.Context p1, String p2, String p3, String p4)
    {
        this.insertNotiBehavior(p1, p3, p4, p2);
        return;
    }

Method com.baidu.android.pushservice.message.PublicMsg.insertNotiBehavior():


    private void insertNotiBehavior(android.content.Context p4, String p5, String p6, String p7)
    {
        com.baidu.android.pushservice.g.j v0_1 = new com.baidu.android.pushservice.g.j();
        v0_1.d = p7;
        v0_1.a = p5;
        v0_1.e = System.currentTimeMillis();
        v0_1.f = com.baidu.android.pushservice.g.a.b.b(p4);
        v0_1.c = com.baidu.android.pushservice.message.a.k.f.a();
        v0_1.h = p6;
        com.baidu.android.pushservice.a.f v5_4 = com.baidu.android.pushservice.a.b.a(p4).d(p6);
        if (v5_4 != null) {
            this.insertBehavior(p4, v5_4, v0_1, new com.baidu.android.pushservice.g.i(p6));
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'handle', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/message/PublicMsg;', 'sendResult', '(Landroid/content/Context; Ljava/lang/String; I)V'), ('Lcom/baidu/android/pushservice/i;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/i;'), ('Lcom/baidu/android/pushservice/i;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'n', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.handle():


    public void handle(android.content.Context p6, String p7, String p8)
    {
        com.baidu.android.pushservice.f.a.a("PublicMsg", "--handle--", p6.getApplicationContext());
        if (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(p7)) {
            String v7_1 = p6.getPackageManager();
            int v1_1 = 0;
            try {
                if (v7_1.getPackageInfo(this.mPkgName, 0).versionCode >= this.mPkgVercode) {
                    StringBuilder v2_4 = android.content.Intent.parseUri(this.mPkgContent, 0);
                    v2_4.setPackage(this.mPkgName);
                    if (v7_1.queryBroadcastReceivers(v2_4, 0).size() <= 0) {
                        if (v7_1.queryIntentActivities(v2_4, 0).size() <= 0) {
                        } else {
                            v2_4.addFlags(268435456);
                            p6.startActivity(v2_4);
                        }
                    } else {
                        p6.sendBroadcast(v2_4);
                    }
                    v1_1 = 1;
                }
            } catch (String v7_7) {
                StringBuilder v2_6 = "PublicMsg";
                String v3_5 = new StringBuilder();
                v3_5.append("package not exist \r\n");
                String v7_5 = v7_7.getMessage();
                v3_5.append(v7_5);
                com.baidu.android.pushservice.f.a.b(v2_6, v3_5.toString(), p6);
            } catch (String v7_6) {
                v2_6 = "PublicMsg";
                v3_5 = new StringBuilder();
                v3_5.append("uri to intent fail \r\n");
                v7_5 = v7_6.getMessage();
            } catch (String v7_4) {
                v2_6 = "PublicMsg";
                v3_5 = new StringBuilder();
                v3_5.append("parse customize action error\r\n");
                v7_5 = v7_4.getMessage();
            }
            if (v1_1 == 0) {
                String v7_11 = new android.content.Intent("android.intent.action.VIEW");
                v7_11.setData(android.net.Uri.parse(this.mUrl));
                v7_11.addFlags(268435456);
                try {
                    p6.startActivity(v7_11);
                } catch (String v7_12) {
                    StringBuilder v2_11 = new StringBuilder();
                    v2_11.append(">>> Url cann\'t be deal! \r\n");
                    v2_11.append(v7_12.getMessage());
                    com.baidu.android.pushservice.f.a.b("PublicMsg", v2_11.toString(), p6);
                }
            }
            this.sendResult(p6, p8, v1_1);
            return;
        } else {
            com.baidu.android.pushservice.f.a.a("PublicMsg", "Public msg deleted by user", p6.getApplicationContext());
            this.sendResult(p6, p8, 2);
            return;
        }
    }

Method com.baidu.android.pushservice.message.PublicMsg.sendResult():


    private void sendResult(android.content.Context p10, String p11, int p12)
    {
        String v7 = com.baidu.android.pushservice.i.a(p10).a();
        String v5 = com.baidu.android.pushservice.i.a(p10).b();
        if ((!android.text.TextUtils.isEmpty(v7)) && (!android.text.TextUtils.isEmpty(v5))) {
            com.baidu.android.pushservice.message.PublicMsg$1 v1_1 = new StringBuilder();
            v1_1.append("Send Linkhit, msgId = ");
            v1_1.append(p11);
            v1_1.append(", resultCode = ");
            v1_1.append(p12);
            com.baidu.android.pushservice.f.a.a("PublicMsg", v1_1.toString(), p10.getApplicationContext());
            org.json.JSONObject v0_4 = new org.json.JSONObject();
            try {
                v0_4.put("msgid", p11);
                v0_4.put("result_code", p12);
            } catch (com.baidu.android.pushservice.h.d v11_2) {
                com.baidu.android.pushservice.f.a.b("PublicMsg", v11_2.getMessage(), p10.getApplicationContext());
            }
            String v6 = v0_4.toString();
            com.baidu.android.pushservice.h.d v11_4 = com.baidu.android.pushservice.h.d.a();
            com.baidu.android.pushservice.message.PublicMsg$1 v12_2 = new com.baidu.android.pushservice.message.PublicMsg$1;
            v12_2(this, "PushService-linkhit", 90, v5, v6, v7, p10);
            v11_4.a(v12_2);
            return;
        } else {
            com.baidu.android.pushservice.f.a.b("PublicMsg", "Fail Send Public msg result. Token invalid!", p10.getApplicationContext());
            return;
        }
    }

Method com.baidu.android.pushservice.i.a():


    public static declared_synchronized com.baidu.android.pushservice.i a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.i.a == null) {
                com.baidu.android.pushservice.i.a = new com.baidu.android.pushservice.i(p2);
            }
        } catch (com.baidu.android.pushservice.i v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.i.a;
    }

Method com.baidu.android.pushservice.i.<init>():


    private i(android.content.Context p2)
    {
        this.d = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token");
        this.b = com.baidu.android.pushservice.PushSettings.a(p2);
        if (com.baidu.android.pushservice.b.e.b(p2)) {
            this.e = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token_new");
            this.c = com.baidu.android.pushservice.PushSettings.b(p2);
        }
        this.g = 0;
        this.h = p2;
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    public static String a(android.content.Context p3)
    {
        String v0_2 = com.baidu.android.pushservice.i.a.a(p3, "com.baidu.pushservice.channel_id");
        if (android.text.TextUtils.isEmpty(v0_2)) {
            v0_2 = com.baidu.android.pushservice.i.i.a(p3, "com.baidu.pushservice.channel_id");
            if (android.text.TextUtils.isEmpty(v0_2)) {
                v0_2 = com.baidu.android.pushservice.c.c.a(p3, 0);
                if (android.text.TextUtils.isEmpty(v0_2)) {
                    int v1_3 = com.baidu.android.pushservice.i.l.n(p3).iterator();
                    while (v1_3.hasNext()) {
                        v0_2 = com.baidu.android.pushservice.c.d.a(p3, ((String) v1_3.next()));
                        if (!android.text.TextUtils.isEmpty(v0_2)) {
                            com.baidu.android.pushservice.PushSettings.a(p3, v0_2, 0);
                            break;
                        }
                    }
                }
            }
        }
        return v0_2;
    }

Method com.baidu.android.pushservice.i.l.n():


    public static java.util.List n(android.content.Context p3)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        String v1_6 = new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC");
        try {
            int v3_4 = p3.getPackageManager();
        } catch (Exception) {
            int v3_3 = new java.util.ArrayList();
            java.util.List v0_2 = v0_1.iterator();
        }
        if (v3_4 != 0) {
            v0_1 = v3_4.queryBroadcastReceivers(v1_6, 576);
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'sendResult', '(Landroid/content/Context; Ljava/lang/String; I)V'), ('Lcom/baidu/android/pushservice/i;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/i;'), ('Lcom/baidu/android/pushservice/i;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'n', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.sendResult():


    private void sendResult(android.content.Context p10, String p11, int p12)
    {
        String v7 = com.baidu.android.pushservice.i.a(p10).a();
        String v5 = com.baidu.android.pushservice.i.a(p10).b();
        if ((!android.text.TextUtils.isEmpty(v7)) && (!android.text.TextUtils.isEmpty(v5))) {
            com.baidu.android.pushservice.message.PublicMsg$1 v1_1 = new StringBuilder();
            v1_1.append("Send Linkhit, msgId = ");
            v1_1.append(p11);
            v1_1.append(", resultCode = ");
            v1_1.append(p12);
            com.baidu.android.pushservice.f.a.a("PublicMsg", v1_1.toString(), p10.getApplicationContext());
            org.json.JSONObject v0_4 = new org.json.JSONObject();
            try {
                v0_4.put("msgid", p11);
                v0_4.put("result_code", p12);
            } catch (com.baidu.android.pushservice.h.d v11_2) {
                com.baidu.android.pushservice.f.a.b("PublicMsg", v11_2.getMessage(), p10.getApplicationContext());
            }
            String v6 = v0_4.toString();
            com.baidu.android.pushservice.h.d v11_4 = com.baidu.android.pushservice.h.d.a();
            com.baidu.android.pushservice.message.PublicMsg$1 v12_2 = new com.baidu.android.pushservice.message.PublicMsg$1;
            v12_2(this, "PushService-linkhit", 90, v5, v6, v7, p10);
            v11_4.a(v12_2);
            return;
        } else {
            com.baidu.android.pushservice.f.a.b("PublicMsg", "Fail Send Public msg result. Token invalid!", p10.getApplicationContext());
            return;
        }
    }

Method com.baidu.android.pushservice.i.a():


    public static declared_synchronized com.baidu.android.pushservice.i a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.i.a == null) {
                com.baidu.android.pushservice.i.a = new com.baidu.android.pushservice.i(p2);
            }
        } catch (com.baidu.android.pushservice.i v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.i.a;
    }

Method com.baidu.android.pushservice.i.<init>():


    private i(android.content.Context p2)
    {
        this.d = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token");
        this.b = com.baidu.android.pushservice.PushSettings.a(p2);
        if (com.baidu.android.pushservice.b.e.b(p2)) {
            this.e = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token_new");
            this.c = com.baidu.android.pushservice.PushSettings.b(p2);
        }
        this.g = 0;
        this.h = p2;
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    public static String a(android.content.Context p3)
    {
        String v0_2 = com.baidu.android.pushservice.i.a.a(p3, "com.baidu.pushservice.channel_id");
        if (android.text.TextUtils.isEmpty(v0_2)) {
            v0_2 = com.baidu.android.pushservice.i.i.a(p3, "com.baidu.pushservice.channel_id");
            if (android.text.TextUtils.isEmpty(v0_2)) {
                v0_2 = com.baidu.android.pushservice.c.c.a(p3, 0);
                if (android.text.TextUtils.isEmpty(v0_2)) {
                    int v1_3 = com.baidu.android.pushservice.i.l.n(p3).iterator();
                    while (v1_3.hasNext()) {
                        v0_2 = com.baidu.android.pushservice.c.d.a(p3, ((String) v1_3.next()));
                        if (!android.text.TextUtils.isEmpty(v0_2)) {
                            com.baidu.android.pushservice.PushSettings.a(p3, v0_2, 0);
                            break;
                        }
                    }
                }
            }
        }
        return v0_2;
    }

Method com.baidu.android.pushservice.i.l.n():


    public static java.util.List n(android.content.Context p3)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        String v1_6 = new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC");
        try {
            int v3_4 = p3.getPackageManager();
        } catch (Exception) {
            int v3_3 = new java.util.ArrayList();
            java.util.List v0_2 = v0_1.iterator();
        }
        if (v3_4 != 0) {
            v0_1 = v3_4.queryBroadcastReceivers(v1_6, 576);
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/message/PublicMsg;', 'insertNotiBehavior', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.message.PublicMsg.insertNotiBehavior():


    private void insertNotiBehavior(android.content.Context p4, String p5, String p6, String p7)
    {
        com.baidu.android.pushservice.g.j v0_1 = new com.baidu.android.pushservice.g.j();
        v0_1.d = p7;
        v0_1.a = p5;
        v0_1.e = System.currentTimeMillis();
        v0_1.f = com.baidu.android.pushservice.g.a.b.b(p4);
        v0_1.c = com.baidu.android.pushservice.message.a.k.f.a();
        v0_1.h = p6;
        com.baidu.android.pushservice.a.f v5_4 = com.baidu.android.pushservice.a.b.a(p4).d(p6);
        if (v5_4 != null) {
            this.insertBehavior(p4, v5_4, v0_1, new com.baidu.android.pushservice.g.i(p6));
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/job/PushJobService;', 'onStartJob', '(Landroid/app/job/JobParameters;)Z'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.job.PushJobService.onStartJob():


    public boolean onStartJob(android.app.job.JobParameters p5)
    {
        if (!com.baidu.android.pushservice.i.l.F(this)) {
            com.baidu.android.pushservice.i.k.d(this);
            if (this.a == null) {
                this.a = new com.baidu.android.pushservice.job.PushJobService$a(this);
            }
            android.os.Handler v0_4 = this.a;
            v0_4.sendMessageDelayed(android.os.Message.obtain(v0_4, 1, p5), 2000);
            return 1;
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/job/PushJobService;', 'onStartJob', '(Landroid/app/job/JobParameters;)Z'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.job.PushJobService.onStartJob():


    public boolean onStartJob(android.app.job.JobParameters p5)
    {
        if (!com.baidu.android.pushservice.i.l.F(this)) {
            com.baidu.android.pushservice.i.k.d(this);
            if (this.a == null) {
                this.a = new com.baidu.android.pushservice.job.PushJobService$a(this);
            }
            android.os.Handler v0_4 = this.a;
            v0_4.sendMessageDelayed(android.os.Message.obtain(v0_4, 1, p5), 2000);
            return 1;
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/job/PushJobService;', 'onStartJob', '(Landroid/app/job/JobParameters;)Z'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'u', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.job.PushJobService.onStartJob():


    public boolean onStartJob(android.app.job.JobParameters p5)
    {
        if (!com.baidu.android.pushservice.i.l.F(this)) {
            com.baidu.android.pushservice.i.k.d(this);
            if (this.a == null) {
                this.a = new com.baidu.android.pushservice.job.PushJobService$a(this);
            }
            android.os.Handler v0_4 = this.a;
            v0_4.sendMessageDelayed(android.os.Message.obtain(v0_4, 1, p5), 2000);
            return 1;
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.u():


    public static String u(android.content.Context p4)
    {
        if (!com.baidu.android.pushservice.i.l.E(p4)) {
            java.util.Iterator v0_5 = com.baidu.android.pushservice.i.a.a(p4, "com.baidu.push.cur_pkg");
            String v1_6 = com.baidu.android.pushservice.i.l.s(p4);
            if ((android.text.TextUtils.isEmpty(v0_5)) || (!v1_6.contains(v0_5))) {
                if (!v1_6.isEmpty()) {
                    java.util.Iterator v0_2 = v1_6.iterator();
                    while (v0_2.hasNext()) {
                        String v1_2 = ((String) v0_2.next());
                        if ((!com.baidu.android.pushservice.i.l.z(p4, v1_2)) && ((com.baidu.android.pushservice.i.l.o(p4, v1_2)) && (com.baidu.android.pushservice.i.l.h(p4, v1_2)))) {
                            return v1_2;
                        }
                    }
                }
            } else {
                if ((com.baidu.android.pushservice.i.l.o(p4, v0_5)) && (com.baidu.android.pushservice.i.l.h(p4, v0_5))) {
                    return v0_5;
                }
            }
        } else {
            java.util.Iterator v0_4 = com.baidu.android.pushservice.i.l.s(p4);
            String v1_4 = com.baidu.android.pushservice.i.l.p(p4);
            if (!v0_4.isEmpty()) {
                String v1_5 = v1_4.iterator();
                while (v1_5.hasNext()) {
                    boolean v2_9 = ((android.content.pm.ResolveInfo) v1_5.next()).activityInfo.packageName;
                    if ((v0_4.contains(v2_9)) && ((com.baidu.android.pushservice.i.l.o(p4, v2_9)) && (com.baidu.android.pushservice.i.l.h(p4, v2_9)))) {
                        return v2_9;
                    }
                }
            }
        }
        return 0;
    }

Method com.baidu.android.pushservice.i.l.p():


    public static java.util.List p(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (!com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/job/PushJobService;', 'onStartJob', '(Landroid/app/job/JobParameters;)Z'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.job.PushJobService.onStartJob():


    public boolean onStartJob(android.app.job.JobParameters p5)
    {
        if (!com.baidu.android.pushservice.i.l.F(this)) {
            com.baidu.android.pushservice.i.k.d(this);
            if (this.a == null) {
                this.a = new com.baidu.android.pushservice.job.PushJobService$a(this);
            }
            android.os.Handler v0_4 = this.a;
            v0_4.sendMessageDelayed(android.os.Message.obtain(v0_4, 1, p5), 2000);
            return 1;
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.intent.action.GALAXY' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/j/e;', 'd', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/j/e$b;'), ('Lcom/baidu/android/pushservice/j/e;', 'b', '()Lcom/baidu/android/pushservice/j/e$b;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.intent.action.GALAXY to construct an Intent

Method com.baidu.android.pushservice.j.e.d():


    private static com.baidu.android.pushservice.j.e$b d(android.content.Context p2)
    {
        if (com.baidu.android.pushservice.j.e.e == null) {
            try {
                if (com.baidu.android.pushservice.j.e.e == null) {
                    android.os.SystemClock.uptimeMillis();
                    com.baidu.android.pushservice.j.e.e = new com.baidu.android.pushservice.j.e(p2).b();
                    android.os.SystemClock.uptimeMillis();
                }
            } catch (com.baidu.android.pushservice.j.e$b v2_1) {
                throw v2_1;
            }
        }
        return com.baidu.android.pushservice.j.e.e;
    }

Method com.baidu.android.pushservice.j.e.b():


    private com.baidu.android.pushservice.j.e$b b()
    {
        int v4_7;
        com.baidu.android.pushservice.j.e$b v0_1 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY").setPackage(this.b.getPackageName()), 1);
        String v3_0 = 0;
        if ((v0_1 != null) && (v0_1.size() != 0)) {
            com.baidu.android.pushservice.j.e$b v0_21 = ((com.baidu.android.pushservice.j.e$a) v0_1.get(0));
            v4_7 = v0_21.c;
            if (!v0_21.c) {
                com.baidu.android.pushservice.j.e$b v0_24 = 0;
                while (v0_24 < 3) {
                    android.util.Log.w("DeviceId", "galaxy config err, In the release version of the signature should be matched");
                    v0_24++;
                }
            }
        } else {
            com.baidu.android.pushservice.j.e$b v0_25 = 0;
            while (v0_25 < 3) {
                android.util.Log.w("DeviceId", "galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy");
                v0_25++;
            }
            v4_7 = 0;
        }
        com.baidu.android.pushservice.j.e$b v0_4;
        com.baidu.android.pushservice.j.e$b v0_27 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        String v5_0 = 0;
        if (!v0_27.exists()) {
            v0_4 = 0;
        } else {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v0_27)));
        }
        if (v0_4 == null) {
            this.c = (this.c | 16);
            String v2_22 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY"), v4_7);
            if (v2_22 != null) {
                int v4_12 = "files";
                String v6_8 = this.b.getFilesDir();
                if (!"files".equals(v6_8.getName())) {
                    java.io.File v7_3 = new StringBuilder();
                    v7_3.append("fetal error:: app files dir name is unexpectedly :: ");
                    v7_3.append(v6_8.getAbsolutePath());
                    android.util.Log.e("DeviceId", v7_3.toString());
                    v4_12 = v6_8.getName();
                }
                String v2_23 = v2_22.iterator();
                while (v2_23.hasNext()) {
                    String v6_11 = ((com.baidu.android.pushservice.j.e$a) v2_23.next());
                    if (!v6_11.d) {
                        java.io.File v7_7 = new java.io.File(new java.io.File(v6_11.a.dataDir, v4_12), "libcuid.so");
                        if (v7_7.exists()) {
                            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v7_7)));
                            if (v0_4 != null) {
                                break;
                            }
                        }
                    }
                }
            }
        }
        if (v0_4 == null) {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(this.b("com.baidu.deviceid.v2")));
        }
        String v2_2 = this.c("android.permission.READ_EXTERNAL_STORAGE");
        if ((v0_4 == null) && (v2_2 != null)) {
            this.c = (this.c | 2);
            v0_4 = this.e();
        }
        if (v0_4 == null) {
            this.c = (this.c | 8);
            v0_4 = this.d();
        }
        if ((v0_4 != null) || (v2_2 == null)) {
            String v2_3 = 0;
        } else {
            this.c = (this.c | 1);
            com.baidu.android.pushservice.j.e$b v0_15 = this.h("");
            v3_0 = 1;
            v2_3 = v0_15;
            v0_4 = this.d(v0_15);
        }
        if (v0_4 == null) {
            this.c = (this.c | 4);
            if (v3_0 == null) {
                v2_3 = this.h("");
            }
            String v3_3;
            v0_4 = new com.baidu.android.pushservice.j.e$b(0);
            String v3_2 = com.baidu.android.pushservice.j.e.c(this.b);
            if (android.os.Build$VERSION.SDK_INT >= 23) {
                int v4_3 = new StringBuilder();
                v4_3.append("com.baidu");
                v4_3.append(v3_2);
                v3_3 = v4_3.toString();
            } else {
                int v4_5 = java.util.UUID.randomUUID().toString();
                String v6_3 = new StringBuilder();
                v6_3.append(v2_3);
                v6_3.append(v3_2);
                v6_3.append(v4_5);
                v3_3 = v6_3.toString();
            }
            v0_4.a = com.baidu.android.pushservice.j.f.a(v3_3.getBytes(), 1);
            v0_4.b = v2_3;
        }
        String v2_6 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        if (((this.c & 16) != 0) || (!v2_6.exists())) {
            if (android.text.TextUtils.isEmpty(0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a(v5_0);
        }
        String v2_10 = this.c();
        if ((v2_10 != null) && (((this.c & 2) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid.v2"))))) {
            if (android.text.TextUtils.isEmpty(v5_0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a("com.baidu.deviceid.v2", v5_0);
        }
        if (this.c("android.permission.WRITE_EXTERNAL_STORAGE")) {
            String v3_21 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid2");
            if (((this.c & 8) != 0) || (!v3_21.exists())) {
                if (android.text.TextUtils.isEmpty(v5_0)) {
                    v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
                }
                com.baidu.android.pushservice.j.e.g(v5_0);
            }
        }
        if ((v2_10 != null) && (((1 & this.c) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid"))))) {
            this.a("com.baidu.deviceid", v0_4.a);
            this.a("bd_setting_i", v0_4.b);
        }
        if ((v2_10 != null) && (!android.text.TextUtils.isEmpty(v0_4.b))) {
            String v1_10 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid");
            if (((this.c & 2) != 0) || (!v1_10.exists())) {
                com.baidu.android.pushservice.j.e.b(v0_4.b, v0_4.a);
            }
        }
        return v0_4;
    }

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

[TAINT] String 'com.baidu.intent.action.GALAXY' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/j/e;', 'b', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/j/e;', 'd', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/j/e$b;'), ('Lcom/baidu/android/pushservice/j/e;', 'b', '()Lcom/baidu/android/pushservice/j/e$b;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.intent.action.GALAXY to construct an Intent

Method com.baidu.android.pushservice.j.e.b():


    public static String b(android.content.Context p0)
    {
        return com.baidu.android.pushservice.j.e.d(p0).a;
    }

Method com.baidu.android.pushservice.j.e.d():


    private static com.baidu.android.pushservice.j.e$b d(android.content.Context p2)
    {
        if (com.baidu.android.pushservice.j.e.e == null) {
            try {
                if (com.baidu.android.pushservice.j.e.e == null) {
                    android.os.SystemClock.uptimeMillis();
                    com.baidu.android.pushservice.j.e.e = new com.baidu.android.pushservice.j.e(p2).b();
                    android.os.SystemClock.uptimeMillis();
                }
            } catch (com.baidu.android.pushservice.j.e$b v2_1) {
                throw v2_1;
            }
        }
        return com.baidu.android.pushservice.j.e.e;
    }

Method com.baidu.android.pushservice.j.e.b():


    private com.baidu.android.pushservice.j.e$b b()
    {
        int v4_7;
        com.baidu.android.pushservice.j.e$b v0_1 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY").setPackage(this.b.getPackageName()), 1);
        String v3_0 = 0;
        if ((v0_1 != null) && (v0_1.size() != 0)) {
            com.baidu.android.pushservice.j.e$b v0_21 = ((com.baidu.android.pushservice.j.e$a) v0_1.get(0));
            v4_7 = v0_21.c;
            if (!v0_21.c) {
                com.baidu.android.pushservice.j.e$b v0_24 = 0;
                while (v0_24 < 3) {
                    android.util.Log.w("DeviceId", "galaxy config err, In the release version of the signature should be matched");
                    v0_24++;
                }
            }
        } else {
            com.baidu.android.pushservice.j.e$b v0_25 = 0;
            while (v0_25 < 3) {
                android.util.Log.w("DeviceId", "galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy");
                v0_25++;
            }
            v4_7 = 0;
        }
        com.baidu.android.pushservice.j.e$b v0_4;
        com.baidu.android.pushservice.j.e$b v0_27 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        String v5_0 = 0;
        if (!v0_27.exists()) {
            v0_4 = 0;
        } else {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v0_27)));
        }
        if (v0_4 == null) {
            this.c = (this.c | 16);
            String v2_22 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY"), v4_7);
            if (v2_22 != null) {
                int v4_12 = "files";
                String v6_8 = this.b.getFilesDir();
                if (!"files".equals(v6_8.getName())) {
                    java.io.File v7_3 = new StringBuilder();
                    v7_3.append("fetal error:: app files dir name is unexpectedly :: ");
                    v7_3.append(v6_8.getAbsolutePath());
                    android.util.Log.e("DeviceId", v7_3.toString());
                    v4_12 = v6_8.getName();
                }
                String v2_23 = v2_22.iterator();
                while (v2_23.hasNext()) {
                    String v6_11 = ((com.baidu.android.pushservice.j.e$a) v2_23.next());
                    if (!v6_11.d) {
                        java.io.File v7_7 = new java.io.File(new java.io.File(v6_11.a.dataDir, v4_12), "libcuid.so");
                        if (v7_7.exists()) {
                            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v7_7)));
                            if (v0_4 != null) {
                                break;
                            }
                        }
                    }
                }
            }
        }
        if (v0_4 == null) {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(this.b("com.baidu.deviceid.v2")));
        }
        String v2_2 = this.c("android.permission.READ_EXTERNAL_STORAGE");
        if ((v0_4 == null) && (v2_2 != null)) {
            this.c = (this.c | 2);
            v0_4 = this.e();
        }
        if (v0_4 == null) {
            this.c = (this.c | 8);
            v0_4 = this.d();
        }
        if ((v0_4 != null) || (v2_2 == null)) {
            String v2_3 = 0;
        } else {
            this.c = (this.c | 1);
            com.baidu.android.pushservice.j.e$b v0_15 = this.h("");
            v3_0 = 1;
            v2_3 = v0_15;
            v0_4 = this.d(v0_15);
        }
        if (v0_4 == null) {
            this.c = (this.c | 4);
            if (v3_0 == null) {
                v2_3 = this.h("");
            }
            String v3_3;
            v0_4 = new com.baidu.android.pushservice.j.e$b(0);
            String v3_2 = com.baidu.android.pushservice.j.e.c(this.b);
            if (android.os.Build$VERSION.SDK_INT >= 23) {
                int v4_3 = new StringBuilder();
                v4_3.append("com.baidu");
                v4_3.append(v3_2);
                v3_3 = v4_3.toString();
            } else {
                int v4_5 = java.util.UUID.randomUUID().toString();
                String v6_3 = new StringBuilder();
                v6_3.append(v2_3);
                v6_3.append(v3_2);
                v6_3.append(v4_5);
                v3_3 = v6_3.toString();
            }
            v0_4.a = com.baidu.android.pushservice.j.f.a(v3_3.getBytes(), 1);
            v0_4.b = v2_3;
        }
        String v2_6 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        if (((this.c & 16) != 0) || (!v2_6.exists())) {
            if (android.text.TextUtils.isEmpty(0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a(v5_0);
        }
        String v2_10 = this.c();
        if ((v2_10 != null) && (((this.c & 2) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid.v2"))))) {
            if (android.text.TextUtils.isEmpty(v5_0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a("com.baidu.deviceid.v2", v5_0);
        }
        if (this.c("android.permission.WRITE_EXTERNAL_STORAGE")) {
            String v3_21 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid2");
            if (((this.c & 8) != 0) || (!v3_21.exists())) {
                if (android.text.TextUtils.isEmpty(v5_0)) {
                    v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
                }
                com.baidu.android.pushservice.j.e.g(v5_0);
            }
        }
        if ((v2_10 != null) && (((1 & this.c) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid"))))) {
            this.a("com.baidu.deviceid", v0_4.a);
            this.a("bd_setting_i", v0_4.b);
        }
        if ((v2_10 != null) && (!android.text.TextUtils.isEmpty(v0_4.b))) {
            String v1_10 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid");
            if (((this.c & 2) != 0) || (!v1_10.exists())) {
                com.baidu.android.pushservice.j.e.b(v0_4.b, v0_4.a);
            }
        }
        return v0_4;
    }

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

[TAINT] String 'com.baidu.intent.action.GALAXY' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/j/e;', 'b', '()Lcom/baidu/android/pushservice/j/e$b;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.intent.action.GALAXY to construct an Intent

Method com.baidu.android.pushservice.j.e.b():


    private com.baidu.android.pushservice.j.e$b b()
    {
        int v4_7;
        com.baidu.android.pushservice.j.e$b v0_1 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY").setPackage(this.b.getPackageName()), 1);
        String v3_0 = 0;
        if ((v0_1 != null) && (v0_1.size() != 0)) {
            com.baidu.android.pushservice.j.e$b v0_21 = ((com.baidu.android.pushservice.j.e$a) v0_1.get(0));
            v4_7 = v0_21.c;
            if (!v0_21.c) {
                com.baidu.android.pushservice.j.e$b v0_24 = 0;
                while (v0_24 < 3) {
                    android.util.Log.w("DeviceId", "galaxy config err, In the release version of the signature should be matched");
                    v0_24++;
                }
            }
        } else {
            com.baidu.android.pushservice.j.e$b v0_25 = 0;
            while (v0_25 < 3) {
                android.util.Log.w("DeviceId", "galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy");
                v0_25++;
            }
            v4_7 = 0;
        }
        com.baidu.android.pushservice.j.e$b v0_4;
        com.baidu.android.pushservice.j.e$b v0_27 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        String v5_0 = 0;
        if (!v0_27.exists()) {
            v0_4 = 0;
        } else {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v0_27)));
        }
        if (v0_4 == null) {
            this.c = (this.c | 16);
            String v2_22 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY"), v4_7);
            if (v2_22 != null) {
                int v4_12 = "files";
                String v6_8 = this.b.getFilesDir();
                if (!"files".equals(v6_8.getName())) {
                    java.io.File v7_3 = new StringBuilder();
                    v7_3.append("fetal error:: app files dir name is unexpectedly :: ");
                    v7_3.append(v6_8.getAbsolutePath());
                    android.util.Log.e("DeviceId", v7_3.toString());
                    v4_12 = v6_8.getName();
                }
                String v2_23 = v2_22.iterator();
                while (v2_23.hasNext()) {
                    String v6_11 = ((com.baidu.android.pushservice.j.e$a) v2_23.next());
                    if (!v6_11.d) {
                        java.io.File v7_7 = new java.io.File(new java.io.File(v6_11.a.dataDir, v4_12), "libcuid.so");
                        if (v7_7.exists()) {
                            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v7_7)));
                            if (v0_4 != null) {
                                break;
                            }
                        }
                    }
                }
            }
        }
        if (v0_4 == null) {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(this.b("com.baidu.deviceid.v2")));
        }
        String v2_2 = this.c("android.permission.READ_EXTERNAL_STORAGE");
        if ((v0_4 == null) && (v2_2 != null)) {
            this.c = (this.c | 2);
            v0_4 = this.e();
        }
        if (v0_4 == null) {
            this.c = (this.c | 8);
            v0_4 = this.d();
        }
        if ((v0_4 != null) || (v2_2 == null)) {
            String v2_3 = 0;
        } else {
            this.c = (this.c | 1);
            com.baidu.android.pushservice.j.e$b v0_15 = this.h("");
            v3_0 = 1;
            v2_3 = v0_15;
            v0_4 = this.d(v0_15);
        }
        if (v0_4 == null) {
            this.c = (this.c | 4);
            if (v3_0 == null) {
                v2_3 = this.h("");
            }
            String v3_3;
            v0_4 = new com.baidu.android.pushservice.j.e$b(0);
            String v3_2 = com.baidu.android.pushservice.j.e.c(this.b);
            if (android.os.Build$VERSION.SDK_INT >= 23) {
                int v4_3 = new StringBuilder();
                v4_3.append("com.baidu");
                v4_3.append(v3_2);
                v3_3 = v4_3.toString();
            } else {
                int v4_5 = java.util.UUID.randomUUID().toString();
                String v6_3 = new StringBuilder();
                v6_3.append(v2_3);
                v6_3.append(v3_2);
                v6_3.append(v4_5);
                v3_3 = v6_3.toString();
            }
            v0_4.a = com.baidu.android.pushservice.j.f.a(v3_3.getBytes(), 1);
            v0_4.b = v2_3;
        }
        String v2_6 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        if (((this.c & 16) != 0) || (!v2_6.exists())) {
            if (android.text.TextUtils.isEmpty(0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a(v5_0);
        }
        String v2_10 = this.c();
        if ((v2_10 != null) && (((this.c & 2) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid.v2"))))) {
            if (android.text.TextUtils.isEmpty(v5_0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a("com.baidu.deviceid.v2", v5_0);
        }
        if (this.c("android.permission.WRITE_EXTERNAL_STORAGE")) {
            String v3_21 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid2");
            if (((this.c & 8) != 0) || (!v3_21.exists())) {
                if (android.text.TextUtils.isEmpty(v5_0)) {
                    v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
                }
                com.baidu.android.pushservice.j.e.g(v5_0);
            }
        }
        if ((v2_10 != null) && (((1 & this.c) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid"))))) {
            this.a("com.baidu.deviceid", v0_4.a);
            this.a("bd_setting_i", v0_4.b);
        }
        if ((v2_10 != null) && (!android.text.TextUtils.isEmpty(v0_4.b))) {
            String v1_10 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid");
            if (((this.c & 2) != 0) || (!v1_10.exists())) {
                com.baidu.android.pushservice.j.e.b(v0_4.b, v0_4.a);
            }
        }
        return v0_4;
    }

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

[TAINT] String 'com.baidu.intent.action.GALAXY' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/j/e;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/j/e;', 'd', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/j/e$b;'), ('Lcom/baidu/android/pushservice/j/e;', 'b', '()Lcom/baidu/android/pushservice/j/e$b;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.intent.action.GALAXY to construct an Intent

Method com.baidu.android.pushservice.j.e.a():


    public static String a(android.content.Context p0)
    {
        return com.baidu.android.pushservice.j.e.d(p0).b();
    }

Method com.baidu.android.pushservice.j.e.d():


    private static com.baidu.android.pushservice.j.e$b d(android.content.Context p2)
    {
        if (com.baidu.android.pushservice.j.e.e == null) {
            try {
                if (com.baidu.android.pushservice.j.e.e == null) {
                    android.os.SystemClock.uptimeMillis();
                    com.baidu.android.pushservice.j.e.e = new com.baidu.android.pushservice.j.e(p2).b();
                    android.os.SystemClock.uptimeMillis();
                }
            } catch (com.baidu.android.pushservice.j.e$b v2_1) {
                throw v2_1;
            }
        }
        return com.baidu.android.pushservice.j.e.e;
    }

Method com.baidu.android.pushservice.j.e.b():


    private com.baidu.android.pushservice.j.e$b b()
    {
        int v4_7;
        com.baidu.android.pushservice.j.e$b v0_1 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY").setPackage(this.b.getPackageName()), 1);
        String v3_0 = 0;
        if ((v0_1 != null) && (v0_1.size() != 0)) {
            com.baidu.android.pushservice.j.e$b v0_21 = ((com.baidu.android.pushservice.j.e$a) v0_1.get(0));
            v4_7 = v0_21.c;
            if (!v0_21.c) {
                com.baidu.android.pushservice.j.e$b v0_24 = 0;
                while (v0_24 < 3) {
                    android.util.Log.w("DeviceId", "galaxy config err, In the release version of the signature should be matched");
                    v0_24++;
                }
            }
        } else {
            com.baidu.android.pushservice.j.e$b v0_25 = 0;
            while (v0_25 < 3) {
                android.util.Log.w("DeviceId", "galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy");
                v0_25++;
            }
            v4_7 = 0;
        }
        com.baidu.android.pushservice.j.e$b v0_4;
        com.baidu.android.pushservice.j.e$b v0_27 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        String v5_0 = 0;
        if (!v0_27.exists()) {
            v0_4 = 0;
        } else {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v0_27)));
        }
        if (v0_4 == null) {
            this.c = (this.c | 16);
            String v2_22 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY"), v4_7);
            if (v2_22 != null) {
                int v4_12 = "files";
                String v6_8 = this.b.getFilesDir();
                if (!"files".equals(v6_8.getName())) {
                    java.io.File v7_3 = new StringBuilder();
                    v7_3.append("fetal error:: app files dir name is unexpectedly :: ");
                    v7_3.append(v6_8.getAbsolutePath());
                    android.util.Log.e("DeviceId", v7_3.toString());
                    v4_12 = v6_8.getName();
                }
                String v2_23 = v2_22.iterator();
                while (v2_23.hasNext()) {
                    String v6_11 = ((com.baidu.android.pushservice.j.e$a) v2_23.next());
                    if (!v6_11.d) {
                        java.io.File v7_7 = new java.io.File(new java.io.File(v6_11.a.dataDir, v4_12), "libcuid.so");
                        if (v7_7.exists()) {
                            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v7_7)));
                            if (v0_4 != null) {
                                break;
                            }
                        }
                    }
                }
            }
        }
        if (v0_4 == null) {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(this.b("com.baidu.deviceid.v2")));
        }
        String v2_2 = this.c("android.permission.READ_EXTERNAL_STORAGE");
        if ((v0_4 == null) && (v2_2 != null)) {
            this.c = (this.c | 2);
            v0_4 = this.e();
        }
        if (v0_4 == null) {
            this.c = (this.c | 8);
            v0_4 = this.d();
        }
        if ((v0_4 != null) || (v2_2 == null)) {
            String v2_3 = 0;
        } else {
            this.c = (this.c | 1);
            com.baidu.android.pushservice.j.e$b v0_15 = this.h("");
            v3_0 = 1;
            v2_3 = v0_15;
            v0_4 = this.d(v0_15);
        }
        if (v0_4 == null) {
            this.c = (this.c | 4);
            if (v3_0 == null) {
                v2_3 = this.h("");
            }
            String v3_3;
            v0_4 = new com.baidu.android.pushservice.j.e$b(0);
            String v3_2 = com.baidu.android.pushservice.j.e.c(this.b);
            if (android.os.Build$VERSION.SDK_INT >= 23) {
                int v4_3 = new StringBuilder();
                v4_3.append("com.baidu");
                v4_3.append(v3_2);
                v3_3 = v4_3.toString();
            } else {
                int v4_5 = java.util.UUID.randomUUID().toString();
                String v6_3 = new StringBuilder();
                v6_3.append(v2_3);
                v6_3.append(v3_2);
                v6_3.append(v4_5);
                v3_3 = v6_3.toString();
            }
            v0_4.a = com.baidu.android.pushservice.j.f.a(v3_3.getBytes(), 1);
            v0_4.b = v2_3;
        }
        String v2_6 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        if (((this.c & 16) != 0) || (!v2_6.exists())) {
            if (android.text.TextUtils.isEmpty(0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a(v5_0);
        }
        String v2_10 = this.c();
        if ((v2_10 != null) && (((this.c & 2) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid.v2"))))) {
            if (android.text.TextUtils.isEmpty(v5_0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a("com.baidu.deviceid.v2", v5_0);
        }
        if (this.c("android.permission.WRITE_EXTERNAL_STORAGE")) {
            String v3_21 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid2");
            if (((this.c & 8) != 0) || (!v3_21.exists())) {
                if (android.text.TextUtils.isEmpty(v5_0)) {
                    v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
                }
                com.baidu.android.pushservice.j.e.g(v5_0);
            }
        }
        if ((v2_10 != null) && (((1 & this.c) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid"))))) {
            this.a("com.baidu.deviceid", v0_4.a);
            this.a("bd_setting_i", v0_4.b);
        }
        if ((v2_10 != null) && (!android.text.TextUtils.isEmpty(v0_4.b))) {
            String v1_10 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid");
            if (((this.c & 2) != 0) || (!v1_10.exists())) {
                com.baidu.android.pushservice.j.e.b(v0_4.b, v0_4.a);
            }
        }
        return v0_4;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/i;'), ('Lcom/baidu/android/pushservice/i;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'n', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.a():


    public static declared_synchronized com.baidu.android.pushservice.i a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.i.a == null) {
                com.baidu.android.pushservice.i.a = new com.baidu.android.pushservice.i(p2);
            }
        } catch (com.baidu.android.pushservice.i v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.i.a;
    }

Method com.baidu.android.pushservice.i.<init>():


    private i(android.content.Context p2)
    {
        this.d = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token");
        this.b = com.baidu.android.pushservice.PushSettings.a(p2);
        if (com.baidu.android.pushservice.b.e.b(p2)) {
            this.e = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token_new");
            this.c = com.baidu.android.pushservice.PushSettings.b(p2);
        }
        this.g = 0;
        this.h = p2;
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    public static String a(android.content.Context p3)
    {
        String v0_2 = com.baidu.android.pushservice.i.a.a(p3, "com.baidu.pushservice.channel_id");
        if (android.text.TextUtils.isEmpty(v0_2)) {
            v0_2 = com.baidu.android.pushservice.i.i.a(p3, "com.baidu.pushservice.channel_id");
            if (android.text.TextUtils.isEmpty(v0_2)) {
                v0_2 = com.baidu.android.pushservice.c.c.a(p3, 0);
                if (android.text.TextUtils.isEmpty(v0_2)) {
                    int v1_3 = com.baidu.android.pushservice.i.l.n(p3).iterator();
                    while (v1_3.hasNext()) {
                        v0_2 = com.baidu.android.pushservice.c.d.a(p3, ((String) v1_3.next()));
                        if (!android.text.TextUtils.isEmpty(v0_2)) {
                            com.baidu.android.pushservice.PushSettings.a(p3, v0_2, 0);
                            break;
                        }
                    }
                }
            }
        }
        return v0_2;
    }

Method com.baidu.android.pushservice.i.l.n():


    public static java.util.List n(android.content.Context p3)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        String v1_6 = new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC");
        try {
            int v3_4 = p3.getPackageManager();
        } catch (Exception) {
            int v3_3 = new java.util.ArrayList();
            java.util.List v0_2 = v0_1.iterator();
        }
        if (v3_4 != 0) {
            v0_1 = v3_4.queryBroadcastReceivers(v1_6, 576);
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'n', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.<init>():


    private i(android.content.Context p2)
    {
        this.d = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token");
        this.b = com.baidu.android.pushservice.PushSettings.a(p2);
        if (com.baidu.android.pushservice.b.e.b(p2)) {
            this.e = com.baidu.android.pushservice.i.i.a(p2, "com.baidu.pushservice.channel_token_new");
            this.c = com.baidu.android.pushservice.PushSettings.b(p2);
        }
        this.g = 0;
        this.h = p2;
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    public static String a(android.content.Context p3)
    {
        String v0_2 = com.baidu.android.pushservice.i.a.a(p3, "com.baidu.pushservice.channel_id");
        if (android.text.TextUtils.isEmpty(v0_2)) {
            v0_2 = com.baidu.android.pushservice.i.i.a(p3, "com.baidu.pushservice.channel_id");
            if (android.text.TextUtils.isEmpty(v0_2)) {
                v0_2 = com.baidu.android.pushservice.c.c.a(p3, 0);
                if (android.text.TextUtils.isEmpty(v0_2)) {
                    int v1_3 = com.baidu.android.pushservice.i.l.n(p3).iterator();
                    while (v1_3.hasNext()) {
                        v0_2 = com.baidu.android.pushservice.c.d.a(p3, ((String) v1_3.next()));
                        if (!android.text.TextUtils.isEmpty(v0_2)) {
                            com.baidu.android.pushservice.PushSettings.a(p3, v0_2, 0);
                            break;
                        }
                    }
                }
            }
        }
        return v0_2;
    }

Method com.baidu.android.pushservice.i.l.n():


    public static java.util.List n(android.content.Context p3)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        String v1_6 = new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC");
        try {
            int v3_4 = p3.getPackageManager();
        } catch (Exception) {
            int v3_3 = new java.util.ArrayList();
            java.util.List v0_2 = v0_1.iterator();
        }
        if (v3_4 != 0) {
            v0_1 = v3_4.queryBroadcastReceivers(v1_6, 576);
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.huawei.android.push.intent.REGISTER' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'z', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.huawei.android.push.intent.REGISTER to construct an Intent

Method com.baidu.android.pushservice.i.l.z():


    public static void z(android.content.Context p3)
    {
        if (p3 != null) {
            android.content.Context v3_1 = p3.getApplicationContext();
            com.baidu.android.pushservice.i.j.a(v3_1, 5, "");
            String v0_3 = new android.content.Intent("com.huawei.android.push.intent.REGISTER");
            v0_3.putExtra("pkg_name", v3_1.getPackageName());
            v0_3.setFlags(32);
            v3_1.sendBroadcast(v0_3);
            com.baidu.android.pushservice.i.j.a(v3_1, "hasRequestToken", 1);
            return;
        } else {
            return;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'x', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.x():


    public static boolean x(android.content.Context p4, String p5)
    {
        int v0_2;
        int v0_5 = ((java.util.ArrayList) com.baidu.android.pushservice.a.b.a(p4).a.clone());
        if ((v0_5 == 0) || (v0_5.isEmpty())) {
            v0_2 = 0;
        } else {
            int v0_1 = v0_5.iterator();
            while (v0_1.hasNext()) {
                if (p5.equals(((com.baidu.android.pushservice.a.f) v0_1.next()).c())) {
                    v0_2 = 1;
                }
            }
        }
        if (v0_2 == 0) {
            int v2_5 = com.baidu.android.pushservice.c.c.e(p4);
            if ((android.text.TextUtils.isEmpty(v2_5)) && (com.baidu.android.pushservice.i.l.D(p4))) {
                int v2_7 = new StringBuilder();
                v2_7.append(p4.getPackageName());
                v2_7.append(".push_sync");
                v2_5 = com.baidu.android.pushservice.i.m.a(p4, v2_7.toString(), "r_v2");
            }
            char v4_1 = com.baidu.android.pushservice.a.b.a(v2_5);
            if ((!android.text.TextUtils.isEmpty(v4_1)) && (v4_1.contains(p5))) {
                char v4_2 = v4_1.replace(" ", "");
                if (v4_2.charAt((v4_2.indexOf(p5) + p5.length())) == 44) {
                    v0_2 = 1;
                }
            }
        }
        return v0_2;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'v', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.v():


    public static String v(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.p(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.p():

Couldn't retrieve source code

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'u', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.u():


    public static String u(android.content.Context p4)
    {
        if (!com.baidu.android.pushservice.i.l.E(p4)) {
            java.util.Iterator v0_5 = com.baidu.android.pushservice.i.a.a(p4, "com.baidu.push.cur_pkg");
            String v1_6 = com.baidu.android.pushservice.i.l.s(p4);
            if ((android.text.TextUtils.isEmpty(v0_5)) || (!v1_6.contains(v0_5))) {
                if (!v1_6.isEmpty()) {
                    java.util.Iterator v0_2 = v1_6.iterator();
                    while (v0_2.hasNext()) {
                        String v1_2 = ((String) v0_2.next());
                        if ((!com.baidu.android.pushservice.i.l.z(p4, v1_2)) && ((com.baidu.android.pushservice.i.l.o(p4, v1_2)) && (com.baidu.android.pushservice.i.l.h(p4, v1_2)))) {
                            return v1_2;
                        }
                    }
                }
            } else {
                if ((com.baidu.android.pushservice.i.l.o(p4, v0_5)) && (com.baidu.android.pushservice.i.l.h(p4, v0_5))) {
                    return v0_5;
                }
            }
        } else {
            java.util.Iterator v0_4 = com.baidu.android.pushservice.i.l.s(p4);
            String v1_4 = com.baidu.android.pushservice.i.l.p(p4);
            if (!v0_4.isEmpty()) {
                String v1_5 = v1_4.iterator();
                while (v1_5.hasNext()) {
                    boolean v2_9 = ((android.content.pm.ResolveInfo) v1_5.next()).activityInfo.packageName;
                    if ((v0_4.contains(v2_9)) && ((com.baidu.android.pushservice.i.l.o(p4, v2_9)) && (com.baidu.android.pushservice.i.l.h(p4, v2_9)))) {
                        return v2_9;
                    }
                }
            }
        }
        return 0;
    }

Method com.baidu.android.pushservice.i.l.p():


    public static java.util.List p(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (!com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'r', '(Landroid/content/Context;)Ljava/util/ArrayList;'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.r():


    public static java.util.ArrayList r(android.content.Context p3)
    {
        java.util.Iterator v3_1;
        if (!com.baidu.android.pushservice.i.l.E(p3)) {
            v3_1 = com.baidu.android.pushservice.i.l.o(p3.getApplicationContext());
        } else {
            v3_1 = com.baidu.android.pushservice.i.l.p(p3.getApplicationContext());
        }
        java.util.ArrayList v0_2 = new java.util.ArrayList();
        java.util.Iterator v3_2 = v3_1.iterator();
        while (v3_2.hasNext()) {
            String v1_2 = ((android.content.pm.ResolveInfo) v3_2.next());
            if (!v0_2.contains(v1_2.activityInfo.packageName)) {
                v0_2.add(v1_2.activityInfo.packageName);
            }
        }
        return v0_2;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.intent.action.GALAXY' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'q', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/j/e;', 'b', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/j/e;', 'd', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/j/e$b;'), ('Lcom/baidu/android/pushservice/j/e;', 'b', '()Lcom/baidu/android/pushservice/j/e$b;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.intent.action.GALAXY to construct an Intent

Method com.baidu.android.pushservice.i.l.q():


    public static String q(android.content.Context p4)
    {
        String v4_1;
        StringBuilder v0_2;
        String v1_0;
        String v4_3;
        StringBuilder v0_0 = com.baidu.android.pushservice.j.e.b(p4);
        String v1_2 = com.baidu.android.pushservice.a.d(p4);
        if (!com.baidu.android.pushservice.i.l.E(p4)) {
            if (v1_2 == null) {
                v4_1 = new StringBuilder();
                v1_0 = "com.baidu.pushservice.singelinstancev2";
                v4_1.append(v1_0);
                v4_1.append(v0_0);
                v4_3 = v4_1.toString();
            } else {
                v0_2 = new StringBuilder();
                v0_2.append("com.baidu.pushservice.single_conn");
                v0_2.append(p4.getPackageName());
                v4_3 = v0_2.toString();
            }
        } else {
            if (v1_2 == null) {
                v4_1 = new StringBuilder();
                v1_0 = "com.baidu.pushservice.singelinstancev3";
            } else {
                v0_2 = new StringBuilder();
            }
        }
        return com.baidu.android.pushservice.j.f.a(v4_3.getBytes(), 0);
    }

Method com.baidu.android.pushservice.j.e.b():


    public static String b(android.content.Context p0)
    {
        return com.baidu.android.pushservice.j.e.d(p0).a;
    }

Method com.baidu.android.pushservice.j.e.d():


    private static com.baidu.android.pushservice.j.e$b d(android.content.Context p2)
    {
        if (com.baidu.android.pushservice.j.e.e == null) {
            try {
                if (com.baidu.android.pushservice.j.e.e == null) {
                    android.os.SystemClock.uptimeMillis();
                    com.baidu.android.pushservice.j.e.e = new com.baidu.android.pushservice.j.e(p2).b();
                    android.os.SystemClock.uptimeMillis();
                }
            } catch (com.baidu.android.pushservice.j.e$b v2_1) {
                throw v2_1;
            }
        }
        return com.baidu.android.pushservice.j.e.e;
    }

Method com.baidu.android.pushservice.j.e.b():


    private com.baidu.android.pushservice.j.e$b b()
    {
        int v4_7;
        com.baidu.android.pushservice.j.e$b v0_1 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY").setPackage(this.b.getPackageName()), 1);
        String v3_0 = 0;
        if ((v0_1 != null) && (v0_1.size() != 0)) {
            com.baidu.android.pushservice.j.e$b v0_21 = ((com.baidu.android.pushservice.j.e$a) v0_1.get(0));
            v4_7 = v0_21.c;
            if (!v0_21.c) {
                com.baidu.android.pushservice.j.e$b v0_24 = 0;
                while (v0_24 < 3) {
                    android.util.Log.w("DeviceId", "galaxy config err, In the release version of the signature should be matched");
                    v0_24++;
                }
            }
        } else {
            com.baidu.android.pushservice.j.e$b v0_25 = 0;
            while (v0_25 < 3) {
                android.util.Log.w("DeviceId", "galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy");
                v0_25++;
            }
            v4_7 = 0;
        }
        com.baidu.android.pushservice.j.e$b v0_4;
        com.baidu.android.pushservice.j.e$b v0_27 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        String v5_0 = 0;
        if (!v0_27.exists()) {
            v0_4 = 0;
        } else {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v0_27)));
        }
        if (v0_4 == null) {
            this.c = (this.c | 16);
            String v2_22 = this.a(new android.content.Intent("com.baidu.intent.action.GALAXY"), v4_7);
            if (v2_22 != null) {
                int v4_12 = "files";
                String v6_8 = this.b.getFilesDir();
                if (!"files".equals(v6_8.getName())) {
                    java.io.File v7_3 = new StringBuilder();
                    v7_3.append("fetal error:: app files dir name is unexpectedly :: ");
                    v7_3.append(v6_8.getAbsolutePath());
                    android.util.Log.e("DeviceId", v7_3.toString());
                    v4_12 = v6_8.getName();
                }
                String v2_23 = v2_22.iterator();
                while (v2_23.hasNext()) {
                    String v6_11 = ((com.baidu.android.pushservice.j.e$a) v2_23.next());
                    if (!v6_11.d) {
                        java.io.File v7_7 = new java.io.File(new java.io.File(v6_11.a.dataDir, v4_12), "libcuid.so");
                        if (v7_7.exists()) {
                            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(com.baidu.android.pushservice.j.e.a(v7_7)));
                            if (v0_4 != null) {
                                break;
                            }
                        }
                    }
                }
            }
        }
        if (v0_4 == null) {
            v0_4 = com.baidu.android.pushservice.j.e$b.a(com.baidu.android.pushservice.j.e.f(this.b("com.baidu.deviceid.v2")));
        }
        String v2_2 = this.c("android.permission.READ_EXTERNAL_STORAGE");
        if ((v0_4 == null) && (v2_2 != null)) {
            this.c = (this.c | 2);
            v0_4 = this.e();
        }
        if (v0_4 == null) {
            this.c = (this.c | 8);
            v0_4 = this.d();
        }
        if ((v0_4 != null) || (v2_2 == null)) {
            String v2_3 = 0;
        } else {
            this.c = (this.c | 1);
            com.baidu.android.pushservice.j.e$b v0_15 = this.h("");
            v3_0 = 1;
            v2_3 = v0_15;
            v0_4 = this.d(v0_15);
        }
        if (v0_4 == null) {
            this.c = (this.c | 4);
            if (v3_0 == null) {
                v2_3 = this.h("");
            }
            String v3_3;
            v0_4 = new com.baidu.android.pushservice.j.e$b(0);
            String v3_2 = com.baidu.android.pushservice.j.e.c(this.b);
            if (android.os.Build$VERSION.SDK_INT >= 23) {
                int v4_3 = new StringBuilder();
                v4_3.append("com.baidu");
                v4_3.append(v3_2);
                v3_3 = v4_3.toString();
            } else {
                int v4_5 = java.util.UUID.randomUUID().toString();
                String v6_3 = new StringBuilder();
                v6_3.append(v2_3);
                v6_3.append(v3_2);
                v6_3.append(v4_5);
                v3_3 = v6_3.toString();
            }
            v0_4.a = com.baidu.android.pushservice.j.f.a(v3_3.getBytes(), 1);
            v0_4.b = v2_3;
        }
        String v2_6 = new java.io.File(this.b.getFilesDir(), "libcuid.so");
        if (((this.c & 16) != 0) || (!v2_6.exists())) {
            if (android.text.TextUtils.isEmpty(0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a(v5_0);
        }
        String v2_10 = this.c();
        if ((v2_10 != null) && (((this.c & 2) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid.v2"))))) {
            if (android.text.TextUtils.isEmpty(v5_0)) {
                v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
            }
            this.a("com.baidu.deviceid.v2", v5_0);
        }
        if (this.c("android.permission.WRITE_EXTERNAL_STORAGE")) {
            String v3_21 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid2");
            if (((this.c & 8) != 0) || (!v3_21.exists())) {
                if (android.text.TextUtils.isEmpty(v5_0)) {
                    v5_0 = com.baidu.android.pushservice.j.e.e(v0_4.a());
                }
                com.baidu.android.pushservice.j.e.g(v5_0);
            }
        }
        if ((v2_10 != null) && (((1 & this.c) != 0) || (android.text.TextUtils.isEmpty(this.b("com.baidu.deviceid"))))) {
            this.a("com.baidu.deviceid", v0_4.a);
            this.a("bd_setting_i", v0_4.b);
        }
        if ((v2_10 != null) && (!android.text.TextUtils.isEmpty(v0_4.b))) {
            String v1_10 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "backups/.SystemConfig/.cuid");
            if (((this.c & 2) != 0) || (!v1_10.exists())) {
                com.baidu.android.pushservice.j.e.b(v0_4.b, v0_4.a);
            }
        }
        return v0_4;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.p():


    public static java.util.List p(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (!com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.p():

Couldn't retrieve source code

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'n', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.n():


    public static java.util.List n(android.content.Context p3)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        String v1_6 = new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC");
        try {
            int v3_4 = p3.getPackageManager();
        } catch (Exception) {
            int v3_3 = new java.util.ArrayList();
            java.util.List v0_2 = v0_1.iterator();
        }
        if (v3_4 != 0) {
            v0_1 = v3_4.queryBroadcastReceivers(v1_6, 576);
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.SHOW' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'l', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'k', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'H', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.SHOW to construct an Intent

Method com.baidu.android.pushservice.i.l.l():


    public static String l(android.content.Context p2, String p3)
    {
        String v2_3;
        if (com.baidu.android.pushservice.jni.PushSocket.a(p2)) {
            String v0_2 = com.baidu.android.pushservice.i.l.k(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                if (com.baidu.android.pushservice.i.l.a(p3, p2)) {
                    if (!com.baidu.android.pushservice.i.l.i(p2)) {
                        android.util.Log.e("BDPushSDK-Utility", "check SelfConfiged Receiver failed");
                    }
                    if (!com.baidu.android.pushservice.i.l.e()) {
                        if (((com.baidu.android.pushservice.i.l.j(p2)) || (com.baidu.android.pushservice.i.l.P(p2))) && (com.baidu.android.pushservice.i.l.N(p2))) {
                            return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        } else {
                            v2_3 = "check CommandService Enable failed";
                        }
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                } else {
                    v2_3 = "check Apikey failed";
                }
            } else {
                android.util.Log.e("BDPushSDK-Utility", v0_2);
                return v0_2;
            }
        } else {
            v2_3 = "check socket library failed";
        }
        android.util.Log.e("BDPushSDK-Utility", v2_3);
        return v2_3;
    }

Method com.baidu.android.pushservice.i.l.k():


    public static String k(android.content.Context p2)
    {
        String v0_0 = com.baidu.android.pushservice.i.l.d(p2);
        if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_0)) {
            String v0_2 = com.baidu.android.pushservice.i.l.H(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                String v0_1 = com.baidu.android.pushservice.i.l.I(p2);
                if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    if (!com.baidu.android.pushservice.i.l.P(p2)) {
                        return v0_1;
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                }
            } else {
                return v0_2;
            }
        } else {
            return v0_0;
        }
    }

Method com.baidu.android.pushservice.i.l.H():


    private static String H(android.content.Context p3)
    {
        String v3_3;
        if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.notification.SHOW", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
            if (com.baidu.android.pushservice.i.l.a(p3, "android.net.conn.CONNECTIVITY_CHANGE", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
                if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.METHOD", "com.baidu.android.pushservice.RegistrationReceiver", 1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    v3_3 = "com.baidu.android.pushservice.RegistrationReceiver is not exist or did not declared com.baidu.android.pushservice.action.METHOD";
                }
            } else {
                v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared android.net.conn.CONNECTIVITY_CHANGE";
            }
        } else {
            v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared com.baidu.android.pushservice.action.notification.SHOW";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.CLICK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'l', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.CLICK to construct an Intent

Method com.baidu.android.pushservice.i.l.l():


    public static String l(android.content.Context p2, String p3)
    {
        String v2_3;
        if (com.baidu.android.pushservice.jni.PushSocket.a(p2)) {
            String v0_2 = com.baidu.android.pushservice.i.l.k(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                if (com.baidu.android.pushservice.i.l.a(p3, p2)) {
                    if (!com.baidu.android.pushservice.i.l.i(p2)) {
                        android.util.Log.e("BDPushSDK-Utility", "check SelfConfiged Receiver failed");
                    }
                    if (!com.baidu.android.pushservice.i.l.e()) {
                        if (((com.baidu.android.pushservice.i.l.j(p2)) || (com.baidu.android.pushservice.i.l.P(p2))) && (com.baidu.android.pushservice.i.l.N(p2))) {
                            return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        } else {
                            v2_3 = "check CommandService Enable failed";
                        }
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                } else {
                    v2_3 = "check Apikey failed";
                }
            } else {
                android.util.Log.e("BDPushSDK-Utility", v0_2);
                return v0_2;
            }
        } else {
            v2_3 = "check socket library failed";
        }
        android.util.Log.e("BDPushSDK-Utility", v2_3);
        return v2_3;
    }

Method com.baidu.android.pushservice.i.l.i():


    static boolean i(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.j(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                int v2_3;
                String v0_23;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'l', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'k', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'H', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.l():


    public static String l(android.content.Context p2, String p3)
    {
        String v2_3;
        if (com.baidu.android.pushservice.jni.PushSocket.a(p2)) {
            String v0_2 = com.baidu.android.pushservice.i.l.k(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                if (com.baidu.android.pushservice.i.l.a(p3, p2)) {
                    if (!com.baidu.android.pushservice.i.l.i(p2)) {
                        android.util.Log.e("BDPushSDK-Utility", "check SelfConfiged Receiver failed");
                    }
                    if (!com.baidu.android.pushservice.i.l.e()) {
                        if (((com.baidu.android.pushservice.i.l.j(p2)) || (com.baidu.android.pushservice.i.l.P(p2))) && (com.baidu.android.pushservice.i.l.N(p2))) {
                            return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        } else {
                            v2_3 = "check CommandService Enable failed";
                        }
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                } else {
                    v2_3 = "check Apikey failed";
                }
            } else {
                android.util.Log.e("BDPushSDK-Utility", v0_2);
                return v0_2;
            }
        } else {
            v2_3 = "check socket library failed";
        }
        android.util.Log.e("BDPushSDK-Utility", v2_3);
        return v2_3;
    }

Method com.baidu.android.pushservice.i.l.k():


    public static String k(android.content.Context p2)
    {
        String v0_0 = com.baidu.android.pushservice.i.l.d(p2);
        if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_0)) {
            String v0_2 = com.baidu.android.pushservice.i.l.H(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                String v0_1 = com.baidu.android.pushservice.i.l.I(p2);
                if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    if (!com.baidu.android.pushservice.i.l.P(p2)) {
                        return v0_1;
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                }
            } else {
                return v0_2;
            }
        } else {
            return v0_0;
        }
    }

Method com.baidu.android.pushservice.i.l.H():


    private static String H(android.content.Context p3)
    {
        String v3_3;
        if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.notification.SHOW", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
            if (com.baidu.android.pushservice.i.l.a(p3, "android.net.conn.CONNECTIVITY_CHANGE", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
                if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.METHOD", "com.baidu.android.pushservice.RegistrationReceiver", 1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    v3_3 = "com.baidu.android.pushservice.RegistrationReceiver is not exist or did not declared com.baidu.android.pushservice.action.METHOD";
                }
            } else {
                v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared android.net.conn.CONNECTIVITY_CHANGE";
            }
        } else {
            v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared com.baidu.android.pushservice.action.notification.SHOW";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.RECEIVE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'l', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.RECEIVE to construct an Intent

Method com.baidu.android.pushservice.i.l.l():


    public static String l(android.content.Context p2, String p3)
    {
        String v2_3;
        if (com.baidu.android.pushservice.jni.PushSocket.a(p2)) {
            String v0_2 = com.baidu.android.pushservice.i.l.k(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                if (com.baidu.android.pushservice.i.l.a(p3, p2)) {
                    if (!com.baidu.android.pushservice.i.l.i(p2)) {
                        android.util.Log.e("BDPushSDK-Utility", "check SelfConfiged Receiver failed");
                    }
                    if (!com.baidu.android.pushservice.i.l.e()) {
                        if (((com.baidu.android.pushservice.i.l.j(p2)) || (com.baidu.android.pushservice.i.l.P(p2))) && (com.baidu.android.pushservice.i.l.N(p2))) {
                            return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        } else {
                            v2_3 = "check CommandService Enable failed";
                        }
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                } else {
                    v2_3 = "check Apikey failed";
                }
            } else {
                android.util.Log.e("BDPushSDK-Utility", v0_2);
                return v0_2;
            }
        } else {
            v2_3 = "check socket library failed";
        }
        android.util.Log.e("BDPushSDK-Utility", v2_3);
        return v2_3;
    }

Method com.baidu.android.pushservice.i.l.i():


    static boolean i(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.j(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                int v2_3;
                String v0_23;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'l', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'k', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'I', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.l():


    public static String l(android.content.Context p2, String p3)
    {
        String v2_3;
        if (com.baidu.android.pushservice.jni.PushSocket.a(p2)) {
            String v0_2 = com.baidu.android.pushservice.i.l.k(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                if (com.baidu.android.pushservice.i.l.a(p3, p2)) {
                    if (!com.baidu.android.pushservice.i.l.i(p2)) {
                        android.util.Log.e("BDPushSDK-Utility", "check SelfConfiged Receiver failed");
                    }
                    if (!com.baidu.android.pushservice.i.l.e()) {
                        if (((com.baidu.android.pushservice.i.l.j(p2)) || (com.baidu.android.pushservice.i.l.P(p2))) && (com.baidu.android.pushservice.i.l.N(p2))) {
                            return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        } else {
                            v2_3 = "check CommandService Enable failed";
                        }
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                } else {
                    v2_3 = "check Apikey failed";
                }
            } else {
                android.util.Log.e("BDPushSDK-Utility", v0_2);
                return v0_2;
            }
        } else {
            v2_3 = "check socket library failed";
        }
        android.util.Log.e("BDPushSDK-Utility", v2_3);
        return v2_3;
    }

Method com.baidu.android.pushservice.i.l.k():


    public static String k(android.content.Context p2)
    {
        String v0_0 = com.baidu.android.pushservice.i.l.d(p2);
        if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_0)) {
            String v0_2 = com.baidu.android.pushservice.i.l.H(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                String v0_1 = com.baidu.android.pushservice.i.l.I(p2);
                if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    if (!com.baidu.android.pushservice.i.l.P(p2)) {
                        return v0_1;
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                }
            } else {
                return v0_2;
            }
        } else {
            return v0_0;
        }
    }

Method com.baidu.android.pushservice.i.l.I():


    private static String I(android.content.Context p3)
    {
        String v3_3;
        if (!com.baidu.android.pushservice.i.l.J(p3)) {
            if (!com.baidu.android.pushservice.i.l.L(p3)) {
                if (!com.baidu.android.pushservice.i.l.K(p3)) {
                    if (!com.baidu.android.pushservice.i.l.M(p3)) {
                        String v3_2;
                        if (!com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.PUSH_SERVICE", "com.baidu.android.pushservice.PushService", 0)) {
                            v3_2 = "com.baidu.android.pushservice.PushService is not exist or did not declared com.baidu.android.pushservice.action.PUSH_SERVICE";
                        } else {
                            v3_2 = "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        }
                        return v3_2;
                    } else {
                        v3_3 = "vivo service is not found or wrong  declared, please check!";
                    }
                } else {
                    v3_3 = "meizu service is not found or wrong  declared, please check!";
                }
            } else {
                v3_3 = "oppo service is not found or wrong  declared, please check!";
            }
        } else {
            v3_3 = "xiaomi service is not found or wrong  declared, please check!";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.MESSAGE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'l', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.MESSAGE to construct an Intent

Method com.baidu.android.pushservice.i.l.l():


    public static String l(android.content.Context p2, String p3)
    {
        String v2_3;
        if (com.baidu.android.pushservice.jni.PushSocket.a(p2)) {
            String v0_2 = com.baidu.android.pushservice.i.l.k(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                if (com.baidu.android.pushservice.i.l.a(p3, p2)) {
                    if (!com.baidu.android.pushservice.i.l.i(p2)) {
                        android.util.Log.e("BDPushSDK-Utility", "check SelfConfiged Receiver failed");
                    }
                    if (!com.baidu.android.pushservice.i.l.e()) {
                        if (((com.baidu.android.pushservice.i.l.j(p2)) || (com.baidu.android.pushservice.i.l.P(p2))) && (com.baidu.android.pushservice.i.l.N(p2))) {
                            return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        } else {
                            v2_3 = "check CommandService Enable failed";
                        }
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                } else {
                    v2_3 = "check Apikey failed";
                }
            } else {
                android.util.Log.e("BDPushSDK-Utility", v0_2);
                return v0_2;
            }
        } else {
            v2_3 = "check socket library failed";
        }
        android.util.Log.e("BDPushSDK-Utility", v2_3);
        return v2_3;
    }

Method com.baidu.android.pushservice.i.l.i():


    static boolean i(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.j(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                String v0_23;
                int v2_3;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'k', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'H', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.k():


    public static String k(android.content.Context p2)
    {
        String v0_0 = com.baidu.android.pushservice.i.l.d(p2);
        if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_0)) {
            String v0_2 = com.baidu.android.pushservice.i.l.H(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                String v0_1 = com.baidu.android.pushservice.i.l.I(p2);
                if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    if (!com.baidu.android.pushservice.i.l.P(p2)) {
                        return v0_1;
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                }
            } else {
                return v0_2;
            }
        } else {
            return v0_0;
        }
    }

Method com.baidu.android.pushservice.i.l.H():


    private static String H(android.content.Context p3)
    {
        String v3_3;
        if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.notification.SHOW", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
            if (com.baidu.android.pushservice.i.l.a(p3, "android.net.conn.CONNECTIVITY_CHANGE", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
                if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.METHOD", "com.baidu.android.pushservice.RegistrationReceiver", 1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    v3_3 = "com.baidu.android.pushservice.RegistrationReceiver is not exist or did not declared com.baidu.android.pushservice.action.METHOD";
                }
            } else {
                v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared android.net.conn.CONNECTIVITY_CHANGE";
            }
        } else {
            v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared com.baidu.android.pushservice.action.notification.SHOW";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.SHOW' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'k', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'H', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.SHOW to construct an Intent

Method com.baidu.android.pushservice.i.l.k():


    public static String k(android.content.Context p2)
    {
        String v0_0 = com.baidu.android.pushservice.i.l.d(p2);
        if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_0)) {
            String v0_2 = com.baidu.android.pushservice.i.l.H(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                String v0_1 = com.baidu.android.pushservice.i.l.I(p2);
                if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    if (!com.baidu.android.pushservice.i.l.P(p2)) {
                        return v0_1;
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                }
            } else {
                return v0_2;
            }
        } else {
            return v0_0;
        }
    }

Method com.baidu.android.pushservice.i.l.H():


    private static String H(android.content.Context p3)
    {
        String v3_3;
        if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.notification.SHOW", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
            if (com.baidu.android.pushservice.i.l.a(p3, "android.net.conn.CONNECTIVITY_CHANGE", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
                if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.METHOD", "com.baidu.android.pushservice.RegistrationReceiver", 1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    v3_3 = "com.baidu.android.pushservice.RegistrationReceiver is not exist or did not declared com.baidu.android.pushservice.action.METHOD";
                }
            } else {
                v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared android.net.conn.CONNECTIVITY_CHANGE";
            }
        } else {
            v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared com.baidu.android.pushservice.action.notification.SHOW";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'k', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'I', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.k():


    public static String k(android.content.Context p2)
    {
        String v0_0 = com.baidu.android.pushservice.i.l.d(p2);
        if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_0)) {
            String v0_2 = com.baidu.android.pushservice.i.l.H(p2);
            if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_2)) {
                String v0_1 = com.baidu.android.pushservice.i.l.I(p2);
                if (android.text.TextUtils.equals("com.baidu.android.pushservice.CHECK_SDK_RESULT_OK", v0_1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    if (!com.baidu.android.pushservice.i.l.P(p2)) {
                        return v0_1;
                    } else {
                        return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                    }
                }
            } else {
                return v0_2;
            }
        } else {
            return v0_0;
        }
    }

Method com.baidu.android.pushservice.i.l.I():


    private static String I(android.content.Context p3)
    {
        String v3_3;
        if (!com.baidu.android.pushservice.i.l.J(p3)) {
            if (!com.baidu.android.pushservice.i.l.L(p3)) {
                if (!com.baidu.android.pushservice.i.l.K(p3)) {
                    if (!com.baidu.android.pushservice.i.l.M(p3)) {
                        String v3_2;
                        if (!com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.PUSH_SERVICE", "com.baidu.android.pushservice.PushService", 0)) {
                            v3_2 = "com.baidu.android.pushservice.PushService is not exist or did not declared com.baidu.android.pushservice.action.PUSH_SERVICE";
                        } else {
                            v3_2 = "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        }
                        return v3_2;
                    } else {
                        v3_3 = "vivo service is not found or wrong  declared, please check!";
                    }
                } else {
                    v3_3 = "meizu service is not found or wrong  declared, please check!";
                }
            } else {
                v3_3 = "oppo service is not found or wrong  declared, please check!";
            }
        } else {
            v3_3 = "xiaomi service is not found or wrong  declared, please check!";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.CLICK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.CLICK to construct an Intent

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                String v0_23;
                int v2_3;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.MESSAGE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.MESSAGE to construct an Intent

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                String v0_23;
                int v2_3;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.RECEIVE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.RECEIVE to construct an Intent

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                String v0_23;
                int v2_3;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.MESSAGE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.MESSAGE to construct an Intent

Method com.baidu.android.pushservice.i.l.i():


    static boolean i(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.j(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                int v2_3;
                String v0_23;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.CLICK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.CLICK to construct an Intent

Method com.baidu.android.pushservice.i.l.i():


    static boolean i(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.j(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                int v2_3;
                String v0_23;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.RECEIVE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'j', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.RECEIVE to construct an Intent

Method com.baidu.android.pushservice.i.l.i():


    static boolean i(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.j(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.j():


    public static boolean j(android.content.Context p6, String p7)
    {
        p7 = 0;
        try {
            String v0_42 = new android.content.Intent("com.baidu.android.pushservice.action.notification.CLICK");
            v0_42.setPackage(p6.getPackageName());
            String v1_26 = p6.getPackageManager();
        } catch (Exception) {
            return p7;
        }
        if (v1_26 != null) {
            String v0_2 = v1_26.queryBroadcastReceivers(v0_42, 576);
            if (v0_2.size() >= 1) {
                String v0_23;
                int v2_3;
                String v0_15 = v0_2.iterator();
                if (!v0_15.hasNext()) {
                    v2_3 = 0;
                    v0_23 = 0;
                } else {
                    String v0_33 = ((android.content.pm.ResolveInfo) v0_15.next());
                    v2_3 = v0_33.activityInfo.name;
                    v0_23 = v0_33.activityInfo.enabled;
                }
                if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.MESSAGE", v2_3, 1)) {
                    if (com.baidu.android.pushservice.i.l.a(p6, "com.baidu.android.pushservice.action.RECEIVE", v2_3, 1)) {
                        if ((!com.baidu.android.pushservice.i.l.c()) || (!com.baidu.android.pushservice.PushSettings.l(p6))) {
                            if ((!com.baidu.android.pushservice.i.l.a()) || (!com.baidu.android.pushservice.PushSettings.h(p6))) {
                                if ((!com.baidu.android.pushservice.i.l.b()) || (!com.baidu.android.pushservice.PushSettings.i(p6))) {
                                    if ((!com.baidu.android.pushservice.i.l.d()) || (!com.baidu.android.pushservice.PushSettings.j(p6))) {
                                        if ((com.baidu.android.pushservice.i.l.e()) && ((com.baidu.android.pushservice.PushSettings.k(p6)) && (!com.baidu.android.pushservice.i.l.a(p6, "com.vivo.pushclient.action.RECEIVE", "com.baidu.android.pushservice.viproxy.ViPushMessageReceiver", 1)))) {
                                            String v0_44 = new StringBuilder();
                                            v0_44.append("com.baidu.android.pushservice.viproxy.ViPushMessageReceiver");
                                            v0_44.append(" did not declared ");
                                            v0_44.append("com.vivo.pushclient.action.RECEIVE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_44.toString());
                                            return 0;
                                        }
                                    } else {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.coloros.mcs.action.RECEIVE_MCS_MESSAGE", "com.coloros.mcssdk.PushService", 0)) {
                                            String v0_47 = new StringBuilder();
                                            v0_47.append("com.coloros.mcssdk.PushService");
                                            v0_47.append(" did not declared ");
                                            v0_47.append("com.coloros.mcs.action.RECEIVE_MCS_MESSAGE");
                                            android.util.Log.e("BDPushSDK-Utility", v0_47.toString());
                                            return 0;
                                        }
                                    }
                                } else {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.MESSAGE", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                        if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.REGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                            if (com.baidu.android.pushservice.i.l.a(p6, "com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK", "com.baidu.android.pushservice.MzPushPatchMessageReceiver", 1)) {
                                                if (!com.baidu.android.pushservice.i.l.G(p6)) {
                                                    android.util.Log.e("BDPushSDK-Utility", "com.meizu.cloud.pushsdk.SystemReceiver did not declared com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
                                                    return 0;
                                                }
                                            } else {
                                                String v0_5 = new StringBuilder();
                                                v0_5.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                                v0_5.append(" did not declared ");
                                                v0_5.append("com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK");
                                                android.util.Log.e("BDPushSDK-Utility", v0_5.toString());
                                                return 0;
                                            }
                                        } else {
                                            String v0_8 = new StringBuilder();
                                            v0_8.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                            v0_8.append(" did not declared ");
                                            v0_8.append("com.meizu.flyme.push.intent.REGISTER.FEEDBACK");
                                            android.util.Log.e("BDPushSDK-Utility", v0_8.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_11 = new StringBuilder();
                                        v0_11.append("com.baidu.android.pushservice.MzPushPatchMessageReceiver");
                                        v0_11.append(" did not declared ");
                                        v0_11.append("com.meizu.flyme.push.intent.MESSAGE");
                                        android.util.Log.e("BDPushSDK-Utility", v0_11.toString());
                                        return 0;
                                    }
                                }
                            } else {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.RECEIVE_MESSAGE", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                    if (com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.MESSAGE_ARRIVED", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                        if (!com.baidu.android.pushservice.i.l.a(p6, "com.xiaomi.mipush.ERROR", "com.baidu.android.pushservice.PushPatchMessageReceiver", 1)) {
                                            String v0_14 = new StringBuilder();
                                            v0_14.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                            v0_14.append(" did not declared ");
                                            v0_14.append("com.xiaomi.mipush.ERROR");
                                            android.util.Log.e("BDPushSDK-Utility", v0_14.toString());
                                            return 0;
                                        }
                                    } else {
                                        String v0_18 = new StringBuilder();
                                        v0_18.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                        v0_18.append(" did not declared ");
                                        v0_18.append("com.xiaomi.mipush.MESSAGE_ARRIVED");
                                        android.util.Log.e("BDPushSDK-Utility", v0_18.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_21 = new StringBuilder();
                                    v0_21.append("com.baidu.android.pushservice.PushPatchMessageReceiver");
                                    v0_21.append(" did not declared ");
                                    v0_21.append("com.xiaomi.mipush.RECEIVE_MESSAGE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_21.toString());
                                    return 0;
                                }
                            }
                        } else {
                            if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.intent.action.PUSH", v2_3, 1)) {
                                if (com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.RECEIVE", v2_3, 1)) {
                                    if (!com.baidu.android.pushservice.i.l.a(p6, "com.huawei.android.push.intent.REGISTRATION", v2_3, 1)) {
                                        String v0_28 = new StringBuilder();
                                        v0_28.append(v2_3);
                                        v0_28.append(" did not declared ");
                                        v0_28.append("com.huawei.android.push.intent.REGISTRATION");
                                        android.util.Log.e("BDPushSDK-Utility", v0_28.toString());
                                        return 0;
                                    }
                                } else {
                                    String v0_32 = new StringBuilder();
                                    v0_32.append(v2_3);
                                    v0_32.append(" did not declared ");
                                    v0_32.append("com.huawei.android.push.intent.RECEIVE");
                                    android.util.Log.e("BDPushSDK-Utility", v0_32.toString());
                                    return 0;
                                }
                            } else {
                                String v0_36 = new StringBuilder();
                                v0_36.append(v2_3);
                                v0_36.append(" did not declared ");
                                v0_36.append("com.huawei.intent.action.PUSH");
                                android.util.Log.e("BDPushSDK-Utility", v0_36.toString());
                                return 0;
                            }
                        }
                        String v6_9 = v1_26.getComponentEnabledSetting(new android.content.ComponentName(p6.getPackageName(), v2_3));
                        if ((v6_9 == 1) || ((v6_9 == null) && (v0_23 != null))) {
                            p7 = 1;
                        }
                        if (p7 != 0) {
                            return p7;
                        } else {
                            String v0_25 = new StringBuilder();
                            v0_25.append(v2_3);
                            v0_25.append(" is disable, please check!");
                            android.util.Log.e("BDPushSDK-Utility", v0_25.toString());
                            return p7;
                        }
                    } else {
                    }
                }
                String v0_39 = new StringBuilder();
                v0_39.append(v2_3);
                v0_39.append(" did not declared ");
                v0_39.append("com.baidu.android.pushservice.action.MESSAGE");
                v0_39.append(" or ");
                v0_39.append("com.baidu.android.pushservice.action.RECEIVE");
                android.util.Log.e("BDPushSDK-Utility", v0_39.toString());
                return p7;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'h', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.h():

Couldn't retrieve source code

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'g', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.g():


    public static void g(android.content.Context p1)
    {
        com.baidu.android.pushservice.i.l.a(p1, 0, 0);
        return;
    }

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'g', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.g():


    public static void g(android.content.Context p1)
    {
        com.baidu.android.pushservice.i.l.a(p1, 0, 0);
        return;
    }

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'g', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.l.g():


    public static void g(android.content.Context p1)
    {
        com.baidu.android.pushservice.i.l.a(p1, 0, 0);
        return;
    }

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'g', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'u', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.g():


    public static void g(android.content.Context p1)
    {
        com.baidu.android.pushservice.i.l.a(p1, 0, 0);
        return;
    }

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.u():


    public static String u(android.content.Context p4)
    {
        if (!com.baidu.android.pushservice.i.l.E(p4)) {
            java.util.Iterator v0_5 = com.baidu.android.pushservice.i.a.a(p4, "com.baidu.push.cur_pkg");
            String v1_6 = com.baidu.android.pushservice.i.l.s(p4);
            if ((android.text.TextUtils.isEmpty(v0_5)) || (!v1_6.contains(v0_5))) {
                if (!v1_6.isEmpty()) {
                    java.util.Iterator v0_2 = v1_6.iterator();
                    while (v0_2.hasNext()) {
                        String v1_2 = ((String) v0_2.next());
                        if ((!com.baidu.android.pushservice.i.l.z(p4, v1_2)) && ((com.baidu.android.pushservice.i.l.o(p4, v1_2)) && (com.baidu.android.pushservice.i.l.h(p4, v1_2)))) {
                            return v1_2;
                        }
                    }
                }
            } else {
                if ((com.baidu.android.pushservice.i.l.o(p4, v0_5)) && (com.baidu.android.pushservice.i.l.h(p4, v0_5))) {
                    return v0_5;
                }
            }
        } else {
            java.util.Iterator v0_4 = com.baidu.android.pushservice.i.l.s(p4);
            String v1_4 = com.baidu.android.pushservice.i.l.p(p4);
            if (!v0_4.isEmpty()) {
                String v1_5 = v1_4.iterator();
                while (v1_5.hasNext()) {
                    boolean v2_9 = ((android.content.pm.ResolveInfo) v1_5.next()).activityInfo.packageName;
                    if ((v0_4.contains(v2_9)) && ((com.baidu.android.pushservice.i.l.o(p4, v2_9)) && (com.baidu.android.pushservice.i.l.h(p4, v2_9)))) {
                        return v2_9;
                    }
                }
            }
        }
        return 0;
    }

Method com.baidu.android.pushservice.i.l.p():


    public static java.util.List p(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (!com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'f', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.f():


    public static void f(android.content.Context p5, String p6)
    {
        if (com.baidu.android.pushservice.i.l.i(p5, p6)) {
            String v1_3;
            android.content.Intent v0_1 = com.baidu.android.pushservice.i.k.c(p5);
            boolean v2_0 = nan;
            if (com.baidu.android.pushservice.i.l.E(p5)) {
                v0_1.putExtra("method", "pushservice_restart_v3");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority3";
                    v2_0 = com.baidu.android.pushservice.i.l.h(p5);
                } else {
                    v1_3 = "priority3";
                }
            } else {
                v0_1.putExtra("method", "pushservice_restart_v2");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority2";
                } else {
                    v1_3 = "priority2";
                }
            }
            v0_1.putExtra(v1_3, v2_0);
            if (!android.text.TextUtils.isEmpty(p6)) {
                v0_1.setPackage(p6);
                v0_1.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            v0_1.putExtra("command_type", "reflect_receiver");
            try {
                if (p5.startService(v0_1) == null) {
                    if (!com.baidu.android.pushservice.i.l.F(p5)) {
                        if (!android.text.TextUtils.isEmpty(p6)) {
                            v0_1.setPackage(p6);
                        }
                        String v1_15 = com.baidu.android.pushservice.i.l.c(p5, p6, "com.baidu.android.pushservice.action.METHOD");
                        if (!android.text.TextUtils.isEmpty(v1_15)) {
                            v0_1.setClassName(p6, v1_15);
                        }
                        p5.sendBroadcast(v0_1);
                        com.baidu.android.pushservice.a.a(p5, 0);
                        return;
                    } else {
                        return;
                    }
                } else {
                    return;
                }
            } catch (Exception) {
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'f', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.f():


    public static void f(android.content.Context p5, String p6)
    {
        if (com.baidu.android.pushservice.i.l.i(p5, p6)) {
            String v1_3;
            android.content.Intent v0_1 = com.baidu.android.pushservice.i.k.c(p5);
            boolean v2_0 = nan;
            if (com.baidu.android.pushservice.i.l.E(p5)) {
                v0_1.putExtra("method", "pushservice_restart_v3");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority3";
                    v2_0 = com.baidu.android.pushservice.i.l.h(p5);
                } else {
                    v1_3 = "priority3";
                }
            } else {
                v0_1.putExtra("method", "pushservice_restart_v2");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority2";
                } else {
                    v1_3 = "priority2";
                }
            }
            v0_1.putExtra(v1_3, v2_0);
            if (!android.text.TextUtils.isEmpty(p6)) {
                v0_1.setPackage(p6);
                v0_1.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            v0_1.putExtra("command_type", "reflect_receiver");
            try {
                if (p5.startService(v0_1) == null) {
                    if (!com.baidu.android.pushservice.i.l.F(p5)) {
                        if (!android.text.TextUtils.isEmpty(p6)) {
                            v0_1.setPackage(p6);
                        }
                        String v1_15 = com.baidu.android.pushservice.i.l.c(p5, p6, "com.baidu.android.pushservice.action.METHOD");
                        if (!android.text.TextUtils.isEmpty(v1_15)) {
                            v0_1.setClassName(p6, v1_15);
                        }
                        p5.sendBroadcast(v0_1);
                        com.baidu.android.pushservice.a.a(p5, 0);
                        return;
                    } else {
                        return;
                    }
                } else {
                    return;
                }
            } catch (Exception) {
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'f', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.l.f():


    public static void f(android.content.Context p5, String p6)
    {
        if (com.baidu.android.pushservice.i.l.i(p5, p6)) {
            String v1_3;
            android.content.Intent v0_1 = com.baidu.android.pushservice.i.k.c(p5);
            boolean v2_0 = nan;
            if (com.baidu.android.pushservice.i.l.E(p5)) {
                v0_1.putExtra("method", "pushservice_restart_v3");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority3";
                    v2_0 = com.baidu.android.pushservice.i.l.h(p5);
                } else {
                    v1_3 = "priority3";
                }
            } else {
                v0_1.putExtra("method", "pushservice_restart_v2");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority2";
                } else {
                    v1_3 = "priority2";
                }
            }
            v0_1.putExtra(v1_3, v2_0);
            if (!android.text.TextUtils.isEmpty(p6)) {
                v0_1.setPackage(p6);
                v0_1.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            v0_1.putExtra("command_type", "reflect_receiver");
            try {
                if (p5.startService(v0_1) == null) {
                    if (!com.baidu.android.pushservice.i.l.F(p5)) {
                        if (!android.text.TextUtils.isEmpty(p6)) {
                            v0_1.setPackage(p6);
                        }
                        String v1_15 = com.baidu.android.pushservice.i.l.c(p5, p6, "com.baidu.android.pushservice.action.METHOD");
                        if (!android.text.TextUtils.isEmpty(v1_15)) {
                            v0_1.setClassName(p6, v1_15);
                        }
                        p5.sendBroadcast(v0_1);
                        com.baidu.android.pushservice.a.a(p5, 0);
                        return;
                    } else {
                        return;
                    }
                } else {
                    return;
                }
            } catch (Exception) {
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'f', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'u', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.f():


    public static void f(android.content.Context p5, String p6)
    {
        if (com.baidu.android.pushservice.i.l.i(p5, p6)) {
            String v1_3;
            android.content.Intent v0_1 = com.baidu.android.pushservice.i.k.c(p5);
            boolean v2_0 = nan;
            if (com.baidu.android.pushservice.i.l.E(p5)) {
                v0_1.putExtra("method", "pushservice_restart_v3");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority3";
                    v2_0 = com.baidu.android.pushservice.i.l.h(p5);
                } else {
                    v1_3 = "priority3";
                }
            } else {
                v0_1.putExtra("method", "pushservice_restart_v2");
                if ((android.text.TextUtils.isEmpty(p6)) || (!p6.equals(com.baidu.android.pushservice.i.l.u(p5)))) {
                    v1_3 = "priority2";
                } else {
                    v1_3 = "priority2";
                }
            }
            v0_1.putExtra(v1_3, v2_0);
            if (!android.text.TextUtils.isEmpty(p6)) {
                v0_1.setPackage(p6);
                v0_1.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            v0_1.putExtra("command_type", "reflect_receiver");
            try {
                if (p5.startService(v0_1) == null) {
                    if (!com.baidu.android.pushservice.i.l.F(p5)) {
                        if (!android.text.TextUtils.isEmpty(p6)) {
                            v0_1.setPackage(p6);
                        }
                        String v1_15 = com.baidu.android.pushservice.i.l.c(p5, p6, "com.baidu.android.pushservice.action.METHOD");
                        if (!android.text.TextUtils.isEmpty(v1_15)) {
                            v0_1.setClassName(p6, v1_15);
                        }
                        p5.sendBroadcast(v0_1);
                        com.baidu.android.pushservice.a.a(p5, 0);
                        return;
                    } else {
                        return;
                    }
                } else {
                    return;
                }
            } catch (Exception) {
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.u():


    public static String u(android.content.Context p4)
    {
        if (!com.baidu.android.pushservice.i.l.E(p4)) {
            java.util.Iterator v0_5 = com.baidu.android.pushservice.i.a.a(p4, "com.baidu.push.cur_pkg");
            String v1_6 = com.baidu.android.pushservice.i.l.s(p4);
            if ((android.text.TextUtils.isEmpty(v0_5)) || (!v1_6.contains(v0_5))) {
                if (!v1_6.isEmpty()) {
                    java.util.Iterator v0_2 = v1_6.iterator();
                    while (v0_2.hasNext()) {
                        String v1_2 = ((String) v0_2.next());
                        if ((!com.baidu.android.pushservice.i.l.z(p4, v1_2)) && ((com.baidu.android.pushservice.i.l.o(p4, v1_2)) && (com.baidu.android.pushservice.i.l.h(p4, v1_2)))) {
                            return v1_2;
                        }
                    }
                }
            } else {
                if ((com.baidu.android.pushservice.i.l.o(p4, v0_5)) && (com.baidu.android.pushservice.i.l.h(p4, v0_5))) {
                    return v0_5;
                }
            }
        } else {
            java.util.Iterator v0_4 = com.baidu.android.pushservice.i.l.s(p4);
            String v1_4 = com.baidu.android.pushservice.i.l.p(p4);
            if (!v0_4.isEmpty()) {
                String v1_5 = v1_4.iterator();
                while (v1_5.hasNext()) {
                    boolean v2_9 = ((android.content.pm.ResolveInfo) v1_5.next()).activityInfo.packageName;
                    if ((v0_4.contains(v2_9)) && ((com.baidu.android.pushservice.i.l.o(p4, v2_9)) && (com.baidu.android.pushservice.i.l.h(p4, v2_9)))) {
                        return v2_9;
                    }
                }
            }
        }
        return 0;
    }

Method com.baidu.android.pushservice.i.l.p():


    public static java.util.List p(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (!com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'e', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; J)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.l.e():


    public static void e(android.content.Context p2)
    {
        com.baidu.android.pushservice.i.l.a(p2, 300000);
        return;
    }

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p4, long p5)
    {
        android.content.Context v4_1 = p4.getApplicationContext();
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(v4_1);
        String v1 = v4_1.getPackageName();
        String v2_1 = com.baidu.android.pushservice.i.l.c(v4_1, v1, v0.getAction());
        if ((!android.text.TextUtils.isEmpty(v1)) && (!android.text.TextUtils.isEmpty(v2_1))) {
            v0.setClassName(v1, v2_1);
        }
        com.baidu.android.pushservice.i.l.a(v4_1, v0, p5);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'e', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; J)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.e():


    public static void e(android.content.Context p2)
    {
        com.baidu.android.pushservice.i.l.a(p2, 300000);
        return;
    }

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p4, long p5)
    {
        android.content.Context v4_1 = p4.getApplicationContext();
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(v4_1);
        String v1 = v4_1.getPackageName();
        String v2_1 = com.baidu.android.pushservice.i.l.c(v4_1, v1, v0.getAction());
        if ((!android.text.TextUtils.isEmpty(v1)) && (!android.text.TextUtils.isEmpty(v2_1))) {
            v0.setClassName(v1, v2_1);
        }
        com.baidu.android.pushservice.i.l.a(v4_1, v0, p5);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.CLICK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'c', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'b', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'c', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.CLICK to construct an Intent

Method com.baidu.android.pushservice.i.l.c():


    public static void c(android.content.Context p4, android.content.Intent p5, String p6, String p7)
    {
        try {
            int v0_0 = p5.getData();
        } catch (Exception) {
            return;
        }
        if (v0_0 == 0) {
            return;
        } else {
            int v0_3 = com.baidu.android.pushservice.i.l.e(v0_0.toString());
            android.content.Intent v1_1 = new android.content.Intent();
            String v2_0 = p5.getStringExtra("hwtitle");
            String v5_1 = p5.getStringExtra("hwcontent");
            if ((!android.text.TextUtils.isEmpty(v2_0)) && (!android.text.TextUtils.isEmpty(v5_1))) {
                v1_1.putExtra("notification_title", v2_0);
                v1_1.putExtra("notification_content", v5_1);
            }
            v1_1.putExtra("extra_extra_custom_content", v0_3);
            v1_1.putExtra("proxy_mode", 5);
            v1_1.putExtra("proxy_check_info", p6);
            v1_1.putExtra("proxy_sign_info", p7);
            com.baidu.android.pushservice.i.l.b(p4, v1_1, "com.baidu.android.pushservice.action.notification.CLICK", p4.getPackageName());
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.b():


    public static void b(android.content.Context p3, android.content.Intent p4, String p5, String p6)
    {
        p4.setFlags(32);
        String v1_2 = com.baidu.android.pushservice.i.l.m(p3, p6);
        if (v1_2 >= 32) {
            try {
                if (!android.text.TextUtils.isEmpty(p5)) {
                    p4.setAction(p5);
                }
            } catch (Exception) {
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
                p4.setClassName(p6, "com.baidu.android.pushservice.CommandService");
            }
            p4.putExtra("command_type", "reflect_receiver");
            if (p3.startService(p4) == null) {
                boolean v0_6 = new StringBuilder();
                v0_6.append("sendRedirecctionIntent#intergratedPushVersion=");
                v0_6.append(v1_2);
                v0_6.append(", packageName=");
                v0_6.append(p6);
                v0_6.append(", intent=");
                v0_6.append(p4.toUri(0));
                com.baidu.android.pushservice.i.l.b(v0_6.toString(), p3);
            } else {
                return;
            }
        }
        if (!com.baidu.android.pushservice.i.l.F(p3)) {
            if (!android.text.TextUtils.isEmpty(p5)) {
                p4.setAction(p5);
            }
            if (!android.text.TextUtils.isEmpty(p6)) {
                p4.setPackage(p6);
            }
            String v5_1 = com.baidu.android.pushservice.i.l.c(p3, p6, p5);
            if (!android.text.TextUtils.isEmpty(v5_1)) {
                p4.setClassName(p6, v5_1);
            }
            p3.sendBroadcast(p4);
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.c():


    public static String c(android.content.Context p2, String p3, String p4)
    {
        String v1 = 0;
        if ((!android.text.TextUtils.isEmpty(p3)) && (!android.text.TextUtils.isEmpty(p4))) {
            android.content.Intent v0_3 = new android.content.Intent(p4);
            v0_3.setPackage(p3);
            try {
                android.content.pm.ActivityInfo v2_1 = p2.getPackageManager();
            } catch (Exception) {
                android.content.pm.ActivityInfo v2_2 = 0;
            }
            if (v2_1 != null) {
                v2_2 = v2_1.queryBroadcastReceivers(v0_3, 576);
                if ((v2_2 != null) && (v2_2.size() > 0)) {
                    v1 = ((android.content.pm.ResolveInfo) v2_2.get(0)).activityInfo.name;
                }
            } else {
                return 0;
            }
        }
        return v1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; [B Ljava/lang/String; Ljava/lang/String; [B)Z'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.a():

Couldn't retrieve source code

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.MESSAGE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Intent; Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'c', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.MESSAGE to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Intent p9, android.content.Context p10)
    {
        try {
            Object[] v0_0 = p10.getPackageName();
            String v1_1 = com.baidu.android.pushservice.i.l.c(p10, p10.getPackageName(), "com.baidu.android.pushservice.action.MESSAGE");
            reflect.Method v2_2 = Class.forName(v1_1);
            Object v4_0 = new Class[0];
            int v5_0 = new Object[0];
            Object v4_2 = v2_2.getConstructor(v4_0).newInstance(v5_0);
            Class[] v6_1 = new Class[2];
            v6_1[0] = android.content.Context;
            v6_1[1] = android.content.Intent;
            reflect.Method v2_0 = v2_2.getMethod("onReceive", v6_1);
            p9.setClassName(v0_0, v1_1);
            Object[] v0_1 = new Object[2];
            v0_1[0] = p10;
            v0_1[1] = p9;
            v2_0.invoke(v4_2, v0_1);
        } catch (Exception) {
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.c():


    public static String c(android.content.Context p2, String p3, String p4)
    {
        String v1 = 0;
        if ((!android.text.TextUtils.isEmpty(p3)) && (!android.text.TextUtils.isEmpty(p4))) {
            android.content.Intent v0_3 = new android.content.Intent(p4);
            v0_3.setPackage(p3);
            try {
                android.content.pm.ActivityInfo v2_1 = p2.getPackageManager();
            } catch (Exception) {
                android.content.pm.ActivityInfo v2_2 = 0;
            }
            if (v2_1 != null) {
                v2_2 = v2_1.queryBroadcastReceivers(v0_3, 576);
                if ((v2_2 != null) && (v2_2.size() > 0)) {
                    v1 = ((android.content.pm.ResolveInfo) v2_2.get(0)).activityInfo.name;
                }
            } else {
                return 0;
            }
        }
        return v1;
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'u', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.u():


    public static String u(android.content.Context p4)
    {
        if (!com.baidu.android.pushservice.i.l.E(p4)) {
            java.util.Iterator v0_5 = com.baidu.android.pushservice.i.a.a(p4, "com.baidu.push.cur_pkg");
            String v1_6 = com.baidu.android.pushservice.i.l.s(p4);
            if ((android.text.TextUtils.isEmpty(v0_5)) || (!v1_6.contains(v0_5))) {
                if (!v1_6.isEmpty()) {
                    java.util.Iterator v0_2 = v1_6.iterator();
                    while (v0_2.hasNext()) {
                        String v1_2 = ((String) v0_2.next());
                        if ((!com.baidu.android.pushservice.i.l.z(p4, v1_2)) && ((com.baidu.android.pushservice.i.l.o(p4, v1_2)) && (com.baidu.android.pushservice.i.l.h(p4, v1_2)))) {
                            return v1_2;
                        }
                    }
                }
            } else {
                if ((com.baidu.android.pushservice.i.l.o(p4, v0_5)) && (com.baidu.android.pushservice.i.l.h(p4, v0_5))) {
                    return v0_5;
                }
            }
        } else {
            java.util.Iterator v0_4 = com.baidu.android.pushservice.i.l.s(p4);
            String v1_4 = com.baidu.android.pushservice.i.l.p(p4);
            if (!v0_4.isEmpty()) {
                String v1_5 = v1_4.iterator();
                while (v1_5.hasNext()) {
                    boolean v2_9 = ((android.content.pm.ResolveInfo) v1_5.next()).activityInfo.packageName;
                    if ((v0_4.contains(v2_9)) && ((com.baidu.android.pushservice.i.l.o(p4, v2_9)) && (com.baidu.android.pushservice.i.l.h(p4, v2_9)))) {
                        return v2_9;
                    }
                }
            }
        }
        return 0;
    }

Method com.baidu.android.pushservice.i.l.p():


    public static java.util.List p(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (!com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Z Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p7, boolean p8, boolean p9)
    {
        short v1_3 = new StringBuilder();
        v1_3.append(p7.getPackageName());
        v1_3.append(": updateServiceInfo isForce = ");
        v1_3.append(p8);
        v1_3.append(",isSend = ");
        v1_3.append(p9);
        com.baidu.android.pushservice.f.a.a("Utility", v1_3.toString(), p7.getApplicationContext());
        short v1_2 = 0;
        String v0_2 = p7.getSharedPreferences("pst", 0);
        int v2_2 = com.baidu.android.pushservice.i.l.d(p7, p7.getPackageName());
        if ((v0_2.getInt("pr_app_v", 0) < v2_2) || (p8 != null)) {
            String v8_1 = com.baidu.android.pushservice.i.l.c(p7);
            if ((com.baidu.android.pushservice.b.e.k(p7)) && (!com.baidu.android.pushservice.b.e.c(p7))) {
                v1_2 = 1;
            }
            long v3_4 = 0;
            if ((v8_1 == null) && (v1_2 == 0)) {
                com.baidu.android.pushservice.c.c.a(p7, com.baidu.android.pushservice.i.l.f(p7));
            } else {
                com.baidu.android.pushservice.c.c.a(p7, 0);
            }
            if (com.baidu.android.pushservice.i.l.D(p7)) {
                String v8_2;
                android.content.SharedPreferences$Editor v5_3 = new StringBuilder();
                v5_3.append(p7.getPackageName());
                v5_3.append(".push_sync");
                android.content.SharedPreferences$Editor v5_6 = p7.getSharedPreferences(v5_3.toString(), 5).edit();
                if ((v8_1 == null) && (v1_2 == 0)) {
                    v8_2 = "priority2";
                    v3_4 = com.baidu.android.pushservice.i.l.f(p7);
                } else {
                    v8_2 = "priority2";
                }
                v5_6.putLong(v8_2, v3_4);
                v5_6.putInt("version2", com.baidu.android.pushservice.a.a());
                v5_6.commit();
            }
            com.baidu.android.pushservice.c.c.b(p7, ((long) com.baidu.android.pushservice.a.a()));
            String v8_5 = v0_2.edit();
            v8_5.putInt("pr_app_v", v2_2);
            v8_5.commit();
        }
        if (p9) {
            com.baidu.android.pushservice.i.k.d(p7);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; I)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p3, String p4, int p5)
    {
        java.util.Iterator v4_3;
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.putExtra("r_sync_type", p5);
        v0_1.putExtra("r_sync_rdata_v2", p4);
        v0_1.putExtra("r_sync_from", p3.getPackageName());
        v0_1.setFlags(32);
        if (!com.baidu.android.pushservice.i.l.E(p3)) {
            v4_3 = com.baidu.android.pushservice.i.l.o(p3);
        } else {
            v4_3 = com.baidu.android.pushservice.i.l.p(p3);
        }
        if (v4_3 != null) {
            java.util.Iterator v4_4 = v4_3.iterator();
            while (v4_4.hasNext()) {
                String v1_3 = ((android.content.pm.ResolveInfo) v4_4.next());
                if (com.baidu.android.pushservice.i.l.i(p3, v1_3.activityInfo.packageName)) {
                    com.baidu.android.pushservice.i.l.b(p3, v0_1, "com.baidu.android.pushservice.action.BIND_SYNC", v1_3.activityInfo.packageName);
                }
            }
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; I)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p3, String p4, int p5)
    {
        java.util.Iterator v4_3;
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.putExtra("r_sync_type", p5);
        v0_1.putExtra("r_sync_rdata_v2", p4);
        v0_1.putExtra("r_sync_from", p3.getPackageName());
        v0_1.setFlags(32);
        if (!com.baidu.android.pushservice.i.l.E(p3)) {
            v4_3 = com.baidu.android.pushservice.i.l.o(p3);
        } else {
            v4_3 = com.baidu.android.pushservice.i.l.p(p3);
        }
        if (v4_3 != null) {
            java.util.Iterator v4_4 = v4_3.iterator();
            while (v4_4.hasNext()) {
                String v1_3 = ((android.content.pm.ResolveInfo) v4_4.next());
                if (com.baidu.android.pushservice.i.l.i(p3, v1_3.activityInfo.packageName)) {
                    com.baidu.android.pushservice.i.l.b(p3, v0_1, "com.baidu.android.pushservice.action.BIND_SYNC", v1_3.activityInfo.packageName);
                }
            }
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; J)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p4, long p5)
    {
        android.content.Context v4_1 = p4.getApplicationContext();
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(v4_1);
        String v1 = v4_1.getPackageName();
        String v2_1 = com.baidu.android.pushservice.i.l.c(v4_1, v1, v0.getAction());
        if ((!android.text.TextUtils.isEmpty(v1)) && (!android.text.TextUtils.isEmpty(v2_1))) {
            v0.setClassName(v1, v2_1);
        }
        com.baidu.android.pushservice.i.l.a(v4_1, v0, p5);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; J)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static void a(android.content.Context p4, long p5)
    {
        android.content.Context v4_1 = p4.getApplicationContext();
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(v4_1);
        String v1 = v4_1.getPackageName();
        String v2_1 = com.baidu.android.pushservice.i.l.c(v4_1, v1, v0.getAction());
        if ((!android.text.TextUtils.isEmpty(v1)) && (!android.text.TextUtils.isEmpty(v2_1))) {
            v0.setClassName(v1, v2_1);
        }
        com.baidu.android.pushservice.i.l.a(v4_1, v0, p5);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.PushService' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.baidu.android.pushservice.PushService to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

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

[TAINT] String 'bd.cross.request.ID' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.ID to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'bd.cross.request.SOURCE_PACKAGE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.SOURCE_PACKAGE to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'bd.cross.request.COMMAND_TYPE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.COMMAND_TYPE to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

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

[TAINT] String 'bd.cross.command.MESSAGE_DELIVER' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value bd.cross.command.MESSAGE_DELIVER to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

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

[TAINT] String 'bd.cross.request.NEED_CALLBACK' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.NEED_CALLBACK to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'bd.cross.request.SOURCE_SERVICE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.SOURCE_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

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

[TAINT] String 'bd.cross.request.SENDING' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String; Ljava/lang/String;)I'), ('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.SENDING to construct an Intent

Method com.baidu.android.pushservice.i.l.a():


    public static int a(android.content.Context p2, android.content.Intent p3, String p4, String p5)
    {
        p3.setFlags(32);
        if (com.baidu.android.pushservice.i.l.m(p2, p5) < 50) {
            com.baidu.android.pushservice.i.l.b(p2, p3, p4, p5);
            return 0;
        } else {
            if (!android.text.TextUtils.isEmpty(p4)) {
                p3.setAction(p4);
            }
            if (!android.text.TextUtils.isEmpty(p5)) {
                p3.setPackage(p5);
                p3.setClassName(p5, "com.baidu.android.pushservice.CommandService");
            }
            p3.putExtra("bd.cross.request.COMMAND_TYPE", "bd.cross.command.MESSAGE_DELIVER");
            p3.putExtra("bd.cross.request.SOURCE_SERVICE", "com.baidu.android.pushservice.PushService");
            return new com.baidu.android.pushservice.i.d(p2, p3).b().a();
        }
    }

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'I', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.I():


    private static String I(android.content.Context p3)
    {
        String v3_3;
        if (!com.baidu.android.pushservice.i.l.J(p3)) {
            if (!com.baidu.android.pushservice.i.l.L(p3)) {
                if (!com.baidu.android.pushservice.i.l.K(p3)) {
                    if (!com.baidu.android.pushservice.i.l.M(p3)) {
                        String v3_2;
                        if (!com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.PUSH_SERVICE", "com.baidu.android.pushservice.PushService", 0)) {
                            v3_2 = "com.baidu.android.pushservice.PushService is not exist or did not declared com.baidu.android.pushservice.action.PUSH_SERVICE";
                        } else {
                            v3_2 = "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                        }
                        return v3_2;
                    } else {
                        v3_3 = "vivo service is not found or wrong  declared, please check!";
                    }
                } else {
                    v3_3 = "meizu service is not found or wrong  declared, please check!";
                }
            } else {
                v3_3 = "oppo service is not found or wrong  declared, please check!";
            }
        } else {
            v3_3 = "xiaomi service is not found or wrong  declared, please check!";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'H', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.H():


    private static String H(android.content.Context p3)
    {
        String v3_3;
        if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.notification.SHOW", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
            if (com.baidu.android.pushservice.i.l.a(p3, "android.net.conn.CONNECTIVITY_CHANGE", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
                if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.METHOD", "com.baidu.android.pushservice.RegistrationReceiver", 1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    v3_3 = "com.baidu.android.pushservice.RegistrationReceiver is not exist or did not declared com.baidu.android.pushservice.action.METHOD";
                }
            } else {
                v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared android.net.conn.CONNECTIVITY_CHANGE";
            }
        } else {
            v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared com.baidu.android.pushservice.action.notification.SHOW";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.notification.SHOW' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'H', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'a', '(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Z)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.notification.SHOW to construct an Intent

Method com.baidu.android.pushservice.i.l.H():


    private static String H(android.content.Context p3)
    {
        String v3_3;
        if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.notification.SHOW", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
            if (com.baidu.android.pushservice.i.l.a(p3, "android.net.conn.CONNECTIVITY_CHANGE", "com.baidu.android.pushservice.PushServiceReceiver", 1)) {
                if (com.baidu.android.pushservice.i.l.a(p3, "com.baidu.android.pushservice.action.METHOD", "com.baidu.android.pushservice.RegistrationReceiver", 1)) {
                    return "com.baidu.android.pushservice.CHECK_SDK_RESULT_OK";
                } else {
                    v3_3 = "com.baidu.android.pushservice.RegistrationReceiver is not exist or did not declared com.baidu.android.pushservice.action.METHOD";
                }
            } else {
                v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared android.net.conn.CONNECTIVITY_CHANGE";
            }
        } else {
            v3_3 = "com.baidu.android.pushservice.PushServiceReceiver is not exist or did not declared com.baidu.android.pushservice.action.notification.SHOW";
        }
        android.util.Log.e("BDPushSDK-Utility", v3_3);
        return v3_3;
    }

Method com.baidu.android.pushservice.i.l.a():


    private static boolean a(android.content.Context p5, String p6, String p7, boolean p8)
    {
        StringBuilder v0_1 = new android.content.Intent(p6);
        v0_1.setPackage(p5.getPackageName());
        try {
            android.content.pm.PackageManager v2 = p5.getPackageManager();
        } catch (java.util.Iterator v6_5) {
            boolean v8_18 = new StringBuilder();
            v8_18.append("error  ");
            v8_18.append(v6_5.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v8_18.toString(), p5);
            return 0;
        }
        if (v2 != null) {
            if (!p8) {
                boolean v8_1 = v2.queryIntentServices(v0_1, 576);
                if (v8_1.size() >= 1) {
                    java.util.Iterator v6_1 = v8_1.iterator();
                    while (v6_1.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_1.next()).serviceInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_4 = new StringBuilder();
                    v0_4.append(p7);
                    v0_4.append(" is not exist or did not declared ");
                    v0_4.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_4.toString());
                    return 0;
                }
            } else {
                boolean v8_9 = v2.queryBroadcastReceivers(v0_1, 576);
                if (v8_9.size() >= 1) {
                    java.util.Iterator v6_3 = v8_9.iterator();
                    while (v6_3.hasNext()) {
                        if (p7.equals(((android.content.pm.ResolveInfo) v6_3.next()).activityInfo.name)) {
                            return 1;
                        }
                    }
                    return 0;
                } else {
                    StringBuilder v0_7 = new StringBuilder();
                    v0_7.append(p7);
                    v0_7.append(" is not exist or did not declared ");
                    v0_7.append(p6);
                    android.util.Log.e("BDPushSDK-Utility", v0_7.toString());
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.meizu.cloud.pushservice.action.PUSH_SERVICE_START' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'G', '(Landroid/content/Context;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.meizu.cloud.pushservice.action.PUSH_SERVICE_START to construct an Intent

Method com.baidu.android.pushservice.i.l.G():


    private static boolean G(android.content.Context p5)
    {
        java.util.Iterator v0_2 = new android.content.Intent("com.meizu.cloud.pushservice.action.PUSH_SERVICE_START");
        v0_2.addCategory("android.intent.category.DEFAULT");
        v0_2.setPackage(p5.getPackageName());
        try {
            boolean v3_0 = p5.getPackageManager();
        } catch (java.util.Iterator v0_4) {
            boolean v3_9 = new StringBuilder();
            v3_9.append("error  ");
            v3_9.append(v0_4.getMessage());
            com.baidu.android.pushservice.f.a.b("Utility", v3_9.toString(), p5);
            return 0;
        }
        if (v3_0) {
            java.util.Iterator v0_1 = v3_0.queryBroadcastReceivers(v0_2, 576);
            if (v0_1.size() >= 1) {
                java.util.Iterator v0_3 = v0_1.iterator();
                while (v0_3.hasNext()) {
                    if ("com.meizu.cloud.pushsdk.SystemReceiver".equals(((android.content.pm.ResolveInfo) v0_3.next()).activityInfo.name)) {
                        return 1;
                    }
                }
                return 0;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.CLOSEDEBUGMODE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.CLOSEDEBUGMODE to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/h;'), ('Lcom/baidu/android/pushservice/h;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

Method com.baidu.android.pushservice.h.a():


    public static declared_synchronized com.baidu.android.pushservice.h a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.h.c == null) {
                com.baidu.android.pushservice.h.c = new com.baidu.android.pushservice.h(p2);
            }
        } catch (com.baidu.android.pushservice.h v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.h.c;
    }

Method com.baidu.android.pushservice.h.<init>():


    private h(android.content.Context p1)
    {
        this.a = p1;
        com.baidu.android.pushservice.a.b.a(p1);
        com.baidu.android.pushservice.i.a(p1);
        com.baidu.android.pushservice.h.d.a();
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.SEND_APPSTAT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.baidu.android.pushservice.action.SEND_APPSTAT to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.OPENDEBUGMODE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.OPENDEBUGMODE to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l;', 'B', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l.B():


    public static void B(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.putExtra("method", "com.baidu.android.pushservice.action.SEND_APPSTAT");
        com.baidu.android.pushservice.h.a(p3.getApplicationContext()).a(v0_1);
        return;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.OPENDEBUGMODE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l$1;', 'onStateChanged', '(I)V'), ('Lcom/baidu/android/pushservice/e;', 'f', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/e;', 'b', '(Landroid/content/Context; I)V'), ('Lcom/baidu/android/pushservice/e;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.OPENDEBUGMODE to construct an Intent

Method com.baidu.android.pushservice.i.l$1.onStateChanged():


    public void onStateChanged(int p4)
    {
        if (p4 != 101) {
            if ((p4 == null) || (p4 == 1)) {
                com.baidu.android.pushservice.i.i.a(this.a, "vi_push_proxy_mode", 1);
                if (!com.baidu.android.pushservice.b.e.c(this.a)) {
                    com.baidu.android.pushservice.a.b(this.a, 0);
                    com.baidu.android.pushservice.i.l.a(this.a, 1, 0);
                } else {
                    com.baidu.android.pushservice.i.l.a(this.a, 1, 1);
                }
                String v4_7 = com.vivo.push.PushClient.getInstance(this.a).getRegId();
                if (!android.text.TextUtils.isEmpty(v4_7)) {
                    com.baidu.android.pushservice.e.a(this.a, v4_7);
                    return;
                }
            }
            com.baidu.android.pushservice.e.j(this.a);
        } else {
            com.baidu.android.pushservice.a.b(this.a, 1);
            com.baidu.android.pushservice.i.i.a(this.a, "vi_push_proxy_mode", 0);
            com.baidu.android.pushservice.PushManager.enableVivoProxy(this.a, 0);
            com.baidu.android.pushservice.e.f(this.a);
            com.baidu.android.pushservice.i.l.a(this.a, 1, 1);
        }
        return;
    }

Method com.baidu.android.pushservice.e.f():


    public static void f(android.content.Context p3)
    {
        int v0_1 = new StringBuilder();
        v0_1.append("startWork at time of ");
        v0_1.append(System.currentTimeMillis());
        com.baidu.android.pushservice.i.l.b(v0_1.toString(), p3);
        if (!com.baidu.android.pushservice.b.e.l(p3)) {
            com.baidu.android.pushservice.i.k.a(p3);
        } else {
            com.baidu.android.pushservice.i.l.a(p3, 1, 1);
        }
        com.baidu.android.pushservice.e.b(p3, 0);
        return;
    }

Method com.baidu.android.pushservice.e.b():


    public static void b(android.content.Context p3, int p4)
    {
        String v4_1 = com.baidu.android.pushservice.e.a(p3, p4);
        if (v4_1 != null) {
            com.baidu.android.pushservice.f.a.a("PushManagerHandler", "a bind intent send", p3.getApplicationContext());
            com.baidu.android.pushservice.e.a(p3, v4_1);
            com.baidu.android.pushservice.i.l.b("Bind by selfEventHandler", p3);
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.e.a():


    public static boolean a(android.content.Context p0, android.content.Intent p1)
    {
        return com.baidu.android.pushservice.h.a(p0).a(p1);
    }

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l$1;', 'onStateChanged', '(I)V'), ('Lcom/baidu/android/pushservice/e;', 'f', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.l$1.onStateChanged():


    public void onStateChanged(int p4)
    {
        if (p4 != 101) {
            if ((p4 == null) || (p4 == 1)) {
                com.baidu.android.pushservice.i.i.a(this.a, "vi_push_proxy_mode", 1);
                if (!com.baidu.android.pushservice.b.e.c(this.a)) {
                    com.baidu.android.pushservice.a.b(this.a, 0);
                    com.baidu.android.pushservice.i.l.a(this.a, 1, 0);
                } else {
                    com.baidu.android.pushservice.i.l.a(this.a, 1, 1);
                }
                String v4_7 = com.vivo.push.PushClient.getInstance(this.a).getRegId();
                if (!android.text.TextUtils.isEmpty(v4_7)) {
                    com.baidu.android.pushservice.e.a(this.a, v4_7);
                    return;
                }
            }
            com.baidu.android.pushservice.e.j(this.a);
        } else {
            com.baidu.android.pushservice.a.b(this.a, 1);
            com.baidu.android.pushservice.i.i.a(this.a, "vi_push_proxy_mode", 0);
            com.baidu.android.pushservice.PushManager.enableVivoProxy(this.a, 0);
            com.baidu.android.pushservice.e.f(this.a);
            com.baidu.android.pushservice.i.l.a(this.a, 1, 1);
        }
        return;
    }

Method com.baidu.android.pushservice.e.f():


    public static void f(android.content.Context p3)
    {
        int v0_1 = new StringBuilder();
        v0_1.append("startWork at time of ");
        v0_1.append(System.currentTimeMillis());
        com.baidu.android.pushservice.i.l.b(v0_1.toString(), p3);
        if (!com.baidu.android.pushservice.b.e.l(p3)) {
            com.baidu.android.pushservice.i.k.a(p3);
        } else {
            com.baidu.android.pushservice.i.l.a(p3, 1, 1);
        }
        com.baidu.android.pushservice.e.b(p3, 0);
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p3)
    {
        String v1_1 = new StringBuilder();
        v1_1.append("--- Start Service from ");
        v1_1.append(p3.getPackageName());
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_1.toString(), p3.getApplicationContext());
        if (!com.baidu.android.pushservice.a.b(p3)) {
            com.baidu.android.pushservice.i.k.d(p3);
        } else {
            com.baidu.android.pushservice.i.k.b(p3);
            com.baidu.android.pushservice.a.a(p3, 0);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.CLOSEDEBUGMODE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/l$1;', 'onStateChanged', '(I)V'), ('Lcom/baidu/android/pushservice/e;', 'f', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/e;', 'b', '(Landroid/content/Context; I)V'), ('Lcom/baidu/android/pushservice/e;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.CLOSEDEBUGMODE to construct an Intent

Method com.baidu.android.pushservice.i.l$1.onStateChanged():


    public void onStateChanged(int p4)
    {
        if (p4 != 101) {
            if ((p4 == null) || (p4 == 1)) {
                com.baidu.android.pushservice.i.i.a(this.a, "vi_push_proxy_mode", 1);
                if (!com.baidu.android.pushservice.b.e.c(this.a)) {
                    com.baidu.android.pushservice.a.b(this.a, 0);
                    com.baidu.android.pushservice.i.l.a(this.a, 1, 0);
                } else {
                    com.baidu.android.pushservice.i.l.a(this.a, 1, 1);
                }
                String v4_7 = com.vivo.push.PushClient.getInstance(this.a).getRegId();
                if (!android.text.TextUtils.isEmpty(v4_7)) {
                    com.baidu.android.pushservice.e.a(this.a, v4_7);
                    return;
                }
            }
            com.baidu.android.pushservice.e.j(this.a);
        } else {
            com.baidu.android.pushservice.a.b(this.a, 1);
            com.baidu.android.pushservice.i.i.a(this.a, "vi_push_proxy_mode", 0);
            com.baidu.android.pushservice.PushManager.enableVivoProxy(this.a, 0);
            com.baidu.android.pushservice.e.f(this.a);
            com.baidu.android.pushservice.i.l.a(this.a, 1, 1);
        }
        return;
    }

Method com.baidu.android.pushservice.e.f():


    public static void f(android.content.Context p3)
    {
        int v0_1 = new StringBuilder();
        v0_1.append("startWork at time of ");
        v0_1.append(System.currentTimeMillis());
        com.baidu.android.pushservice.i.l.b(v0_1.toString(), p3);
        if (!com.baidu.android.pushservice.b.e.l(p3)) {
            com.baidu.android.pushservice.i.k.a(p3);
        } else {
            com.baidu.android.pushservice.i.l.a(p3, 1, 1);
        }
        com.baidu.android.pushservice.e.b(p3, 0);
        return;
    }

Method com.baidu.android.pushservice.e.b():


    public static void b(android.content.Context p3, int p4)
    {
        String v4_1 = com.baidu.android.pushservice.e.a(p3, p4);
        if (v4_1 != null) {
            com.baidu.android.pushservice.f.a.a("PushManagerHandler", "a bind intent send", p3.getApplicationContext());
            com.baidu.android.pushservice.e.a(p3, v4_1);
            com.baidu.android.pushservice.i.l.b("Bind by selfEventHandler", p3);
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.e.a():


    public static boolean a(android.content.Context p0, android.content.Intent p1)
    {
        return com.baidu.android.pushservice.h.a(p0).a(p1);
    }

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p3)
    {
        String v1_1 = new StringBuilder();
        v1_1.append("--- Start Service from ");
        v1_1.append(p3.getPackageName());
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_1.toString(), p3.getApplicationContext());
        if (!com.baidu.android.pushservice.a.b(p3)) {
            com.baidu.android.pushservice.i.k.d(p3);
        } else {
            com.baidu.android.pushservice.i.k.b(p3);
            com.baidu.android.pushservice.a.a(p3, 0);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p3)
    {
        String v1_1 = new StringBuilder();
        v1_1.append("--- Start Service from ");
        v1_1.append(p3.getPackageName());
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_1.toString(), p3.getApplicationContext());
        if (!com.baidu.android.pushservice.a.b(p3)) {
            com.baidu.android.pushservice.i.k.d(p3);
        } else {
            com.baidu.android.pushservice.i.k.b(p3);
            com.baidu.android.pushservice.a.a(p3, 0);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'd', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p3)
    {
        String v1_1 = new StringBuilder();
        v1_1.append("--- Start Service from ");
        v1_1.append(p3.getPackageName());
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_1.toString(), p3.getApplicationContext());
        if (!com.baidu.android.pushservice.a.b(p3)) {
            com.baidu.android.pushservice.i.k.d(p3);
        } else {
            com.baidu.android.pushservice.i.k.b(p3);
            com.baidu.android.pushservice.a.a(p3, 0);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.d():


    public static void d(android.content.Context p5)
    {
        com.baidu.android.pushservice.b.e.a(p5).e();
        if ((!com.baidu.android.pushservice.b.e.k(p5)) || (com.baidu.android.pushservice.b.e.c(p5))) {
            boolean v0_1 = com.baidu.android.pushservice.i.l.u(p5);
            int v1_0 = p5.getPackageName();
            com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p5);
            String v2_1 = 0;
            if ((com.baidu.android.pushservice.a.a(v1_0)) && (!v1_0.equals(com.baidu.android.pushservice.i.k.a))) {
                v0_1 = v1_0;
                v2_1 = 1;
            }
            com.baidu.android.pushservice.a.c(p5, v2_1);
            if ((android.text.TextUtils.isEmpty(v0_1)) || ((!v0_1.equals(com.baidu.android.pushservice.i.k.a)) || (v2_1 != null))) {
                com.baidu.android.pushservice.i.k.a(p5, v0_1);
            }
            if ((p5.getPackageName().startsWith("com.baidu.searchbox")) && ((!com.baidu.android.pushservice.job.a.b()) && ((!com.baidu.android.pushservice.i.l.l(p5)) && ((!com.baidu.android.pushservice.b.e.c(p5)) && ((android.os.Build$VERSION.SDK_INT > 22) || ((!com.baidu.android.pushservice.i.l.d()) && (!com.baidu.android.pushservice.i.l.e()))))))) {
                com.baidu.android.pushservice.job.a.a(p5);
                com.baidu.android.pushservice.job.a.a(1);
            }
            com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.k$1("checkAndStartPushService", 98, p5.getApplicationContext()));
            return;
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p5, String p6)
    {
        String v1_3;
        android.content.Intent v0 = com.baidu.android.pushservice.i.k.c(p5);
        if (com.baidu.android.pushservice.i.l.E(p5)) {
            v0.putExtra("method", "pushservice_restart_v3");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority3";
                v0.putExtra(v1_3, nan);
            }
        } else {
            v0.putExtra("method", "pushservice_restart_v2");
            if ((!android.text.TextUtils.isEmpty(p6)) && (p6.equals(p5.getPackageName()))) {
                v1_3 = "priority2";
            }
        }
        com.baidu.android.pushservice.i.k.a(p5, v0, p6);
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'bd.cross.request.SENDING' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.SENDING to construct an Intent

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'bd.cross.request.SOURCE_PACKAGE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.SOURCE_PACKAGE to construct an Intent

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'bd.cross.request.ID' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.ID to construct an Intent

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'bd.cross.request.NEED_CALLBACK' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/i/d;', 'b', '()Lcom/baidu/android/pushservice/message/g;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Z)Landroid/content/Intent;')]]

Use of a string value bd.cross.request.NEED_CALLBACK to construct an Intent

Method com.baidu.android.pushservice.i.d.b():


    public com.baidu.android.pushservice.message.g b()
    {
        this.e.putExtra("bd.cross.request.SOURCE_PACKAGE", this.d.getPackageName());
        this.e.putExtra("bd.cross.request.ID", this.a);
        this.e.putExtra("bd.cross.request.NEED_CALLBACK", 1);
        this.e.putExtra("bd.cross.request.SENDING", 1);
        com.baidu.android.pushservice.i.c.a(this);
        this.d.startService(this.e);
        Throwable v0_5 = new com.baidu.android.pushservice.message.g();
        boolean v2_3 = new StringBuilder();
        v2_3.append("timeOutRunnable-");
        v2_3.append(this.a);
        com.baidu.android.pushservice.h.d.a().a(new com.baidu.android.pushservice.i.d$1(this, v2_3.toString(), 50));
        if (this.b == null) {
            com.baidu.android.pushservice.i.d.f.wait();
            this.c();
            byte[] v1_7 = this.g;
            if (v1_7 == null) {
                v0_5.a(11);
            } else {
                v0_5.a(v1_7.getIntExtra("bd.cross.request.RESULT_CODE", 10));
                if (this.g.hasExtra("bd.cross.request.RESULT_DATA")) {
                    byte[] v1_13 = this.g.getStringExtra("bd.cross.request.RESULT_DATA");
                    if (!android.text.TextUtils.isEmpty(v1_13)) {
                        v0_5.a(v1_13.getBytes());
                    }
                }
            }
        }
        return v0_5;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.METHOD' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.METHOD to construct an Intent

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.PUSH_SERVICE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent; Ljava/lang/String;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'i', '(Landroid/content/Context; Ljava/lang/String;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.PUSH_SERVICE to construct an Intent

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.a():


    private static void a(android.content.Context p4, android.content.Intent p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p6)) {
            p5.setPackage(p6);
        }
        android.content.Context v1_7 = new StringBuilder();
        v1_7.append("startPushService go on pkgName = ");
        v1_7.append(p6);
        com.baidu.android.pushservice.f.a.a("ServiceUtils", v1_7.toString(), p4.getApplicationContext());
        try {
            if (!android.text.TextUtils.isEmpty(p6)) {
                p5.setClassName(p6, "com.baidu.android.pushservice.PushService");
                p4.startService(p5);
                com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by startService", p4.getApplicationContext());
                return;
            }
        } catch (String v0_2) {
            String v2_2 = new StringBuilder();
            v2_2.append("START SERVICE E: ");
            v2_2.append(v0_2);
            com.baidu.android.pushservice.f.a.b("ServiceUtils", v2_2.toString(), p4.getApplicationContext());
        }
        if (!com.baidu.android.pushservice.i.l.F(p4)) {
            if (com.baidu.android.pushservice.i.l.i(p4, p6)) {
                try {
                    String v0_7 = com.baidu.android.pushservice.i.l.c(p4, p6, p5.getAction());
                } catch (String v6_1) {
                    android.content.Context v1_4 = new StringBuilder();
                    v1_4.append("START SERVICE E-2: ");
                    v1_4.append(v6_1);
                    com.baidu.android.pushservice.f.a.b("ServiceUtils", v1_4.toString(), p4.getApplicationContext());
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                }
                if (android.text.TextUtils.isEmpty(v0_7)) {
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast all", p4.getApplicationContext());
                    return;
                } else {
                    p5.setClassName(p6, v0_7);
                    p4.sendBroadcast(p5);
                    com.baidu.android.pushservice.f.a.a("ServiceUtils", "startPushService by sendBroadcast", p4.getApplicationContext());
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.baidu.android.pushservice.i.l.i():


    public static boolean i(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.PUSH_SERVICE");
        v0_1.setPackage(p3);
        int v3_1 = 0;
        try {
            int v2_3 = p2.getPackageManager();
        } catch (Exception) {
            int v2_1 = 0;
        }
        if (v2_3 != 0) {
            v2_1 = v2_3.queryIntentServices(v0_1, 576);
            if ((v2_1 != 0) && (v2_1.size() > 0)) {
                v3_1 = 1;
            }
            return v3_1;
        } else {
            return 0;
        }
    }

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

[TAINT] String '.push_sync' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/i/k;', 'a', '(Landroid/content/Context; Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/i/k;', 'c', '(Landroid/content/Context;)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; J)Landroid/content/Intent;')]]

Use of a string value .push_sync to construct an Intent

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

Method com.baidu.android.pushservice.i.k.a():


    public static void a(android.content.Context p2, android.content.Intent p3)
    {
        if ((p3 == null) || (android.text.TextUtils.isEmpty(p3.getAction()))) {
            p3 = com.baidu.android.pushservice.i.k.c(p2);
        }
        if ((com.baidu.android.pushservice.b.e.k(p2)) && (!com.baidu.android.pushservice.b.e.c(p2))) {
            com.baidu.android.pushservice.h.a(p2).a(p3);
        } else {
            if ((android.text.TextUtils.isEmpty(com.baidu.android.pushservice.i.k.a)) || (p2.getPackageName().equals(com.baidu.android.pushservice.i.k.a))) {
                com.baidu.android.pushservice.i.k.a = com.baidu.android.pushservice.i.l.v(p2);
            }
            com.baidu.android.pushservice.i.k.a(p2, p3, com.baidu.android.pushservice.i.k.a);
        }
        return;
    }

Method com.baidu.android.pushservice.i.k.c():


    public static android.content.Intent c(android.content.Context p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.baidu.android.pushservice.action.METHOD");
        v0_1.addFlags(32);
        try {
            String v1_2;
            v0_1.putExtra("pkg_name", p4.getPackageName());
            v0_1.putExtra("method_version", "V2");
        } catch (Exception) {
            return v0_1;
        }
        if (com.baidu.android.pushservice.i.l.E(p4)) {
            v1_2 = "priority3";
        } else {
            v1_2 = "priority2";
        }
        v0_1.putExtra(v1_2, com.baidu.android.pushservice.i.l.h(p4));
        return v0_1;
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.CLOSEDEBUGMODE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.CLOSEDEBUGMODE to construct an Intent

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.OPENDEBUGMODE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.OPENDEBUGMODE to construct an Intent

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'a', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/PushSettings;', 'enableDebugMode', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/PushSettings;', 'a', '(Landroid/content/Context; Z)V'), ('Lcom/baidu/android/pushservice/i/l;', 'v', '(Landroid/content/Context;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'p', '(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.h.a():


    public boolean a(android.content.Intent p11)
    {
        int v0_0 = 0;
        if ((p11 != null) && (!android.text.TextUtils.isEmpty(p11.getAction()))) {
            String v4 = p11.getAction();
            boolean v1_0 = new StringBuilder();
            v1_0.append("handleIntent#action = ");
            v1_0.append(v4);
            com.baidu.android.pushservice.i.l.b(v1_0.toString(), this.a);
            if (!"com.baidu.android.pushservice.action.OPENDEBUGMODE".equals(v4)) {
                if (!"com.baidu.android.pushservice.action.CLOSEDEBUGMODE".equals(v4)) {
                    if ((!"com.baidu.pushservice.action.publicmsg.CLICK_V2".equals(v4)) && (!"com.baidu.pushservice.action.publicmsg.DELETE_V2".equals(v4))) {
                        if ((!"com.baidu.android.pushservice.action.privatenotification.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.privatenotification.DELETE".equals(v4))) {
                            String v2_50 = 0;
                            if ((!"com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(v4)) && ((!"com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(v4)) && (!"com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(v4)))) {
                                if ((!"com.baidu.android.pushservice.action.media.CLICK".equals(v4)) && (!"com.baidu.android.pushservice.action.media.DELETE".equals(v4))) {
                                    if ("com.baidu.android.pushservice.action.alarm.message".equals(v4)) {
                                        boolean v1_41 = ((com.baidu.android.pushservice.message.k) p11.getSerializableExtra("tinyMessageHead"));
                                        byte[] v3_2 = p11.getByteArrayExtra("msgBody");
                                        v1_41.a(0);
                                        com.baidu.android.pushservice.message.a.a v5_2 = com.baidu.android.pushservice.c.a.c(this.a, v1_41.h());
                                        if ((v5_2 == null) || (v5_2.f != 0)) {
                                            new com.baidu.android.pushservice.message.a.a(this.a).a(v1_41, v3_2);
                                        } else {
                                            com.baidu.android.pushservice.c.a.d(this.a, v1_41.h());
                                            return 1;
                                        }
                                    }
                                    if (!"com.baidu.pushservice.action.TOKEN".equals(v4)) {
                                        if ("com.baidu.android.pushservice.action.METHOD".equals(v4)) {
                                            boolean v1_48 = p11.getStringExtra("method");
                                            if (!"method_bind".equals(v1_48)) {
                                                if (!"method_sdk_bind".equals(v1_48)) {
                                                    if (!"method_unbind".equals(v1_48)) {
                                                        if (!"method_sdk_unbind".equals(v1_48)) {
                                                            if (!"com.baidu.android.pushservice.action.UNBINDAPP".equals(v1_48)) {
                                                                if (!"method_fetch".equals(v1_48)) {
                                                                    if (!"method_count".equals(v1_48)) {
                                                                        if (!"method_delete".equals(v1_48)) {
                                                                            if (!"method_gbind".equals(v1_48)) {
                                                                                if ((!"method_set_tags".equals(v1_48)) && (!"method_set_sdk_tags".equals(v1_48))) {
                                                                                    if ((!"method_del_tags".equals(v1_48)) && (!"method_del_sdk_tags".equals(v1_48))) {
                                                                                        if (!"method_gunbind".equals(v1_48)) {
                                                                                            if (!"method_ginfo".equals(v1_48)) {
                                                                                                if (!"method_glist".equals(v1_48)) {
                                                                                                    if ((!"method_listtags".equals(v1_48)) && (!"method_list_sdk_tags".equals(v1_48))) {
                                                                                                        if (!"method_fetchgmsg".equals(v1_48)) {
                                                                                                            if (!"method_countgmsg".equals(v1_48)) {
                                                                                                                if (!"method_online".equals(v1_48)) {
                                                                                                                    if (!"method_send".equals(v1_48)) {
                                                                                                                        if (!"com.baidu.android.pushservice.action.SEND_APPSTAT".equals(v1_48)) {
                                                                                                                            if (!"com.baidu.android.pushservice.action.ENBALE_APPSTAT".equals(v1_48)) {
                                                                                                                                if ("method_send_msg_to_user".equals(v1_48)) {
                                                                                                                                    this.u(p11);
                                                                                                                                    v0_0 = 1;
                                                                                                                                }
                                                                                                                            } else {
                                                                                                                                this.w(p11);
                                                                                                                            }
                                                                                                                        } else {
                                                                                                                            this.v(p11);
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        this.t(p11);
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    this.s(p11);
                                                                                                                }
                                                                                                            } else {
                                                                                                                this.r(p11);
                                                                                                            }
                                                                                                        } else {
                                                                                                            this.q(p11);
                                                                                                        }
                                                                                                    } else {
                                                                                                        this.o(p11);
                                                                                                    }
                                                                                                } else {
                                                                                                    this.p(p11);
                                                                                                }
                                                                                            } else {
                                                                                                this.n(p11);
                                                                                            }
                                                                                        } else {
                                                                                            this.m(p11);
                                                                                        }
                                                                                    } else {
                                                                                        this.l(p11);
                                                                                    }
                                                                                } else {
                                                                                    this.k(p11);
                                                                                }
                                                                            } else {
                                                                                this.j(p11);
                                                                            }
                                                                        } else {
                                                                            this.i(p11);
                                                                        }
                                                                    } else {
                                                                        this.h(p11);
                                                                    }
                                                                } else {
                                                                    this.g(p11);
                                                                }
                                                            } else {
                                                                this.f(p11);
                                                            }
                                                        } else {
                                                            this.e(p11);
                                                        }
                                                    } else {
                                                        this.d(p11);
                                                    }
                                                } else {
                                                    this.c(p11);
                                                }
                                            } else {
                                                this.b(p11);
                                            }
                                            return v0_0;
                                        } else {
                                            return 0;
                                        }
                                    } else {
                                        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< ACTION_TOKEN ", this.a);
                                        if (!com.baidu.android.pushservice.i.a(this.a).e()) {
                                            com.baidu.android.pushservice.i.a(this.a).a(this.a, 1, 0);
                                        }
                                        return 1;
                                    }
                                } else {
                                    int v0_6 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                                    String vtmp31 = p11.getStringExtra("app_id");
                                    if (v0_6 != 0) {
                                        v0_6.handleRichMediaNotification(this.a, v4, vtmp31);
                                    }
                                    return 1;
                                }
                            } else {
                                int v0_10;
                                com.baidu.android.pushservice.i.l.b("push_passthrough: receive  click delete and notified action", this.a);
                                if (!p11.hasExtra("app_id")) {
                                    v0_10 = 0;
                                } else {
                                    v0_10 = p11.getStringExtra("app_id");
                                }
                                if (p11.hasExtra("msg_id")) {
                                    v2_50 = p11.getStringExtra("msg_id");
                                }
                                com.baidu.android.pushservice.g.k.a(this.a, v2_50, v0_10, v4);
                                return 1;
                            }
                        } else {
                            String v2_52 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                            if (com.baidu.android.pushservice.i.l.b(this.a, v2_52)) {
                                v2_52.handlePrivateNotification(this.a, v4, p11.getStringExtra("msg_id"), p11.getStringExtra("app_id"), p11.getByteArrayExtra("baidu_message_secur_info"), p11.getByteArrayExtra("baidu_message_body"));
                                return 1;
                            } else {
                                return 1;
                            }
                        }
                    } else {
                        int v0_22 = ((com.baidu.android.pushservice.message.PublicMsg) p11.getParcelableExtra("public_msg"));
                        com.baidu.android.pushservice.i v11_11 = p11.getData().getHost();
                        if (v0_22 != 0) {
                            v0_22.handle(this.a, v4, v11_11);
                        }
                        return 1;
                    }
                } else {
                    com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 0);
                    com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is close", this.a);
                    return 1;
                }
            } else {
                com.baidu.android.pushservice.PushSettings.enableDebugMode(this.a, 1);
                com.baidu.android.pushservice.f.a.a("RegistrationService", "<<<debugMode is open", this.a);
                return 1;
            }
        } else {
            return 0;
        }
    }

Method com.baidu.android.pushservice.PushSettings.enableDebugMode():


    public static void enableDebugMode(android.content.Context p1, boolean p2)
    {
        com.baidu.android.pushservice.PushSettings.a = p2;
        if (!com.baidu.android.pushservice.b.e.k(p1)) {
            com.baidu.android.pushservice.PushSettings.a(p1, p2);
        }
        return;
    }

Method com.baidu.android.pushservice.PushSettings.a():


    private static void a(android.content.Context p4, boolean p5)
    {
        try {
            boolean v0_0 = p4.getPackageName();
            String v1 = com.baidu.android.pushservice.i.l.v(p4);
            String v2 = "com.baidu.android.pushservice.action.OPENDEBUGMODE";
        } catch (Exception) {
            return;
        }
        if (android.text.TextUtils.isEmpty(v1)) {
            return;
        } else {
            if (!v0_0.equals(v1)) {
                if (p5 == null) {
                    v2 = "com.baidu.android.pushservice.action.CLOSEDEBUGMODE";
                }
                com.baidu.android.pushservice.i.k.a(p4, new android.content.Intent(v2));
                return;
            } else {
                return;
            }
        }
    }

Method com.baidu.android.pushservice.i.l.v():


    public static String v(android.content.Context p1)
    {
        return com.baidu.android.pushservice.i.l.p(p1, p1.getPackageName());
    }

Method com.baidu.android.pushservice.i.l.p():

Couldn't retrieve source code

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'f', '(Landroid/content/Intent;)Z'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.h.f():


    private boolean f(android.content.Intent p5)
    {
        String v0_1 = p5.getStringExtra("package_name");
        String v1_0 = p5.getStringExtra("app_id");
        if (android.text.TextUtils.isEmpty(v1_0)) {
            com.baidu.android.pushservice.d.l v2_1 = com.baidu.android.pushservice.a.b.a(this.a).c(v0_1);
            if (v2_1 != null) {
                v1_0 = v2_1.a();
            }
        }
        String v5_1 = p5.getStringExtra("user_id");
        com.baidu.android.pushservice.d.l v2_4 = new com.baidu.android.pushservice.d.l();
        v2_4.a = "com.baidu.android.pushservice.action.UNBINDAPP";
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            v2_4.e = v0_1;
        }
        if ((!android.text.TextUtils.isEmpty(v1_0)) && (!"null".equals(v1_0))) {
            v2_4.f = v1_0;
        }
        if ((!android.text.TextUtils.isEmpty(v5_1)) && (!"null".equals(v5_1))) {
            v2_4.g = v5_1;
        }
        if (!android.text.TextUtils.isEmpty(v2_4.e)) {
            String v5_6 = com.baidu.android.pushservice.a.b.a(this.a).c(v2_4.e);
            if ((v5_6 != null) && (!android.text.TextUtils.isEmpty(v5_6.a()))) {
                v2_4.f = v5_6.a();
            }
            com.baidu.android.pushservice.a.b.a(this.a).g(v2_4.e);
        }
        return this.a(new com.baidu.android.pushservice.d.aa(v2_4, this.a));
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'd', '(Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.h.d():


    private void d(android.content.Intent p4)
    {
        com.baidu.android.pushservice.d.l v0_1 = new com.baidu.android.pushservice.d.l(p4);
        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< METHOD_UNBIND ", this.a);
        if ((!android.text.TextUtils.isEmpty(v0_1.e)) && (!android.text.TextUtils.isEmpty(v0_1.i))) {
            String v4_5 = com.baidu.android.pushservice.a.b.a(this.a).c(v0_1.e);
            if ((v4_5 != null) && (!android.text.TextUtils.isEmpty(v4_5.a()))) {
                v0_1.f = v4_5.a();
            }
            com.baidu.android.pushservice.a.b.a(this.a).g(v0_1.e);
        }
        this.a(new com.baidu.android.pushservice.d.z(v0_1, this.a));
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.pushservice.a.b.a(v2_2));
                java.util.Iterator v3_5 = p13.iterator();
                while (v3_5.hasNext()) {
                    com.baidu.android.pushservice.a.f v5_4 = ((com.baidu.android.pushservice.a.f) v3_5.next());
                    if (android.text.TextUtils.equals(v2_4.c, v5_4.c)) {
                        p13.remove(v5_4);
                        p13.add(v2_4);
                    }
                    if (v4_0 == 0) {
                        p13.add(v2_4);
                    }
                }
                v4_0 = 0;
            }
        }
        if (p13.size() > 0) {
            String v13_2 = this.b(this.a(p13));
            com.baidu.android.pushservice.c.c.c(this.c, v13_2);
            if (com.baidu.android.pushservice.i.l.D(this.c)) {
                com.baidu.android.pushservice.i.m.a(this.c, v0_2, p12, v13_2);
            }
        }
        return;
    }

Method com.baidu.android.pushservice.i.l.o():


    public static java.util.List o(android.content.Context p5)
    {
        java.util.List v0_1 = new java.util.ArrayList();
        try {
            java.util.ArrayList v1_2 = p5.getPackageManager();
        } catch (Exception) {
            return v0_1;
        }
        if (v1_2 != null) {
            v0_1 = v1_2.queryBroadcastReceivers(new android.content.Intent("com.baidu.android.pushservice.action.BIND_SYNC"), 576);
            java.util.ArrayList v1_1 = new java.util.ArrayList();
            java.util.Iterator v2_0 = v0_1.iterator();
            while (v2_0.hasNext()) {
                android.content.pm.ResolveInfo v3_2 = ((android.content.pm.ResolveInfo) v2_0.next());
                if (com.baidu.android.pushservice.i.l.z(p5, v3_2.activityInfo.packageName)) {
                    v1_1.add(v3_2);
                }
            }
            v0_1.removeAll(v1_1);
            return v0_1;
        } else {
            return v0_1;
        }
    }

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

[TAINT] String 'com.baidu.android.pushservice.action.BIND_SYNC' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/baidu/android/pushservice/h;', 'b', '(Landroid/content/Intent;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Landroid/content/Context;)Lcom/baidu/android/pushservice/a/b;'), ('Lcom/baidu/android/pushservice/a/b;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '()V'), ('Lcom/baidu/android/pushservice/a/b;', 'a', '(Ljava/lang/String; Ljava/util/ArrayList;)V'), ('Lcom/baidu/android/pushservice/i/l;', 'o', '(Landroid/content/Context;)Ljava/util/List;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.baidu.android.pushservice.action.BIND_SYNC to construct an Intent

Method com.baidu.android.pushservice.h.b():


    private void b(android.content.Intent p10)
    {
        com.baidu.android.pushservice.d.l v6_1 = new com.baidu.android.pushservice.d.l(p10);
        int v7 = p10.getIntExtra("bind_status", 0);
        int v8 = p10.getIntExtra("push_sdk_version", 0);
        com.baidu.android.pushservice.f.a.a("RegistrationService", "<<< METHOD_BIND ", this.a);
        android.content.Context v0_4 = new StringBuilder();
        v0_4.append("RegistrationService#handleBind#METHOD_BIND request arrive at ");
        v0_4.append(System.currentTimeMillis());
        com.baidu.android.pushservice.i.l.b(v0_4.toString(), this.a);
        android.content.Context v0_9 = com.baidu.android.pushservice.a.b.a(this.a).f(v6_1.e);
        if ((android.text.TextUtils.isEmpty(v6_1.i)) || ((!com.baidu.android.pushservice.a.b.a(this.a).b(v6_1.e, v6_1.i)) || (android.text.TextUtils.isEmpty(v0_9)))) {
            android.content.Context v0_18;
            String v10_9;
            android.content.Context v0_11 = new StringBuilder();
            v0_11.append("RegistrationService#handleBind#METHOD_BIND request start at ");
            v0_11.append(System.currentTimeMillis());
            com.baidu.android.pushservice.i.l.b(v0_11.toString(), this.a);
            if (!p10.hasExtra("bind_notify_status")) {
                v10_9 = this.a(new com.baidu.android.pushservice.d.f(v6_1, this.a, v7, v8));
                v0_18 = new StringBuilder();
            } else {
                String v10_10 = new com.baidu.android.pushservice.d.f;
                v10_10(v6_1, this.a, v7, v8, p10.getStringExtra("bind_notify_status"));
                v10_9 = this.a(v10_10);
                v0_18 = new StringBuilder();
            }
            v0_18.append("submitApiProcessor for bind=");
            v0_18.append(v6_1.toString());
            com.baidu.android.pushservice.i.l.b(v0_18.toString(), this.a);
            if (v10_9 == null) {
                new Thread(new com.baidu.android.pushservice.d.f(v6_1, this.a, v7, v8)).start();
                String v10_14 = new StringBuilder();
                v10_14.append("submitApiProcessor failed bind ");
                v10_14.append(v6_1.toString());
                com.baidu.android.pushservice.i.l.b(v10_14.toString(), this.a);
            }
            return;
        } else {
            String v10_3 = new android.content.Intent();
            v10_3.putExtra("method", v6_1.a);
            v10_3.putExtra("error_msg", 0);
            v10_3.putExtra("content", v0_9.getBytes());
            v10_3.putExtra("bind_status", v7);
            com.baidu.android.pushservice.i.l.b(this.a, v10_3, "com.baidu.android.pushservice.action.RECEIVE", v6_1.e);
            String v10_5 = new StringBuilder();
            v10_5.append("RegistrationService#handleBind#returned by cacheContent = ");
            v10_5.append(v0_9);
            com.baidu.android.pushservice.i.l.b(v10_5.toString(), this.a);
            return;
        }
    }

Method com.baidu.android.pushservice.a.b.a():


    public static declared_synchronized com.baidu.android.pushservice.a.b a(android.content.Context p2)
    {
        try {
            if (com.baidu.android.pushservice.a.b.b == null) {
                com.baidu.android.pushservice.a.b.b = new com.baidu.android.pushservice.a.b(p2);
            }
        } catch (com.baidu.android.pushservice.a.b v2_1) {
            throw v2_1;
        }
        return com.baidu.android.pushservice.a.b.b;
    }

Method com.baidu.android.pushservice.a.b.<init>():


    private b(android.content.Context p4)
    {
        this.a = new java.util.ArrayList();
        this.d = new java.util.HashMap();
        this.c = p4.getApplicationContext();
        String v0_1 = com.baidu.android.pushservice.c.c.e(p4);
        if ((android.text.TextUtils.isEmpty(v0_1)) && (com.baidu.android.pushservice.i.l.D(this.c))) {
            String v0_4 = new StringBuilder();
            v0_4.append(this.c.getPackageName());
            v0_4.append(".push_sync");
            v0_1 = com.baidu.android.pushservice.i.m.a(this.c, v0_4.toString(), "r_v2");
        }
        if (!android.text.TextUtils.isEmpty(v0_1)) {
            String v0_7 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v0_1));
        }
        try {
            int v1_11 = p4.getPackageManager().getPackageInfo(p4.getPackageName(), 0).versionCode;
        } catch (Exception) {
        }
        if (com.baidu.android.pushservice.i.i.b(this.c, "com.baidu.push.sync.vn", -1) < v1_11) {
            this.a();
            com.baidu.android.pushservice.i.i.a(this.c, "com.baidu.push.sync.vn", v1_11);
        }
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a()
    {
        this.a("r_v2", this.a);
        return;
    }

Method com.baidu.android.pushservice.a.b.a():


    private void a(String p12, java.util.ArrayList p13)
    {
        android.content.Context v1_3;
        String v0_1 = new StringBuilder();
        v0_1.append(this.c.getPackageName());
        v0_1.append(".push_sync");
        String v0_2 = v0_1.toString();
        if (!com.baidu.android.pushservice.i.l.E(this.c)) {
            v1_3 = com.baidu.android.pushservice.i.l.o(this.c);
        } else {
            v1_3 = com.baidu.android.pushservice.i.l.p(this.c);
        }
        android.content.Context v1_6 = v1_3.iterator();
        while (v1_6.hasNext()) {
            com.baidu.android.pushservice.a.f v2_8 = ((android.content.pm.ResolveInfo) v1_6.next());
            try {
                com.baidu.android.pushservice.a.f v2_2;
                java.util.Iterator v3_8 = v2_8.activityInfo.packageName;
                com.baidu.android.pushservice.a.f v5_0 = 0;
            } catch (com.baidu.android.pushservice.a.f v2_5) {
                com.baidu.android.pushservice.g.o.a(this.c, v2_5);
            }
            if (!com.baidu.android.pushservice.i.l.D(this.c)) {
                v2_2 = 0;
            } else {
                int v4_4 = com.baidu.android.pushservice.i.l.v(this.c, v2_8.activityInfo.packageName);
                if (v4_4 == 0) {
                } else {
                    com.baidu.android.pushservice.a.f v5_8 = new StringBuilder();
                    v5_8.append(v2_8.activityInfo.packageName);
                    v5_8.append(".push_sync");
                    v5_0 = com.baidu.android.pushservice.i.m.a(v4_4, v5_8.toString(), p12);
                    int v6_6 = new StringBuilder();
                    v6_6.append(v2_8.activityInfo.packageName);
                    v6_6.append(".self_push_sync");
                    v2_2 = com.baidu.android.pushservice.i.m.a(v4_4, v6_6.toString(), "bindinfo");
                }
            }
            if (((android.text.TextUtils.isEmpty(v5_0)) || (android.text.TextUtils.isEmpty(v2_2))) && (com.baidu.android.pushservice.i.l.m(this.c, v3_8) > 50)) {
                if (!android.text.TextUtils.equals(this.c.getPackageName(), "com.baidu.searchbox")) {
                    v5_0 = com.baidu.android.pushservice.c.d.e(this.c, v3_8);
                }
                v2_2 = com.baidu.android.pushservice.c.d.f(this.c, v3_8);
            }
            int v4_0 = 1;
            if (!android.text.TextUtils.isEmpty(v5_0)) {
                java.util.Iterator v3_2 = com.baidu.android.pushservice.a.b.e(com.baidu.android.pushservice.a.b.a(v5_0));
                if (v3_2 != null) {
                    java.util.Iterator v3_3 = v3_2.iterator();
                    while (v3_3.hasNext()) {
                        com.baidu.android.pushservice.a.f v5_6 = ((com.baidu.android.pushservice.a.f) v3_3.next());
                        int v7_2 = p13.iterator();
                        while (v7_2.hasNext()) {
                            com.baidu.android.pushservice.a.f v8_3 = ((com.baidu.android.pushservice.a.f) v7_2.next());
                            if ((android.text.TextUtils.equals(v5_6.c, v8_3.c)) || (android.text.TextUtils.equals(v5_6.a, v8_3.a))) {
                                p13.remove(v8_3);
                                p13.add(v5_6);
                                int v7_3 = 1;
                            }
                            if (v7_3 == 0) {
                                p13.add(v5_6);
                            }
                        }
                        v7_3 = 0;
                    }
                }
            }
            if (!android.text.TextUtils.isEmpty(v2_2)) {
                com.baidu.android.pushservice.a.f v2_4 = this.h(com.baidu.android.