/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | parent_def.cc | 26 void ParentDef::AddParentConstraint(std::string field_name, std::variant<int64_t, std::string> valu… in AddParentConstraint() argument 29 const auto& constrained_field = parent_params.GetField(field_name); in AddParentConstraint() 31 ERROR() << "Attempting to constrain field " << field_name << " in parent " << parent_->name_ in AddParentConstraint() 55 parent_constraints_.insert(std::pair(field_name, value)); in AddParentConstraint() 169 Size ParentDef::GetOffsetForField(std::string field_name, bool from_end) const { in GetOffsetForField() argument 171 if (fields_.GetField(field_name) == nullptr) { in GetOffsetForField() 172 …ERROR() << "Can't find a field offset for nonexistent field named: " << field_name << " in " << na… in GetOffsetForField() 192 if ((*it)->GetName() == field_name) break; in GetOffsetForField() 220 …Empty offset for payload in " << parent_->name_ << " finding the offset for field: " << field_name; in GetOffsetForField() 226 …< "Empty offset for body in " << parent_->name_ << " finding the offset for field: " << field_name; in GetOffsetForField() [all …]
|
D | struct_def.cc | 288 Size StructDef::GetStructOffsetForField(std::string field_name) const { in GetStructOffsetForField() 292 if ((*it)->GetName() == field_name) break; in GetStructOffsetForField() 296 … << "Empty size for field " << (*it)->GetName() << " finding the offset for field: " << field_name; in GetStructOffsetForField() 305 …< "Empty offset for body in " << parent_->name_ << " finding the offset for field: " << field_name; in GetStructOffsetForField()
|
D | parent_def.h | 35 void AddParentConstraint(std::string field_name, std::variant<int64_t, std::string> value); 55 Size GetOffsetForField(std::string field_name, bool from_end = false) const;
|
D | packet_def.cc | 224 const auto& field_name = ((ChecksumStartField*)field)->GetStartedFieldName(); in GenValidator() local 225 const auto& started_field = fields_.GetField(field_name); in GenValidator() 227 …ERROR(field) << __func__ << ": Can't find checksum field named " << field_name << "(" << field->Ge… in GenValidator() 911 for (auto field_name : parse_params) { in GenRustStructImpls() local 912 auto constraint_field = GetParamList().GetField(field_name); in GenRustStructImpls() 914 s << ", " << field_name << ": " << constraint_type; in GenRustStructImpls() 1058 for (auto field_name : params) { in GenRustStructImpls() local 1059 s << ", " << field_name; in GenRustStructImpls()
|
D | field_list.h | 51 PacketField* GetField(std::string field_name) const { in GetField() argument 52 auto it = field_map_.find(field_name); in GetField()
|
D | struct_def.h | 51 Size GetStructOffsetForField(std::string field_name) const;
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | controller_properties.cc | 126 static bool ParseUint(Json::Value root, std::string field_name, in ParseUint() argument 129 Json::Value value = root[field_name]; in ParseUint() 135 field_name.c_str(), parsed_value, in ParseUint() 148 static bool ParseUintArray(Json::Value root, std::string field_name, in ParseUintArray() argument 151 Json::Value value = root[field_name]; in ParseUintArray() 159 field_name.c_str()); in ParseUintArray() 166 field_name.c_str(), value.size(), N); in ParseUintArray() 175 field_name.c_str(), n, parsed_value, in ParseUintArray() 186 static bool ParseUintVector(Json::Value root, std::string field_name, in ParseUintVector() argument 189 Json::Value value = root[field_name]; in ParseUintVector() [all …]
|
/packages/modules/Bluetooth/system/test/ |
D | gen_coverage.py | 158 for field_name in ['functions', 'instantiations', 'lines', 'regions']: 159 field = test_totals[field_name] 160 totals[field_name]['covered'] += field['covered'] 161 totals[field_name]['count'] += field['count'] 167 for field_name in ['functions', 'instantiations', 'lines', 'regions']: 168 field = totals[field_name]
|
/packages/providers/MediaProvider/jni/ |
D | MediaProviderWrapper.cpp | 69 static jfieldID CacheField(JNIEnv* env, jclass clazz, const char field_name[], const char type[]) { in CacheField() argument 71 string actual_field_name(field_name); in CacheField() 74 LOG(FATAL) << "Error caching field: " << field_name << type; in CacheField()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_avrcp_target.cpp | 477 jfieldID field_name = in getFolderInfoFromJavaObj() local 490 jstr = (jstring)env->GetObjectField(folder, field_name); in getFolderInfoFromJavaObj() 644 jfieldID field_name = in getMediaPlayerList() local 656 jstring jstr = (jstring)sCallbackEnv->GetObjectField(player, field_name); in getMediaPlayerList()
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | CallingMethodActivity.java | 125 ((TextView) view.findViewById(R.id.field_name)).setText( in populateParamList()
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | big_endian_test_packets.pdl | 14 field_name : 16,
|
D | test_packets.pdl | 14 field_name : 16,
|
D | generated_packet_test.cc | 98 uint16_t field_name = 0xa2a1; in TEST() local 100 auto packet = ChildBuilder::Create(field_name, footer); in TEST() 126 ASSERT_EQ(field_name, child_view.GetFieldName()); in TEST() 191 uint16_t field_name = 0xa2a1; in TEST() local 193 auto packet = ChildBuilder::Create(field_name, footer); in TEST()
|
/packages/modules/Bluetooth/system/gd/docs/architecture/ |
D | architecture.md | 240 field_name : 16, // addition field append after Parent
|