Loading core/api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -18727,8 +18727,8 @@ package android.hardware.usb { method public int bulkTransfer(android.hardware.usb.UsbEndpoint, byte[], int, int, int); method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean); method public void close(); method public int controlTransfer(int, int, int, int, byte[], int, int); method public int controlTransfer(int, int, int, int, byte[], int, int, int); method public int controlTransfer(int, int, int, int, @Nullable byte[], int, int); method public int controlTransfer(int, int, int, int, @Nullable byte[], int, int, int); method public int getFileDescriptor(); method public byte[] getRawDescriptors(); method public String getSerial(); core/java/android/hardware/usb/UsbDeviceConnection.java +2 −2 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ public class UsbDeviceConnection { * or negative value for failure */ public int controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) { int index, @Nullable byte[] buffer, int length, int timeout) { return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); } Loading @@ -263,7 +263,7 @@ public class UsbDeviceConnection { * or negative value for failure */ public int controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) { @Nullable byte[] buffer, int offset, int length, int timeout) { checkBounds(buffer, offset, length); return native_control_request(requestType, request, value, index, buffer, offset, length, timeout); Loading Loading
core/api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -18727,8 +18727,8 @@ package android.hardware.usb { method public int bulkTransfer(android.hardware.usb.UsbEndpoint, byte[], int, int, int); method public boolean claimInterface(android.hardware.usb.UsbInterface, boolean); method public void close(); method public int controlTransfer(int, int, int, int, byte[], int, int); method public int controlTransfer(int, int, int, int, byte[], int, int, int); method public int controlTransfer(int, int, int, int, @Nullable byte[], int, int); method public int controlTransfer(int, int, int, int, @Nullable byte[], int, int, int); method public int getFileDescriptor(); method public byte[] getRawDescriptors(); method public String getSerial();
core/java/android/hardware/usb/UsbDeviceConnection.java +2 −2 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ public class UsbDeviceConnection { * or negative value for failure */ public int controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) { int index, @Nullable byte[] buffer, int length, int timeout) { return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); } Loading @@ -263,7 +263,7 @@ public class UsbDeviceConnection { * or negative value for failure */ public int controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) { @Nullable byte[] buffer, int offset, int length, int timeout) { checkBounds(buffer, offset, length); return native_control_request(requestType, request, value, index, buffer, offset, length, timeout); Loading