Home
last modified time | relevance | path

Searched refs:field_name (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/parser/
Dparent_def.cc26 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 …]
Dstruct_def.cc288 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()
Dparent_def.h35 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;
Dpacket_def.cc224 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()
Dfield_list.h51 PacketField* GetField(std::string field_name) const { in GetField() argument
52 auto it = field_map_.find(field_name); in GetField()
Dstruct_def.h51 Size GetStructOffsetForField(std::string field_name) const;
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dcontroller_properties.cc126 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/
Dgen_coverage.py158 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/
DMediaProviderWrapper.cpp69 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/
Dcom_android_bluetooth_avrcp_target.cpp477 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/
DCallingMethodActivity.java125 ((TextView) view.findViewById(R.id.field_name)).setText( in populateParamList()
/packages/modules/Bluetooth/system/gd/packet/parser/test/
Dbig_endian_test_packets.pdl14 field_name : 16,
Dtest_packets.pdl14 field_name : 16,
Dgenerated_packet_test.cc98 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/
Darchitecture.md240 field_name : 16, // addition field append after Parent