Home
last modified time | relevance | path

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

/system/core/fastboot/
Dusb_osx.c68 IOReturn kr; in try_interfaces() local
96 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator); in try_interfaces()
98 if (kr != 0) { in try_interfaces()
99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr); in try_interfaces()
105 kr = IOCreatePlugInInterfaceForService( in try_interfaces()
115 if ((kr != 0) || (!plugInInterface)) { in try_interfaces()
116 WARN("Unable to create plugin (%08x)\n", kr); in try_interfaces()
153 kr = (*interface)->USBInterfaceOpen(interface); in try_interfaces()
155 if (kr != 0) { in try_interfaces()
156 WARN("Could not open interface: (%08x)\n", kr); in try_interfaces()
[all …]
/system/core/adb/
Dusb_osx.c120 kern_return_t kr; in AndroidInterfaceAdded() local
138 kr = IOCreatePlugInInterfaceForService(usbInterface, in AndroidInterfaceAdded()
143 if ((kIOReturnSuccess != kr) || (!plugInInterface)) { in AndroidInterfaceAdded()
144 DBG("ERR: Unable to create an interface plug-in (%08x)\n", kr); in AndroidInterfaceAdded()
163 kr = (*iface)->GetDevice(iface, &usbDevice); in AndroidInterfaceAdded()
164 if (kIOReturnSuccess != kr || !usbDevice) { in AndroidInterfaceAdded()
165 DBG("ERR: Couldn't grab device from interface (%08x)\n", kr); in AndroidInterfaceAdded()
172 kr = IOCreatePlugInInterfaceForService(usbDevice, in AndroidInterfaceAdded()
178 if ((kIOReturnSuccess != kr) || (!plugInInterface)) { in AndroidInterfaceAdded()
179 DBG("ERR: Unable to create a device plug-in (%08x)\n", kr); in AndroidInterfaceAdded()
[all …]