/system/core/liblog/ |
D | log_event_list.cpp | 356 android_log_list_element elem; in android_log_read_next_internal() local 359 memset(&elem, 0, sizeof(elem)); in android_log_read_next_internal() 366 elem.type = EVENT_TYPE_UNKNOWN; in android_log_read_next_internal() 370 elem.type = EVENT_TYPE_LIST_STOP; in android_log_read_next_internal() 372 elem.complete = true; in android_log_read_next_internal() 373 return elem; in android_log_read_next_internal() 382 elem.type = EVENT_TYPE_LIST_STOP; in android_log_read_next_internal() 383 elem.complete = !context->count[0] && (!context->list_nest_depth || in android_log_read_next_internal() 399 return elem; in android_log_read_next_internal() 402 elem.type = EVENT_TYPE_UNKNOWN; in android_log_read_next_internal() [all …]
|
/system/bt/gd/l2cap/internal/ |
D | fixed_channel_allocator.h | 49 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel() local 50 …ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel() 51 ASSERT(elem.first->second != nullptr); in AllocateChannel() 52 return elem.first->second; in AllocateChannel() 75 for (auto& elem : channels_) { in OnAclDisconnected() 76 elem.second->OnClosed(hci_status); in OnAclDisconnected() 82 for (auto& elem : channels_) { in GetRefCount() 83 if (elem.second->IsAcquired()) { in GetRefCount()
|
D | dynamic_channel_allocator.cc | 46 auto elem = in AllocateChannel() local 48 ASSERT_LOG(elem.second, "Failed to create channel for psm 0x%x device %s", psm, in AllocateChannel() 50 ASSERT(elem.first->second != nullptr); in AllocateChannel() 53 return elem.first->second; in AllocateChannel() 65 auto elem = channels_.try_emplace( in AllocateReservedChannel() local 67 ASSERT_LOG(elem.second, "Failed to create channel for psm 0x%x device %s", psm, in AllocateReservedChannel() 69 ASSERT(elem.first->second != nullptr); in AllocateReservedChannel() 71 return elem.first->second; in AllocateReservedChannel() 129 for (auto& elem : channels_) { in OnAclDisconnected() local 130 elem.second->OnClosed(reason); in OnAclDisconnected()
|
/system/core/logd/ |
D | LogBufferElement.cpp | 50 LogBufferElement::LogBufferElement(const LogBufferElement& elem) in LogBufferElement() argument 51 : mUid(elem.mUid), in LogBufferElement() 52 mPid(elem.mPid), in LogBufferElement() 53 mTid(elem.mTid), in LogBufferElement() 54 mRealTime(elem.mRealTime), in LogBufferElement() 55 mMsgLen(elem.mMsgLen), in LogBufferElement() 56 mLogId(elem.mLogId), in LogBufferElement() 57 mDropped(elem.mDropped) { in LogBufferElement() 59 mTag = elem.getTag(); in LogBufferElement() 62 memcpy(mMsg, elem.mMsg, mMsgLen); in LogBufferElement()
|
D | LogBuffer.cpp | 137 static enum match_type identical(LogBufferElement* elem, in identical() argument 141 ssize_t lenl = elem->getMsgLen(); in identical() 147 if (elem->getUid() != last->getUid()) return DIFFERENT; in identical() 148 if (elem->getPid() != last->getPid()) return DIFFERENT; in identical() 149 if (elem->getTid() != last->getTid()) return DIFFERENT; in identical() 152 if (elem->getRealTime().nsec() > in identical() 157 const char* msgl = elem->getMsg(); in identical() 162 if ((elem->getLogId() == LOG_ID_EVENTS) && in identical() 166 (elem->getTag() == LIBLOG_LOG_TAG)) { in identical() 210 LogBufferElement* elem = new LogBufferElement(log_id, realtime, uid, pid, tid, msg, len); in log() local [all …]
|
D | LogTags.cpp | 318 android_log_list_element elem; in ReadPersistEventLogTags() local 323 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() 324 if (elem.type != EVENT_TYPE_LIST) { in ReadPersistEventLogTags() 327 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() 328 if (elem.type != EVENT_TYPE_INT) { in ReadPersistEventLogTags() 331 Tag = elem.data.int32; in ReadPersistEventLogTags() 332 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() 333 if (elem.type != EVENT_TYPE_STRING) { in ReadPersistEventLogTags() 336 Name = std::string(elem.data.string, elem.len); in ReadPersistEventLogTags() 337 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() [all …]
|
D | LogBufferElement.h | 63 LogBufferElement(const LogBufferElement& elem);
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_service_manager_impl.cc | 73 for (auto& elem : service_map_) { in GetRegisteredServices() local 74 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices() 88 for (const auto& elem : service_map_) { in GetSupportedFixedChannelMask() local 89 Cid cid = elem.first; in GetSupportedFixedChannelMask()
|
D | dynamic_channel_service_manager_impl.cc | 74 for (auto& elem : service_map_) { in GetRegisteredServices() local 75 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices()
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 309 const OcsdTraceElement& elem, 341 const OcsdTraceElement& elem) override { in TraceElemIn() argument 344 callback->ProcessElement(index_sop, trc_chan_id, elem, instruction_decoder_.instr_info); in TraceElemIn() 384 const OcsdTraceElement& elem, const ocsd_instr_info*) { in ProcessElement() argument 385 return element_printer_.TraceElemIn(index_sop, trc_chan_id, elem); in ProcessElement() 410 const OcsdTraceElement& elem, in ProcessElement() argument 412 if (elem.getType() == OCSD_GEN_TRC_ELEM_INSTR_RANGE) { in ProcessElement() 414 const MapEntry* map = map_locator_.FindMap(trace_id, elem.st_addr); in ProcessElement() 419 uint64_t start_addr = map->GetVaddrInFile(elem.st_addr); in ProcessElement() 431 instr_range.end_addr = map->GetVaddrInFile(elem.en_addr - elem.last_instr_sz); in ProcessElement() [all …]
|
/system/bt/gd/l2cap/le/internal/ |
D | dynamic_channel_service_manager_impl.cc | 74 for (auto& elem : service_map_) { in GetRegisteredServices() local 75 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices()
|
D | fixed_channel_service_manager_impl.cc | 73 for (auto& elem : service_map_) { in GetRegisteredServices() local 74 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 70 bool XMLAssert(bool cond, const tinyxml2::XMLElement* elem, const char* msg) { in XMLAssert() argument 72 printf("%s (line %d)\n", msg, elem->GetLineNum()); in XMLAssert() 77 const std::string XMLAttribute(const tinyxml2::XMLElement* elem, const std::string key, in XMLAttribute() argument 79 if (!elem->Attribute(key.c_str())) { in XMLAttribute() 83 return elem->Attribute(key.c_str()); in XMLAttribute() 86 bool XMLYesNo(const tinyxml2::XMLElement* elem, const std::string key, bool* res, in XMLYesNo() argument 88 if (!elem->Attribute(key.c_str())) { in XMLYesNo() 92 const std::string val = elem->Attribute(key.c_str()); in XMLYesNo()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | vector_serialization.h | 33 for (const auto &elem : native_vector) { in SerializeVector() local 34 offset_vector.push_back(elem.Serialize(builder)); in SerializeVector()
|
/system/core/adb/ |
D | adb_trace.cpp | 139 for (const auto& elem : elements) { in setup_trace_mask() local 140 const auto& flag = trace_flags.find(elem); in setup_trace_mask() 142 LOG(ERROR) << "Unknown trace flag: " << elem; in setup_trace_mask()
|
/system/bt/stack/gatt/ |
D | gatt_api.cc | 276 tGATT_SRV_LIST_ELEM& elem = *rit; in GATTS_AddService() local 277 elem.gatt_if = gatt_if; in GATTS_AddService() 278 elem.s_hdl = list.asgn_range.s_handle; in GATTS_AddService() 279 elem.e_hdl = list.asgn_range.e_handle; in GATTS_AddService() 280 elem.p_db = &list.svc_db; in GATTS_AddService() 281 elem.is_primary = list.asgn_range.is_primary; in GATTS_AddService() 283 elem.app_uuid = list.asgn_range.app_uuid128; in GATTS_AddService() 284 elem.type = list.asgn_range.is_primary ? GATT_UUID_PRI_SERVICE in GATTS_AddService() 287 if (elem.type == GATT_UUID_PRI_SERVICE) { in GATTS_AddService() 288 Uuid* p_uuid = gatts_get_service_uuid(elem.p_db); in GATTS_AddService() [all …]
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 286 bool AuthorizationSet::push_back(keymaster_key_param_t elem) { in push_back() argument 294 if (is_blob_tag(elem.tag)) { in push_back() 295 if (indirect_data_capacity_ - indirect_data_size_ < elem.blob.data_length) in push_back() 296 if (!reserve_indirect(2 * (indirect_data_capacity_ + elem.blob.data_length))) in push_back() 299 memcpy(indirect_data_ + indirect_data_size_, elem.blob.data, elem.blob.data_length); in push_back() 300 elem.blob.data = indirect_data_ + indirect_data_size_; in push_back() 301 indirect_data_size_ += elem.blob.data_length; in push_back() 304 elems_[elems_size_++] = elem; in push_back()
|
/system/bt/gd/hci/facade/ |
D | le_advertising_manager_facade.cc | 54 for (const auto& elem : config_proto.advertisement()) { in AdvertisingConfigFromProto() local 55 config->advertisement.push_back(GapDataFromProto(elem)); in AdvertisingConfigFromProto() 58 for (const auto& elem : config_proto.scan_response()) { in AdvertisingConfigFromProto() local 59 config->scan_response.push_back(GapDataFromProto(elem)); in AdvertisingConfigFromProto()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 2082 android_log_list_element elem; in android_log_buffer_to_string() local 2091 memset(&elem, 0, sizeof(elem)); in android_log_buffer_to_string() 2096 elem = android_log_read_next(context); in android_log_buffer_to_string() 2097 switch ((int)elem.type) { in android_log_buffer_to_string() 2122 outCount = snprintf(strOut, strOutLen + 1, "%" PRId32, elem.data.int32); in android_log_buffer_to_string() 2137 outCount = snprintf(strOut, strOutLen + 1, "%" PRId64, elem.data.int64); in android_log_buffer_to_string() 2152 outCount = snprintf(strOut, strOutLen + 1, "%f", elem.data.float32); in android_log_buffer_to_string() 2162 elem.complete = true; in android_log_buffer_to_string() 2167 if (elem.complete) { in android_log_buffer_to_string() 2171 elem.data.string = const_cast<char*>("<unknown>"); in android_log_buffer_to_string() [all …]
|
/system/bt/stack/a2dp/ |
D | a2dp_api.cc | 70 tSDP_PROTOCOL_ELEM elem; in a2dp_sdp_cback() local 107 if (SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_AVDTP, &elem)) { in a2dp_sdp_cback() 108 a2dp_svc.avdt_version = elem.params[0]; in a2dp_sdp_cback()
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 525 uint8_t elem = 0; in avdt_msg_prs_cfg() local 550 elem = *p++; in avdt_msg_prs_cfg() 553 if ((elem == 0) || (elem > AVDT_CAT_MAX_CUR)) { in avdt_msg_prs_cfg() 569 AVDT_TRACE_DEBUG("skipping unknown service category=%d len: %d", elem, in avdt_msg_prs_cfg() 575 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg() 576 (elem_len < avdt_msg_ie_len_min[elem])) { in avdt_msg_prs_cfg() 577 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg() 582 p_cfg->psc_mask |= (1 << elem); in avdt_msg_prs_cfg() 583 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x", elem, elem_len, in avdt_msg_prs_cfg() 587 switch (elem) { in avdt_msg_prs_cfg() [all …]
|
/system/update_engine/ |
D | binder_service_android.cc | 193 [&callback](const android::sp<IUpdateEngineCallback>& elem) { in UnbindCallback() argument 194 return IUpdateEngineCallback::asBinder(elem).get() == callback; in UnbindCallback()
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 1087 byte[] elem = new byte[128]; in client() 1089 elem[j] = (byte)k; in client() 1091 in.add(elem); in client() 1106 byte[] elem = new byte[128 - i]; in client() 1108 elem[j] = (byte)k; in client() 1110 in.add(elem); in client() 1132 boolean[] elem = new boolean[128]; in client() 1134 elem[j] = (k & 4) != 0; in client() 1136 in.add(elem); in client() 1150 double[] elem = new double[128]; in client() local [all …]
|
/system/bt/gd/packet/ |
D | packet_builder_unittest.cc | 152 for (T elem : vect_) { in Serialize() local 153 PacketBuilder<true>::insert(elem, it); in Serialize()
|
/system/nvram/messages/include/nvram/messages/ |
D | proto.hpp | 210 for (const ElementType& elem : vector) { in Encode() local 211 if (!EncodeField<ElementCodec>(elem, writer)) { in Encode()
|