/system/bt/hci/src/ |
H A D | hci_audio.c | 28 void set_audio_state(uint16_t handle, sco_codec_t codec, sco_state_t state) argument 30 LOG_INFO("%s handle:%d codec:0x%x state:%d", __func__, handle, codec, state); 36 audio_state.state = state;
|
H A D | low_power_manager.c | 69 static low_power_mode_state_t state; variable 108 if (state != LPM_DISABLED) { 133 if (state == LPM_DISABLING) { 138 } else if (state == LPM_ENABLING) { 143 } else if (state == LPM_ENABLED && enable) { 145 } else if (state == LPM_DISABLED && !enable) { 149 state = enable ? LPM_ENABLING : LPM_DISABLING; 155 if (state == LPM_ENABLED && wake_state == LPM_WAKE_ASSERTED) { 166 if (state == LPM_ENABLED && transmit_is_done) { 174 state [all...] |
/system/core/init/ |
H A D | parser.cpp | 9 void parse_error(struct parse_state *state, const char *fmt, ...) argument 15 snprintf(buf, 128, "%s: %d: ", state->filename, state->line); 26 int next_token(struct parse_state *state) argument 28 char *x = state->ptr; 31 if (state->nexttoken) { 32 int t = state->nexttoken; 33 state->nexttoken = 0; 40 state->ptr = x; 44 state [all...] |
H A D | ueventd_parser.cpp | 33 static void parse_line_device(struct parse_state *state, int nargs, char **args); 98 static void *parse_subsystem(parse_state* state, int /*nargs*/, char** args) { argument 100 parse_error(state, "invalid subsystem name '%s'\n", args[1]); 106 parse_error(state, "ignored duplicate definition of subsystem '%s'\n", 113 parse_error(state, "out of memory\n"); 122 static void parse_line_subsystem(struct parse_state *state, int nargs, argument 125 struct ueventd_subsystem *s = (ueventd_subsystem*) state->context; 140 parse_error(state, "invalid devname '%s'\n", args[1]); 147 parse_error(state, "dirname '%s' does not start with '/'\n", 152 parse_error(state, "invali 156 parse_new_section(struct parse_state *state, int kw, int nargs, char **args) argument 174 parse_line(struct parse_state *state, char **args, int nargs) argument 199 parse_state state; local [all...] |
/system/bt/btif/co/ |
H A D | bta_ag_co.c | 54 ** state - Audio state 64 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state, tBTA_AG_PEER_CODEC codec) argument 66 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state) 69 BTIF_TRACE_DEBUG("bta_ag_co_audio_state: handle %d, state %d", handle, state); 70 switch (state) 76 set_audio_state(handle, codec, state); 87 set_audio_state(handle, codec, state); 89 set_audio_state(handle, BTA_AG_CODEC_CVSD, state); [all...] |
/system/bt/btif/src/ |
H A D | btif_sm.c | 24 * Description: Generic BTIF state machine API 46 btif_sm_state_t state; member in struct:__anon686 70 ** Description Initializes the state machine with the state handlers 75 ** Returns Returns a pointer to the initialized state machine handle. 90 p_cb->state = initial_state; 93 /* Send BTIF_SM_ENTER_EVT to the initial state */ 103 ** Description Tears down the state machine 124 ** Description Fetches the current state of the state machin 185 btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state) argument [all...] |
H A D | btif_debug_conn.c | 32 btif_debug_conn_state_t state; member in struct:conn_event_t 51 static char *format_state(const btif_debug_conn_state_t state) { argument 52 switch (state) { 67 void btif_debug_conn_state(const bt_bdaddr_t bda, const btif_debug_conn_state_t state, argument 73 evt->state = state; 92 format_state(evt->state), 95 if (evt->state == BTIF_DEBUG_DISCONNECTED)
|
H A D | btif_hf_client.c | 93 else if (btif_hf_client_cb.state != BTHF_CLIENT_CONNECTION_STATE_SLC_CONNECTED)\ 95 BTIF_TRACE_WARNING("BTHF CLIENT: %s: SLC connection not up. state=%s",\ 97 dump_hf_conn_state(btif_hf_client_cb.state));\ 110 bthf_client_connection_state_t state; member in struct:__anon667 167 if (((btif_hf_client_cb.state == BTHF_CLIENT_CONNECTION_STATE_CONNECTED) || 168 (btif_hf_client_cb.state == BTHF_CLIENT_CONNECTION_STATE_SLC_CONNECTED))&& 220 btif_hf_client_cb.state = BTHF_CLIENT_CONNECTION_STATE_CONNECTING; 755 btif_hf_client_cb.state = BTHF_CLIENT_CONNECTION_STATE_CONNECTED; 760 else if (btif_hf_client_cb.state == BTHF_CLIENT_CONNECTION_STATE_CONNECTING) 762 btif_hf_client_cb.state [all...] |
H A D | btif_sdp_server.c | 46 * The need for a state variable have been reduced to two states. 47 * The remaining state control is handled by program flow 55 sdp_state_t state; member in struct:__anon685 94 sdp_slots[i].state = SDP_RECORD_FREE; 198 if(sdp_slots[i].state == SDP_RECORD_FREE) { 199 sdp_slots[i].state = SDP_RECORD_ALLOCED; 224 if(sdp_slots[id].state != SDP_RECORD_FREE) 229 sdp_slots[id].state = SDP_RECORD_FREE; 242 * Use this to get a reference to a SDP slot AND change the state to 252 if(sdp_slots[id].state [all...] |
/system/core/adb/ |
H A D | fdevent.h | 74 uint16_t state; member in struct:fdevent
|
H A D | transport_usb.cpp | 83 void init_usb_transport(atransport *t, usb_handle *h, int state) argument 91 t->connection_state = state;
|
/system/extras/ext4_utils/ |
H A D | sha1.h | 31 uint32_t state[5]; member in struct:__anon1508
|
/system/core/include/mincrypt/ |
H A D | hash-internal.h | 50 uint32_t state[8]; // upto SHA2 member in struct:HASH_CTX
|
/system/bt/bta/ag/ |
H A D | bta_ag_at.h | 73 UINT8 state; /* parsing state */ member in struct:__anon5 97 ** function resets the AT command parser state and frees
|
/system/bt/bta/sys/ |
H A D | bta_sys_int.h | 32 ** state table 35 /* SYS HW state */ 59 tBTA_SYS_HW_STATE state; member in struct:__anon569 93 /* functions used for BTA SYS HW state machine */
|
/system/bt/stack/hid/ |
H A D | hidh_int.h | 43 UINT8 state; /* Device state if in HOST-KNOWN mode */ member in struct:per_device_ctb
|
/system/bt/test/suite/support/ |
H A D | pan.c | 58 void pan_control_state_changed(btpan_control_state_t state, bt_status_t error, int local_role, const char *ifname) { argument 61 pan_control_state = state; 70 void pan_connection_state_changed(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role) { argument 71 pan_connection_state = state;
|
H A D | adapter.c | 25 static bt_state_t state; variable 33 return state; 58 // Returns the device bond state. 64 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) { argument 65 acl_state = state; 71 state = new_state; 89 bt_bond_state_t state) { 90 bond_state = state; 100 void discovery_state_changed(bt_discovery_state_t state) { argument 101 discovery_state = state; 87 bond_state_changed(bt_status_t status, bt_bdaddr_t *bdaddr, bt_bond_state_t state) argument [all...] |
/system/bt/btcore/src/ |
H A D | module.c | 46 static void set_module_state(const module_t *module, module_state_t state); 110 module_state_t state = get_module_state(module); local 111 assert(state <= MODULE_STATE_STARTED); 114 if (state < MODULE_STATE_STARTED) 126 module_state_t state = get_module_state(module); local 127 assert(state <= MODULE_STATE_INITIALIZED); 130 if (state < MODULE_STATE_INITIALIZED) 162 static void set_module_state(const module_t *module, module_state_t state) { argument 173 *state_ptr = state;
|
/system/bt/btif/include/ |
H A D | btif_pan_internal.h | 68 int state; member in struct:__anon636
|
/system/bt/stack/avdt/ |
H A D | avdt_ad.c | 127 ** the given state. 135 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_st(UINT8 type, tAVDT_CCB *p_ccb, UINT8 state) argument 148 (p_tbl->state == state)) 165 (p_tbl->state == state)) 175 (p_tbl->state == state)) 273 if (p_tbl->state == AVDT_AD_ST_UNUSED) 287 p_tbl->state [all...] |
H A D | avdt_scb.c | 37 ** state machine constants and types 41 /* verbose state strings for trace */ 173 /* state table information */ 175 #define AVDT_SCB_NEXT_STATE 2 /* position of next state */ 176 #define AVDT_SCB_NUM_COLS 3 /* number of columns in state tables */ 178 /* state table for idle state */ 180 /* Event Action 1 Action 2 Next state */ 231 /* state table for configured state */ 728 avdt_scb_verify(tAVDT_CCB *p_ccb, UINT8 state, UINT8 *p_seid, UINT16 num_seid, UINT8 *p_err_code) argument [all...] |
/system/bt/bta/pan/ |
H A D | bta_pan_act.c | 21 * This file contains the pan action functions for the state machine. 48 ** Description set pan pm connection busy state 50 ** Params p_scb: state machine control block of pan connection 57 if ((p_scb != NULL) && (p_scb->state != BTA_PAN_IDLE_ST)) 65 ** Description set pan pm connection idle state 67 ** Params p_scb: state machine control block of pan connection 74 if ((p_scb != NULL) && (p_scb->state != BTA_PAN_IDLE_ST)) 82 ** Description Connection state callback from Pan profile 88 static void bta_pan_conn_state_cback(UINT16 handle, BD_ADDR bd_addr, tPAN_RESULT state, argument 98 if((state [all...] |
/system/bt/hci/include/ |
H A D | bt_vendor_lib.h | 146 * Perform any vendor specific commands related to audio state changes. 148 * a pointer to bt_vendor_op_audio_state_t indicating what audio state is 196 /** LPM WAKE set state request */ 208 /** audio (SCO) state changes triggering VS commands for configuration */ 212 uint16_t state; member in struct:__anon734
|
/system/bt/stack/avct/ |
H A D | avct_int.h | 36 /* lcb state machine events */ 67 UINT8 state; /* The state machine state */ member in struct:__anon778 68 UINT8 ch_state; /* L2CAP channel state */ 78 UINT8 state; /* The state machine state */ member in struct:__anon779 79 UINT8 ch_state; /* L2CAP channel state */ 94 UINT8 state; /* Th member in struct:__anon780 [all...] |