void function ( final int arg0 , final byte [ ] arg1 ) { mHandler . post ( new Runnable ( ) { @ Override public void run ( ) { if ( mIsClosed ) { return ; } nativeOnData ( mNativePointer , arg0 , arg1 ) ; } } ) ; }
posts a data input event to the main thread . concode_field_sep SparseArray<UsbEndpoint> mEndpointMap concode_elem_sep boolean mIsClosed concode_elem_sep int MIDI_SUBCLASS concode_elem_sep Handler mHandler concode_elem_sep UsbDevice mUsbDevice concode_elem_sep int REQUEST_GET_DESCRIPTOR concode_elem_sep int STRING_DESCRIPTOR_TYPE concode_elem_sep UsbDeviceConnection mConnection concode_elem_sep Map<UsbEndpoint,UsbRequest> mRequestMap concode_elem_sep long mNativePointer concode_elem_sep boolean mHasInputThread concode_field_sep void startListen concode_elem_sep void nativeOnData concode_elem_sep boolean isClosed concode_elem_sep byte[] getDescriptors concode_elem_sep UsbDevice getUsbDevice concode_elem_sep void registerSelf concode_elem_sep byte[] getStringDescriptor concode_elem_sep void send concode_elem_sep void close concode_elem_sep int getInputDataLength concode_elem_sep boolean shouldUseBulkTransfer