Lines Matching refs:status

223     bt_status_t status;
258 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) {
259 ALOGE("Failed to initialize Bluetooth HFP, status: %d", status);
270 bt_status_t status;
295 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) {
296 ALOGE("Failed to initialize Bluetooth HFP, status: %d", status);
306 bt_status_t status;
328 bt_status_t status;
339 if ((status = sBluetoothHfpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
340 ALOGE("Failed HF connection, status: %d", status);
343 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
348 bt_status_t status;
358 if ( (status = sBluetoothHfpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
359 ALOGE("Failed HF disconnection, status: %d", status);
362 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
367 bt_status_t status;
377 if ( (status = sBluetoothHfpInterface->connect_audio((bt_bdaddr_t *)addr)) !=
379 ALOGE("Failed HF audio connection, status: %d", status);
382 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
387 bt_status_t status;
397 if ( (status = sBluetoothHfpInterface->disconnect_audio((bt_bdaddr_t *) addr)) !=
399 ALOGE("Failed HF audio disconnection, status: %d", status);
402 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
406 bt_status_t status;
409 if ( (status = sBluetoothHfpInterface->start_voice_recognition()) != BT_STATUS_SUCCESS) {
410 ALOGE("Failed to start voice recognition, status: %d", status);
412 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
416 bt_status_t status;
419 if ( (status = sBluetoothHfpInterface->stop_voice_recognition()) != BT_STATUS_SUCCESS) {
420 ALOGE("Failed to stop voice recognition, status: %d", status);
422 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
426 bt_status_t status;
429 if ( (status = sBluetoothHfpInterface->volume_control((bthf_volume_type_t) volume_type,
431 ALOGE("FAILED to control volume, status: %d", status);
433 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
439 bt_status_t status;
442 if ( (status = sBluetoothHfpInterface->device_status_notification
445 ALOGE("FAILED to notify device status, status: %d", status);
447 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
451 bt_status_t status;
457 if ( (status = sBluetoothHfpInterface->cops_response(operator_name)) != BT_STATUS_SUCCESS) {
458 ALOGE("Failed sending cops response, status: %d", status);
461 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
467 bt_status_t status;
470 if ( (status = sBluetoothHfpInterface->cind_response(service, num_active, num_held,
473 ALOGE("Failed cind_response, status: %d", status);
475 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
480 bt_status_t status;
486 if ( (status = sBluetoothHfpInterface->formatted_at_response(response)) != BT_STATUS_SUCCESS) {
487 ALOGE("Failed formatted AT response, status: %d", status);
490 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
494 bt_status_t status;
497 if ( (status = sBluetoothHfpInterface->at_response((bthf_at_response_t) response_code, cmee_code)) !=
499 ALOGE("Failed AT response, status: %d", status);
501 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
507 bt_status_t status;
514 if ( (status = sBluetoothHfpInterface->clcc_response(index, (bthf_call_direction_t) dir,
518 ALOGE("Failed sending CLCC response, status: %d", status);
522 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
527 bt_status_t status;
533 if ( (status = sBluetoothHfpInterface->phone_state_change(num_active, num_held,
536 ALOGE("Failed report phone state change, status: %d", status);
539 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;