.class public Le/c/a/z0; .super Ljava/lang/Object; .source "InstallReferrer.java" # interfaces .implements Ljava/lang/reflect/InvocationHandler; # instance fields .field public a:I .field public b:I .field public c:Z .field public d:Le/c/a/u0; .field public e:Ljava/lang/Object; .field public f:Landroid/content/Context; .field public g:Ljava/lang/Object; .field public h:Le/c/a/z1; .field public i:Ljava/lang/ref/WeakReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/ref/WeakReference<", "Le/c/a/s0;", ">;" } .end annotation .end field # direct methods .method public constructor (Landroid/content/Context;Le/c/a/s0;)V .locals 2 invoke-direct {p0}, Ljava/lang/Object;->()V const/16 v0, 0xbb8 iput v0, p0, Le/c/a/z0;->a:I invoke-static {}, Le/c/a/z;->a()Le/c/a/u0; move-result-object v0 iput-object v0, p0, Le/c/a/z0;->d:Le/c/a/u0; iput-object p1, p0, Le/c/a/z0;->f:Landroid/content/Context; new-instance p1, Ljava/lang/Object; invoke-direct {p1}, Ljava/lang/Object;->()V iput-object p1, p0, Le/c/a/z0;->g:Ljava/lang/Object; const/4 p1, 0x0 iput-boolean p1, p0, Le/c/a/z0;->c:Z iput p1, p0, Le/c/a/z0;->b:I new-instance p1, Le/c/a/z1; new-instance v0, Le/c/a/z0$a; invoke-direct {v0, p0}, Le/c/a/z0$a;->(Le/c/a/z0;)V const-string v1, "InstallReferrer" invoke-direct {p1, v0, v1}, Le/c/a/z1;->(Ljava/lang/Runnable;Ljava/lang/String;)V iput-object p1, p0, Le/c/a/z0;->h:Le/c/a/z1; new-instance p1, Ljava/lang/ref/WeakReference; invoke-direct {p1, p2}, Ljava/lang/ref/WeakReference;->(Ljava/lang/Object;)V iput-object p1, p0, Le/c/a/z0;->i:Ljava/lang/ref/WeakReference; invoke-virtual {p0}, Le/c/a/z0;->c()V return-void .end method # virtual methods .method public final a()V .locals 5 iget-object v0, p0, Le/c/a/z0;->e:Ljava/lang/Object; if-nez v0, :cond_0 return-void :cond_0 const/4 v1, 0x0 const/4 v2, 0x0 :try_start_0 const-string v3, "endConnection" new-array v4, v2, [Ljava/lang/Object; invoke-static {v0, v3, v1, v4}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception v0 iget-object v3, p0, Le/c/a/z0;->d:Le/c/a/u0; const/4 v4, 0x1 new-array v4, v4, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v4, v2 check-cast v3, Le/c/a/b1; const-string v0, "closeReferrerClient error (%s)" invoke-virtual {v3, v0, v4}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V :goto_0 iput-object v1, p0, Le/c/a/z0;->e:Ljava/lang/Object; return-void .end method .method public a(I)V .locals 17 move-object/from16 v1, p0 move/from16 v0, p1 const/4 v2, -0x1 const/4 v3, 0x0 if-eq v0, v2, :cond_9 const/4 v2, 0x3 const/4 v4, 0x2 const/4 v5, 0x1 if-eqz v0, :cond_3 if-eq v0, v5, :cond_2 if-eq v0, v4, :cond_1 if-eq v0, v2, :cond_0 iget-object v2, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v4, v5, [Ljava/lang/Object; invoke-static/range {p1 .. p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 aput-object v0, v4, v3 check-cast v2, Le/c/a/b1; const-string v0, "Unexpected response code of install referrer response: %d" invoke-virtual {v2, v0, v4}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V goto/16 :goto_8 :cond_0 iget-object v0, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v2, v3, [Ljava/lang/Object; check-cast v0, Le/c/a/b1; const-string v3, "Install referrer general errors caused by incorrect usage. Retrying ..." invoke-virtual {v0, v3, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V invoke-virtual/range {p0 .. p0}, Le/c/a/z0;->b()V goto/16 :goto_8 :cond_1 iget-object v0, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v2, v3, [Ljava/lang/Object; check-cast v0, Le/c/a/b1; const-string v3, "Install referrer not available on the current Play Store app." invoke-virtual {v0, v3, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V goto/16 :goto_8 :cond_2 iget-object v0, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v2, v3, [Ljava/lang/Object; check-cast v0, Le/c/a/b1; const-string v3, "Could not initiate connection to the Install Referrer service. Retrying ..." invoke-virtual {v0, v3, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V invoke-virtual/range {p0 .. p0}, Le/c/a/z0;->b()V goto/16 :goto_8 :cond_3 :try_start_0 iget-object v0, v1, Le/c/a/z0;->e:Ljava/lang/Object; :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_4 const/4 v6, 0x0 if-nez v0, :cond_4 :goto_0 move-object v7, v6 goto :goto_1 :cond_4 :try_start_1 const-string v7, "getInstallReferrer" new-array v8, v3, [Ljava/lang/Object; invoke-static {v0, v7, v6, v8}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 :try_end_1 .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0 move-object v7, v0 goto :goto_1 :catch_0 move-exception v0 :try_start_2 iget-object v7, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v8, v5, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v8, v3 check-cast v7, Le/c/a/b1; const-string v0, "getInstallReferrer error (%s)" invoke-virtual {v7, v0, v8}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V :try_end_2 .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_4 goto :goto_0 :goto_1 if-nez v7, :cond_5 :goto_2 move-object/from16 v16, v6 goto :goto_3 :cond_5 :try_start_3 const-string v0, "getInstallReferrer" new-array v8, v3, [Ljava/lang/Object; invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v9 invoke-static {v9, v0, v7, v6, v8}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/String; :try_end_3 .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1 move-object/from16 v16, v0 goto :goto_3 :catch_1 move-exception v0 :try_start_4 iget-object v8, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v9, v5, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v9, v3 check-cast v8, Le/c/a/b1; const-string v0, "getStringInstallReferrer error (%s)" invoke-virtual {v8, v0, v9}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V :try_end_4 .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4 goto :goto_2 :goto_3 const-wide/16 v8, -0x1 if-nez v7, :cond_6 :goto_4 move-wide v12, v8 goto :goto_5 :cond_6 :try_start_5 const-string v0, "getReferrerClickTimestampSeconds" new-array v10, v3, [Ljava/lang/Object; invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v11 invoke-static {v11, v0, v7, v6, v10}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Long; invoke-virtual {v0}, Ljava/lang/Long;->longValue()J move-result-wide v10 :try_end_5 .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_2 move-wide v12, v10 goto :goto_5 :catch_2 move-exception v0 :try_start_6 iget-object v10, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v11, v5, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v11, v3 check-cast v10, Le/c/a/b1; const-string v0, "getReferrerClickTimestampSeconds error (%s)" invoke-virtual {v10, v0, v11}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V :try_end_6 .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_4 goto :goto_4 :goto_5 if-nez v7, :cond_7 :goto_6 move-wide v14, v8 goto :goto_7 :cond_7 :try_start_7 const-string v0, "getInstallBeginTimestampSeconds" new-array v10, v3, [Ljava/lang/Object; invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v11 invoke-static {v11, v0, v7, v6, v10}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Long; invoke-virtual {v0}, Ljava/lang/Long;->longValue()J move-result-wide v6 :try_end_7 .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_3 move-wide v14, v6 goto :goto_7 :catch_3 move-exception v0 :try_start_8 iget-object v6, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v7, v5, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v7, v3 check-cast v6, Le/c/a/b1; const-string v0, "getInstallBeginTimestampSeconds error (%s)" invoke-virtual {v6, v0, v7}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V goto :goto_6 :goto_7 iget-object v0, v1, Le/c/a/z0;->d:Le/c/a/u0; const-string v6, "installReferrer: %s, clickTime: %d, installBeginTime: %d" new-array v2, v2, [Ljava/lang/Object; aput-object v16, v2, v3 invoke-static {v12, v13}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v7 aput-object v7, v2, v5 invoke-static {v14, v15}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v7 aput-object v7, v2, v4 :try_end_8 .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_4 check-cast v0, Le/c/a/b1; :try_start_9 invoke-virtual {v0, v6, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V iget-object v0, v1, Le/c/a/z0;->i:Ljava/lang/ref/WeakReference; invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Le/c/a/s0; if-eqz v0, :cond_8 move-object v11, v0 check-cast v11, Le/c/a/g; iget-object v0, v11, Le/c/a/g;->a:Le/c/a/p0; new-instance v2, Le/c/a/a; move-object v10, v2 invoke-direct/range {v10 .. v16}, Le/c/a/a;->(Le/c/a/g;JJLjava/lang/String;)V iget-object v0, v0, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor; invoke-virtual {v0, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future; :cond_8 iget-object v2, v1, Le/c/a/z0;->g:Ljava/lang/Object; monitor-enter v2 :try_end_9 .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_4 :try_start_a iput-boolean v5, v1, Le/c/a/z0;->c:Z monitor-exit v2 goto :goto_8 :catchall_0 move-exception v0 monitor-exit v2 :try_end_a .catchall {:try_start_a .. :try_end_a} :catchall_0 :try_start_b throw v0 :try_end_b .catch Ljava/lang/Exception; {:try_start_b .. :try_end_b} :catch_4 :catch_4 move-exception v0 iget-object v2, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v4, v5, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v4, v3 check-cast v2, Le/c/a/b1; const-string v0, "Couldn\'t get install referrer from client (%s). Retrying ..." invoke-virtual {v2, v0, v4}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V invoke-virtual/range {p0 .. p0}, Le/c/a/z0;->b()V goto :goto_8 :cond_9 iget-object v0, v1, Le/c/a/z0;->d:Le/c/a/u0; new-array v2, v3, [Ljava/lang/Object; check-cast v0, Le/c/a/b1; const-string v3, "Play Store service is not connected now. Retrying ..." invoke-virtual {v0, v3, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V invoke-virtual/range {p0 .. p0}, Le/c/a/z0;->b()V :goto_8 invoke-virtual/range {p0 .. p0}, Le/c/a/z0;->a()V return-void .end method .method public final b()V .locals 7 iget-object v0, p0, Le/c/a/z0;->g:Ljava/lang/Object; monitor-enter v0 :try_start_0 iget-boolean v1, p0, Le/c/a/z0;->c:Z const/4 v2, 0x0 if-eqz v1, :cond_0 iget-object v1, p0, Le/c/a/z0;->d:Le/c/a/u0; const-string v3, "Install referrer has already been read" new-array v2, v2, [Ljava/lang/Object; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 check-cast v1, Le/c/a/b1; :try_start_1 invoke-virtual {v1, v3, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V monitor-exit v0 return-void :cond_0 monitor-exit v0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 iget v0, p0, Le/c/a/z0;->b:I const/4 v1, 0x1 add-int/2addr v0, v1 iput v0, p0, Le/c/a/z0;->b:I iget v0, p0, Le/c/a/z0;->b:I const/4 v3, 0x2 if-le v0, v3, :cond_1 iget-object v0, p0, Le/c/a/z0;->d:Le/c/a/u0; new-array v1, v2, [Ljava/lang/Object; check-cast v0, Le/c/a/b1; const-string v2, "Limit number of retry for install referrer surpassed" invoke-virtual {v0, v2, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V return-void :cond_1 iget-object v0, p0, Le/c/a/z0;->h:Le/c/a/z1; invoke-virtual {v0}, Le/c/a/z1;->b()J move-result-wide v3 const-wide/16 v5, 0x0 cmp-long v0, v3, v5 if-lez v0, :cond_2 iget-object v0, p0, Le/c/a/z0;->d:Le/c/a/u0; new-array v1, v1, [Ljava/lang/Object; invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v3 aput-object v3, v1, v2 check-cast v0, Le/c/a/b1; const-string v2, "Already waiting to retry to read install referrer in %d milliseconds" invoke-virtual {v0, v2, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V return-void :cond_2 iget-object v0, p0, Le/c/a/z0;->h:Le/c/a/z1; iget v1, p0, Le/c/a/z0;->a:I int-to-long v1, v1 invoke-virtual {v0, v1, v2}, Le/c/a/z1;->a(J)V return-void :catchall_0 move-exception v1 :try_start_2 monitor-exit v0 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 throw v1 .end method .method public c()V .locals 8 invoke-virtual {p0}, Le/c/a/z0;->a()V iget-object v0, p0, Le/c/a/z0;->g:Ljava/lang/Object; monitor-enter v0 :try_start_0 iget-boolean v1, p0, Le/c/a/z0;->c:Z const/4 v2, 0x0 if-eqz v1, :cond_0 iget-object v1, p0, Le/c/a/z0;->d:Le/c/a/u0; const-string v3, "Install referrer has already been read" new-array v2, v2, [Ljava/lang/Object; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 check-cast v1, Le/c/a/b1; :try_start_1 invoke-virtual {v1, v3, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V monitor-exit v0 return-void :cond_0 monitor-exit v0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 iget-object v0, p0, Le/c/a/z0;->f:Landroid/content/Context; const/4 v1, 0x0 const/4 v3, 0x1 if-nez v0, :cond_1 :goto_0 move-object v0, v1 goto :goto_1 :cond_1 :try_start_2 const-string v4, "com.android.installreferrer.api.InstallReferrerClient" const-string v5, "newBuilder" new-array v6, v3, [Ljava/lang/Class; const-class v7, Landroid/content/Context; aput-object v7, v6, v2 new-array v7, v3, [Ljava/lang/Object; aput-object v0, v7, v2 invoke-static {v4, v5, v6, v7}, Lo/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 const-string v4, "build" new-array v5, v2, [Ljava/lang/Object; invoke-static {v0, v4, v1, v5}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 :try_end_2 .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0 goto :goto_1 :catch_0 move-exception v0 iget-object v4, p0, Le/c/a/z0;->d:Le/c/a/u0; new-array v5, v3, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v5, v2 check-cast v4, Le/c/a/b1; const-string v0, "Couldn\'t create instance of referrer client (%s)" invoke-virtual {v4, v0, v5}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V goto :goto_0 :goto_1 iput-object v0, p0, Le/c/a/z0;->e:Ljava/lang/Object; const-string v0, "e.e.a.a.a" :try_start_3 invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class; move-result-object v0 :try_end_3 .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1 goto :goto_2 :catch_1 move-exception v0 iget-object v4, p0, Le/c/a/z0;->d:Le/c/a/u0; new-array v5, v3, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v5, v2 check-cast v4, Le/c/a/b1; const-string v0, "getInstallReferrerStateListenerClass error (%s)" invoke-virtual {v4, v0, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V move-object v0, v1 :goto_2 if-nez v0, :cond_2 goto :goto_3 :cond_2 invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader; move-result-object v1 new-array v4, v3, [Ljava/lang/Class; aput-object v0, v4, v2 invoke-static {v1, v4, p0}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object; move-result-object v1 :goto_3 iget-object v4, p0, Le/c/a/z0;->e:Ljava/lang/Object; if-nez v4, :cond_3 goto :goto_4 :cond_3 if-eqz v0, :cond_5 if-nez v1, :cond_4 goto :goto_4 :cond_4 :try_start_4 const-string v5, "startConnection" new-array v6, v3, [Ljava/lang/Class; aput-object v0, v6, v2 new-array v0, v3, [Ljava/lang/Object; aput-object v1, v0, v2 invoke-static {v4, v5, v6, v0}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; :try_end_4 .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2 goto :goto_4 :catch_2 move-exception v0 iget-object v1, p0, Le/c/a/z0;->d:Le/c/a/u0; new-array v3, v3, [Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object v0 aput-object v0, v3, v2 check-cast v1, Le/c/a/b1; const-string v0, "startConnection error (%s)" invoke-virtual {v1, v0, v3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V :cond_5 :goto_4 return-void :catchall_0 move-exception v1 :try_start_5 monitor-exit v0 :try_end_5 .catchall {:try_start_5 .. :try_end_5} :catchall_0 throw v1 .end method .method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; .locals 7 .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Throwable; } .end annotation const/4 p1, 0x1 const/4 v0, 0x0 :try_start_0 invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String; move-result-object p2 iget-object v1, p0, Le/c/a/z0;->d:Le/c/a/u0; const-string v2, "InstallReferrer invoke method name: %s" new-array v3, p1, [Ljava/lang/Object; aput-object p2, v3, v0 :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 check-cast v1, Le/c/a/b1; :try_start_1 invoke-virtual {v1, v2, v3}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V array-length v1, p3 const/4 v2, 0x0 :goto_0 if-ge v2, v1, :cond_0 aget-object v3, p3, v2 iget-object v4, p0, Le/c/a/z0;->d:Le/c/a/u0; const-string v5, "InstallReferrer invoke arg: %s" new-array v6, p1, [Ljava/lang/Object; aput-object v3, v6, v0 :try_end_1 .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0 check-cast v4, Le/c/a/b1; :try_start_2 invoke-virtual {v4, v5, v6}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V add-int/lit8 v2, v2, 0x1 goto :goto_0 :cond_0 const-string v1, "onInstallReferrerSetupFinished" invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_1 aget-object p2, p3, v0 check-cast p2, Ljava/lang/Integer; invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I move-result p2 invoke-virtual {p0, p2}, Le/c/a/z0;->a(I)V goto :goto_1 :cond_1 const-string p3, "onInstallReferrerServiceDisconnected" invoke-virtual {p2, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result p2 if-eqz p2, :cond_2 iget-object p2, p0, Le/c/a/z0;->d:Le/c/a/u0; const-string p3, "InstallReferrer onInstallReferrerServiceDisconnected" new-array v1, v0, [Ljava/lang/Object; :try_end_2 .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0 check-cast p2, Le/c/a/b1; :try_start_3 invoke-virtual {p2, p3, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V :try_end_3 .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0 goto :goto_1 :catch_0 move-exception p2 iget-object p3, p0, Le/c/a/z0;->d:Le/c/a/u0; new-array p1, p1, [Ljava/lang/Object; invoke-virtual {p2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String; move-result-object p2 aput-object p2, p1, v0 check-cast p3, Le/c/a/b1; const-string p2, "InstallReferrer invoke error (%s)" invoke-virtual {p3, p2, p1}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V :cond_2 :goto_1 const/4 p1, 0x0 return-object p1 .end method