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.java183 byte reportId = (byte) msg.arg2; in handleMessage()
188 mCallback.onSetReport(mHidDevice, reportType, reportId, data); in handleMessage()
209 byte reportId = (byte) msg.arg1; in handleMessage()
214 mCallback.onInterruptData(mHidDevice, reportId, data); in handleMessage()
859 synchronized void onSetReportFromNative(byte reportType, byte reportId, byte[] data) { in onSetReportFromNative() argument
861 Log.d(TAG, "onSetReport(): reportType=" + reportType + " reportId=" + reportId); in onSetReportFromNative()
868 msg.arg2 = reportId; in onSetReportFromNative()
883 synchronized void onInterruptDataFromNative(byte reportId, byte[] data) { in onInterruptDataFromNative() argument
885 Log.d(TAG, "onInterruptData(): reportId=" + reportId); in onInterruptDataFromNative()
891 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.java243 byte reportId = data.getByte(BluetoothHidHost.EXTRA_REPORT_ID);
245 if (!getReportNative(Utils.getByteAddress(device), reportType, reportId,
447 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, in getReport() argument
454 return service.getReport(device, reportType, reportId, bufferSize); in getReport()
669 boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport() argument
681 data.putByte(BluetoothHidHost.EXTRA_REPORT_ID, reportId); in getReport()
955 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.java248 public void onInterruptData(BluetoothDevice device, byte reportId, byte[] data) { in onInterruptData() argument