Searched refs:index (Results 126 - 150 of 164) sorted by relevance

1234567

/system/bt/bta/hh/
H A Dbta_hh_le.c435 p_cb->hid_handle = BTA_HH_GET_LE_DEV_HDL(p_cb->index);
437 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index;
614 p_rpt->index = i;
732 if (p_rpt->index < BTA_HH_LE_RPT_MAX - 1)
1322 p_cb->hid_handle = BTA_HH_GET_LE_DEV_HDL(p_cb->index);
1324 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index;
1329 APPL_TRACE_DEBUG("hid_handle = %2x conn_id = %04x cb_index = %d", p_cb->hid_handle, p_cb->conn_id, p_cb->index);
2525 p_cb->hid_handle = BTA_HH_GET_LE_DEV_HDL(p_cb->index);
2526 bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(p_cb->hid_handle)] = p_cb->index;
2704 UINT8 index local
[all...]
H A Dbta_hh_act.c92 bta_hh_cb.kdev[xx].index = xx;
219 bta_hh_cb.cb_index[hdl] = p_cb->index;
374 bta_hh_cb.cb_index[hdl] = p_cb->index;
1027 bta_hh_cb.cb_index[dev_handle] = p_cb->index;
/system/bt/bta/av/
H A Dbta_av_act.c111 /* Validate array index*/
548 * update the index to the extra LCB */
1084 ** Returns The index to p_scb[]
1196 int index = (p_data->hdr.layer_specific & BTA_AV_HNDL_MSK) - 1; local
1202 /* Validate array index*/
1203 if (index < BTA_AV_NUM_STRS)
1205 p_scb = p_cb->p_scb[index];
1207 mask = BTA_AV_HNDL_TO_MSK(index);
1209 conn_msk = 1 << (index + 1);
1222 bta_av_cb.rcb[i].shdl = index
[all...]
H A Dbta_av_aact.c434 static void bta_av_proc_stream_evt(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data, int index) argument
437 tBTA_AV_SCB *p_scb = bta_av_cb.p_scb[index];
499 if ((bta_av_cb.p_scb[i]) && (i != index)) {
580 int index = 0; local
586 for(index = 0; index < BTA_AV_NUM_STRS;index ++ )
588 p_scb = bta_av_cb.p_scb[index];
592 if(index == BTA_AV_NUM_STRS) /* cannot find correct handler */
1644 /* initialize index int
[all...]
/system/bt/bta/dm/
H A Dbta_dm_act.c802 UINT8 index = 0; local
817 while (p_dev->tm && (index < BTA_MAX_SERVICE_ID))
819 if (p_dev->tm & (UINT32)(1<<index))
822 btm_mask_index = bta_service_id_to_btm_srv_id_lkup_tbl[index] / BTM_SEC_ARRAY_BITS;
823 trusted_services_mask[btm_mask_index] |= (UINT32)(1 << (bta_service_id_to_btm_srv_id_lkup_tbl[index] - (UINT32)(btm_mask_index * 32)));
825 p_dev->tm &= (UINT32)(~(1<<index));
828 index++;
854 UINT8 index; local
860 for (index = 0; index < bta_dm_c
2581 UINT8 index = 1; local
[all...]
/system/netd/server/
H A DRouteController.cpp134 uint32_t index = if_nametoindex(interface); local
135 if (index) {
136 index += RouteController::ROUTE_TABLE_OFFSET_FROM_INDEX;
137 interfaceToTable[interface] = index;
138 return index;
141 // the index so we can remove the rules and routes.
/system/bt/service/client/
H A Dmain.cpp529 int index = (uuid_size == 16) ? 0 : 12; local
530 data.insert(data.end(), uuid_bytes.data() + index,
531 uuid_bytes.data() + index + uuid_size);
/system/bt/stack/gatt/
H A Dgatt_int.h37 #define GATT_GET_SR_REG_PTR(index) (&gatt_cb.sr_reg[(UINT8) (index)]);
379 UINT8 next_slot_inq; /* index of next available slot in queue */
660 extern UINT8 gatt_act_send_browse(tGATT_TCB *p_tcb, UINT16 index, UINT8 op, UINT16 s_handle, UINT16 e_handle,
/system/connectivity/apmanager/
H A Dconfig.cc358 void Config::SetServerAddressIndex(uint16_t index) { argument
359 adaptor_->SetServerAddressIndex(index);
H A Ddevice_info_unittest.cc113 // Verify number of elements in the interface infos map and interface index
165 MATCHER_P2(IsGetInfoMessage, command, index, "") {
180 uint32_t test_interface_index = index;
301 // Message contain no interface index, no change to the interface info.
/system/bt/bta/gatt/
H A Dbta_gatts_act.c115 UINT8 index=0; local
128 while ( bta_gatts_co_load_handle_range(index, &handle_range))
132 index++;
135 APPL_TRACE_DEBUG("bta_gatts_enable: num of handle range added=%d", index);
/system/connectivity/shill/wimax/
H A Dwimax_provider_unittest.cc55 string GetTestLinkName(int index) { argument
56 return base::StringPrintf("wm%d", index);
59 string GetTestPath(int index) { argument
60 return wimax_manager::kDeviceObjectPathPrefix + GetTestLinkName(index);
/system/core/include/utils/
H A DString8.h92 int32_t getUtf32At(size_t index,
127 // return the index of the first byte of other in this at or after
/system/tpm/trunks/ftdi/
H A Dmpsse.h195 int index);
H A Dmpsse.c101 * Open device by VID/PID/index
111 * @index - Device index (set to 0 if not needed).
125 int index) {
149 index)) {
117 OpenIndex(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial, int index) argument
/system/core/adb/
H A Dsysdeps_win32.cpp1677 size_t index = len - 1; local
1678 const char lastChar = buf[index];
1680 buf[index++] = '1';
1682 buf[index++] = ';'; // modifier separator
1685 buf[index++] = '1' + code;
1686 buf[index++] = lastChar; // move ~ (or other last char) to the end
1687 return index;
H A Dshell_service.cpp621 int index = input_->data_length() - input_bytes_left_; local
622 int bytes = adb_write(stdinout_sfd_.fd(), input_->data() + index,
/system/connectivity/shill/
H A Dmetrics_unittest.cc664 for (size_t index = 0; index < arraysize(kUMATechnologyStrings); ++index) {
667 index,
675 metrics_.NotifyCellularDeviceDrop(kUMATechnologyStrings[index],
/system/core/libusbhost/
H A Dusbhost.c266 D("%s subdirectory %s: index: %d\n", (event->mask & IN_CREATE) ?
578 int index,
593 ctrl.wIndex = index;
574 usb_device_control_transfer(struct usb_device *device, int requestType, int request, int value, int index, void* buffer, int length, unsigned int timeout) argument
/system/tools/aidl/
H A Daidl.cpp204 int index = 1; local
211 types->GetArgType(*arg, index, filename);
H A Dgenerate_java_binder.cpp264 int index, JavaTypeNamespace* types) {
276 index);
262 generate_method(const AidlMethod& method, Class* interface, StubClass* stubClass, ProxyClass* proxyClass, int index, JavaTypeNamespace* types) argument
/system/connectivity/shill/wifi/
H A Dwake_on_wifi.cc267 bool WakeOnWiFi::ConfigureWiphyIndex(Nl80211Message* msg, int32_t index) { argument
269 "WIPHY index")) {
272 if (!msg->attributes()->SetU32AttributeValue(NL80211_ATTR_WIPHY, index)) {
283 "Failed to configure Wiphy index.");
311 "Failed to configure Wiphy index.");
577 "Failed to configure Wiphy index.");
956 LOG(ERROR) << "Interface index not yet received";
1181 << "Interface index not yet received";
1618 void WakeOnWiFi::OnWiphyIndexReceived(uint32_t index) { argument
1619 wiphy_index_ = index;
[all...]
H A Dwake_on_wifi_unittest.cc590 // up because of a a match with packet pattern index
621 // Assume our NIC has reported its wiphy index, and that it supports wake
685 bool ConfigureWiphyIndex(Nl80211Message* msg, int32_t index) { argument
686 return WakeOnWiFi::ConfigureWiphyIndex(msg, index);
1354 const int index = 1; // wiphy device number local
1363 &msg0, trigs, all_addresses, index, interval, whitelist, &e));
1371 &msg1, trigs, all_addresses, index, interval, whitelist, &e));
1379 &msg2, trigs, all_addresses, index, interval, whitelist, &e));
1387 &msg3, trigs, all_addresses, index, interval, whitelist, &e));
1395 &msg4, trigs, all_addresses, index, interva
3377 const int index = 1; // wiphy device number local
[all...]
/system/bt/btif/src/
H A Dbtif_rc.c83 #define FILL_PDU_QUEUE(index, ctype, label, pending) \
85 btif_rc_cb.rc_pdu_info[index].ctype = ctype; \
86 btif_rc_cb.rc_pdu_info[index].label = label; \
87 btif_rc_cb.rc_pdu_info[index].is_rsp_pending = pending; \
90 #define SEND_METAMSG_RSP(index, avrc_rsp) \
92 if (btif_rc_cb.rc_pdu_info[index].is_rsp_pending == FALSE) \
97 send_metamsg_rsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_pdu_info[index].label, \
98 btif_rc_cb.rc_pdu_info[index].ctype, avrc_rsp); \
99 btif_rc_cb.rc_pdu_info[index].ctype = 0; \
100 btif_rc_cb.rc_pdu_info[index]
[all...]
/system/bt/stack/btm/
H A Dbtm_sec.c522 UINT16 index; local
553 for (index = 0; index < BTM_SEC_MAX_SERVICE_RECORDS; index++, p_srec++)
582 first_unused_record = index;
594 if (index >= BTM_SEC_MAX_SERVICE_RECORDS)
596 index = first_unused_record;
597 p_srec = &btm_cb.sec_serv_rec[index];
704 index, service_id, conn_type, psm, mx_proto_id, mx_chan_id);
717 index, service_i
[all...]

Completed in 809 milliseconds

1234567