|
@@ -79,14 +79,14 @@ public class UsbPrintDriver {
|
|
java.lang.String r2 = r1.toString() // Catch:{ all -> 0x0059 }
|
|
java.lang.String r2 = r1.toString() // Catch:{ all -> 0x0059 }
|
|
r0.append(r2) // Catch:{ all -> 0x0059 }
|
|
r0.append(r2) // Catch:{ all -> 0x0059 }
|
|
java.lang.String r0 = r0.toString() // Catch:{ all -> 0x0059 }
|
|
java.lang.String r0 = r0.toString() // Catch:{ all -> 0x0059 }
|
|
- com.epson.mobilephone.common.EpLog.m78i(r5, r0) // Catch:{ all -> 0x0059 }
|
|
|
|
|
|
+ com.epson.mobilephone.common.EpLog.i(r5, r0) // Catch:{ all -> 0x0059 }
|
|
r1.closePort() // Catch:{ all -> 0x0059 }
|
|
r1.closePort() // Catch:{ all -> 0x0059 }
|
|
java.util.ArrayList<com.epson.mobilephone.common.usb.UsbPrinter> r5 = r4.usbPrintersPemmited // Catch:{ all -> 0x0059 }
|
|
java.util.ArrayList<com.epson.mobilephone.common.usb.UsbPrinter> r5 = r4.usbPrintersPemmited // Catch:{ all -> 0x0059 }
|
|
boolean r5 = r5.remove(r1) // Catch:{ all -> 0x0059 }
|
|
boolean r5 = r5.remove(r1) // Catch:{ all -> 0x0059 }
|
|
if (r5 == 0) goto L_0x0057
|
|
if (r5 == 0) goto L_0x0057
|
|
java.lang.String r5 = "Tag"
|
|
java.lang.String r5 = "Tag"
|
|
java.lang.String r0 = "EPSON delete success"
|
|
java.lang.String r0 = "EPSON delete success"
|
|
- com.epson.mobilephone.common.EpLog.m78i(r5, r0) // Catch:{ all -> 0x0059 }
|
|
|
|
|
|
+ com.epson.mobilephone.common.EpLog.i(r5, r0) // Catch:{ all -> 0x0059 }
|
|
L_0x0057:
|
|
L_0x0057:
|
|
monitor-exit(r4) // Catch:{ all -> 0x0059 }
|
|
monitor-exit(r4) // Catch:{ all -> 0x0059 }
|
|
return
|
|
return
|
|
@@ -133,7 +133,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
if (!(usbEndpoint == null || usbEndpoint2 == null)) {
|
|
if (!(usbEndpoint == null || usbEndpoint2 == null)) {
|
|
UsbPrinter usbPrinter = new UsbPrinter(this.usbManager, usbDevice, usbInterface, usbEndpoint, usbEndpoint2);
|
|
UsbPrinter usbPrinter = new UsbPrinter(this.usbManager, usbDevice, usbInterface, usbEndpoint, usbEndpoint2);
|
|
- EpLog.m78i("EPSON", "Found Printer " + usbPrinter.toString());
|
|
|
|
|
|
+ EpLog.i("EPSON", "Found Printer " + usbPrinter.toString());
|
|
arrayList.add(usbPrinter);
|
|
arrayList.add(usbPrinter);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -154,7 +154,7 @@ public class UsbPrintDriver {
|
|
r4 = this;
|
|
r4 = this;
|
|
java.lang.String r0 = "UsbPrintDriver"
|
|
java.lang.String r0 = "UsbPrintDriver"
|
|
java.lang.String r1 = "Call findDevice"
|
|
java.lang.String r1 = "Call findDevice"
|
|
- com.epson.mobilephone.common.EpLog.m78i(r0, r1)
|
|
|
|
|
|
+ com.epson.mobilephone.common.EpLog.i(r0, r1)
|
|
monitor-enter(r4)
|
|
monitor-enter(r4)
|
|
r0 = 1
|
|
r0 = 1
|
|
if (r5 != 0) goto L_0x0016
|
|
if (r5 != 0) goto L_0x0016
|
|
@@ -200,7 +200,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
|
|
|
|
public int openPort(int[] iArr) {
|
|
public int openPort(int[] iArr) {
|
|
- EpLog.m78i(TAG, "Call openPort");
|
|
|
|
|
|
+ EpLog.i(TAG, "Call openPort");
|
|
synchronized (this) {
|
|
synchronized (this) {
|
|
for (int i = 0; i < usbPrintersPemmited.size(); i++) {
|
|
for (int i = 0; i < usbPrintersPemmited.size(); i++) {
|
|
UsbPrinter usbPrinter = usbPrintersPemmited.get(i);
|
|
UsbPrinter usbPrinter = usbPrintersPemmited.get(i);
|
|
@@ -229,7 +229,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
|
|
|
|
public long readPort(int i, byte[] bArr, int i2) {
|
|
public long readPort(int i, byte[] bArr, int i2) {
|
|
- EpLog.m78i(TAG, "Call readPort");
|
|
|
|
|
|
+ EpLog.i(TAG, "Call readPort");
|
|
synchronized (this) {
|
|
synchronized (this) {
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
if (findPrinterOpened == null) {
|
|
if (findPrinterOpened == null) {
|
|
@@ -241,7 +241,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
|
|
|
|
public long writePort(int i, byte[] bArr, int i2) {
|
|
public long writePort(int i, byte[] bArr, int i2) {
|
|
- EpLog.m78i(TAG, "Call writePort");
|
|
|
|
|
|
+ EpLog.i(TAG, "Call writePort");
|
|
synchronized (this) {
|
|
synchronized (this) {
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
if (findPrinterOpened == null) {
|
|
if (findPrinterOpened == null) {
|
|
@@ -253,7 +253,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
|
|
|
|
public long getDeviceIdString(int i, byte[] bArr, int i2) {
|
|
public long getDeviceIdString(int i, byte[] bArr, int i2) {
|
|
- EpLog.m78i(TAG, "Call getDeviceIdString");
|
|
|
|
|
|
+ EpLog.i(TAG, "Call getDeviceIdString");
|
|
synchronized (this) {
|
|
synchronized (this) {
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
if (findPrinterOpened == null) {
|
|
if (findPrinterOpened == null) {
|
|
@@ -265,7 +265,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
|
|
|
|
public int softReset(int i) {
|
|
public int softReset(int i) {
|
|
- EpLog.m78i(TAG, "Call softReset");
|
|
|
|
|
|
+ EpLog.i(TAG, "Call softReset");
|
|
synchronized (this) {
|
|
synchronized (this) {
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
if (findPrinterOpened == null) {
|
|
if (findPrinterOpened == null) {
|
|
@@ -277,7 +277,7 @@ public class UsbPrintDriver {
|
|
}
|
|
}
|
|
|
|
|
|
public void closePort(int i) {
|
|
public void closePort(int i) {
|
|
- EpLog.m78i(TAG, "Call closePort");
|
|
|
|
|
|
+ EpLog.i(TAG, "Call closePort");
|
|
synchronized (this) {
|
|
synchronized (this) {
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
UsbPrinter findPrinterOpened = findPrinterOpened(i);
|
|
if (findPrinterOpened != null) {
|
|
if (findPrinterOpened != null) {
|