Searched refs:intf (Results 1 – 4 of 4) sorted by relevance
61 UsbInterface intf = findAdbInterface(device); in onCreate() local62 if (setAdbInterface(device, intf)) { in onCreate()120 private boolean setAdbInterface(UsbDevice device, UsbInterface intf) { in setAdbInterface() argument131 if (device != null && intf != null) { in setAdbInterface()135 if (connection.claimInterface(intf, false)) { in setAdbInterface()139 mInterface = intf; in setAdbInterface()140 mAdbDevice = new AdbDevice(this, mDeviceConnection, intf); in setAdbInterface()165 UsbInterface intf = device.getInterface(i); in findAdbInterface() local166 if (intf.getInterfaceClass() == 255 && intf.getInterfaceSubclass() == 66 && in findAdbInterface()167 intf.getInterfaceProtocol() == 1) { in findAdbInterface()[all …]
49 UsbInterface intf) { in AdbDevice() argument57 for (int i = 0; i < intf.getEndpointCount(); i++) { in AdbDevice()58 UsbEndpoint ep = intf.getEndpoint(i); in AdbDevice()
120 UsbInterface intf = device.getInterface(0); in setDevice() local122 if (intf.getEndpointCount() != 1) { in setDevice()127 UsbEndpoint ep = intf.getEndpoint(0); in setDevice()136 if (connection != null && connection.claimInterface(intf, true)) { in setDevice()
1139 with open(name, 'r') as intf:1140 line = intf.readline()1143 line = intf.readline()1147 line = intf.readline()