/system/bt/bta/gatt/ |
bta_gatts_act.c | 185 tBTA_GATTS cb_data; local 218 cb_data.reg_oper.server_if = BTA_GATTS_INVALID_IF; 219 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); 227 cb_data.reg_oper.server_if = 245 cb_data.reg_oper.status = status; 247 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); 288 tBTA_GATTS cb_data; local 290 cb_data.reg_oper.server_if = p_msg->api_dereg.server_if; 291 cb_data.reg_oper.status = status; 305 cb_data.reg_oper.status = status 331 tBTA_GATTS cb_data; local 395 tBTA_GATTS cb_data; local 429 tBTA_GATTS cb_data; local 465 tBTA_GATTS cb_data; local 501 tBTA_GATTS cb_data; local 534 tBTA_GATTS cb_data; local 567 tBTA_GATTS cb_data; local 619 tBTA_GATTS cb_data; local 805 tBTA_GATTS cb_data; local 842 tBTA_GATTS cb_data; local 895 tBTA_GATTS cb_data; local 951 tBTA_GATTS cb_data; local [all...] |
bta_gattc_act.c | 187 tBTA_GATTC cb_data; local 193 memset(&cb_data, 0, sizeof(cb_data)); 194 cb_data.reg_oper.status = BTA_GATT_NO_RESOURCES; 218 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if; 236 memcpy(&(cb_data.reg_oper.app_uuid),p_app_uuid,sizeof(tBT_UUID)); 238 cb_data.reg_oper.status = status; 239 (*p_data->api_reg.p_cback)(BTA_GATTC_REG_EVT, (tBTA_GATTC *)&cb_data); 382 tBTA_GATTC cb_data; local 401 cb_data.status = BTA_GATT_ERROR 425 tBTA_GATTC cb_data; local 452 tBTA_GATTC cb_data; local 611 tBTA_GATTC cb_data; local 645 tBTA_GATTC cb_data; local 667 tBTA_GATTC cb_data; local 766 tBTA_GATTC cb_data; local 793 tBTA_GATTC cb_data; local 1245 tBTA_GATTC cb_data; local 1283 tBTA_GATTC cb_data = {0}; local 1316 tBTA_GATTC cb_data; local 1340 tBTA_GATTC cb_data; local 1456 tBTA_GATTC cb_data; local 1517 tBTA_GATTC cb_data; local 1933 tBTA_GATTC cb_data; local 2025 tBTA_GATTC cb_data; local 2098 tBTA_GATTC cb_data; local [all...] |
bta_gattc_cache.c | 743 tBTA_GATTC_CB_DATA *cb_data = user_data; local 744 tBTA_GATTC_SERV *p_srvc_cb = bta_gattc_find_scb_by_cid(cb_data->sdp_conn_id); 751 p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, p_sdp_rec); 793 bta_gattc_explore_srvc(cb_data->sdp_conn_id, p_srvc_cb); 801 osi_free(cb_data->p_sdp_db); 802 osi_free(cb_data); 825 * On success, cb_data will be freed inside bta_gattc_sdp_callback, 828 tBTA_GATTC_CB_DATA *cb_data = local 831 cb_data->p_sdp_db = (tSDP_DISCOVERY_DB *)osi_malloc(BTA_GATT_SDP_DB_SIZE); 835 SDP_InitDiscoveryDb(cb_data->p_sdp_db, BTA_GATT_SDP_DB_SIZE, 1 984 tBTA_GATTC cb_data; local [all...] |
bta_gattc_utils.c | 636 tBTA_GATTC cb_data; local 640 memset(&cb_data, 0, sizeof(tBTA_GATTC)); 642 cb_data.open.status = status; 643 cb_data.open.client_if = p_clreg->client_if; 644 cb_data.open.conn_id = conn_id; 645 cb_data.open.mtu = mtu; 646 cb_data.open.transport = transport; 647 bdcpy(cb_data.open.remote_bda, remote_bda); 649 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data);
|
/bionic/libc/dns/net/ |
nsdispatch.c | 81 const ns_dtab disp_tab[], void **cb_data) 88 *cb_data = disp_tab[curdisp].cb_data; 94 *cb_data = NULL; 108 void *cb_data; local 127 disp_tab, &cb_data); 131 result = (*cb)(retval, cb_data, ap);
|
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeLlcpSocket.cpp | 118 struct nfc_jni_callback_data cb_data; local 126 if (!nfc_cb_data_init(&cb_data, NULL)) 137 (void*)&cb_data); 147 if(sem_wait(&cb_data.sem)) 153 if(cb_data.status != NFCSTATUS_SUCCESS) 162 nfc_cb_data_deinit(&cb_data); 173 struct nfc_jni_callback_data cb_data; local 181 if (!nfc_cb_data_init(&cb_data, NULL)) 196 (void*)&cb_data); 206 if(sem_wait(&cb_data.sem) 255 struct nfc_jni_callback_data cb_data; local 316 struct nfc_jni_callback_data cb_data; local [all...] |
com_android_nfc_NativeP2pDevice.cpp | 125 struct nfc_jni_callback_data cb_data; local 140 if (!nfc_cb_data_init(&cb_data, (void*)&sGeneralBytes)) 147 status = phLibNfc_RemoteDev_Connect(handle, nfc_jni_connect_callback, (void*)&cb_data); 157 if(sem_wait(&cb_data.sem)) 163 if(cb_data.status != NFCSTATUS_SUCCESS) 196 nfc_cb_data_deinit(&cb_data); 206 struct nfc_jni_callback_data cb_data; local 213 if (!nfc_cb_data_init(&cb_data, NULL)) 228 status = phLibNfc_RemoteDev_Disconnect(handle, NFC_DISCOVERY_CONTINUE,nfc_jni_disconnect_callback, (void *)&cb_data); 248 if(sem_wait(&cb_data.sem) 281 struct nfc_jni_callback_data cb_data; local 364 struct nfc_jni_callback_data cb_data; local 415 struct nfc_jni_callback_data cb_data; local [all...] |
com_android_nfc_NativeNfcTag.cpp | 184 struct nfc_jni_callback_data cb_data; local 189 if (!nfc_cb_data_init(&cb_data, NULL)) 204 (void *)&cb_data); 214 if(sem_wait(&cb_data.sem)) 220 if(cb_data.status != NFCSTATUS_SUCCESS) 230 nfc_cb_data_deinit(&cb_data); 242 struct nfc_jni_callback_data cb_data; local 249 if (!nfc_cb_data_init(&cb_data, NULL)) 261 status = phLibNfc_Ndef_Write(handle, &nfc_jni_ndef_rw,nfc_jni_tag_rw_callback, (void *)&cb_data); 271 if(sem_wait(&cb_data.sem) 445 struct nfc_jni_callback_data cb_data; local 500 struct nfc_jni_callback_data cb_data; local 573 struct nfc_jni_callback_data cb_data; local 713 struct nfc_jni_callback_data cb_data; local 939 struct nfc_jni_callback_data cb_data; local 1012 struct nfc_jni_callback_data cb_data; local 1108 struct nfc_jni_callback_data cb_data; local 1158 struct nfc_jni_callback_data cb_data; local [all...] |
com_android_nfc_NativeLlcpServiceSocket.cpp | 80 struct nfc_jni_callback_data cb_data; local 87 if (!nfc_cb_data_init(&cb_data, NULL)) 103 while(cb_data.status != NFCSTATUS_SUCCESS) 120 (void*)&cb_data); 132 if(sem_wait(&cb_data.sem)) 138 if(cb_data.status != NFCSTATUS_SUCCESS) 141 ALOGD("Failed to accept incoming socket 0x%04x[%s]", cb_data.status, nfc_jni_get_status_name(cb_data.status)); 175 nfc_cb_data_deinit(&cb_data);
|
com_android_nfc_NativeLlcpConnectionlessSocket.cpp | 65 struct nfc_jni_callback_data cb_data; local 73 if (!nfc_cb_data_init(&cb_data, NULL)) 88 (void*)&cb_data); 98 if(sem_wait(&cb_data.sem)) 104 if(cb_data.status != NFCSTATUS_SUCCESS) 116 nfc_cb_data_deinit(&cb_data); 132 struct nfc_jni_callback_data cb_data; local 135 if (!nfc_cb_data_init(&cb_data, NULL)) 168 &cb_data); 178 if(sem_wait(&cb_data.sem) [all...] |
com_android_nfc_NativeNfcManager.cpp | 139 struct nfc_jni_callback_data cb_data; local 143 if (!nfc_cb_data_init(&cb_data, NULL)) 153 status = phLibNfc_Mgt_DeInitialize(gHWRef, nfc_jni_deinit_download_callback, (void *)&cb_data); 164 if(sem_timedwait(&cb_data.sem, &ts)) 169 if(cb_data.status != NFCSTATUS_SUCCESS) 185 status = phLibNfc_Mgt_Initialize(gHWRef, nfc_jni_init_callback, (void *)&cb_data); 194 if(sem_wait(&cb_data.sem)) 202 if(cb_data.status != NFCSTATUS_SUCCESS) 204 status = cb_data.status; 233 nfc_cb_data_deinit(&cb_data); 307 struct nfc_jni_callback_data cb_data; local 1228 struct nfc_jni_callback_data cb_data; local 1291 struct nfc_jni_callback_data cb_data; local 1714 struct nfc_jni_callback_data cb_data; local 1791 struct nfc_jni_callback_data *cb_data; local 2258 struct nfc_jni_callback_data cb_data; local [all...] |
/external/selinux/policycoreutils/sepolgen-ifgen/ |
sepolgen-ifgen-attr-helper.c | 113 struct callback_data *cb_data = (struct callback_data *)args; local 115 if (key->source_type != cb_data->attr) 121 render_key(key, cb_data->policy, cb_data->fp); 122 render_access_mask(datum->data, key, cb_data->policy, cb_data->fp); 123 fprintf(cb_data->fp, "\n"); 130 struct callback_data *cb_data = (struct callback_data *)datap; local 134 fprintf(cb_data->fp, "[Attribute %s]\n", key); 135 cb_data->attr = t->s.value 197 struct callback_data cb_data; local [all...] |
/external/libnfc-nci/halimpl/pn54x/dnld/ |
phNxpNciHal_Dnld.c | 257 phNxpNciHal_Sem_t cb_data; local 270 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) 275 wStatus = phDnldNfc_Reset((pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_reset_cb, (void*) &cb_data); 285 if (SEM_WAIT(cb_data)) 292 if (cb_data.status != NFCSTATUS_SUCCESS) 302 phNxpNciHal_cleanup_cb_data(&cb_data); 391 phNxpNciHal_Sem_t cb_data; local 416 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) 421 wStatus = phDnldNfc_Force(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_normal_cb, (void*) &cb_data); 433 if (SEM_WAIT(cb_data)) 470 phNxpNciHal_Sem_t cb_data; local 685 phNxpNciHal_Sem_t cb_data; local 831 phNxpNciHal_Sem_t cb_data; local 924 phNxpNciHal_Sem_t cb_data; local 1057 phNxpNciHal_Sem_t cb_data; local 1183 phNxpNciHal_Sem_t cb_data; local 1260 phNxpNciHal_Sem_t cb_data; local 1438 phNxpNciHal_Sem_t cb_data; local 1546 phNxpNciHal_Sem_t cb_data; local [all...] |
/external/libunwind/src/arm/ |
Gex_tables.c | 457 struct arm_cb_data *cb_data = data; local 468 if (cb_data->ip >= phdr->p_vaddr + info->dlpi_addr && 469 cb_data->ip < phdr->p_vaddr + info->dlpi_addr + phdr->p_memsz) 484 cb_data->di.format = UNW_INFO_FORMAT_ARM_EXIDX; 485 cb_data->di.start_ip = p_text->p_vaddr + info->dlpi_addr; 486 cb_data->di.end_ip = cb_data->di.start_ip + p_text->p_memsz; 487 cb_data->di.u.rti.name_ptr = (unw_word_t) info->dlpi_name; 488 cb_data->di.u.rti.table_data = p_arm_exidx->p_vaddr + info->dlpi_addr; 489 cb_data->di.u.rti.table_len = p_arm_exidx->p_memsz 512 struct arm_cb_data cb_data; local [all...] |
/external/curl/docs/examples/ |
ftp-wildcard.c | 40 void *cb_data); 142 void *cb_data) 144 struct callback_data *data = cb_data;
|
/external/libnfc-nci/halimpl/pn54x/utils/ |
phNxpNciHal_utils.h | 58 #define SEM_WAIT(cb_data) sem_wait(&((cb_data).sem))
|
/external/libunwind/src/dwarf/ |
Gfind_proc_info-lsb.c | 598 struct dwarf_callback_data *cb_data = ptr; local 599 unw_dyn_info_t *di = &cb_data->di; 603 int ret, need_unwind_info = cb_data->need_unwind_info; 604 unw_proc_info_t *pi = cb_data->pi; 613 ip = cb_data->ip; 731 cb_data->single_fde = 1; 781 found = dwarf_find_debug_frame (found, &cb_data->di_debug, ip, 793 struct dwarf_callback_data cb_data; local 799 memset (&cb_data, 0, sizeof (cb_data)); [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_dataflow.c | 45 struct read_write_mask_data * cb_data = userdata; local 54 cb_data->Cb(cb_data->UserData, fullinst, src->File, 59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0, 244 struct read_write_mask_data cb_data; local 245 cb_data.UserData = userdata; 246 cb_data.Cb = cb; 248 rc_for_all_reads_src(inst, reads_normal_callback, &cb_data); 516 struct get_readers_callback_data * cb_data, [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 150 virtual int requestRsrc(void *cb_data); 159 int (*callbackExt)(void *cb_data); 161 int requestRsrc(void *cb_data); 172 int requestRsrc(void *cb_data);
|
/system/bt/stack/smp/ |
smp_act.c | 148 tSMP_EVT_DATA cb_data; local 156 cb_data.io_req.auth_req = p_cb->peer_auth_req; 157 cb_data.io_req.oob_data = SMP_OOB_NONE; 158 cb_data.io_req.io_cap = SMP_DEFAULT_IO_CAPS; 159 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; 160 cb_data.io_req.init_keys = p_cb->local_i_key ; 161 cb_data.io_req.resp_keys = p_cb->local_r_key ; 162 SMP_TRACE_WARNING ( "io_cap = %d",cb_data.io_req.io_cap); 166 cb_data.passkey = p_data->passkey; 169 cb_data.req_oob_type = p_data->req_oob_type [all...] |
/external/libnfc-nci/halimpl/pn54x/hal/ |
phNxpNciHal_Kovio.c | 104 int cb_data; local 112 (pphTmlNfc_TransactCompletionCb_t) &hal_write_cb, &cb_data);
|
phNxpNciHal_NfcDepSWPrio.c | 127 phNxpNciHal_Sem_t cb_data; local 154 phNxpNciHal_Sem_t cb_data; local 181 phNxpNciHal_Sem_t cb_data; local 577 phNxpNciHal_Sem_t cb_data; local
|
/bionic/libc/include/ |
nsswitch.h | 113 void *cb_data; member in struct:__anon194
|
/development/ndk/platforms/android-21/include/ |
nsswitch.h | 113 void *cb_data; member in struct:__anon2145
|
/development/ndk/platforms/android-3/include/ |
nsswitch.h | 120 void *cb_data; member in struct:__anon2492
|