diff --git a/android/bluetooth.c b/android/bluetooth.c
index d7cf2f9..bece3b4 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
break;
}
+ if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ error("Failed to get adapter property (type %u status %u)",
+ cmd->type, status);
+
ipc_send_rsp(HAL_SERVICE_ID_BLUETOOTH, HAL_OP_GET_ADAPTER_PROP, status);
}
break;
}
+ if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ error("Failed to set adapter property (type %u status %u)",
+ cmd->type, status);
+
ipc_send_rsp(HAL_SERVICE_ID_BLUETOOTH, HAL_OP_SET_ADAPTER_PROP, status);
}
break;
}
+ if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ error("Failed to get device property (type %u status %u)",
+ cmd->type, status);
+
failed:
ipc_send_rsp(HAL_SERVICE_ID_BLUETOOTH, HAL_OP_GET_REMOTE_DEVICE_PROP,
status);
break;
}
+ if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ error("Failed to set device property (type %u status %u)",
+ cmd->type, status);
+
failed:
ipc_send_rsp(HAL_SERVICE_ID_BLUETOOTH, HAL_OP_SET_REMOTE_DEVICE_PROP,
status);
{
/* TODO */
+ error("get_remote_service_record not supported");
+
ipc_send_rsp(HAL_SERVICE_ID_BLUETOOTH, HAL_OP_GET_REMOTE_SERVICE_REC,
HAL_STATUS_FAILED);
}
return;
}
- DBG("opcode %u", cmd->opcode);
+ error("dut_mode_send not supported");
/* TODO */
return;
}
- DBG("opcode %u", cmd->opcode);
+ error("le_test_mode not supported");
/* TODO */