Lines Matching refs:status

226   bt_status_t status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks);
227 if (status != BT_STATUS_SUCCESS) {
228 ALOGE("Failed to initialize Bluetooth HID, status: %d", status);
268 bt_status_t status = sBluetoothHidInterface->connect((RawAddress*)addr);
269 if (status != BT_STATUS_SUCCESS) {
270 ALOGE("Failed HID channel connection, status: %d", status);
290 bt_status_t status = sBluetoothHidInterface->disconnect((RawAddress*)addr);
291 if (status != BT_STATUS_SUCCESS) {
292 ALOGE("Failed disconnect hid channel, status: %d", status);
313 bt_status_t status = sBluetoothHidInterface->get_protocol(
315 if (status != BT_STATUS_SUCCESS) {
316 ALOGE("Failed get protocol mode, status: %d", status);
335 bt_status_t status =
337 if (status != BT_STATUS_SUCCESS) {
338 ALOGE("Failed virual unplug, status: %d", status);
371 bt_status_t status =
373 if (status != BT_STATUS_SUCCESS) {
374 ALOGE("Failed set protocol mode, status: %d", status);
398 bt_status_t status = sBluetoothHidInterface->get_report(
401 if (status != BT_STATUS_SUCCESS) {
402 ALOGE("Failed get report, status: %d", status);
424 bt_status_t status = sBluetoothHidInterface->set_report(
426 if (status != BT_STATUS_SUCCESS) {
427 ALOGE("Failed set report, status: %d", status);
450 bt_status_t status =
452 if (status != BT_STATUS_SUCCESS) {
453 ALOGE("Failed set data, status: %d", status);
472 bt_status_t status = sBluetoothHidInterface->get_idle_time((RawAddress*)addr);
473 if (status != BT_STATUS_SUCCESS) {
474 ALOGE("%s: Failed get idle time, status: %d", __func__, status);
478 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE;
491 bt_status_t status =
493 if (status != BT_STATUS_SUCCESS) {
494 ALOGE("%s: Failed set idle time, status: %d", __func__, status);
498 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE;