Home | History | Annotate | Download | only in jni

Lines Matching refs:app_id

55 static void app_registration_state_callback(int app_id, bthl_app_reg_state_t state) {
57 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAppRegistrationState, app_id,
62 static void channel_state_callback(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index,
86 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onChannelStateChanged, app_id, addr,
169 int app_id;
188 if ( (status = sBluetoothHdpInterface->register_application(&reg_param, &app_id)) !=
196 return app_id;
199 static jboolean unregisterHealthAppNative(JNIEnv *env, jobject object, int app_id) {
203 if ((status = sBluetoothHdpInterface->unregister_application(app_id)) != BT_STATUS_SUCCESS) {
204 ALOGE("Failed to unregister app %d, status: %d", app_id, status);
210 jbyteArray address, jint app_id) {
222 if ( (status = sBluetoothHdpInterface->connect_channel(app_id, (bt_bdaddr_t *) addr,