LocalPrintThread.java 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997
  1. package epson.print.service;
  2. import epson.print.EPImageList;
  3. import epson.print.screen.PrintSetting;
  4. public class LocalPrintThread extends Thread {
  5. public static final int SUB_THREAD_JOIN_LIMIT = 60000;
  6. private static final String TAG = "LocalPrintThread";
  7. private EPImageList gImageList;
  8. private final PrintService mEpsonService;
  9. private boolean mIsBkRetry;
  10. private final PrintSetting.Kind mKind = this.mRenderingController.getKind();
  11. private final RenderingController mRenderingController;
  12. private final Object printingLock;
  13. public LocalPrintThread(PrintService printService, RenderingController renderingController, boolean z) {
  14. super("print-loop");
  15. this.mEpsonService = printService;
  16. this.mRenderingController = renderingController;
  17. this.mIsBkRetry = z;
  18. this.printingLock = this.mEpsonService.getPrintLockObject();
  19. }
  20. public void run() {
  21. synchronized (this.printingLock) {
  22. this.mEpsonService.setPrinting(true);
  23. this.mEpsonService.setCancelPrinting(false);
  24. doPrint();
  25. this.mEpsonService.setPrinting(false);
  26. this.mEpsonService.setCancelPrinting(false);
  27. }
  28. }
  29. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v1, resolved type: boolean} */
  30. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v2, resolved type: int} */
  31. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v6, resolved type: boolean} */
  32. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v7, resolved type: int} */
  33. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v8, resolved type: int} */
  34. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v9, resolved type: int} */
  35. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v13, resolved type: boolean} */
  36. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v14, resolved type: int} */
  37. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v17, resolved type: boolean} */
  38. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v21, resolved type: epson.print.service.PrintService} */
  39. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v23, resolved type: long} */
  40. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v24, resolved type: long} */
  41. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v25, resolved type: long} */
  42. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v26, resolved type: long} */
  43. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v26, resolved type: int} */
  44. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v35, resolved type: long} */
  45. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v33, resolved type: int} */
  46. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v34, resolved type: int} */
  47. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v43, resolved type: int} */
  48. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v47, resolved type: int} */
  49. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v67, resolved type: int} */
  50. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v68, resolved type: boolean} */
  51. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v73, resolved type: int} */
  52. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v75, resolved type: int} */
  53. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v79, resolved type: int} */
  54. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v84, resolved type: boolean} */
  55. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v85, resolved type: int} */
  56. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v87, resolved type: boolean} */
  57. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v88, resolved type: boolean} */
  58. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v89, resolved type: int} */
  59. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v90, resolved type: int} */
  60. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v91, resolved type: int} */
  61. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v92, resolved type: int} */
  62. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v93, resolved type: int} */
  63. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v95, resolved type: int} */
  64. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v96, resolved type: boolean} */
  65. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v97, resolved type: boolean} */
  66. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v98, resolved type: int} */
  67. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v89, resolved type: long} */
  68. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v90, resolved type: long} */
  69. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v91, resolved type: long} */
  70. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r4v92, resolved type: long} */
  71. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v105, resolved type: boolean} */
  72. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v106, resolved type: int} */
  73. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v109, resolved type: int} */
  74. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v112, resolved type: int} */
  75. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v113, resolved type: int} */
  76. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v114, resolved type: boolean} */
  77. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r6v116, resolved type: int} */
  78. /* JADX WARNING: Code restructure failed: missing block: B:124:0x0283, code lost:
  79. r0 = th;
  80. */
  81. /* JADX WARNING: Code restructure failed: missing block: B:125:0x0285, code lost:
  82. r0 = e;
  83. */
  84. /* JADX WARNING: Code restructure failed: missing block: B:126:0x0287, code lost:
  85. r0 = th;
  86. */
  87. /* JADX WARNING: Code restructure failed: missing block: B:127:0x0288, code lost:
  88. r6 = 0;
  89. */
  90. /* JADX WARNING: Code restructure failed: missing block: B:128:0x0289, code lost:
  91. r7 = r4;
  92. r3 = 40;
  93. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  94. r6 = r6;
  95. */
  96. /* JADX WARNING: Code restructure failed: missing block: B:129:0x028f, code lost:
  97. r15 = 0;
  98. r6 = r6;
  99. r4 = r4;
  100. */
  101. /* JADX WARNING: Code restructure failed: missing block: B:130:0x0292, code lost:
  102. r6 = 0;
  103. */
  104. /* JADX WARNING: Code restructure failed: missing block: B:132:0x0293, code lost:
  105. r15 = r4;
  106. r3 = 40;
  107. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  108. r6 = r6;
  109. */
  110. /* JADX WARNING: Code restructure failed: missing block: B:133:?, code lost:
  111. r6 = r6;
  112. */
  113. /* JADX WARNING: Code restructure failed: missing block: B:134:0x029b, code lost:
  114. r0 = e;
  115. */
  116. /* JADX WARNING: Code restructure failed: missing block: B:135:0x029c, code lost:
  117. r6 = 0;
  118. */
  119. /* JADX WARNING: Code restructure failed: missing block: B:136:0x029d, code lost:
  120. r7 = r4;
  121. r3 = 40;
  122. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  123. r6 = r6;
  124. */
  125. /* JADX WARNING: Code restructure failed: missing block: B:137:0x02a5, code lost:
  126. r6 = 0;
  127. */
  128. /* JADX WARNING: Code restructure failed: missing block: B:139:0x02a6, code lost:
  129. r0 = r4;
  130. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  131. r6 = r6;
  132. */
  133. /* JADX WARNING: Code restructure failed: missing block: B:140:?, code lost:
  134. r6 = r6;
  135. */
  136. /* JADX WARNING: Code restructure failed: missing block: B:175:0x0332, code lost:
  137. r0 = th;
  138. */
  139. /* JADX WARNING: Code restructure failed: missing block: B:176:0x0333, code lost:
  140. r3 = 40;
  141. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  142. r6 = 0;
  143. */
  144. /* JADX WARNING: Code restructure failed: missing block: B:179:0x033f, code lost:
  145. r0 = e;
  146. */
  147. /* JADX WARNING: Code restructure failed: missing block: B:180:0x0340, code lost:
  148. r3 = 40;
  149. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  150. r6 = 0;
  151. */
  152. /* JADX WARNING: Code restructure failed: missing block: B:189:0x0369, code lost:
  153. r3 = 40;
  154. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  155. r6 = 0;
  156. */
  157. /* JADX WARNING: Code restructure failed: missing block: B:199:0x038d, code lost:
  158. r2.interrupt();
  159. */
  160. /* JADX WARNING: Code restructure failed: missing block: B:202:0x0398, code lost:
  161. r7 = 0;
  162. */
  163. /* JADX WARNING: Code restructure failed: missing block: B:206:?, code lost:
  164. r2.join(r4);
  165. */
  166. /* JADX WARNING: Code restructure failed: missing block: B:207:0x03a8, code lost:
  167. r0 = move-exception;
  168. */
  169. /* JADX WARNING: Code restructure failed: missing block: B:208:0x03a9, code lost:
  170. r0.printStackTrace();
  171. */
  172. /* JADX WARNING: Code restructure failed: missing block: B:219:0x03eb, code lost:
  173. r2.interrupt();
  174. */
  175. /* JADX WARNING: Code restructure failed: missing block: B:227:?, code lost:
  176. r2.join(r4);
  177. r6 = r6;
  178. r4 = r4;
  179. */
  180. /* JADX WARNING: Code restructure failed: missing block: B:228:0x0408, code lost:
  181. r0 = move-exception;
  182. */
  183. /* JADX WARNING: Code restructure failed: missing block: B:229:0x0409, code lost:
  184. r2 = r0;
  185. r6 = r6;
  186. r4 = r4;
  187. */
  188. /* JADX WARNING: Code restructure failed: missing block: B:236:0x043e, code lost:
  189. r0.interrupt();
  190. */
  191. /* JADX WARNING: Code restructure failed: missing block: B:244:?, code lost:
  192. r0.join(r4);
  193. */
  194. /* JADX WARNING: Code restructure failed: missing block: B:245:0x045b, code lost:
  195. r0 = move-exception;
  196. */
  197. /* JADX WARNING: Code restructure failed: missing block: B:246:0x045c, code lost:
  198. r0.printStackTrace();
  199. */
  200. /* JADX WARNING: Code restructure failed: missing block: B:249:0x0480, code lost:
  201. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  202. r6 = 0;
  203. */
  204. /* JADX WARNING: Code restructure failed: missing block: B:256:0x049a, code lost:
  205. r2.interrupt();
  206. */
  207. /* JADX WARNING: Code restructure failed: missing block: B:260:?, code lost:
  208. r2.join(r4);
  209. */
  210. /* JADX WARNING: Code restructure failed: missing block: B:261:0x04b2, code lost:
  211. r0 = move-exception;
  212. */
  213. /* JADX WARNING: Code restructure failed: missing block: B:262:0x04b3, code lost:
  214. r0.printStackTrace();
  215. */
  216. /* JADX WARNING: Code restructure failed: missing block: B:54:0x0173, code lost:
  217. r0 = th;
  218. */
  219. /* JADX WARNING: Code restructure failed: missing block: B:55:0x0174, code lost:
  220. r7 = r4;
  221. r3 = 40;
  222. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  223. r6 = 0;
  224. */
  225. /* JADX WARNING: Code restructure failed: missing block: B:56:0x017d, code lost:
  226. r15 = r4;
  227. r3 = 40;
  228. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  229. r6 = 0;
  230. */
  231. /* JADX WARNING: Code restructure failed: missing block: B:58:0x0186, code lost:
  232. r0 = e;
  233. */
  234. /* JADX WARNING: Code restructure failed: missing block: B:59:0x0187, code lost:
  235. r7 = r4;
  236. r3 = 40;
  237. r4 = org.apache.commons.lang.time.DateUtils.MILLIS_PER_MINUTE;
  238. r6 = 0;
  239. */
  240. /* JADX WARNING: Code restructure failed: missing block: B:60:0x0190, code lost:
  241. r0 = r4;
  242. */
  243. /* JADX WARNING: Failed to process nested try/catch */
  244. /* JADX WARNING: Multi-variable type inference failed */
  245. /* JADX WARNING: Removed duplicated region for block: B:131:? A[ExcHandler: Exception (unused java.lang.Exception), SYNTHETIC, Splitter:B:44:0x0143] */
  246. /* JADX WARNING: Removed duplicated region for block: B:133:? A[ExcHandler: Exception (unused java.lang.Exception), PHI: r6
  247. PHI: (r6v42 int) = (r6v35 int), (r6v51 int), (r6v63 int) binds: [B:144:0x02b1, B:121:0x027d, B:96:0x0219] A[DONT_GENERATE, DONT_INLINE], SYNTHETIC, Splitter:B:96:0x0219] */
  248. /* JADX WARNING: Removed duplicated region for block: B:138:? A[ExcHandler: LocalInterrupt | InterruptedException (unused java.lang.Throwable), SYNTHETIC, Splitter:B:44:0x0143] */
  249. /* JADX WARNING: Removed duplicated region for block: B:140:? A[ExcHandler: LocalInterrupt | InterruptedException (unused java.lang.Throwable), PHI: r6
  250. PHI: (r6v40 int) = (r6v35 int), (r6v51 int), (r6v63 int) binds: [B:144:0x02b1, B:121:0x027d, B:96:0x0219] A[DONT_GENERATE, DONT_INLINE], SYNTHETIC, Splitter:B:96:0x0219] */
  251. /* JADX WARNING: Removed duplicated region for block: B:190:? A[ExcHandler: Exception (unused java.lang.Exception), SYNTHETIC, Splitter:B:1:0x003e] */
  252. /* JADX WARNING: Removed duplicated region for block: B:199:0x038d */
  253. /* JADX WARNING: Removed duplicated region for block: B:202:0x0398 */
  254. /* JADX WARNING: Removed duplicated region for block: B:205:0x03a4 A[SYNTHETIC, Splitter:B:205:0x03a4] */
  255. /* JADX WARNING: Removed duplicated region for block: B:219:0x03eb */
  256. /* JADX WARNING: Removed duplicated region for block: B:226:0x0404 A[SYNTHETIC, Splitter:B:226:0x0404] */
  257. /* JADX WARNING: Removed duplicated region for block: B:236:0x043e */
  258. /* JADX WARNING: Removed duplicated region for block: B:243:0x0457 A[SYNTHETIC, Splitter:B:243:0x0457] */
  259. /* JADX WARNING: Removed duplicated region for block: B:250:? A[ExcHandler: LocalInterrupt | InterruptedException (unused java.lang.Throwable), SYNTHETIC, Splitter:B:1:0x003e] */
  260. /* JADX WARNING: Removed duplicated region for block: B:256:0x049a */
  261. /* JADX WARNING: Removed duplicated region for block: B:259:0x04ae A[SYNTHETIC, Splitter:B:259:0x04ae] */
  262. /* JADX WARNING: Removed duplicated region for block: B:57:? A[ExcHandler: Exception (unused java.lang.Exception), SYNTHETIC, Splitter:B:48:0x014d] */
  263. /* JADX WARNING: Removed duplicated region for block: B:61:? A[ExcHandler: LocalInterrupt | InterruptedException (unused java.lang.Throwable), SYNTHETIC, Splitter:B:48:0x014d] */
  264. /* Code decompiled incorrectly, please refer to instructions dump. */
  265. private void doPrint() {
  266. /*
  267. r28 = this;
  268. r1 = r28
  269. java.lang.String r0 = " LocalPrintThread doPrint"
  270. epson.print.Util.EPLog.m312i(r0)
  271. epson.print.screen.PrintSetting r0 = new epson.print.screen.PrintSetting
  272. epson.print.IprintApplication r2 = epson.print.IprintApplication.getInstance()
  273. android.content.Context r2 = r2.getApplicationContext()
  274. epson.print.screen.PrintSetting$Kind r3 = r1.mKind
  275. r0.<init>(r2, r3)
  276. r0.loadSettings()
  277. int r2 = r0.paperSizeValue
  278. int r6 = r0.paperTypeValue
  279. int r3 = r0.layoutValue
  280. int r15 = r0.layoutMultiPageValue
  281. int r14 = r0.qualityValue
  282. int r9 = r0.paperSourceValue
  283. int r13 = r0.colorValue
  284. int r12 = r0.copiesValue
  285. int r11 = r0.brightnessValue
  286. int r10 = r0.contrastValue
  287. int r8 = r0.saturationValue
  288. int r7 = r0.duplexValue
  289. int r5 = r0.feedDirectionValue
  290. int r0 = r0.printdate
  291. r17 = r11
  292. r16 = r12
  293. r18 = r15
  294. r15 = 0
  295. r19 = 0
  296. epson.print.service.PrintService r4 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  297. android.content.Context r4 = r4.getLocalApplicationContext() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  298. r21 = r0
  299. r0 = 1
  300. com.epson.mobilephone.common.wifidirect.WiFiDirectManager.setPriorityToSimpleAP(r4, r0) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  301. epson.print.service.RenderingController r4 = r1.mRenderingController // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  302. r4.drawBeforeStartJob() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  303. java.lang.StringBuilder r4 = new java.lang.StringBuilder // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  304. r4.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  305. java.lang.String r11 = "mIsBkRetry = "
  306. r4.append(r11) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  307. boolean r11 = r1.mIsBkRetry // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  308. r4.append(r11) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  309. java.lang.String r4 = r4.toString() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  310. com.epson.mobilephone.common.EpLog.d(r4) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  311. epson.print.service.PrintService r4 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  312. boolean r12 = r1.mIsBkRetry // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  313. r11 = 40
  314. r20 = r5
  315. r5 = r2
  316. r24 = r7
  317. r7 = r3
  318. r25 = r8
  319. r8 = r14
  320. r26 = r10
  321. r10 = r13
  322. r11 = r17
  323. r0 = r16
  324. r16 = r12
  325. r12 = r26
  326. r22 = r13
  327. r13 = r25
  328. r23 = r14
  329. r14 = r20
  330. r20 = r0
  331. r0 = r18
  332. r15 = r24
  333. int r15 = r4.startJob(r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x03ca, Exception -> 0x0369, all -> 0x035b }
  334. if (r15 != 0) goto L_0x034b
  335. epson.print.service.PrintService r4 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  336. boolean r4 = r4.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  337. if (r4 != 0) goto L_0x0326
  338. epson.print.service.RenderingController r4 = r1.mRenderingController // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  339. r4.startDrawAfterStartJob(r0) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  340. epson.print.service.RenderingController r4 = r1.mRenderingController // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  341. epson.print.EPImageList r4 = r4.getImageList() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  342. r1.gImageList = r4 // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  343. r4 = 65536(0x10000, float:9.18355E-41)
  344. r5 = 4
  345. r6 = 2
  346. if (r0 == r4) goto L_0x0101
  347. r4 = 131072(0x20000, float:1.83671E-40)
  348. if (r0 == r4) goto L_0x00e9
  349. r4 = 262144(0x40000, float:3.67342E-40)
  350. if (r0 == r4) goto L_0x00e9
  351. epson.print.EPImageList r4 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x00e0, LocalEscprException -> 0x00d5, Exception -> 0x00cb, all -> 0x00bf }
  352. int r4 = r4.size() // Catch:{ LocalInterrupt | InterruptedException -> 0x00e0, LocalEscprException -> 0x00d5, Exception -> 0x00cb, all -> 0x00bf }
  353. r14 = r4
  354. r12 = 1
  355. goto L_0x0118
  356. L_0x00bf:
  357. r0 = move-exception
  358. r2 = r0
  359. r0 = r19
  360. r3 = 40
  361. r4 = 60000(0xea60, double:2.9644E-319)
  362. r6 = 0
  363. goto L_0x033c
  364. L_0x00cb:
  365. r2 = r19
  366. L_0x00cd:
  367. r3 = 40
  368. r4 = 60000(0xea60, double:2.9644E-319)
  369. r6 = 0
  370. goto L_0x0371
  371. L_0x00d5:
  372. r0 = move-exception
  373. r2 = r19
  374. L_0x00d8:
  375. r3 = 40
  376. r4 = 60000(0xea60, double:2.9644E-319)
  377. r6 = 0
  378. goto L_0x0348
  379. L_0x00e0:
  380. r2 = r19
  381. r0 = 0
  382. L_0x00e3:
  383. r4 = 60000(0xea60, double:2.9644E-319)
  384. r6 = 0
  385. goto L_0x0487
  386. L_0x00e9:
  387. epson.print.EPImageList r4 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x00e0, LocalEscprException -> 0x00d5, Exception -> 0x00cb, all -> 0x00bf }
  388. int r4 = r4.size() // Catch:{ LocalInterrupt | InterruptedException -> 0x00e0, LocalEscprException -> 0x00d5, Exception -> 0x00cb, all -> 0x00bf }
  389. int r4 = r4 / r5
  390. epson.print.EPImageList r6 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x00e0, LocalEscprException -> 0x00d5, Exception -> 0x00cb, all -> 0x00bf }
  391. int r6 = r6.size() // Catch:{ LocalInterrupt | InterruptedException -> 0x00e0, LocalEscprException -> 0x00d5, Exception -> 0x00cb, all -> 0x00bf }
  392. int r6 = r6 % r5
  393. if (r6 <= 0) goto L_0x00fe
  394. int r4 = r4 + 1
  395. r14 = r4
  396. r12 = 4
  397. goto L_0x0118
  398. L_0x00fe:
  399. r14 = r4
  400. r12 = 4
  401. goto L_0x0118
  402. L_0x0101:
  403. epson.print.EPImageList r4 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  404. int r4 = r4.size() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  405. int r4 = r4 / r6
  406. epson.print.EPImageList r5 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  407. int r5 = r5.size() // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  408. int r5 = r5 % r6
  409. if (r5 <= 0) goto L_0x0116
  410. int r4 = r4 + 1
  411. r14 = r4
  412. r12 = 2
  413. goto L_0x0118
  414. L_0x0116:
  415. r14 = r4
  416. r12 = 2
  417. L_0x0118:
  418. epson.print.service.CreatePrintImageThread$LocalImageCreator r13 = new epson.print.service.CreatePrintImageThread$LocalImageCreator // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  419. r4 = r13
  420. r5 = r2
  421. r6 = r22
  422. r7 = r24
  423. r8 = r3
  424. r9 = r0
  425. r10 = r23
  426. r11 = r21
  427. r4.<init>(r5, r6, r7, r8, r9, r10, r11) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  428. epson.print.service.CreatePrintImageThread r2 = new epson.print.service.CreatePrintImageThread // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  429. epson.print.service.RenderingController r8 = r1.mRenderingController // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  430. epson.print.service.PrintService r9 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  431. epson.print.EPImageList r11 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  432. r7 = r2
  433. r10 = r13
  434. r13 = r14
  435. r7.<init>(r8, r9, r10, r11, r12, r13) // Catch:{ LocalInterrupt | InterruptedException -> 0x0480, LocalInterrupt | InterruptedException -> 0x0480, LocalEscprException -> 0x033f, Exception -> 0x0369, all -> 0x0332 }
  436. r2.start() // Catch:{ LocalInterrupt | InterruptedException -> 0x0320, LocalEscprException -> 0x031d, Exception -> 0x00cd, all -> 0x0313 }
  437. r0 = r20
  438. r3 = 0
  439. r4 = 0
  440. L_0x013e:
  441. if (r3 >= r0) goto L_0x02dc
  442. r4 = 0
  443. L_0x0141:
  444. if (r4 >= r14) goto L_0x02ac
  445. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  446. boolean r5 = r5.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  447. if (r5 != 0) goto L_0x027c
  448. if (r3 != 0) goto L_0x0193
  449. int r5 = r2.waitePrintImage() // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  450. if (r5 != r4) goto L_0x0154
  451. goto L_0x0193
  452. L_0x0154:
  453. java.lang.IllegalStateException r0 = new java.lang.IllegalStateException // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  454. java.lang.StringBuilder r3 = new java.lang.StringBuilder // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  455. r3.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  456. java.lang.String r6 = "Error. : createImageThread.waitePrintImage()"
  457. r3.append(r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  458. r3.append(r4) // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  459. java.lang.String r6 = ","
  460. r3.append(r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  461. r3.append(r5) // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  462. java.lang.String r3 = r3.toString() // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  463. r0.<init>(r3) // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  464. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x0186, Exception -> 0x017d, all -> 0x0173 }
  465. L_0x0173:
  466. r0 = move-exception
  467. r7 = r4
  468. r3 = 40
  469. r4 = 60000(0xea60, double:2.9644E-319)
  470. r6 = 0
  471. goto L_0x028f
  472. L_0x017d:
  473. r15 = r4
  474. r3 = 40
  475. r4 = 60000(0xea60, double:2.9644E-319)
  476. r6 = 0
  477. goto L_0x0372
  478. L_0x0186:
  479. r0 = move-exception
  480. r7 = r4
  481. r3 = 40
  482. r4 = 60000(0xea60, double:2.9644E-319)
  483. r6 = 0
  484. goto L_0x03d4
  485. L_0x0190:
  486. r0 = r4
  487. goto L_0x00e3
  488. L_0x0193:
  489. epson.print.EPImageList r5 = r1.gImageList // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  490. epson.print.EPImage r5 = r5.get(r4) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  491. epson.print.service.PrintService r6 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  492. java.lang.String r5 = r5.printImageFileName // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  493. int r15 = r6.initImage(r5) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x029b, Exception -> 0x0292, all -> 0x0287 }
  494. if (r15 == 0) goto L_0x01cb
  495. epson.print.service.PrintService r0 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  496. boolean r0 = r0.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  497. if (r0 == 0) goto L_0x01b1
  498. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  499. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  500. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  501. L_0x01b1:
  502. java.lang.IllegalStateException r0 = new java.lang.IllegalStateException // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  503. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  504. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  505. L_0x01b7:
  506. r0 = move-exception
  507. r7 = r4
  508. r3 = 40
  509. r4 = 60000(0xea60, double:2.9644E-319)
  510. r6 = 0
  511. goto L_0x0426
  512. L_0x01c1:
  513. r0 = move-exception
  514. r7 = r4
  515. r3 = 40
  516. r4 = 60000(0xea60, double:2.9644E-319)
  517. r6 = 0
  518. goto L_0x03d5
  519. L_0x01cb:
  520. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  521. boolean r5 = r5.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  522. if (r5 != 0) goto L_0x026f
  523. java.lang.String r5 = "LocalPrintThread"
  524. java.lang.String r6 = "next startPage()"
  525. android.util.Log.v(r5, r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  526. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  527. int r15 = r5.startPage() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  528. if (r15 != 0) goto L_0x0268
  529. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  530. boolean r5 = r5.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  531. if (r5 != 0) goto L_0x0261
  532. java.lang.String r5 = "LocalPrintThread"
  533. java.lang.String r6 = "next printPage()"
  534. android.util.Log.v(r5, r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  535. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  536. int r15 = r5.printPage() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  537. if (r15 != 0) goto L_0x0244
  538. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  539. boolean r5 = r5.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  540. if (r5 != 0) goto L_0x023d
  541. java.lang.String r5 = "LocalPrintThread"
  542. java.lang.String r6 = "next endPage()"
  543. android.util.Log.v(r5, r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  544. int r5 = r14 + -1
  545. if (r4 >= r5) goto L_0x0216
  546. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  547. r6 = 1
  548. int r5 = r5.endPage(r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x0190, LocalInterrupt | InterruptedException -> 0x0190, LocalEscprException -> 0x01c1, Exception -> 0x017d, all -> 0x01b7 }
  549. r15 = r5
  550. r6 = 0
  551. goto L_0x021e
  552. L_0x0216:
  553. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a5, LocalInterrupt | InterruptedException -> 0x02a5, LocalEscprException -> 0x0279, Exception -> 0x0292, all -> 0x0276 }
  554. r6 = 0
  555. int r5 = r5.endPage(r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  556. r15 = r5
  557. L_0x021e:
  558. if (r15 != 0) goto L_0x0237
  559. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  560. boolean r5 = r5.getCancelPrinting() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  561. if (r5 != 0) goto L_0x0231
  562. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  563. r5.releaseImage() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  564. int r4 = r4 + 1
  565. goto L_0x0141
  566. L_0x0231:
  567. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  568. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  569. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  570. L_0x0237:
  571. epson.print.service.LocalPrintThread$LocalEscprException r0 = new epson.print.service.LocalPrintThread$LocalEscprException // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  572. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  573. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  574. L_0x023d:
  575. r6 = 0
  576. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  577. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  578. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  579. L_0x0244:
  580. r6 = 0
  581. epson.print.service.LocalPrintThread$LocalEscprException r0 = new epson.print.service.LocalPrintThread$LocalEscprException // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  582. java.lang.StringBuilder r3 = new java.lang.StringBuilder // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  583. r3.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  584. java.lang.String r5 = "printPage() returns ["
  585. r3.append(r5) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  586. r3.append(r15) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  587. java.lang.String r5 = "]"
  588. r3.append(r5) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  589. java.lang.String r3 = r3.toString() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  590. r0.<init>(r3) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  591. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  592. L_0x0261:
  593. r6 = 0
  594. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  595. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  596. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  597. L_0x0268:
  598. r6 = 0
  599. epson.print.service.LocalPrintThread$LocalEscprException r0 = new epson.print.service.LocalPrintThread$LocalEscprException // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  600. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  601. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  602. L_0x026f:
  603. r6 = 0
  604. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  605. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  606. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  607. L_0x0276:
  608. r0 = move-exception
  609. r6 = 0
  610. goto L_0x02c6
  611. L_0x0279:
  612. r0 = move-exception
  613. r6 = 0
  614. goto L_0x02cf
  615. L_0x027c:
  616. r6 = 0
  617. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x0285, Exception -> 0x0293, all -> 0x0283 }
  618. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x0285, Exception -> 0x0293, all -> 0x0283 }
  619. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x0285, Exception -> 0x0293, all -> 0x0283 }
  620. L_0x0283:
  621. r0 = move-exception
  622. goto L_0x0289
  623. L_0x0285:
  624. r0 = move-exception
  625. goto L_0x029d
  626. L_0x0287:
  627. r0 = move-exception
  628. r6 = 0
  629. L_0x0289:
  630. r7 = r4
  631. r3 = 40
  632. r4 = 60000(0xea60, double:2.9644E-319)
  633. L_0x028f:
  634. r15 = 0
  635. goto L_0x0426
  636. L_0x0292:
  637. r6 = 0
  638. L_0x0293:
  639. r15 = r4
  640. r3 = 40
  641. r4 = 60000(0xea60, double:2.9644E-319)
  642. goto L_0x0372
  643. L_0x029b:
  644. r0 = move-exception
  645. r6 = 0
  646. L_0x029d:
  647. r7 = r4
  648. r3 = 40
  649. r4 = 60000(0xea60, double:2.9644E-319)
  650. goto L_0x03d4
  651. L_0x02a5:
  652. r6 = 0
  653. L_0x02a6:
  654. r0 = r4
  655. r4 = 60000(0xea60, double:2.9644E-319)
  656. goto L_0x0487
  657. L_0x02ac:
  658. r6 = 0
  659. if (r24 == 0) goto L_0x02d7
  660. if (r4 == 0) goto L_0x02d7
  661. int r5 = r4 % 2
  662. r7 = 1
  663. if (r5 != r7) goto L_0x02d8
  664. int r12 = r0 + -1
  665. if (r3 == r12) goto L_0x02d8
  666. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  667. r5.startPage() // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  668. epson.print.service.PrintService r5 = r1.mEpsonService // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  669. r5.endPage(r6) // Catch:{ LocalInterrupt | InterruptedException -> 0x02a6, LocalEscprException -> 0x02ce, Exception -> 0x0293, all -> 0x02c5 }
  670. goto L_0x02d8
  671. L_0x02c5:
  672. r0 = move-exception
  673. L_0x02c6:
  674. r7 = r4
  675. r3 = 40
  676. r4 = 60000(0xea60, double:2.9644E-319)
  677. goto L_0x0426
  678. L_0x02ce:
  679. r0 = move-exception
  680. L_0x02cf:
  681. r7 = r4
  682. r3 = 40
  683. r4 = 60000(0xea60, double:2.9644E-319)
  684. goto L_0x03d5
  685. L_0x02d7:
  686. r7 = 1
  687. L_0x02d8:
  688. int r3 = r3 + 1
  689. goto L_0x013e
  690. L_0x02dc:
  691. r6 = 0
  692. java.lang.String r0 = "LocalPrintThread"
  693. java.lang.String r3 = "enter finally"
  694. android.util.Log.v(r0, r3)
  695. epson.print.service.PrintService r0 = r1.mEpsonService
  696. r0.endJob()
  697. epson.print.service.RenderingController r0 = r1.mRenderingController
  698. r0.interruptSubThreads()
  699. r2.interrupt()
  700. r3 = 40
  701. if (r15 == r3) goto L_0x02fd
  702. epson.print.service.PrintService r0 = r1.mEpsonService
  703. boolean r0 = r0.getCancelPrinting()
  704. if (r0 == 0) goto L_0x02fe
  705. L_0x02fd:
  706. r15 = 0
  707. L_0x02fe:
  708. epson.print.service.PrintService r0 = r1.mEpsonService
  709. android.content.Context r0 = r0.getLocalApplicationContext()
  710. com.epson.iprint.prtlogger.Analytics.savePrintInfo(r0, r4)
  711. r4 = 60000(0xea60, double:2.9644E-319)
  712. r2.join(r4) // Catch:{ InterruptedException -> 0x030f }
  713. goto L_0x040d
  714. L_0x030f:
  715. r0 = move-exception
  716. r2 = r0
  717. goto L_0x040a
  718. L_0x0313:
  719. r0 = move-exception
  720. r3 = 40
  721. r4 = 60000(0xea60, double:2.9644E-319)
  722. r6 = 0
  723. r7 = 0
  724. goto L_0x0426
  725. L_0x031d:
  726. r0 = move-exception
  727. goto L_0x00d8
  728. L_0x0320:
  729. r4 = 60000(0xea60, double:2.9644E-319)
  730. r6 = 0
  731. goto L_0x0486
  732. L_0x0326:
  733. r3 = 40
  734. r4 = 60000(0xea60, double:2.9644E-319)
  735. r6 = 0
  736. epson.print.service.LocalInterrupt r0 = new epson.print.service.LocalInterrupt // Catch:{ LocalInterrupt | InterruptedException -> 0x0484, LocalEscprException -> 0x0359, Exception -> 0x036f, all -> 0x0357 }
  737. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x0484, LocalEscprException -> 0x0359, Exception -> 0x036f, all -> 0x0357 }
  738. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x0484, LocalEscprException -> 0x0359, Exception -> 0x036f, all -> 0x0357 }
  739. L_0x0332:
  740. r0 = move-exception
  741. r3 = 40
  742. r4 = 60000(0xea60, double:2.9644E-319)
  743. r6 = 0
  744. L_0x0339:
  745. r2 = r0
  746. r0 = r19
  747. L_0x033c:
  748. r7 = 0
  749. goto L_0x042b
  750. L_0x033f:
  751. r0 = move-exception
  752. r3 = 40
  753. r4 = 60000(0xea60, double:2.9644E-319)
  754. r6 = 0
  755. L_0x0346:
  756. r2 = r19
  757. L_0x0348:
  758. r7 = 0
  759. goto L_0x03d5
  760. L_0x034b:
  761. r3 = 40
  762. r4 = 60000(0xea60, double:2.9644E-319)
  763. r6 = 0
  764. epson.print.service.LocalPrintThread$LocalEscprException r0 = new epson.print.service.LocalPrintThread$LocalEscprException // Catch:{ LocalInterrupt | InterruptedException -> 0x0484, LocalEscprException -> 0x0359, Exception -> 0x036f, all -> 0x0357 }
  765. r0.<init>() // Catch:{ LocalInterrupt | InterruptedException -> 0x0484, LocalEscprException -> 0x0359, Exception -> 0x036f, all -> 0x0357 }
  766. throw r0 // Catch:{ LocalInterrupt | InterruptedException -> 0x0484, LocalEscprException -> 0x0359, Exception -> 0x036f, all -> 0x0357 }
  767. L_0x0357:
  768. r0 = move-exception
  769. goto L_0x0339
  770. L_0x0359:
  771. r0 = move-exception
  772. goto L_0x0346
  773. L_0x035b:
  774. r0 = move-exception
  775. r3 = 40
  776. r4 = 60000(0xea60, double:2.9644E-319)
  777. r6 = 0
  778. r2 = r0
  779. r0 = r19
  780. r7 = 0
  781. r15 = 0
  782. goto L_0x042b
  783. L_0x0369:
  784. r3 = 40
  785. r4 = 60000(0xea60, double:2.9644E-319)
  786. r6 = 0
  787. L_0x036f:
  788. r2 = r19
  789. L_0x0371:
  790. r15 = 0
  791. L_0x0372:
  792. r7 = -5201(0xffffffffffffebaf, float:NaN)
  793. epson.print.service.PrintService r0 = r1.mEpsonService // Catch:{ all -> 0x03c5 }
  794. r8 = -1
  795. r0.epsNotifyError(r8, r7, r6) // Catch:{ all -> 0x03c5 }
  796. java.lang.String r0 = "LocalPrintThread"
  797. java.lang.String r3 = "enter finally"
  798. android.util.Log.v(r0, r3)
  799. epson.print.service.PrintService r0 = r1.mEpsonService
  800. r0.endJob()
  801. epson.print.service.RenderingController r0 = r1.mRenderingController
  802. r0.interruptSubThreads()
  803. if (r2 == 0) goto L_0x0390
  804. r2.interrupt()
  805. L_0x0390:
  806. epson.print.service.PrintService r0 = r1.mEpsonService
  807. boolean r0 = r0.getCancelPrinting()
  808. if (r0 == 0) goto L_0x0399
  809. r7 = 0
  810. L_0x0399:
  811. epson.print.service.PrintService r0 = r1.mEpsonService
  812. android.content.Context r0 = r0.getLocalApplicationContext()
  813. com.epson.iprint.prtlogger.Analytics.savePrintInfo(r0, r15)
  814. if (r2 == 0) goto L_0x03ad
  815. r2.join(r4) // Catch:{ InterruptedException -> 0x03a8 }
  816. goto L_0x03ad
  817. L_0x03a8:
  818. r0 = move-exception
  819. r2 = r0
  820. r2.printStackTrace()
  821. L_0x03ad:
  822. epson.print.service.RenderingController r0 = r1.mRenderingController
  823. r0.joinSubThread(r4)
  824. java.lang.String r0 = "LocalPrintThread"
  825. java.lang.String r2 = "join() finished"
  826. android.util.Log.v(r0, r2)
  827. epson.print.service.PrintService r0 = r1.mEpsonService
  828. r0.waitIfSimpleAp()
  829. epson.print.service.PrintService r0 = r1.mEpsonService
  830. r0.notifyEndJob(r7)
  831. goto L_0x04cd
  832. L_0x03c5:
  833. r0 = move-exception
  834. r7 = r15
  835. r15 = -5201(0xffffffffffffebaf, float:NaN)
  836. goto L_0x0426
  837. L_0x03ca:
  838. r0 = move-exception
  839. r3 = 40
  840. r4 = 60000(0xea60, double:2.9644E-319)
  841. r6 = 0
  842. r2 = r19
  843. r7 = 0
  844. L_0x03d4:
  845. r15 = 0
  846. L_0x03d5:
  847. r0.printStackTrace() // Catch:{ all -> 0x0425 }
  848. java.lang.String r0 = "LocalPrintThread"
  849. java.lang.String r8 = "enter finally"
  850. android.util.Log.v(r0, r8)
  851. epson.print.service.PrintService r0 = r1.mEpsonService
  852. r0.endJob()
  853. epson.print.service.RenderingController r0 = r1.mRenderingController
  854. r0.interruptSubThreads()
  855. if (r2 == 0) goto L_0x03ee
  856. r2.interrupt()
  857. L_0x03ee:
  858. if (r15 == r3) goto L_0x03f8
  859. epson.print.service.PrintService r0 = r1.mEpsonService
  860. boolean r0 = r0.getCancelPrinting()
  861. if (r0 == 0) goto L_0x03f9
  862. L_0x03f8:
  863. r15 = 0
  864. L_0x03f9:
  865. epson.print.service.PrintService r0 = r1.mEpsonService
  866. android.content.Context r0 = r0.getLocalApplicationContext()
  867. com.epson.iprint.prtlogger.Analytics.savePrintInfo(r0, r7)
  868. if (r2 == 0) goto L_0x040d
  869. r2.join(r4) // Catch:{ InterruptedException -> 0x0408 }
  870. goto L_0x040d
  871. L_0x0408:
  872. r0 = move-exception
  873. r2 = r0
  874. L_0x040a:
  875. r2.printStackTrace()
  876. L_0x040d:
  877. epson.print.service.RenderingController r0 = r1.mRenderingController
  878. r0.joinSubThread(r4)
  879. java.lang.String r0 = "LocalPrintThread"
  880. java.lang.String r2 = "join() finished"
  881. android.util.Log.v(r0, r2)
  882. epson.print.service.PrintService r0 = r1.mEpsonService
  883. r0.waitIfSimpleAp()
  884. epson.print.service.PrintService r0 = r1.mEpsonService
  885. r0.notifyEndJob(r15)
  886. goto L_0x04cd
  887. L_0x0425:
  888. r0 = move-exception
  889. L_0x0426:
  890. r27 = r2
  891. r2 = r0
  892. r0 = r27
  893. L_0x042b:
  894. java.lang.String r8 = "LocalPrintThread"
  895. java.lang.String r9 = "enter finally"
  896. android.util.Log.v(r8, r9)
  897. epson.print.service.PrintService r8 = r1.mEpsonService
  898. r8.endJob()
  899. epson.print.service.RenderingController r8 = r1.mRenderingController
  900. r8.interruptSubThreads()
  901. if (r0 == 0) goto L_0x0441
  902. r0.interrupt()
  903. L_0x0441:
  904. if (r15 == r3) goto L_0x044b
  905. epson.print.service.PrintService r3 = r1.mEpsonService
  906. boolean r3 = r3.getCancelPrinting()
  907. if (r3 == 0) goto L_0x044c
  908. L_0x044b:
  909. r15 = 0
  910. L_0x044c:
  911. epson.print.service.PrintService r3 = r1.mEpsonService
  912. android.content.Context r3 = r3.getLocalApplicationContext()
  913. com.epson.iprint.prtlogger.Analytics.savePrintInfo(r3, r7)
  914. if (r0 == 0) goto L_0x0460
  915. r0.join(r4) // Catch:{ InterruptedException -> 0x045b }
  916. goto L_0x0460
  917. L_0x045b:
  918. r0 = move-exception
  919. r3 = r0
  920. r3.printStackTrace()
  921. L_0x0460:
  922. epson.print.service.RenderingController r0 = r1.mRenderingController
  923. r0.joinSubThread(r4)
  924. java.lang.String r0 = "LocalPrintThread"
  925. java.lang.String r3 = "join() finished"
  926. android.util.Log.v(r0, r3)
  927. epson.print.service.PrintService r0 = r1.mEpsonService
  928. r0.waitIfSimpleAp()
  929. epson.print.service.PrintService r0 = r1.mEpsonService
  930. r0.notifyEndJob(r15)
  931. epson.print.service.PrintService r0 = r1.mEpsonService
  932. android.content.Context r0 = r0.getLocalApplicationContext()
  933. com.epson.mobilephone.common.wifidirect.WiFiDirectManager.setPriorityToSimpleAP(r0, r6)
  934. throw r2
  935. L_0x0480:
  936. r4 = 60000(0xea60, double:2.9644E-319)
  937. r6 = 0
  938. L_0x0484:
  939. r2 = r19
  940. L_0x0486:
  941. r0 = 0
  942. L_0x0487:
  943. java.lang.String r3 = "LocalPrintThread"
  944. java.lang.String r7 = "enter finally"
  945. android.util.Log.v(r3, r7)
  946. epson.print.service.PrintService r3 = r1.mEpsonService
  947. r3.endJob()
  948. epson.print.service.RenderingController r3 = r1.mRenderingController
  949. r3.interruptSubThreads()
  950. if (r2 == 0) goto L_0x049d
  951. r2.interrupt()
  952. L_0x049d:
  953. epson.print.service.PrintService r3 = r1.mEpsonService
  954. boolean r3 = r3.getCancelPrinting()
  955. epson.print.service.PrintService r3 = r1.mEpsonService
  956. android.content.Context r3 = r3.getLocalApplicationContext()
  957. com.epson.iprint.prtlogger.Analytics.savePrintInfo(r3, r0)
  958. if (r2 == 0) goto L_0x04b7
  959. r2.join(r4) // Catch:{ InterruptedException -> 0x04b2 }
  960. goto L_0x04b7
  961. L_0x04b2:
  962. r0 = move-exception
  963. r2 = r0
  964. r2.printStackTrace()
  965. L_0x04b7:
  966. epson.print.service.RenderingController r0 = r1.mRenderingController
  967. r0.joinSubThread(r4)
  968. java.lang.String r0 = "LocalPrintThread"
  969. java.lang.String r2 = "join() finished"
  970. android.util.Log.v(r0, r2)
  971. epson.print.service.PrintService r0 = r1.mEpsonService
  972. r0.waitIfSimpleAp()
  973. epson.print.service.PrintService r0 = r1.mEpsonService
  974. r0.notifyEndJob(r6)
  975. L_0x04cd:
  976. epson.print.service.PrintService r0 = r1.mEpsonService
  977. android.content.Context r0 = r0.getLocalApplicationContext()
  978. com.epson.mobilephone.common.wifidirect.WiFiDirectManager.setPriorityToSimpleAP(r0, r6)
  979. return
  980. */
  981. throw new UnsupportedOperationException("Method not decompiled: epson.print.service.LocalPrintThread.doPrint():void");
  982. }
  983. static class LocalEscprException extends Exception {
  984. public LocalEscprException() {
  985. }
  986. public LocalEscprException(String str) {
  987. super(str);
  988. }
  989. }
  990. }