Lines Matching defs:sBluetoothInterface

44 static const bt_interface_t *sBluetoothInterface = NULL;
53 return sBluetoothInterface;
503 sBluetoothInterface = btStack->get_bluetooth_interface();
517 if (sBluetoothInterface) {
518 int ret = sBluetoothInterface->init(&sBluetoothCallbacks);
521 sBluetoothInterface = NULL;
525 sBluetoothInterface->get_profile_interface(BT_PROFILE_SOCKETS_ID)) == NULL) {
537 if (!sBluetoothInterface) return result;
539 sBluetoothInterface->cleanup();
550 if (!sBluetoothInterface) return result;
552 int ret = sBluetoothInterface->enable();
561 if (!sBluetoothInterface) return result;
563 int ret = sBluetoothInterface->disable();
572 if (!sBluetoothInterface) return result;
574 int ret = sBluetoothInterface->start_discovery();
583 if (!sBluetoothInterface) return result;
585 int ret = sBluetoothInterface->cancel_discovery();
596 if (!sBluetoothInterface) return result;
604 int ret = sBluetoothInterface->create_bond((bt_bdaddr_t *)addr);
616 if (!sBluetoothInterface) return JNI_FALSE;
624 int ret = sBluetoothInterface->remove_bond((bt_bdaddr_t *)addr);
636 if (!sBluetoothInterface) return JNI_FALSE;
644 int ret = sBluetoothInterface->cancel_bond((bt_bdaddr_t *)addr);
657 if (!sBluetoothInterface) return result;
674 int ret = sBluetoothInterface->pin_reply((bt_bdaddr_t*)addr, accept, len,
689 if (!sBluetoothInterface) return result;
697 int ret = sBluetoothInterface->ssp_reply((bt_bdaddr_t *)addr,
710 if (!sBluetoothInterface) return result;
718 int ret = sBluetoothInterface->set_adapter_property(&prop);
729 if (!sBluetoothInterface) return result;
731 int ret = sBluetoothInterface->get_adapter_properties();
741 if (!sBluetoothInterface) return result;
743 int ret = sBluetoothInterface->get_adapter_property((bt_property_type_t) type);
754 if (!sBluetoothInterface) return result;
762 int ret = sBluetoothInterface->get_remote_device_property((bt_bdaddr_t *)addr,
776 if (!sBluetoothInterface) return result;
797 int ret = sBluetoothInterface->set_remote_device_property((bt_bdaddr_t *)addr, &prop);
811 if (!sBluetoothInterface) return result;
819 int ret = sBluetoothInterface->get_remote_services((bt_bdaddr_t *)addr);