RegistedDocumentSizeList.java 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. package com.epson.cameracopy.printlayout;
  2. import android.content.Context;
  3. import org.json.JSONException;
  4. import org.json.JSONObject;
  5. import java.io.FileOutputStream;
  6. import java.io.IOException;
  7. import java.util.Collection;
  8. import java.util.Iterator;
  9. import java.util.LinkedList;
  10. import java.util.Locale;
  11. public class RegistedDocumentSizeList {
  12. private static final int CLASS_SAVE_VERSION = 1;
  13. private static int DEFAULT_PAPER_SIZE_COUNT = 17;
  14. private static final int[] DOCSIZE_NAME_ID = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
  15. private static final double[] PAPER_SIZE_HEIGHT = {297.0d, 420.0d, 297.0d, 210.0d, 148.0d, 364.0d, 257.0d, 182.0d, 11.0d, 14.0d, 148.0d, 152.0d, 127.0d, 178.0d, 86.0d, 91.0d, 182.0d};
  16. private static final int[] PAPER_SIZE_ID = {-1, 62, 0, 3, 4, 63, 5, 46, 1, 2, 16, 10, 15, 28, 35, 36, 46};
  17. private static final int[] PAPER_SIZE_NAME = {R.string.papersize_auto, R.string.papersize_a3, R.string.papersize_a4, R.string.papersize_a5, R.string.papersize_a6, R.string.papersize_b4, R.string.papersize_b5, R.string.papersize_b6, R.string.papersize_letter, R.string.papersize_legal, R.string.papersize_postcard, R.string.papersize_10x15, R.string.papersize_l, R.string.papersize_2l, R.string.papersize_card, R.string.papersize_buzcard, R.string.papersize_passport};
  18. private static final int[] PAPER_SIZE_SCALE = {1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1};
  19. private static final double[] PAPER_SIZE_WIDTH = {210.0d, 297.0d, 210.0d, 148.0d, 105.0d, 257.0d, 182.0d, 128.0d, 8.5d, 8.5d, 100.0d, 102.0d, 89.0d, 127.0d, 54.0d, 55.0d, 128.0d};
  20. private static final String REGISTED_DOCUMENTSIZE_LIST_FILENAME = "registed_documentsize.bin";
  21. static RegistedDocumentSizeList sRegistedDocumentSizeList;
  22. Context mContext;
  23. DocumentSizeInfo mCurrentDocumentSize;
  24. private LinkedList<DocumentSizeInfo> mDocumentSizeList = new LinkedList<>();
  25. RegistedDocumentSizeList(Context context) {
  26. if (context != null) {
  27. mContext = context;
  28. initData();
  29. return;
  30. }
  31. throw new IllegalArgumentException("context is null");
  32. }
  33. public static DocumentSizeInfo getCurrentDocumentSize(Context context) {
  34. RegistedDocumentSizeList registedDocumentSizeList = sRegistedDocumentSizeList;
  35. if (registedDocumentSizeList != null) {
  36. return registedDocumentSizeList.getCurrentDocumentSize();
  37. }
  38. return getInstance(context).getCurrentDocumentSize();
  39. }
  40. public static RegistedDocumentSizeList getInstance(Context context) {
  41. if (context != null) {
  42. if (sRegistedDocumentSizeList == null) {
  43. sRegistedDocumentSizeList = new RegistedDocumentSizeList(context);
  44. sRegistedDocumentSizeList.restoreData(context);
  45. }
  46. return sRegistedDocumentSizeList;
  47. }
  48. throw new RuntimeException("context == null");
  49. }
  50. public Collection<DocumentSizeInfo> getRegistedList() {
  51. return mDocumentSizeList;
  52. }
  53. public DocumentSizeInfo getCurrentDocumentSize() {
  54. return mCurrentDocumentSize;
  55. }
  56. public void add(DocumentSizeInfo documentSizeInfo) {
  57. if (documentSizeInfo != null) {
  58. mDocumentSizeList.add(documentSizeInfo);
  59. mCurrentDocumentSize = documentSizeInfo;
  60. saveData(mContext);
  61. }
  62. }
  63. public void update(DocumentSizeInfo documentSizeInfo, int i) {
  64. DocumentSizeInfo documentSizeInfo2 = mDocumentSizeList.get(i);
  65. if (documentSizeInfo2 != null) {
  66. documentSizeInfo2.update(documentSizeInfo);
  67. mCurrentDocumentSize = mDocumentSizeList.get(i);
  68. saveData(mContext);
  69. }
  70. }
  71. public void delete(DocumentSizeInfo documentSizeInfo, int i) {
  72. mDocumentSizeList.remove(documentSizeInfo);
  73. DocumentSizeInfo documentSizeInfo2 = mCurrentDocumentSize;
  74. if (documentSizeInfo2 != null && documentSizeInfo2.equals(documentSizeInfo)) {
  75. if (i > 0) {
  76. mCurrentDocumentSize = mDocumentSizeList.get(i - 1);
  77. } else if (mDocumentSizeList.size() > 0) {
  78. mCurrentDocumentSize = mDocumentSizeList.get(0);
  79. } else {
  80. mCurrentDocumentSize = null;
  81. }
  82. }
  83. }
  84. public void deleteAll() {
  85. LinkedList<DocumentSizeInfo> linkedList = mDocumentSizeList;
  86. linkedList.removeAll(linkedList);
  87. mCurrentDocumentSize = null;
  88. }
  89. public void reset() {
  90. initData();
  91. for (int i = 0; i < DEFAULT_PAPER_SIZE_COUNT; i++) {
  92. DocumentSizeInfo documentSizeInfo = new DocumentSizeInfo();
  93. documentSizeInfo.setDocSizeName(mContext.getString(PAPER_SIZE_NAME[i]));
  94. documentSizeInfo.setScaleId(PAPER_SIZE_SCALE[i]);
  95. documentSizeInfo.setWidth(PAPER_SIZE_WIDTH[i]);
  96. documentSizeInfo.setHeight(PAPER_SIZE_HEIGHT[i]);
  97. documentSizeInfo.setPaperId(PAPER_SIZE_ID[i]);
  98. documentSizeInfo.setDocSizeNameId(DOCSIZE_NAME_ID[i]);
  99. add(documentSizeInfo);
  100. }
  101. select(0);
  102. }
  103. public int size() {
  104. return mDocumentSizeList.size();
  105. }
  106. public DocumentSizeInfo getItem(int i) {
  107. return mDocumentSizeList.get(i);
  108. }
  109. public DocumentSizeInfo getItem(String str) {
  110. DocumentSizeInfo documentSizeInfo;
  111. Iterator it = mDocumentSizeList.iterator();
  112. do {
  113. documentSizeInfo = null;
  114. if (!it.hasNext()) {
  115. break;
  116. }
  117. documentSizeInfo = (DocumentSizeInfo) it.next();
  118. } while (!documentSizeInfo.getDocSizeName().equals(str));
  119. return documentSizeInfo;
  120. }
  121. public boolean isExistDocumentSizeName(String str, int i) {
  122. DocumentSizeInfo item = getItem(str);
  123. return (item == null || mDocumentSizeList.indexOf(item) == i) ? false : true;
  124. }
  125. public void storeData() {
  126. saveData(mContext);
  127. }
  128. public boolean isSelected(DocumentSizeInfo documentSizeInfo) {
  129. DocumentSizeInfo documentSizeInfo2 = mCurrentDocumentSize;
  130. if (documentSizeInfo2 == null) {
  131. return false;
  132. }
  133. return documentSizeInfo2.equals(documentSizeInfo);
  134. }
  135. public void select(int i) {
  136. if (i < 0) {
  137. mCurrentDocumentSize = null;
  138. } else if (i < mDocumentSizeList.size()) {
  139. mCurrentDocumentSize = mDocumentSizeList.get(i);
  140. saveData(mContext);
  141. } else {
  142. throw new IndexOutOfBoundsException(String.format(Locale.US, "position <%d> learger than list size <%s>", new Object[]{Integer.valueOf(i), Integer.valueOf(mDocumentSizeList.size())}));
  143. }
  144. }
  145. public void select(DocumentSizeInfo documentSizeInfo) {
  146. if (documentSizeInfo != null) {
  147. int indexOf = mDocumentSizeList.indexOf(documentSizeInfo);
  148. if (indexOf >= 0) {
  149. mCurrentDocumentSize = mDocumentSizeList.get(indexOf);
  150. } else {
  151. mDocumentSizeList.add(documentSizeInfo);
  152. mCurrentDocumentSize = documentSizeInfo;
  153. }
  154. saveData(mContext);
  155. return;
  156. }
  157. throw new IllegalArgumentException("DocumentSizeInfo is null");
  158. }
  159. public int getCurrentDocumentSizePosition() {
  160. Iterator it = mDocumentSizeList.iterator();
  161. int i = 0;
  162. while (it.hasNext()) {
  163. if (((DocumentSizeInfo) it.next()) == mCurrentDocumentSize) {
  164. return i;
  165. }
  166. i++;
  167. }
  168. return -1;
  169. }
  170. public Iterator<DocumentSizeInfo> getIterator() {
  171. return mDocumentSizeList.iterator();
  172. }
  173. public int indexOf(DocumentSizeInfo documentSizeInfo) {
  174. LinkedList<DocumentSizeInfo> linkedList = mDocumentSizeList;
  175. if (linkedList == null) {
  176. return -1;
  177. }
  178. return linkedList.indexOf(documentSizeInfo);
  179. }
  180. private void initData() {
  181. mDocumentSizeList.clear();
  182. mCurrentDocumentSize = null;
  183. }
  184. private void saveData(Context context) {
  185. FileOutputStream fileOutputStream = null;
  186. try {
  187. fileOutputStream = context.openFileOutput(REGISTED_DOCUMENTSIZE_LIST_FILENAME, 0);
  188. JSONObject jSONObject = new JSONObject();
  189. jSONObject.put("version", 1);
  190. jSONObject.put("DocumentSizeInfoList", DocumentSizeInfo.makeDocumentSizeInfoList(mDocumentSizeList));
  191. jSONObject.put("currentDocumentSize", mCurrentDocumentSize);
  192. fileOutputStream.write(jSONObject.toString().getBytes());
  193. if (fileOutputStream == null) {
  194. return;
  195. }
  196. } catch (IOException unused) {
  197. if (fileOutputStream == null) {
  198. return;
  199. }
  200. } catch (JSONException e) {
  201. e.printStackTrace();
  202. if (fileOutputStream == null) {
  203. return;
  204. }
  205. } catch (Throwable th) {
  206. if (fileOutputStream != null) {
  207. try {
  208. fileOutputStream.close();
  209. } catch (IOException unused2) {
  210. }
  211. }
  212. throw th;
  213. }
  214. try {
  215. fileOutputStream.close();
  216. } catch (IOException unused3) {
  217. }
  218. }
  219. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r2v6, resolved type: java.lang.Object} */
  220. /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r3v6, resolved type: java.lang.Integer} */
  221. /* JADX WARNING: Code restructure failed: missing block: B:59:?, code lost:
  222. r0.close();
  223. */
  224. /* JADX WARNING: Code restructure failed: missing block: B:68:?, code lost:
  225. r0.close();
  226. */
  227. /* JADX WARNING: Code restructure failed: missing block: B:85:?, code lost:
  228. return;
  229. */
  230. /* JADX WARNING: Code restructure failed: missing block: B:86:?, code lost:
  231. return;
  232. */
  233. /* JADX WARNING: Exception block dominator not found, dom blocks: [B:55:0x00c9, B:64:0x00d7] */
  234. /* JADX WARNING: Missing exception handler attribute for start block: B:55:0x00c9 */
  235. /* JADX WARNING: Missing exception handler attribute for start block: B:64:0x00d7 */
  236. /* JADX WARNING: Multi-variable type inference failed */
  237. /* JADX WARNING: Removed duplicated region for block: B:39:0x00b0 A[SYNTHETIC, Splitter:B:39:0x00b0] */
  238. /* JADX WARNING: Removed duplicated region for block: B:58:0x00ce A[SYNTHETIC, Splitter:B:58:0x00ce] */
  239. /* JADX WARNING: Removed duplicated region for block: B:67:0x00dc A[SYNTHETIC, Splitter:B:67:0x00dc] */
  240. /* JADX WARNING: Removed duplicated region for block: B:75:0x00eb A[SYNTHETIC, Splitter:B:75:0x00eb] */
  241. /* JADX WARNING: Removed duplicated region for block: B:79:0x00f2 A[SYNTHETIC, Splitter:B:79:0x00f2] */
  242. /* JADX WARNING: Removed duplicated region for block: B:84:? A[RETURN, SYNTHETIC] */
  243. /* JADX WARNING: Removed duplicated region for block: B:85:? A[RETURN, SYNTHETIC] */
  244. /* JADX WARNING: Removed duplicated region for block: B:86:? A[RETURN, SYNTHETIC] */
  245. /* JADX WARNING: Unknown top exception splitter block from list: {B:64:0x00d7=Splitter:B:64:0x00d7, B:55:0x00c9=Splitter:B:55:0x00c9} */
  246. /* Code decompiled incorrectly, please refer to instructions dump. */
  247. private void restoreData(android.content.Context r8) {
  248. /*
  249. r7 = this;
  250. r0 = 0
  251. java.lang.String r1 = "registed_documentsize.bin"
  252. java.io.FileInputStream r1 = r8.openFileInput(r1) // Catch:{ ClassNotFoundException -> 0x00d6, IOException -> 0x00c8, all -> 0x00c5 }
  253. r2 = 1
  254. int r3 = r1.available() // Catch:{ JSONException -> 0x004b }
  255. byte[] r3 = new byte[r3] // Catch:{ JSONException -> 0x004b }
  256. r1.read(r3) // Catch:{ JSONException -> 0x004b }
  257. org.json.JSONObject r4 = new org.json.JSONObject // Catch:{ JSONException -> 0x004b }
  258. java.lang.String r5 = new java.lang.String // Catch:{ JSONException -> 0x004b }
  259. r5.<init>(r3) // Catch:{ JSONException -> 0x004b }
  260. r4.<init>(r5) // Catch:{ JSONException -> 0x004b }
  261. java.lang.String r3 = "version"
  262. int r3 = r4.getInt(r3) // Catch:{ JSONException -> 0x004b }
  263. java.lang.Integer r3 = java.lang.Integer.valueOf(r3) // Catch:{ JSONException -> 0x004b }
  264. int r3 = r3.intValue() // Catch:{ JSONException -> 0x004b }
  265. if (r3 != r2) goto L_0x003c
  266. java.util.LinkedList r3 = com.epson.cameracopy.printlayout.DocumentSizeInfo.getDocumentSizeInfoList(r4) // Catch:{ JSONException -> 0x004b }
  267. r7.mDocumentSizeList = r3 // Catch:{ JSONException -> 0x004b }
  268. java.lang.String r3 = "currentDocumentSize"
  269. int r3 = r4.optInt(r3) // Catch:{ JSONException -> 0x004b }
  270. java.lang.Integer r3 = java.lang.Integer.valueOf(r3) // Catch:{ JSONException -> 0x004b }
  271. goto L_0x0051
  272. L_0x003c:
  273. java.io.IOException r3 = new java.io.IOException // Catch:{ JSONException -> 0x004b }
  274. r3.<init>() // Catch:{ JSONException -> 0x004b }
  275. throw r3 // Catch:{ JSONException -> 0x004b }
  276. L_0x0042:
  277. r8 = move-exception
  278. goto L_0x00e9
  279. L_0x0045:
  280. r8 = r1
  281. goto L_0x00c9
  282. L_0x0048:
  283. r8 = r1
  284. goto L_0x00d7
  285. L_0x004b:
  286. r3 = move-exception
  287. r3.printStackTrace() // Catch:{ ClassNotFoundException -> 0x0048, IOException -> 0x0045, all -> 0x0042 }
  288. r3 = r0
  289. r4 = r3
  290. L_0x0051:
  291. if (r4 != 0) goto L_0x0083
  292. r1.close() // Catch:{ ClassNotFoundException -> 0x0048, IOException -> 0x0045, all -> 0x0042 }
  293. java.lang.String r3 = "registed_documentsize.bin"
  294. java.io.FileInputStream r8 = r8.openFileInput(r3) // Catch:{ ClassNotFoundException -> 0x0048, IOException -> 0x0045, all -> 0x0042 }
  295. java.io.ObjectInputStream r1 = new java.io.ObjectInputStream // Catch:{ ClassNotFoundException -> 0x00d7, IOException -> 0x00c9 }
  296. r1.<init>(r8) // Catch:{ ClassNotFoundException -> 0x00d7, IOException -> 0x00c9 }
  297. java.lang.Object r3 = r1.readObject() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  298. java.lang.Integer r3 = (java.lang.Integer) r3 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  299. int r3 = r3.intValue() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  300. if (r3 != r2) goto L_0x007d
  301. java.lang.Object r2 = r1.readObject() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  302. java.util.LinkedList r2 = (java.util.LinkedList) r2 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  303. r7.mDocumentSizeList = r2 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  304. java.lang.Object r2 = r1.readObject() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  305. r3 = r2
  306. java.lang.Integer r3 = (java.lang.Integer) r3 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  307. goto L_0x0085
  308. L_0x007d:
  309. java.io.IOException r0 = new java.io.IOException // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  310. r0.<init>() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  311. throw r0 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  312. L_0x0083:
  313. r8 = r1
  314. r1 = r0
  315. L_0x0085:
  316. if (r3 == 0) goto L_0x00ac
  317. int r2 = r3.intValue() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  318. java.util.LinkedList<com.epson.cameracopy.printlayout.DocumentSizeInfo> r4 = r7.mDocumentSizeList // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  319. int r4 = r4.size() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  320. if (r2 < r4) goto L_0x0094
  321. goto L_0x00ac
  322. L_0x0094:
  323. int r2 = r3.intValue() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  324. if (r2 >= 0) goto L_0x009d
  325. r7.mCurrentDocumentSize = r0 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  326. goto L_0x00ae
  327. L_0x009d:
  328. java.util.LinkedList<com.epson.cameracopy.printlayout.DocumentSizeInfo> r0 = r7.mDocumentSizeList // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  329. int r2 = r3.intValue() // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  330. java.lang.Object r0 = r0.get(r2) // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  331. com.epson.cameracopy.printlayout.DocumentSizeInfo r0 = (com.epson.cameracopy.printlayout.DocumentSizeInfo) r0 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  332. r7.mCurrentDocumentSize = r0 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  333. goto L_0x00ae
  334. L_0x00ac:
  335. r7.mCurrentDocumentSize = r0 // Catch:{ ClassNotFoundException -> 0x00c3, IOException -> 0x00c1, all -> 0x00bb }
  336. L_0x00ae:
  337. if (r1 == 0) goto L_0x00b5
  338. r1.close() // Catch:{ IOException -> 0x00b4 }
  339. goto L_0x00b5
  340. L_0x00b4:
  341. L_0x00b5:
  342. if (r8 == 0) goto L_0x00e4
  343. L_0x00b7:
  344. r8.close() // Catch:{ IOException -> 0x00e4 }
  345. goto L_0x00e4
  346. L_0x00bb:
  347. r0 = move-exception
  348. r6 = r1
  349. r1 = r8
  350. r8 = r0
  351. r0 = r6
  352. goto L_0x00e9
  353. L_0x00c1:
  354. r0 = r1
  355. goto L_0x00c9
  356. L_0x00c3:
  357. r0 = r1
  358. goto L_0x00d7
  359. L_0x00c5:
  360. r8 = move-exception
  361. r1 = r0
  362. goto L_0x00e9
  363. L_0x00c8:
  364. r8 = r0
  365. L_0x00c9:
  366. r7.reset() // Catch:{ all -> 0x00e5 }
  367. if (r0 == 0) goto L_0x00d3
  368. r0.close() // Catch:{ IOException -> 0x00d2 }
  369. goto L_0x00d3
  370. L_0x00d2:
  371. L_0x00d3:
  372. if (r8 == 0) goto L_0x00e4
  373. goto L_0x00b7
  374. L_0x00d6:
  375. r8 = r0
  376. L_0x00d7:
  377. r7.reset() // Catch:{ all -> 0x00e5 }
  378. if (r0 == 0) goto L_0x00e1
  379. r0.close() // Catch:{ IOException -> 0x00e0 }
  380. goto L_0x00e1
  381. L_0x00e0:
  382. L_0x00e1:
  383. if (r8 == 0) goto L_0x00e4
  384. goto L_0x00b7
  385. L_0x00e4:
  386. return
  387. L_0x00e5:
  388. r1 = move-exception
  389. r6 = r1
  390. r1 = r8
  391. r8 = r6
  392. L_0x00e9:
  393. if (r0 == 0) goto L_0x00f0
  394. r0.close() // Catch:{ IOException -> 0x00ef }
  395. goto L_0x00f0
  396. L_0x00ef:
  397. L_0x00f0:
  398. if (r1 == 0) goto L_0x00f5
  399. r1.close() // Catch:{ IOException -> 0x00f5 }
  400. L_0x00f5:
  401. throw r8
  402. */
  403. throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.printlayout.RegistedDocumentSizeList.restoreData(android.content.Context):void");
  404. }
  405. }