Home
last modified time | relevance | path

Searched refs:intf (Results 1 – 4 of 4) sorted by relevance

/development/samples/USB/AdbTest/src/com/android/adb/
DAdbTestActivity.java61 UsbInterface intf = findAdbInterface(device); in onCreate() local
62 if (setAdbInterface(device, intf)) { in onCreate()
120 private boolean setAdbInterface(UsbDevice device, UsbInterface intf) { in setAdbInterface() argument
131 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() local
166 if (intf.getInterfaceClass() == 255 && intf.getInterfaceSubclass() == 66 && in findAdbInterface()
167 intf.getInterfaceProtocol() == 1) { in findAdbInterface()
[all …]
DAdbDevice.java49 UsbInterface intf) { in AdbDevice() argument
57 for (int i = 0; i < intf.getEndpointCount(); i++) { in AdbDevice()
58 UsbEndpoint ep = intf.getEndpoint(i); in AdbDevice()
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
DMissileLauncherActivity.java120 UsbInterface intf = device.getInterface(0); in setDevice() local
122 if (intf.getEndpointCount() != 1) { in setDevice()
127 UsbEndpoint ep = intf.getEndpoint(0); in setDevice()
136 if (connection != null && connection.claimInterface(intf, true)) { in setDevice()
/development/ndk/zlib/
Dzconf.h136 # define intf z_intf macro
377 typedef int FAR intf; typedef