Home
last modified time | relevance | path

Searched refs:reportId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java179 byte reportId = (byte) msg.arg2; in handleMessage()
184 mCallback.onSetReport(mHidDevice, reportType, reportId, data); in handleMessage()
205 byte reportId = (byte) msg.arg1; in handleMessage()
210 mCallback.onInterruptData(mHidDevice, reportId, data); in handleMessage()
763 synchronized void onSetReportFromNative(byte reportType, byte reportId, byte[] data) { in onSetReportFromNative() argument
765 Log.d(TAG, "onSetReport(): reportType=" + reportType + " reportId=" + reportId); in onSetReportFromNative()
772 msg.arg2 = reportId; in onSetReportFromNative()
787 synchronized void onInterruptDataFromNative(byte reportId, byte[] data) { in onInterruptDataFromNative() argument
789 Log.d(TAG, "onInterruptData(): reportId=" + reportId); in onInterruptDataFromNative()
795 msg.arg1 = reportId; in onInterruptDataFromNative()
DHidDeviceNativeInterface.java208 private synchronized void onSetReport(byte reportType, byte reportId, byte[] data) { in onSetReport() argument
211 service.onSetReportFromNative(reportType, reportId, data); in onSetReport()
228 private synchronized void onInterruptData(byte reportId, byte[] data) { in onInterruptData() argument
231 service.onInterruptDataFromNative(reportId, data); in onInterruptData()
DHidHostService.java232 byte reportId = data.getByte(BluetoothHidHost.EXTRA_REPORT_ID);
234 if (!getReportNative(Utils.getByteAddress(device), reportType, reportId,
422 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, in getReport() argument
428 return service.getReport(device, reportType, reportId, bufferSize); in getReport()
590 boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport() argument
603 data.putByte(BluetoothHidHost.EXTRA_REPORT_ID, reportId); in getReport()
882 private native boolean getReportNative(byte[] btAddress, byte reportType, byte reportId, in getReportNative() argument
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hid_host.cpp383 jbyte reportType, jbyte reportId, in getReportNative() argument
386 reportType, reportId, bufferSize); in getReportNative()
396 jint rId = reportId; in getReportNative()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java245 public void onInterruptData(BluetoothDevice device, byte reportId, byte[] data) { in onInterruptData() argument