Home
last modified time | relevance | path

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

/system/incremental_delivery/libdataloader/
DJNIHelpers.h42 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() argument
44 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie()
45 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetFieldIDOrDie()
49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() argument
51 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie()
52 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetStaticFieldIDOrDie()
/system/bt/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 …]
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;
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.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()
Dstruct_def.h51 Size GetStructOffsetForField(std::string field_name) const;
Dpacket_def.cc223 const auto& field_name = ((ChecksumStartField*)field)->GetStartedFieldName(); in GenValidator() local
224 const auto& started_field = fields_.GetField(field_name); in GenValidator()
226 …ERROR(field) << __func__ << ": Can't find checksum field named " << field_name << "(" << field->Ge… in GenValidator()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.cc106 #define REGISTER_UINT8_T(field_name, field) \ in RegisterJSONConverter() argument
107 converter->RegisterCustomField<uint8_t>(field_name, &DeviceProperties::field, &ParseUint8t); in RegisterJSONConverter()
108 #define REGISTER_UINT16_T(field_name, field) \ in RegisterJSONConverter() argument
109 converter->RegisterCustomField<uint16_t>(field_name, &DeviceProperties::field, &ParseUint16t); in RegisterJSONConverter()
/system/keymaster/ng/include/
Dkeymaster_tags.h197 #define MAKE_TAG_VALUE_ACCESSOR(tag_type, field_name) \ argument
199 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
203 ->const decltype(param.field_name)& { \
204 return param.field_name; \
208 ->decltype(param.field_name)& { \
209 return param.field_name; \
221 #define MAKE_TAG_ENUM_VALUE_ACCESSOR(typed_tag, field_name) \ in MAKE_TAG_VALUE_ACCESSOR() argument
223 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
226 ->const decltype(param.field_name)& { \
227 return param.field_name; \
[all …]
/system/bt/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]
/system/security/keystore2/src/
Dkey_parameter.rs541 [$vname:ident($vtype:ty) $tag_name:ident $field_name:ident, $($in:tt)*]
546 value: KmKeyParameterValue::$field_name(v)
554 [$vname:ident $tag_name:ident $field_name:ident, $($in:tt)*]
559 value: KmKeyParameterValue::$field_name(_)
579 [$vname:ident($vtype:ty) $tag_name:ident $field_name:ident, $($in:tt)*]
584 value: KmKeyParameterValue::$field_name(v)
592 [$vname:ident $tag_name:ident $field_name:ident, $($in:tt)*]
597 value: KmKeyParameterValue::$field_name(KpDefault::default())
612 ($enum_name:ident; $($vname:ident$(($vtype:ty))? $tag_name:ident $field_name:ident),*) => {
616 [$($vname$(($vtype))? $tag_name $field_name,)*]
[all …]
/system/extras/libjsonpb/verify/
Dtest.cpp43 std::string GetFieldJsonName(const std::string& field_name) { in GetFieldJsonName() argument
44 return T{}.GetDescriptor()->FindFieldByName(field_name)->json_name(); in GetFieldJsonName()
48 void TestParseOkWithUnknownKey(const std::string& field_name, const std::string& json_key) { in TestParseOkWithUnknownKey() argument
53 *object, object->GetDescriptor()->FindFieldByName(field_name))); in TestParseOkWithUnknownKey()
/system/update_engine/scripts/
Dpayload_info_unittest.py119 def HasField(self, field_name): argument
121 return hasattr(self, field_name) and getattr(self, field_name) is not None
/system/update_engine/scripts/update_payload/
Dchecker.py388 def _CheckRepeatedElemNotPresent(msg, field_name, msg_name): argument
399 if getattr(msg, field_name, None):
401 (msg_name + ' ' if msg_name else '', field_name))
404 def _CheckElemNotPresent(msg, field_name, msg_name): argument
415 if msg.HasField(field_name):
417 (msg_name + ' ' if msg_name else '', field_name))
420 def _CheckMandatoryField(msg, field_name, report, msg_name, convert=str, argument
423 return PayloadChecker._CheckElem(msg, field_name, report, True, False,
428 def _CheckOptionalField(msg, field_name, report, convert=str, argument
431 return PayloadChecker._CheckElem(msg, field_name, report, False, False,
Dtest_utils.py79 def _SetMsgField(msg, field_name, val): argument
82 msg.ClearField(field_name)
84 setattr(msg, field_name, val)
/system/bt/gd/packet/parser/test/
Dbig_endian_test_packets.pdl14 field_name : 16,
Dtest_packets.pdl14 field_name : 16,
Dgenerated_packet_test.cc99 uint16_t field_name = 0xa2a1; in TEST() local
101 auto packet = ChildBuilder::Create(field_name, footer); in TEST()
127 ASSERT_EQ(field_name, child_view.GetFieldName()); in TEST()
192 uint16_t field_name = 0xa2a1; in TEST() local
194 auto packet = ChildBuilder::Create(field_name, footer); in TEST()
/system/chre/chpp/api_parser/
Dchre_api_to_chpp.py490 for value, field_name in annotation['mapping']:
495 if nested_member_info['name'] == field_name:
506 .format(field_name, chre_type))
/system/bt/gd/docs/architecture/
Darchitecture.md240 field_name : 16, // addition field append after Parent