Loading CPPLINT.cfg +0 −2 Original line number Diff line number Diff line Loading @@ -4,8 +4,6 @@ linelength=100 # CPPLint enforces +1, but our rule is no indentation. filter=-whitespace/indent # TODO: b/364967694 re-enable the warning filter=-whitespace/blank_line # TODO: b/364967694 re-enable the warning filter=-readability/check # TODO: b/364967694 re-enable the warning Loading system/bta/dm/bta_dm_disc_sdp.cc +0 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,6 @@ void bta_dm_sdp_result(tSDP_STATUS sdp_result, tBTA_DM_SDP_STATE* sdp_state) { } else { /* regular one service per search or PNP search */ break; } } while (sdp_state->service_index <= BTA_MAX_SERVICE_ID); log::verbose("services_found = {:04x}", sdp_state->services_found); Loading system/bta/dm/bta_dm_int.h +0 −7 Original line number Diff line number Diff line Loading @@ -186,7 +186,6 @@ typedef struct { app_id, bta_sys_conn_status_text(state).c_str(), new_request ? "true" : "false"); } } tBTA_DM_SRVCS; #ifndef BTA_DM_NUM_CONN_SRVS Loading @@ -196,7 +195,6 @@ typedef struct { typedef struct { uint8_t count; tBTA_DM_SRVCS conn_srvc[BTA_DM_NUM_CONN_SRVS]; } tBTA_DM_CONNECTED_SRVCS; typedef struct { Loading Loading @@ -257,7 +255,6 @@ typedef struct { uint16_t page_timeout; /* timeout for page in slots */ bool avoid_scatter; /* true to avoid scatternet when av is streaming (be the central) */ } tBTA_DM_CFG; extern const uint32_t bta_service_id_to_btm_srv_id_lkup_tbl[]; Loading @@ -266,7 +263,6 @@ typedef struct { uint8_t id; uint8_t app_id; uint8_t cfg; } tBTA_DM_RM; extern const tBTA_DM_CFG* p_bta_dm_cfg; Loading @@ -276,20 +272,17 @@ typedef struct { uint8_t id; uint8_t app_id; uint8_t spec_idx; /* index of spec table to use */ } tBTA_DM_PM_CFG; typedef struct { tBTA_DM_PM_ACTION power_mode; uint16_t timeout; } tBTA_DM_PM_ACTN; typedef struct { uint8_t allow_mask; /* mask of sniff/hold/park modes to allow */ uint8_t ssr; /* set SSR on conn open/unpark */ tBTA_DM_PM_ACTN actn_tbl[BTA_DM_PM_NUM_EVTS][2]; } tBTA_DM_PM_SPEC; typedef struct { Loading system/bta/gatt/bta_gattc_main.cc +0 −4 Original line number Diff line number Diff line Loading @@ -126,7 +126,6 @@ static const uint8_t bta_gattc_st_idle[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_DISCOVER_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_IDLE_ST}, /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_IDLE_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_IDLE_ST}, }; /* state table for wait for open state */ Loading @@ -153,7 +152,6 @@ static const uint8_t bta_gattc_st_w4_conn[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_DISCOVER_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_W4_CONN_ST}, /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_W4_CONN_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_OPEN_FAIL, BTA_GATTC_IDLE_ST}, }; /* state table for open state */ Loading Loading @@ -181,7 +179,6 @@ static const uint8_t bta_gattc_st_connected[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_OP_CMPL, BTA_GATTC_CONN_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_CLOSE, BTA_GATTC_IDLE_ST}, }; /* state table for discover state */ Loading Loading @@ -209,7 +206,6 @@ static const uint8_t bta_gattc_st_discover[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_OP_CMPL_DURING_DISCOVERY, BTA_GATTC_DISCOVER_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_CLOSE, BTA_GATTC_IDLE_ST}, }; /* type for state table */ Loading system/bta/hf_client/bta_hf_client_at.h +0 −1 Original line number Diff line number Diff line Loading @@ -59,5 +59,4 @@ typedef struct { so when their values come later, we know which value in sequence match certain indicator */ int indicator_lookup[BTA_HF_CLIENT_AT_INDICATOR_COUNT]; } tBTA_HF_CLIENT_AT_CB; Loading
CPPLINT.cfg +0 −2 Original line number Diff line number Diff line Loading @@ -4,8 +4,6 @@ linelength=100 # CPPLint enforces +1, but our rule is no indentation. filter=-whitespace/indent # TODO: b/364967694 re-enable the warning filter=-whitespace/blank_line # TODO: b/364967694 re-enable the warning filter=-readability/check # TODO: b/364967694 re-enable the warning Loading
system/bta/dm/bta_dm_disc_sdp.cc +0 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,6 @@ void bta_dm_sdp_result(tSDP_STATUS sdp_result, tBTA_DM_SDP_STATE* sdp_state) { } else { /* regular one service per search or PNP search */ break; } } while (sdp_state->service_index <= BTA_MAX_SERVICE_ID); log::verbose("services_found = {:04x}", sdp_state->services_found); Loading
system/bta/dm/bta_dm_int.h +0 −7 Original line number Diff line number Diff line Loading @@ -186,7 +186,6 @@ typedef struct { app_id, bta_sys_conn_status_text(state).c_str(), new_request ? "true" : "false"); } } tBTA_DM_SRVCS; #ifndef BTA_DM_NUM_CONN_SRVS Loading @@ -196,7 +195,6 @@ typedef struct { typedef struct { uint8_t count; tBTA_DM_SRVCS conn_srvc[BTA_DM_NUM_CONN_SRVS]; } tBTA_DM_CONNECTED_SRVCS; typedef struct { Loading Loading @@ -257,7 +255,6 @@ typedef struct { uint16_t page_timeout; /* timeout for page in slots */ bool avoid_scatter; /* true to avoid scatternet when av is streaming (be the central) */ } tBTA_DM_CFG; extern const uint32_t bta_service_id_to_btm_srv_id_lkup_tbl[]; Loading @@ -266,7 +263,6 @@ typedef struct { uint8_t id; uint8_t app_id; uint8_t cfg; } tBTA_DM_RM; extern const tBTA_DM_CFG* p_bta_dm_cfg; Loading @@ -276,20 +272,17 @@ typedef struct { uint8_t id; uint8_t app_id; uint8_t spec_idx; /* index of spec table to use */ } tBTA_DM_PM_CFG; typedef struct { tBTA_DM_PM_ACTION power_mode; uint16_t timeout; } tBTA_DM_PM_ACTN; typedef struct { uint8_t allow_mask; /* mask of sniff/hold/park modes to allow */ uint8_t ssr; /* set SSR on conn open/unpark */ tBTA_DM_PM_ACTN actn_tbl[BTA_DM_PM_NUM_EVTS][2]; } tBTA_DM_PM_SPEC; typedef struct { Loading
system/bta/gatt/bta_gattc_main.cc +0 −4 Original line number Diff line number Diff line Loading @@ -126,7 +126,6 @@ static const uint8_t bta_gattc_st_idle[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_DISCOVER_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_IDLE_ST}, /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_IDLE_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_IDLE_ST}, }; /* state table for wait for open state */ Loading @@ -153,7 +152,6 @@ static const uint8_t bta_gattc_st_w4_conn[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_DISCOVER_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_W4_CONN_ST}, /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_IGNORE, BTA_GATTC_W4_CONN_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_OPEN_FAIL, BTA_GATTC_IDLE_ST}, }; /* state table for open state */ Loading Loading @@ -181,7 +179,6 @@ static const uint8_t bta_gattc_st_connected[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_OP_CMPL, BTA_GATTC_CONN_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_CLOSE, BTA_GATTC_IDLE_ST}, }; /* state table for discover state */ Loading Loading @@ -209,7 +206,6 @@ static const uint8_t bta_gattc_st_discover[][BTA_GATTC_NUM_COLS] = { /* BTA_GATTC_OP_CMPL_EVT */ {BTA_GATTC_OP_CMPL_DURING_DISCOVERY, BTA_GATTC_DISCOVER_ST}, /* BTA_GATTC_INT_DISCONN_EVT */ {BTA_GATTC_CLOSE, BTA_GATTC_IDLE_ST}, }; /* type for state table */ Loading
system/bta/hf_client/bta_hf_client_at.h +0 −1 Original line number Diff line number Diff line Loading @@ -59,5 +59,4 @@ typedef struct { so when their values come later, we know which value in sequence match certain indicator */ int indicator_lookup[BTA_HF_CLIENT_AT_INDICATOR_COUNT]; } tBTA_HF_CLIENT_AT_CB;