Lines Matching refs:status
105 bt_status_t status;
128 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
129 ALOGE("Failed to initialize Bluetooth A2DP, status: %d", status);
139 bt_status_t status;
164 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
165 ALOGE("Failed to initialize Bluetooth A2DP, status: %d", status);
175 bt_status_t status;
196 bt_status_t status;
208 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
209 ALOGE("Failed HF connection, status: %d", status);
212 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
217 bt_status_t status;
227 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
228 ALOGE("Failed HF disconnection, status: %d", status);
231 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;