/system/bt/btif/src/ |
H A D | btif_hf.c | 219 ** Description Internal function to get idx by bdaddr 221 ** Returns idx 267 static void send_at_result(UINT8 ok_flag, UINT16 errcode, int idx) argument 278 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, &ag_res); 301 void clear_phone_state_multihf(int idx) argument 303 btif_hf_cb[idx].call_setup_state = BTHF_CALL_STATE_IDLE; 304 btif_hf_cb[idx].num_active = btif_hf_cb[idx].num_held = 0; 311 ** Description Returns idx for latest connected HF 363 BTIF_TRACE_EVENT("BTHF: %s: slc connected for idx 396 int idx = p_data->hdr.handle - 1; local 695 int idx = btif_hf_idx_by_bdaddr((bt_bdaddr_t *)p_param); local 809 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 839 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 877 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 907 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 948 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 990 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1056 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1094 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1167 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1202 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1238 int idx = btif_hf_idx_by_bdaddr(bd_addr); local 1299 int idx, i; local 1592 int idx = btif_hf_idx_by_bdaddr(bd_addr); local [all...] |
H A D | btif_hf_client.c | 442 static bt_status_t handle_call_action(bthf_client_call_action_t action, int idx) argument 488 if (idx < 1) 492 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_CHLD, 1, idx, NULL); 499 if (idx < 1) 503 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_CHLD, 2, idx, NULL); 848 HAL_CBACK(bt_hf_client_callbacks, current_calls_cb, p_data->clcc.idx,
|
/system/security/keystore-engine/ |
H A D | keyhandle.cpp | 33 int keyhandle_new(void*, void*, CRYPTO_EX_DATA* ad, int idx, long, void*) { argument 34 return CRYPTO_set_ex_data(ad, idx, NULL); 50 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *) { argument 59 (void) CRYPTO_set_ex_data(to, idx, keyhandle_copy);
|
H A D | methods.h | 55 int keyhandle_new(void*, void*, CRYPTO_EX_DATA* ad, int idx, long, void*); 57 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *);
|
/system/bt/bta/ag/ |
H A D | bta_ag_at.c | 82 UINT16 idx; local 87 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++) 89 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf)) 96 if (p_cb->p_at_tbl[idx].p_cmd[0] != 0) 99 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd); 136 if ((arg_type & p_cb->p_at_tbl[idx].arg_type) != 0) 140 p_cb->p_at_tbl[idx].fmt == BTA_AG_AT_INT) 143 if (int_arg < (INT16) p_cb->p_at_tbl[idx] [all...] |
H A D | bta_ag_api.c | 60 for (int idx = 0; idx < BTA_AG_NUM_SCB; idx++) { 61 if (bta_ag_cb.scb[idx].in_use) {
|
H A D | bta_ag_main.c | 339 UINT8 idx; local 358 for (idx = 0; idx < BTA_AG_NUM_SCB; idx++) 360 if (bta_ag_cb.scb[idx].in_use) 401 tBTA_AG_SCB *bta_ag_scb_by_idx(UINT16 idx) argument 406 if (idx > 0 && idx <= BTA_AG_NUM_SCB) 408 p_scb = &bta_ag_cb.scb[idx - 1]; 412 APPL_TRACE_WARNING("ag scb idx [all...] |
/system/bt/stack/avct/ |
H A D | avct_ccb.c | 128 tAVCT_CCB *avct_ccb_by_idx(UINT8 idx) argument 133 if (idx < AVCT_NUM_CONN) 135 p_ccb = &avct_cb.ccb[idx]; 141 AVCT_TRACE_WARNING("ccb %d not allocated", idx); 147 AVCT_TRACE_WARNING("No ccb for idx %d", idx);
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | utils.h | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms);
|
H A D | utils.c | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms) argument 16 ? key->source_type - 1 : idx], 19 ? key->target_type - 1 : idx],
|
/system/bt/stack/mcap/ |
H A D | mca_main.c | 206 UINT8 idx; local 210 idx = mca_cb.tc.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; 212 if (idx < MCA_NUM_TC_TBL) 214 return &mca_cb.tc.tc_tbl[idx]; 232 UINT8 idx; local 236 idx = mca_cb.tc.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; 238 if (idx < MCA_NUM_TC_TBL) 240 mca_cb.tc.tc_tbl[idx].state = MCA_TC_ST_UNUSED;
|
/system/bt/stack/rfcomm/ |
H A D | rfc_l2cap_if.c | 162 UINT8 idx; local 179 if ((idx = p_mcb->port_inx[i]) != 0) 182 p_mcb->port_inx[i+1] = idx; 183 rfc_cb.port.port[idx - 1].dlci += 1; 184 RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci);
|
H A D | rfc_mx_fsm.c | 224 UINT8 idx; local 237 if ((idx = p_mcb->port_inx[i]) != 0) 240 p_mcb->port_inx[i+1] = idx; 241 rfc_cb.port.port[idx - 1].dlci += 1; 242 RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci);
|
/system/extras/ext4_utils/ |
H A D | extent.c | 136 struct ext4_extent_idx *idx = local 138 idx->ei_block = 0; 139 idx->ei_leaf_lo = extent_block; 140 idx->ei_leaf_hi = 0; 141 idx->ei_unused = 0;
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | framing.c | 114 OI_UINT idx; local 115 idx = oldcrc^next; 116 crc = crc8_wide[idx >> 1]; 117 if (idx%2) { 129 OI_UINT idx; local 130 idx = (oldcrc ^ next) >> 4; 131 crc = crc8_wide[idx>>1]; 132 if (idx%2) {
|
/system/media/camera/docs/ |
H A D | metadata_helpers_test.py | 73 for (idx, val) in enumerate(expected_list): 75 enum_calculate_value_string(list(enum.values)[idx]))
|
H A D | ndk_camera_metadata_tags.mako | 81 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))): 108 % if idx == 0: 111 ${ndk(path_name(find_parent_section(entry))) | csym}_START + ${idx},
|
/system/bt/btif/co/ |
H A D | bta_hl_co.c | 139 UINT8 idx ; local 148 idx = mdep_idx -mdep_counter-1; 149 p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_id = mdep_id; 151 &p_btif_hl_cb->acb[app_idx].sup_feature.mdep[idx].mdep_cfg,
|
H A D | bta_hh_co.c | 521 unsigned idx = 0; local 532 idx = len / sizeof(tBTA_HH_RPT_CACHE_ENTRY); 535 if (idx < BTA_HH_NV_LOAD_MAX) 537 memcpy(&sReportCache[idx++], p_entry, sizeof(tBTA_HH_RPT_CACHE_ENTRY)); 539 idx * sizeof(tBTA_HH_RPT_CACHE_ENTRY)); 540 BTIF_TRACE_DEBUG("%s() - Saving report; dev=%s, idx=%d", __FUNCTION__, bdstr, idx);
|
/system/bt/tools/bdtool/ |
H A D | adapter.c | 255 int idx = (int)device_type; local 256 if (idx > BT_DEVICE_DEVTYPE_DUAL) 257 idx = 0; 258 fprintf(stdout, " device_type:%s\n", device_type_lookup[idx].device_type);
|
/system/core/libutils/ |
H A D | ProcessCallStack.cpp | 173 ssize_t idx = mThreadMap.add(tid, ThreadInfo()); local 174 if (idx < 0) { // returns negative error value on error 176 __FUNCTION__, strerror(-idx)); 180 ThreadInfo& threadInfo = mThreadMap.editValueAt(static_cast<size_t>(idx));
|
/system/update_engine/payload_generator/ |
H A D | delta_diff_utils.cc | 66 size_t idx = *idx_p; local 67 uint64_t start_block = (*extents)[idx].start_block(); 68 uint64_t num_blocks = (*extents)[idx].num_blocks(); 74 extents->erase(extents->begin() + idx); 77 (*extents)[idx].set_num_blocks(num_blocks - range_size); 78 idx++; 81 (*extents)[idx].set_start_block(start_block + range_size); 82 (*extents)[idx].set_num_blocks(num_blocks - range_size); 85 (*extents)[idx].set_num_blocks(range_start); 89 idx [all...] |
/system/bt/stack/avdt/ |
H A D | avdt_ad.c | 205 UINT8 idx; local 207 idx = avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; 209 if (idx < AVDT_NUM_TC_TBL) 211 return &avdt_cb.ad.tc_tbl[idx];
|
H A D | avdt_ccb.c | 455 tAVDT_CCB *avdt_ccb_by_idx(UINT8 idx) argument 460 if (idx < AVDT_NUM_LINKS) 462 p_ccb = &avdt_cb.ccb[idx]; 467 AVDT_TRACE_WARNING("No ccb for idx %d", idx);
|
/system/core/liblog/ |
H A D | fake_log_device.c | 315 int idx; local 317 idx = (int)priority - (int)ANDROID_LOG_VERBOSE; 318 if (idx < 0 || 319 idx >= (int)(sizeof(priorityStrings) / sizeof(priorityStrings[0]))) 321 return priorityStrings[idx];
|