/docs/weixin_7.0.4_source/反编译源码/反混淆后/src/main/java/com/tencent/p177mm/plugin/appbrand/appusage/p280a/C42371i.java

https://github.com/HelloHuDi/AndroidReverseNotes · Java · 143 lines · 130 code · 7 blank · 6 comment · 16 complexity · 6b4d88631f08ec232c128cf5d5ebf28b MD5 · raw file

  1. package com.tencent.p177mm.plugin.appbrand.appusage.p280a;
  2. import com.tencent.matrix.trace.core.AppMethodBeat;
  3. import com.tencent.p177mm.ipcinvoker.wx_extension.C42146b;
  4. import com.tencent.p177mm.ipcinvoker.wx_extension.C42146b.C9557a;
  5. import com.tencent.p177mm.kernel.C1720g;
  6. import com.tencent.p177mm.p183ai.C1207m;
  7. import com.tencent.p177mm.p183ai.C37440a;
  8. import com.tencent.p177mm.p183ai.C7472b;
  9. import com.tencent.p177mm.p183ai.C7472b.C1196a;
  10. import com.tencent.p177mm.plugin.appbrand.p329s.C42677e;
  11. import com.tencent.p177mm.plugin.appbrand.report.AppBrandRecommendStatObj;
  12. import com.tencent.p177mm.protocal.protobuf.C23440sq;
  13. import com.tencent.p177mm.protocal.protobuf.C40513dn;
  14. import com.tencent.p177mm.protocal.protobuf.big;
  15. import com.tencent.p177mm.protocal.protobuf.bow;
  16. import com.tencent.p177mm.protocal.protobuf.box;
  17. import com.tencent.p177mm.protocal.protobuf.bqc;
  18. import com.tencent.p177mm.protocal.protobuf.bqe;
  19. import com.tencent.p177mm.protocal.protobuf.btd;
  20. import com.tencent.p177mm.sdk.platformtools.C4990ab;
  21. import com.tencent.p177mm.sdk.platformtools.C4996ah;
  22. import com.tencent.p177mm.sdk.platformtools.C5023at;
  23. /* renamed from: com.tencent.mm.plugin.appbrand.appusage.a.i */
  24. public class C42371i extends C37440a<box> {
  25. public C42371i(int i, long j, long j2, AppBrandRecommendStatObj appBrandRecommendStatObj) {
  26. AppMethodBeat.m2504i(129755);
  27. this.ehh = C42371i.m74962a(i, j, j2, appBrandRecommendStatObj).acD();
  28. AppMethodBeat.m2505o(129755);
  29. }
  30. /* renamed from: a */
  31. static C1196a m74962a(int i, long j, long j2, AppBrandRecommendStatObj appBrandRecommendStatObj) {
  32. AppMethodBeat.m2504i(129756);
  33. C4990ab.m7417i("MicroMsg.Recommend.CgiRTReportRecommdClick", "clickType:%d, page_stay_time:%d, app_stay_time:%d, recommendStatObj:%s", Integer.valueOf(i), Long.valueOf(j), Long.valueOf(j2), appBrandRecommendStatObj.toString());
  34. C1196a c1196a = new C1196a();
  35. bow bow = new bow();
  36. bqe bqe = new bqe();
  37. bqc bqc = new bqc();
  38. bqe.bHi = appBrandRecommendStatObj.hbj;
  39. C23440sq c23440sq = new C23440sq();
  40. c23440sq.waf = C5023at.getNetTypeString(C4996ah.getContext());
  41. c23440sq.longitude = (double) appBrandRecommendStatObj.cGm;
  42. c23440sq.latitude = (double) appBrandRecommendStatObj.cEB;
  43. bow.wRt = bqe;
  44. bow.wRu = bqc;
  45. bqc.type = i;
  46. if (i == 1) {
  47. big big = new big();
  48. big.username = appBrandRecommendStatObj.username;
  49. big.izZ = appBrandRecommendStatObj.izZ;
  50. big.fBq = System.currentTimeMillis();
  51. big.iAa = appBrandRecommendStatObj.iAa;
  52. big.csB = appBrandRecommendStatObj.csB;
  53. big.iAe = appBrandRecommendStatObj.iAe;
  54. big.position = appBrandRecommendStatObj.position;
  55. big.wLx = (int) j;
  56. big.vFr = (int) j2;
  57. bqc.wSn = big;
  58. } else {
  59. C40513dn c40513dn = new C40513dn();
  60. c40513dn.username = appBrandRecommendStatObj.username;
  61. c40513dn.fBq = System.currentTimeMillis();
  62. c40513dn.iAa = appBrandRecommendStatObj.iAa;
  63. c40513dn.csB = appBrandRecommendStatObj.csB;
  64. c40513dn.iAe = appBrandRecommendStatObj.iAe;
  65. c40513dn.position = appBrandRecommendStatObj.position;
  66. c40513dn.vFr = (int) j2;
  67. bqc.wSo = c40513dn;
  68. }
  69. c1196a.fsJ = bow;
  70. c1196a.fsK = new box();
  71. c1196a.uri = "/cgi-bin/mmbiz-bin/wxabusiness/rtreportrecommdclick";
  72. c1196a.fsI = 2799;
  73. AppMethodBeat.m2505o(129756);
  74. return c1196a;
  75. }
  76. /* renamed from: b */
  77. public static void m74963b(int i, long j, long j2, AppBrandRecommendStatObj appBrandRecommendStatObj) {
  78. AppMethodBeat.m2504i(129757);
  79. if (appBrandRecommendStatObj == null) {
  80. AppMethodBeat.m2505o(129757);
  81. return;
  82. }
  83. final int i2 = i;
  84. final long j3 = j;
  85. final long j4 = j2;
  86. final AppBrandRecommendStatObj appBrandRecommendStatObj2 = appBrandRecommendStatObj;
  87. C42677e.aNS().mo10302aa(new Runnable() {
  88. /* renamed from: com.tencent.mm.plugin.appbrand.appusage.a.i$1$1 */
  89. class C165841 implements C9557a {
  90. C165841() {
  91. }
  92. /* renamed from: a */
  93. public final void mo5951a(int i, int i2, String str, C7472b c7472b) {
  94. AppMethodBeat.m2504i(129752);
  95. C4990ab.m7417i("MicroMsg.Recommend.CgiRTReportRecommdClick", "CgiRTReportRecommdClick page click errType:%d, errCode:%d, errMsg:%s", Integer.valueOf(i), Integer.valueOf(i2), str);
  96. if (i == 0 && i2 == 0) {
  97. C4990ab.m7416i("MicroMsg.Recommend.CgiRTReportRecommdClick", "report success");
  98. AppMethodBeat.m2505o(129752);
  99. return;
  100. }
  101. C4990ab.m7412e("MicroMsg.Recommend.CgiRTReportRecommdClick", "report fail");
  102. AppMethodBeat.m2505o(129752);
  103. }
  104. }
  105. public final void run() {
  106. AppMethodBeat.m2504i(129754);
  107. if (i2 == 1) {
  108. C42146b.m74301a(C42371i.m74962a(i2, j3, j4, appBrandRecommendStatObj2).acD(), new C165841());
  109. AppMethodBeat.m2505o(129754);
  110. return;
  111. }
  112. new C42371i(i2, j3, j4, appBrandRecommendStatObj2) {
  113. /* renamed from: a */
  114. public final /* synthetic */ void mo21469a(int i, int i2, String str, btd btd, C1207m c1207m) {
  115. AppMethodBeat.m2504i(129753);
  116. if (C1720g.m3531RK()) {
  117. C4990ab.m7417i("MicroMsg.Recommend.CgiRTReportRecommdClick", "CgiRTReportRecommdClick profile click errType:%d, errCode:%d, errMsg:%s", Integer.valueOf(i), Integer.valueOf(i2), str);
  118. if (i == 0 && i2 == 0) {
  119. C4990ab.m7416i("MicroMsg.Recommend.CgiRTReportRecommdClick", "report success");
  120. AppMethodBeat.m2505o(129753);
  121. return;
  122. }
  123. C4990ab.m7412e("MicroMsg.Recommend.CgiRTReportRecommdClick", "report fail");
  124. AppMethodBeat.m2505o(129753);
  125. return;
  126. }
  127. C4990ab.m7412e("MicroMsg.Recommend.CgiRTReportRecommdClick", "account nor ready");
  128. AppMethodBeat.m2505o(129753);
  129. }
  130. }.acy();
  131. AppMethodBeat.m2505o(129754);
  132. }
  133. });
  134. AppMethodBeat.m2505o(129757);
  135. }
  136. }