Home
last modified time | relevance | path

Searched refs:deviceNameStr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_UsbDeviceConnection.cpp51 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_hardware_UsbDeviceConnection_open() local
52 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()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp164 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_server_UsbHostManager_openDevice() local
165 struct usb_device* device = usb_device_open(deviceNameStr); in android_server_UsbHostManager_openDevice()
166 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_server_UsbHostManager_openDevice()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp107 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_mtp_MtpDevice_open() local
108 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()