• Home
  • Raw
  • Download

Lines Matching refs:sBluetoothHidInterface

42 static const bthh_interface_t *sBluetoothHidInterface = NULL;  variable
242 if (sBluetoothHidInterface !=NULL) { in initializeNative()
244 sBluetoothHidInterface->cleanup(); in initializeNative()
245 sBluetoothHidInterface = NULL; in initializeNative()
255 if ( (sBluetoothHidInterface = (bthh_interface_t *) in initializeNative()
261 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { in initializeNative()
263 sBluetoothHidInterface = NULL; in initializeNative()
281 if (sBluetoothHidInterface !=NULL) { in cleanupNative()
283 sBluetoothHidInterface->cleanup(); in cleanupNative()
284 sBluetoothHidInterface = NULL; in cleanupNative()
300 if (!sBluetoothHidInterface) return JNI_FALSE; in connectHidNative()
308 if ((status = sBluetoothHidInterface->connect((bt_bdaddr_t *) addr)) != in connectHidNative()
322 if (!sBluetoothHidInterface) return JNI_FALSE; in disconnectHidNative()
330 if ( (status = sBluetoothHidInterface->disconnect((bt_bdaddr_t *) addr)) != in disconnectHidNative()
345 if (!sBluetoothHidInterface) return JNI_FALSE; in getProtocolModeNative()
353 …if ( (status = sBluetoothHidInterface->get_protocol((bt_bdaddr_t *) addr, (bthh_protocol_mode_t) p… in getProtocolModeNative()
367 if (!sBluetoothHidInterface) return JNI_FALSE; in virtualUnPlugNative()
374 if ( (status = sBluetoothHidInterface->virtual_unplug((bt_bdaddr_t *) addr)) != in virtualUnPlugNative()
389 if (!sBluetoothHidInterface) return JNI_FALSE; in setProtocolModeNative()
411 if ( (status = sBluetoothHidInterface->set_protocol((bt_bdaddr_t *) addr, mode)) != in setProtocolModeNative()
427 if (!sBluetoothHidInterface) return JNI_FALSE; in getReportNative()
438 …if ( (status = sBluetoothHidInterface->get_report((bt_bdaddr_t *) addr, (bthh_report_type_t) rType… in getReportNative()
454 if (!sBluetoothHidInterface) return JNI_FALSE; in setReportNative()
464 …if ( (status = sBluetoothHidInterface->set_report((bt_bdaddr_t *) addr, (bthh_report_type_t)rType,… in setReportNative()
480 if (!sBluetoothHidInterface) return JNI_FALSE; in sendDataNative()
488 if ( (status = sBluetoothHidInterface->send_data((bt_bdaddr_t *) addr, (char*) c_report)) != in sendDataNative()