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.java180 byte reportId = (byte) msg.arg2; in handleMessage()
185 mCallback.onSetReport(mHidDevice, reportType, reportId, data); in handleMessage()
206 byte reportId = (byte) msg.arg1; in handleMessage()
211 mCallback.onInterruptData(mHidDevice, reportId, data); in handleMessage()
851 synchronized void onSetReportFromNative(byte reportType, byte reportId, byte[] data) { in onSetReportFromNative() argument
853 Log.d(TAG, "onSetReport(): reportType=" + reportType + " reportId=" + reportId); in onSetReportFromNative()
860 msg.arg2 = reportId; in onSetReportFromNative()
875 synchronized void onInterruptDataFromNative(byte reportId, byte[] data) { in onInterruptDataFromNative() argument
877 Log.d(TAG, "onInterruptData(): reportId=" + reportId); in onInterruptDataFromNative()
883 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.java236 byte reportId = data.getByte(BluetoothHidHost.EXTRA_REPORT_ID);
238 if (!getReportNative(Utils.getByteAddress(device), reportType, reportId,
440 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, in getReport() argument
447 return service.getReport(device, reportType, reportId, bufferSize); in getReport()
659 boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport() argument
671 data.putByte(BluetoothHidHost.EXTRA_REPORT_ID, reportId); in getReport()
945 private native boolean getReportNative(byte[] btAddress, byte reportType, byte reportId, in getReportNative() argument
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hid_host.cpp391 jbyte reportType, jbyte reportId, in getReportNative() argument
394 reportType, reportId, bufferSize); in getReportNative()
404 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