Lines Matching refs:status
180 bt_status_t status; in initializeNative() local
206 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { in initializeNative()
207 ALOGE("Failed to initialize Bluetooth HID, status: %d", status); in initializeNative()
219 bt_status_t status; in cleanupNative() local
242 bt_status_t status; in connectHidNative() local
253 if ((status = sBluetoothHidInterface->connect((bt_bdaddr_t *) addr)) != in connectHidNative()
255 ALOGE("Failed HID channel connection, status: %d", status); in connectHidNative()
264 bt_status_t status; in disconnectHidNative() local
275 if ( (status = sBluetoothHidInterface->disconnect((bt_bdaddr_t *) addr)) != in disconnectHidNative()
277 ALOGE("Failed disconnect hid channel, status: %d", status); in disconnectHidNative()
286 bt_status_t status; in getProtocolModeNative() local
298 …if ( (status = sBluetoothHidInterface->get_protocol((bt_bdaddr_t *) addr, (bthh_protocol_mode_t) p… in getProtocolModeNative()
300 ALOGE("Failed get protocol mode, status: %d", status); in getProtocolModeNative()
309 bt_status_t status; in virtualUnPlugNative() local
319 if ( (status = sBluetoothHidInterface->virtual_unplug((bt_bdaddr_t *) addr)) != in virtualUnPlugNative()
321 ALOGE("Failed virual unplug, status: %d", status); in virtualUnPlugNative()
331 bt_status_t status; in setProtocolModeNative() local
356 if ( (status = sBluetoothHidInterface->set_protocol((bt_bdaddr_t *) addr, mode)) != in setProtocolModeNative()
358 ALOGE("Failed set protocol mode, status: %d", status); in setProtocolModeNative()
369 bt_status_t status; in getReportNative() local
383 …if ( (status = sBluetoothHidInterface->get_report((bt_bdaddr_t *) addr, (bthh_report_type_t) rType… in getReportNative()
385 ALOGE("Failed get report, status: %d", status); in getReportNative()
396 bt_status_t status; in setReportNative() local
409 …if ( (status = sBluetoothHidInterface->set_report((bt_bdaddr_t *) addr, (bthh_report_type_t)rType,… in setReportNative()
411 ALOGE("Failed set report, status: %d", status); in setReportNative()
422 bt_status_t status; in sendDataNative() local
433 if ( (status = sBluetoothHidInterface->send_data((bt_bdaddr_t *) addr, (char*) c_report)) != in sendDataNative()
435 ALOGE("Failed set report, status: %d", status); in sendDataNative()