Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 17 of 17) sorted by relevance

/system/core/liblog/
Dlog_event_list.c363 android_log_list_element elem; in android_log_read_next_internal() local
369 memset(&elem, 0, sizeof(elem)); in android_log_read_next_internal()
376 elem.type = EVENT_TYPE_UNKNOWN; in android_log_read_next_internal()
381 elem.type = EVENT_TYPE_LIST_STOP; in android_log_read_next_internal()
383 elem.complete = true; in android_log_read_next_internal()
384 return elem; in android_log_read_next_internal()
393 elem.type = EVENT_TYPE_LIST_STOP; in android_log_read_next_internal()
394 elem.complete = !context->count[0] && (!context->list_nest_depth || in android_log_read_next_internal()
410 return elem; in android_log_read_next_internal()
413 elem.type = EVENT_TYPE_UNKNOWN; in android_log_read_next_internal()
[all …]
/system/extras/libpagemap/
Dpm_memusage.c113 pm_swap_offset_t *elem; in pm_memusage_pswap_get_usage() local
119 SIMPLEQ_FOREACH(elem, &mu->swap_offset_list, simpleqe) { in pm_memusage_pswap_get_usage()
120 su->proportional += pagesize / mu->p_swap->offset_array[elem->offset]; in pm_memusage_pswap_get_usage()
121 su->unique += mu->p_swap->offset_array[elem->offset] == 1 ? pagesize : 0; in pm_memusage_pswap_get_usage()
126 pm_swap_offset_t *elem = SIMPLEQ_FIRST(&mu->swap_offset_list); in pm_memusage_pswap_free() local
127 while (elem) { in pm_memusage_pswap_free()
129 free(elem); in pm_memusage_pswap_free()
130 elem = SIMPLEQ_FIRST(&mu->swap_offset_list); in pm_memusage_pswap_free()
/system/core/adb/
Dadb_trace.cpp137 for (const auto& elem : elements) { in setup_trace_mask() local
138 const auto& flag = trace_flags.find(elem); in setup_trace_mask()
140 LOG(ERROR) << "Unknown trace flag: " << elem; in setup_trace_mask()
/system/keymaster/
Dauthorization_set.cpp260 bool AuthorizationSet::push_back(keymaster_key_param_t elem) { in push_back() argument
268 if (is_blob_tag(elem.tag)) { in push_back()
269 if (indirect_data_capacity_ - indirect_data_size_ < elem.blob.data_length) in push_back()
270 if (!reserve_indirect(2 * (indirect_data_capacity_ + elem.blob.data_length))) in push_back()
273 memcpy(indirect_data_ + indirect_data_size_, elem.blob.data, elem.blob.data_length); in push_back()
274 elem.blob.data = indirect_data_ + indirect_data_size_; in push_back()
275 indirect_data_size_ += elem.blob.data_length; in push_back()
278 elems_[elems_size_++] = elem; in push_back()
/system/core/liblog/tests/
Dliblog_test.cpp1920 android_log_list_element elem; in android_log_buffer_to_string() local
1929 memset(&elem, 0, sizeof(elem)); in android_log_buffer_to_string()
1934 elem = android_log_read_next(context); in android_log_buffer_to_string()
1935 switch ((int)elem.type) { in android_log_buffer_to_string()
1961 "%" PRId32, elem.data.int32); in android_log_buffer_to_string()
1977 "%" PRId64, elem.data.int64); in android_log_buffer_to_string()
1992 outCount = snprintf(strOut, strOutLen + 1, "%f", elem.data.float32); in android_log_buffer_to_string()
2002 elem.complete = true; in android_log_buffer_to_string()
2007 if (elem.complete) { in android_log_buffer_to_string()
2011 elem.data.string = const_cast<char *>("<unknown>"); in android_log_buffer_to_string()
[all …]
/system/core/logd/
DLogBuffer.cpp209 LogBufferElement *elem = new LogBufferElement(log_id, realtime, in log() local
215 tag = android::tagToName(elem->getTag()); in log()
223 stats.add(elem); in log()
224 stats.subtract(elem); in log()
226 delete elem; in log()
246 mLogElements.push_back(elem); in log()
272 mLogElements.push_back(elem); in log()
274 mLogElements.insert(last,elem); in log()
280 stats.add(elem); in log()
/system/bt/stack/a2dp/
Da2d_api.c61 tSDP_PROTOCOL_ELEM elem; in a2d_sdp_cback() local
102 if (SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_AVDTP, &elem)) in a2d_sdp_cback()
104 a2d_svc.avdt_version = elem.params[0]; in a2d_sdp_cback()
/system/update_engine/
Dbinder_service_android.cc136 [&callback](const android::sp<IUpdateEngineCallback>& elem) { in UnbindCallback() argument
137 return elem.get() == callback; in UnbindCallback()
/system/bt/stack/avdt/
Davdt_msg.c586 UINT8 elem = 0; in avdt_msg_prs_cfg() local
617 elem = *p++; in avdt_msg_prs_cfg()
620 if ((elem == 0) || (elem > AVDT_CAT_MAX_CUR)) in avdt_msg_prs_cfg()
638 AVDT_TRACE_DEBUG("skipping unknown service category=%d len: %d", elem, elem_len); in avdt_msg_prs_cfg()
643 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg()
644 (elem_len < avdt_msg_ie_len_min[elem])) in avdt_msg_prs_cfg()
646 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg()
651 p_cfg->psc_mask |= (1 << elem); in avdt_msg_prs_cfg()
652 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x", elem, elem_len, p_cfg->psc_mask); in avdt_msg_prs_cfg()
655 switch (elem) in avdt_msg_prs_cfg()
[all …]
/system/bt/btif/include/
Dbtif_hl.h161 btif_hl_filter_elem_t elem[BTIF_HL_CCH_NUM_FILTER_ELEMS]; member
/system/core/libsparse/
Doutput_file.c59 #define container_of(inner, outer_t, elem) \ argument
60 ((outer_t *)((char *)inner - offsetof(outer_t, elem)))
/system/update_engine/payload_generator/
Dinplace_generator.cc729 for (uint64_t& elem : *collection) { in ApplyMap()
730 const auto& map_it = the_map.find(elem); in ApplyMap()
732 elem = map_it->second; in ApplyMap()
/system/bt/btif/src/
Dbtif_hl.c503 data_type = p_acb->filter.elem[j].data_type; in btif_hl_find_sdp_idx_using_mdep_filter()
504 peer_mdep_role = p_acb->filter.elem[j].peer_mdep_role; in btif_hl_find_sdp_idx_using_mdep_filter()
3903 …p_acb->filter.elem[0].data_type = p_acb->sup_feature.mdep[mdep_cfg_index].mdep_cfg.data_cfg[mdep_c… in connect_channel()
3905 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SOURCE; in connect_channel()
3907 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SINK; in connect_channel()
3983 …p_acb->filter.elem[0].data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[mdep_cfg… in destroy_channel()
3985 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SOURCE; in destroy_channel()
3987 p_acb->filter.elem[0].peer_mdep_role = BTA_HL_MDEP_ROLE_SINK; in destroy_channel()
Dbtif_gatt_multi_adv_util.c341 tBTA_BLE_PROP_ELEM *p_elem = &p_prop->elem[0]; in btif_gattc_copy_datacb()
/system/keymaster/include/keymaster/
Dauthorization_set.h354 bool push_back(keymaster_key_param_t elem);
/system/bt/stack/include/
Dbtm_ble_api.h448 tBTM_BLE_PROP_ELEM elem[MAX_PROPRIETARY_ELEMENTS]; member
/system/bt/stack/btm/
Dbtm_ble_gap.c1595 p_elem = &p_data->proprietary.elem[i]; in btm_ble_build_adv_data()