Home | History | Annotate | Download | only in btservice

Lines Matching defs:reason

179                     int reason = getUnbondReasonFromHALCode(msg.arg2);
180 sendIntent(dev, newState, reason);
305 private void sendIntent(BluetoothDevice device, int newState, int reason) {
319 intent.putExtra(BluetoothDevice.EXTRA_REASON, reason);
464 private int getUnbondReasonFromHALCode (int reason) {
465 if (reason == AbstractionLayer.BT_STATUS_SUCCESS)
467 else if (reason == AbstractionLayer.BT_STATUS_RMT_DEV_DOWN)
469 else if (reason == AbstractionLayer.BT_STATUS_AUTH_FAILURE)
471 else if (reason == AbstractionLayer.BT_STATUS_AUTH_REJECTED)
473 else if (reason == AbstractionLayer.BT_STATUS_AUTH_TIMEOUT)