コード例 #1
1
ファイル: l.java プロジェクト: ZoneMo/test
 public final void a(int paramInt1, int paramInt2, x paramx)
 {
   a locala;
   if (paramx.getType() == 324)
   {
     locala = (a)paramx;
     if (locala.iC(this.cKh.GU()))
       break label40;
     com.tencent.mm.sdk.platformtools.aa.d("MicroMsg.BackupServer", "scene back is old");
   }
   label40: 
   do
   {
     return;
     this.cKn += locala.HI();
   }
   while ((this.cKh.Hb()) || (this.cKp == null));
   this.cKp.b(this.cKn, this.cKm);
 }
コード例 #2
0
ファイル: l.java プロジェクト: ZoneMo/test
 public final void a(int paramInt1, int paramInt2, String paramString, x paramx)
 {
   com.tencent.mm.sdk.platformtools.aa.d("MicroMsg.BackupServer", "onGYNetEnd errType:" + paramInt1 + " errCode:" + paramInt2 + " " + paramx.getType());
   a locala1 = (a)paramx;
   if (!locala1.iC(this.cKh.GU()))
   {
     com.tencent.mm.sdk.platformtools.aa.d("MicroMsg.BackupServer", "scene back is old");
     return;
   }
   if (paramx.getType() == 321)
   {
     if (this.cKh.GV() != 0)
     {
       com.tencent.mm.sdk.platformtools.aa.e("MicroMsg.BackupServer", "onSceneEnd redundancy uploadHead");
       return;
     }
     if ((paramInt1 != 0) || (paramInt2 != 0))
     {
       com.tencent.mm.sdk.platformtools.aa.e("MicroMsg.BackupServer", "start error  ");
       e(paramInt1, paramInt2, "UploadHead " + paramString);
       return;
     }
     h localh = (h)paramx;
     this.cKh.fb(localh.HG());
     this.cKh.eY(1);
     com.tencent.mm.sdk.platformtools.aa.d("MicroMsg.BackupServer", "bakchatSvrID  " + localh.HG());
     eW(100);
     return;
   }
   if (paramx.getType() == 322)
   {
     if ((!this.cKh.Hb()) && (this.cKp != null))
       this.cKp.b(this.cKm, this.cKm);
     if ((paramInt1 != 0) || (paramInt2 != 0))
     {
       com.tencent.mm.sdk.platformtools.aa.e("MicroMsg.BackupServer", "end error  ");
       this.cKh.eY(2);
       e(paramInt1, paramInt2, "UploadEnd " + paramString);
       return;
     }
     com.tencent.mm.sdk.platformtools.aa.d("MicroMsg.BackupServer", "end ok  ");
     i.HJ();
     this.cKo = 1;
     if (!this.cKh.Hb())
     {
       q.a(this.cKm, cj.FE(), 1);
       if (this.cKp != null)
         this.cKp.Hn();
     }
     g(true, false);
     c.a(new File(d.Gr()));
     d.Gq();
     return;
   }
   int i = this.cKk;
   int j = 0;
   if (i == 0)
   {
     this.cKk = j;
     switch (paramx.getType())
     {
     default:
     case 323:
     case 324:
     }
   }
   while (true)
     if ((paramInt1 != 0) || (paramInt2 != 0))
     {
       e(paramInt1, paramInt2, paramString);
       return;
       j = -1 + this.cKk;
       break;
       synchronized (this.lock)
       {
         this.cKi.remove(Integer.valueOf(paramx.hashCode()));
       }
       synchronized (this.lock)
       {
         this.cKj.remove(Integer.valueOf(paramx.hashCode()));
       }
     }
   a locala2 = (a)paramx;
   switch (locala2.getType())
   {
   default:
   case 323:
   case 324:
   }
   while (true)
   {
     GB();
     com.tencent.mm.sdk.platformtools.aa.d("MicroMsg.BackupServer", "bckMsgList: " + this.cKh.Hd().size() + " mediaList : " + this.cKh.Hc().size());
     if ((paramx.getType() != 323) || (this.cKp == null))
       break;
     this.cKn += locala1.HI();
     if ((this.cKh.Hb()) || (this.cKp == null))
       break;
     this.cKp.b(this.cKn, this.cKm);
     return;
     synchronized (this.lock)
     {
       String str3 = ((com.tencent.mm.plugin.backup.b.k)locala2).HL();
       this.cKh.iw(str3);
       int m = cj.a((Integer)this.cKl.get(str3), 0);
       this.cKh.U(m + this.cKh.Hi(), this.cKm);
     }
     synchronized (this.lock)
     {
       i locali = (i)locala2;
       String str1 = locali.oJ();
       this.cKh.iv(str1);
       String str2 = locali.HQ();
       int k = cj.a((Integer)this.cKl.get(str2), 0);
       this.cKl.put(str2, Integer.valueOf(k + locala2.vR()));
     }
   }
 }