Lines Matching defs: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,
196 int app_id;
212 if ( (status = sBluetoothHdpInterface->register_application(®_param, &app_id)) !=
220 return app_id;
223 static jboolean unregisterHealthAppNative(JNIEnv *env, jobject object, int app_id) {
227 if ((status = sBluetoothHdpInterface->unregister_application(app_id)) != BT_STATUS_SUCCESS) {
228 ALOGE("Failed to unregister app %d, status: %d", app_id, status);
234 jbyteArray address, jint app_id) {
246 if ( (status = sBluetoothHdpInterface->connect_channel(app_id, (bt_bdaddr_t *) addr,