Searched refs:field_name (Results 1 – 7 of 7) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | device_properties.cc | 95 #define REGISTER_UINT8_T(field_name, field) \ in RegisterJSONConverter() argument 96 converter->RegisterCustomField<uint8_t>(field_name, &DeviceProperties::field, &ParseUint8t); in RegisterJSONConverter() 97 #define REGISTER_UINT16_T(field_name, field) \ in RegisterJSONConverter() argument 98 converter->RegisterCustomField<uint16_t>(field_name, &DeviceProperties::field, &ParseUint16t); in RegisterJSONConverter()
|
/system/keymaster/ng/include/ |
D | keymaster_tags.h | 199 #define MAKE_TAG_VALUE_ACCESSOR(tag_type, field_name) \ argument 201 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ 205 ->const decltype(param.field_name)& { \ 206 return param.field_name; \ 210 ->decltype(param.field_name)& { \ 211 return param.field_name; \ 223 #define MAKE_TAG_ENUM_VALUE_ACCESSOR(typed_tag, field_name) \ in MAKE_TAG_VALUE_ACCESSOR() argument 225 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR() 228 ->const decltype(param.field_name)& { \ 229 return param.field_name; \ [all …]
|
/system/bt/test/ |
D | gen_coverage.py | 155 for field_name in ['functions', 'instantiations', 'lines', 'regions']: 156 field = test_totals[field_name] 157 totals[field_name]['covered'] += field['covered'] 158 totals[field_name]['count'] += field['count'] 164 for field_name in ['functions', 'instantiations', 'lines', 'regions']: 165 field = totals[field_name]
|
/system/extras/libjsonpb/verify/ |
D | test.cpp | 44 std::string GetFieldJsonName(const std::string& field_name) { in GetFieldJsonName() argument 45 return T{}.GetDescriptor()->FindFieldByName(field_name)->json_name(); in GetFieldJsonName() 49 void TestParseOkWithUnknownKey(const std::string& field_name, in TestParseOkWithUnknownKey() argument 57 *object, object->GetDescriptor()->FindFieldByName(field_name))); in TestParseOkWithUnknownKey()
|
/system/update_engine/scripts/update_payload/ |
D | test_utils.py | 78 def _SetMsgField(msg, field_name, val): argument 81 msg.ClearField(field_name) 83 setattr(msg, field_name, val)
|
D | checker.py | 390 def _CheckRepeatedElemNotPresent(msg, field_name, msg_name): argument 401 if getattr(msg, field_name, None): 403 (msg_name + ' ' if msg_name else '', field_name)) 406 def _CheckElemNotPresent(msg, field_name, msg_name): argument 417 if msg.HasField(field_name): 419 (msg_name + ' ' if msg_name else '', field_name)) 422 def _CheckMandatoryField(msg, field_name, report, msg_name, convert=str, argument 425 return PayloadChecker._CheckElem(msg, field_name, report, True, False, 430 def _CheckOptionalField(msg, field_name, report, convert=str, argument 433 return PayloadChecker._CheckElem(msg, field_name, report, False, False,
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 102 def HasField(self, field_name): argument 104 return hasattr(self, field_name) and getattr(self, field_name) is not None
|