Searched refs:deviceNameStr (Results 1 – 3 of 3) sorted by relevance
51 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_hardware_UsbDeviceConnection_open() local52 struct usb_device* device = usb_device_new(deviceNameStr, fd); in android_hardware_UsbDeviceConnection_open()56 ALOGE("usb_device_open failed for %s", deviceNameStr); in android_hardware_UsbDeviceConnection_open()60 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_hardware_UsbDeviceConnection_open()
164 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_server_UsbHostManager_openDevice() local165 struct usb_device* device = usb_device_open(deviceNameStr); in android_server_UsbHostManager_openDevice()166 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_server_UsbHostManager_openDevice()
107 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_mtp_MtpDevice_open() local108 if (deviceNameStr == NULL) { in android_mtp_MtpDevice_open()112 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open()113 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_mtp_MtpDevice_open()