MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / createDevice

Method createDevice

android/src/UsbSerialHelper.java:208–210  ·  view source on GitHub ↗
(int vendorId, int productId)

Source from the content-addressed store, hash-verified

206 }
207
208 static long createDevice(int vendorId, int productId) {
209 return ((long) vendorId) << 32 | (productId & 0xFFFF_FFFFL);
210 }
211
212 static long[] createTable(long... entries) {
213 Arrays.sort(entries);

Callers 2

UsbSerialHelperClass · 0.95
existsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected