Home
last modified time | relevance | path

Searched refs:interfaceValues (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/jni/
Dcom_android_server_UsbHostManager.cpp66 Vector<int> interfaceValues; in usb_device_added() local
83 interfaceValues.add(interface->bInterfaceNumber); in usb_device_added()
84 interfaceValues.add(interface->bInterfaceClass); in usb_device_added()
85 interfaceValues.add(interface->bInterfaceSubClass); in usb_device_added()
86 interfaceValues.add(interface->bInterfaceProtocol); in usb_device_added()
87 interfaceValues.add(interface->bNumEndpoints); in usb_device_added()
102 int length = interfaceValues.size(); in usb_device_added()
104 env->SetIntArrayRegion(interfaceArray, 0, length, interfaceValues.array()); in usb_device_added()
/frameworks/base/services/java/com/android/server/usb/
DUsbHostManager.java102 int[] interfaceValues, in usbDeviceAdded() argument
118 int numInterfaces = interfaceValues.length / 5; in usbDeviceAdded()
124 int interfaceId = interfaceValues[ival++]; in usbDeviceAdded()
125 int interfaceClass = interfaceValues[ival++]; in usbDeviceAdded()
126 int interfaceSubclass = interfaceValues[ival++]; in usbDeviceAdded()
127 int interfaceProtocol = interfaceValues[ival++]; in usbDeviceAdded()
128 int numEndpoints = interfaceValues[ival++]; in usbDeviceAdded()