blob: 366fbe1c4bd13fe6a0ffa237ad1a59bcb0784178 [file] [log] [blame]
/*
* Copyright (C) 2012 Google Inc.
*/
#ifndef COM_ANDROID_BLUETOOTH_H
#define COM_ANDROID_BLUETOOTH_H
#include "JNIHelp.h"
#include "jni.h"
#include "hardware/hardware.h"
#include "hardware/bluetooth.h"
namespace android {
void checkAndClearExceptionFromCallback(JNIEnv* env,
const char* methodName);
const bt_interface_t* getBluetoothInterface();
JNIEnv* getCallbackEnv();
int register_com_android_bluetooth_hfp(JNIEnv* env);
int register_com_android_bluetooth_a2dp(JNIEnv* env);
int register_com_android_bluetooth_hid(JNIEnv* env);
int register_com_android_bluetooth_hdp(JNIEnv* env);
int register_com_android_bluetooth_pan(JNIEnv* env);
}
#endif /* COM_ANDROID_BLUETOOTH_H */