@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name); dest.writeStrongBinder(readerControl.asBinder()); }
@Override public Acr1255UReader createFromParcel(Parcel in) { String name = in.readString(); IBinder binder = in.readStrongBinder(); IAcr1255UReaderControl iin = IAcr1255UReaderControl.Stub.asInterface(binder); return new Acr1255UReader(name, iin); }
@Override public byte[] control(int slotNum, int controlCode, byte[] command) { byte[] response; try { response = readerControl.control(slotNum, controlCode, command); } catch (RemoteException e) { throw new AcrReaderException(e); } return readByteArray(response); }
@Override public byte[] transmit(int slotNum, byte[] command) { byte[] response; try { response = readerControl.transmit(slotNum, command); } catch (RemoteException e) { throw new AcrReaderException(e); } return readByteArray(response); }
public boolean setExclusiveMode(boolean shared) { byte[] response; try { response = readerControl.setExclusiveMode(shared); } catch (RemoteException e) { throw new AcrReaderException(e); } byte[] resultByteArray = readByteArray(response); return resultByteArray[1] != 0; }
@Override public byte[] transmit(int slotNum, byte[] command) { byte[] response; try { response = readerControl.transmit(slotNum, command); } catch (RemoteException e) { throw new AcrReaderException(e); } return readByteArray(response); }
public String getFirmware() throws AcrReaderException { byte[] response; try { response = readerControl.getFirmware(); } catch (RemoteException e) { throw new AcrReaderException(e); } return readString(response); }
@Override public byte[] transmit(int slotNum, byte[] command) { byte[] response; try { response = readerControl.transmit(slotNum, command); } catch (RemoteException e) { throw new AcrReaderException(e); } return readByteArray(response); }
@Override public byte[] control(int slotNum, int controlCode, byte[] command) { byte[] response; try { response = readerControl.control(slotNum, controlCode, command); } catch (RemoteException e) { throw new AcrReaderException(e); } return readByteArray(response); }
public boolean getExclusiveMode() { byte[] response; try { response = readerControl.getExclusiveMode(); } catch (RemoteException e) { throw new AcrReaderException(e); } byte[] resultByteArray = readByteArray(response); return resultByteArray[1] != 0; }
@Override public byte[] control(int slotNum, int controlCode, byte[] command) { byte[] response; try { response = readerControl.control(slotNum, controlCode, command); } catch (RemoteException e) { throw new AcrReaderException(e); } return readByteArray(response); }
public boolean clearDisplay() { byte[] response; try { response = readerControl.clearDisplay(); } catch (RemoteException e) { throw new AcrReaderException(e); } return readBoolean(response); }
public List<AcrDefaultLEDAndBuzzerBehaviour> getDefaultLEDAndBuzzerBehaviour() { byte[] response; try { response = readerControl.getDefaultLEDAndBuzzerBehaviour(); } catch (RemoteException e) { throw new AcrReaderException(e); } return parseBehaviour(readInteger(response)); }
public boolean setLEDs(AcrLED ... types) { byte[] response; try { int operation = serializeLEDs(types); response = readerControl.setLEDs(operation); } catch (RemoteException e) { throw new AcrReaderException(e); } return readBoolean(response); }