summaryrefslogtreecommitdiffstats
path: root/udrv
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@google.com>2016-11-23 14:49:54 -0800
committerMyles Watson <mylesgw@google.com>2016-12-01 12:09:21 -0800
commitee96a3c60fca590d38025925c072d264e06493c4 (patch)
tree23d040e7968841c3523e2aaf6077dc0fc163d213 /udrv
parentc7caa5066e915c1ad5fa608f02e40eef79a6e988 (diff)
downloadandroid_system_bt-ee96a3c60fca590d38025925c072d264e06493c4.tar.gz
android_system_bt-ee96a3c60fca590d38025925c072d264e06493c4.tar.bz2
android_system_bt-ee96a3c60fca590d38025925c072d264e06493c4.zip
Fix asterisks in block quotes
Remove double asterisks from block quotes. git grep -lP '^[*][*]' | xargs sed 's/^[*][*]/ \*/' -i Fix asterisk line lengths git grep -l '^[ /][*]\{79,\}[*/]' | \ xargs sed -i s,"^\([ /]\)[*]\([*]\{78\}\)[*]*\([*/]\)","\1\2\3", Test: mma -j32 Change-Id: Ie3fd375ac2f804cb0f53bf1314a005e85973b3d7
Diffstat (limited to 'udrv')
-rw-r--r--udrv/include/uipc.h96
-rw-r--r--udrv/ulinux/uipc.cc62
2 files changed, 79 insertions, 79 deletions
diff --git a/udrv/include/uipc.h b/udrv/include/uipc.h
index 766477b9d..e98f90d15 100644
--- a/udrv/include/uipc.h
+++ b/udrv/include/uipc.h
@@ -55,69 +55,69 @@ typedef void (tUIPC_RCV_CBACK)(tUIPC_CH_ID ch_id, tUIPC_EVENT event); /* points
const char* dump_uipc_event(tUIPC_EVENT event);
/*******************************************************************************
-**
-** Function UIPC_Init
-**
-** Description Initialize UIPC module
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Init
+ *
+ * Description Initialize UIPC module
+ *
+ * Returns void
+ *
+ ******************************************************************************/
void UIPC_Init(void *);
/*******************************************************************************
-**
-** Function UIPC_Open
-**
-** Description Open UIPC interface
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Open
+ *
+ * Description Open UIPC interface
+ *
+ * Returns void
+ *
+ ******************************************************************************/
bool UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback);
/*******************************************************************************
-**
-** Function UIPC_Close
-**
-** Description Close UIPC interface
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Close
+ *
+ * Description Close UIPC interface
+ *
+ * Returns void
+ *
+ ******************************************************************************/
void UIPC_Close(tUIPC_CH_ID ch_id);
/*******************************************************************************
-**
-** Function UIPC_Send
-**
-** Description Called to transmit a message over UIPC.
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Send
+ *
+ * Description Called to transmit a message over UIPC.
+ *
+ * Returns void
+ *
+ ******************************************************************************/
bool UIPC_Send(tUIPC_CH_ID ch_id, uint16_t msg_evt, uint8_t *p_buf, uint16_t msglen);
/*******************************************************************************
-**
-** Function UIPC_Read
-**
-** Description Called to read a message from UIPC.
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Read
+ *
+ * Description Called to read a message from UIPC.
+ *
+ * Returns void
+ *
+ ******************************************************************************/
uint32_t UIPC_Read(tUIPC_CH_ID ch_id, uint16_t *p_msg_evt, uint8_t *p_buf, uint32_t len);
/*******************************************************************************
-**
-** Function UIPC_Ioctl
-**
-** Description Called to control UIPC.
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Ioctl
+ *
+ * Description Called to control UIPC.
+ *
+ * Returns void
+ *
+ ******************************************************************************/
bool UIPC_Ioctl(tUIPC_CH_ID ch_id, uint32_t request, void *param);
#ifdef __cplusplus
diff --git a/udrv/ulinux/uipc.cc b/udrv/ulinux/uipc.cc
index 898d8398d..270e33a18 100644
--- a/udrv/ulinux/uipc.cc
+++ b/udrv/ulinux/uipc.cc
@@ -49,8 +49,8 @@
#include "uipc.h"
/*****************************************************************************
-** Constants & Macros
-******************************************************************************/
+ * Constants & Macros
+ *****************************************************************************/
#define PCM_FILENAME "/data/test.pcm"
@@ -68,8 +68,8 @@
#define UIPC_FLUSH_BUFFER_SIZE 1024
/*****************************************************************************
-** Local type definitions
-******************************************************************************/
+ * Local type definitions
+ *****************************************************************************/
typedef enum {
UIPC_TASK_FLAG_DISCONNECT_CHAN = 0x1,
@@ -101,26 +101,26 @@ typedef struct {
/*****************************************************************************
-** Static variables
-******************************************************************************/
+ * Static variables
+ *****************************************************************************/
static tUIPC_MAIN uipc_main;
/*****************************************************************************
-** Static functions
-******************************************************************************/
+ * Static functions
+ *****************************************************************************/
static int uipc_close_ch_locked(tUIPC_CH_ID ch_id);
/*****************************************************************************
-** Externs
-******************************************************************************/
+ * Externs
+ *****************************************************************************/
/*****************************************************************************
-** Helper functions
-******************************************************************************/
+ * Helper functions
+ *****************************************************************************/
const char* dump_uipc_event(tUIPC_EVENT event)
@@ -138,8 +138,8 @@ const char* dump_uipc_event(tUIPC_EVENT event)
}
/*****************************************************************************
-** socket helper functions
-*****************************************************************************/
+ * socket helper functions
+ ****************************************************************************/
static inline int create_server_socket(const char* name)
{
@@ -215,10 +215,10 @@ static int accept_server_socket(int sfd)
}
/*****************************************************************************
-**
-** uipc helper functions
-**
-*****************************************************************************/
+ *
+ * uipc helper functions
+ *
+ ****************************************************************************/
static int uipc_main_init(void)
{
@@ -601,7 +601,7 @@ void uipc_stop_main_server_thread(void)
**
** Returns void
**
- *******************************************************************************/
+ ******************************************************************************/
void UIPC_Init(UNUSED_ATTR void *p_data)
{
@@ -622,7 +622,7 @@ void UIPC_Init(UNUSED_ATTR void *p_data)
**
** Returns true in case of success, false in case of failure.
**
- *******************************************************************************/
+ ******************************************************************************/
bool UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback)
{
BTIF_TRACE_DEBUG("UIPC_Open : ch_id %d, p_cback %x", ch_id, p_cback);
@@ -666,7 +666,7 @@ bool UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback)
**
** Returns void
**
- *******************************************************************************/
+ ******************************************************************************/
void UIPC_Close(tUIPC_CH_ID ch_id)
{
@@ -695,7 +695,7 @@ void UIPC_Close(tUIPC_CH_ID ch_id)
**
** Returns true in case of success, false in case of failure.
**
- *******************************************************************************/
+ ******************************************************************************/
bool UIPC_Send(tUIPC_CH_ID ch_id,
UNUSED_ATTR uint16_t msg_evt, uint8_t *p_buf,
uint16_t msglen)
@@ -723,7 +723,7 @@ bool UIPC_Send(tUIPC_CH_ID ch_id,
**
** Returns return the number of bytes read.
**
- *******************************************************************************/
+ ******************************************************************************/
uint32_t UIPC_Read(tUIPC_CH_ID ch_id,
UNUSED_ATTR uint16_t *p_msg_evt, uint8_t *p_buf,
@@ -809,14 +809,14 @@ uint32_t UIPC_Read(tUIPC_CH_ID ch_id,
}
/*******************************************************************************
-**
-** Function UIPC_Ioctl
-**
-** Description Called to control UIPC.
-**
-** Returns void
-**
-*******************************************************************************/
+ *
+ * Function UIPC_Ioctl
+ *
+ * Description Called to control UIPC.
+ *
+ * Returns void
+ *
+ ******************************************************************************/
extern bool UIPC_Ioctl(tUIPC_CH_ID ch_id, uint32_t request, void *param)
{