Issue
I am working android usb project.
I have some problem in usb read/write.
So, I need debug my project.
I am using requestWait function for read.
So, I can find requestWait function from
Android_Sdk\sources\android-28\android\hardware\usb\UsbDeviceConnection.java
And, there is native_request_wait function, but I cannot find the native_request_wait function's body.
Question: I mean I need the cpp code of native_request_wait.
Solution
See https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/hardware/usb/UsbDeviceConnection.java and https://android.googlesource.com/platform/frameworks/base/+/master/core/jni/android_hardware_UsbDeviceConnection.cpp. Specifically, line 223.
Answered By - Alex Cohn
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.