Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 42) sorted by relevance

12

/development/tools/winscope/src/parsers/
Dtampered_message_type.ts30 const field = protoType.fields[fieldName]; constant
31 TamperedMessageType.tamperFieldDfs(field);
35 private static tamperFieldDfs(field: protobuf.Field) {
40 if ((field as TamperedProtoField).tamperedMessageType) {
45 (field as TamperedProtoField).tamperedMessageType =
46 field.parent?.lookupType(field.type) as TamperedMessageType;
52 (field as TamperedProtoField).tamperedEnumType = field.parent?.lookupEnum(
53 field.type,
59 if ((field as TamperedProtoField).tamperedMessageType === undefined) {
64 assertDefined((field as TamperedProtoField).tamperedMessageType),
/development/tools/winscope/src/parsers/operations/
Dtranslate_intdef.ts33 let field = parentField;
34 if (field.name !== value.name) {
35 field = protoType.fields[value.name] ?? parentField;
40 this.apply(value, field);
46 field,
57 field: TamperedProtoField,
59 const typeDefSpec = this.getTypeDefSpecFromField(field);
64 const propertyPath = `${field.parent?.name}.${field.name}`;
77 field: TamperedProtoField,
79 if (field.options === undefined) {
[all …]
Dadd_defaults.ts57 const field = this.protoType.fields[fieldName]; constant
59 let defaultValue: any = field.repeated ? [] : field.defaultValue;
61 if (!field.repeated && defaultValue === null) {
62 switch (field.type) {
122 if (field.tamperedMessageType) {
123 const operation = new AddDefaults(field);
124 if (field.repeated) {
Dset_formatters.ts48 let field: TamperedProtoField | undefined;
55 field = parentField;
56 if (protoType && field.name !== value.name) {
57 field = protoType.fields[value.name] ?? parentField;
60 enumType = field.tamperedEnumType;
68 this.apply(value, field);
Dtranslate_intdef_test.ts41 const field = rootType.fields['intdefMappingEntry']; constant
42 operation = new TranslateIntDef(field);
75 const field = rootType.fields['windowLayoutParams']; constant
76 operation = new TranslateIntDef(field);
Dset_formatters_test.ts33 let field: TamperedProtoField; variable
36 field = TamperedMessageType.tamper(root.lookupType('RootMessage')).fields[
48 operation = new SetFormatters(field);
/development/tools/winscope/src/parsers/perfetto/
Dfake_proto_transformer.ts32 field: TamperedProtoField,
35 if (this.shouldCheckIfPrimitiveLeaf(proto, field)) {
36 switch (field.type) {
74 if (field.tamperedEnumType && enumId !== undefined) {
80 return this.getDefaultValue(proto, field);
83 if (!field.tamperedMessageType) {
88 return this.transformMessageRec(proto, field.tamperedMessageType);
120 field: TamperedProtoField,
122 return !field.repeated && proto !== null && proto !== undefined;
125 private getDefaultValue(proto: FakeProto, field: TamperedProtoField) {
[all …]
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduHeaders.java342 protected int getOctet(int field) { in getOctet() argument
343 Integer octet = (Integer) mHeaderMap.get(field); in getOctet()
358 protected void setOctet(int value, int field) in setOctet() argument
364 switch (field) { in setOctet()
492 mHeaderMap.put(field, value); in setOctet()
502 protected byte[] getTextString(int field) { in getTextString() argument
503 return (byte[]) mHeaderMap.get(field); in getTextString()
515 protected void setTextString(byte[] value, int field) { in setTextString() argument
524 switch (field) { in setTextString()
541 mHeaderMap.put(field, value); in setTextString()
[all …]
DPduComposer.java481 private int appendHeader(int field) { in appendHeader() argument
482 switch (field) { in appendHeader()
484 appendOctet(field); in appendHeader()
486 int version = mPduHeader.getOctet(field); in appendHeader()
497 byte[] textString = mPduHeader.getTextString(field); in appendHeader()
502 appendOctet(field); in appendHeader()
509 EncodedStringValue[] addr = mPduHeader.getEncodedStringValues(field); in appendHeader()
522 appendOctet(field); in appendHeader()
529 appendOctet(field); in appendHeader()
531 EncodedStringValue from = mPduHeader.getEncodedStringValue(field); in appendHeader()
[all …]
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
DInjector.java75 for (Field field : mActivity.getClass().getDeclaredFields()) { in inject()
76 for (Annotation annotation : field.getAnnotations()) { in inject()
79 Class<?> fieldType = field.getType(); in inject()
81 field.setAccessible(true); in inject()
86 field + ", can't inject"); in inject()
88 field.set(mActivity, injectedValue); in inject()
89 field.setAccessible(false); in inject()
/development/tools/otagui/src/components/
DOTAJobTable.vue34 field: "incremental_name",
39 field: "target_name",
44 field: "status",
56 field: "isPartial",
61 field: "start_time",
69 field: "finish_time",
DBuildTable.vue34 field: "file_name",
39 field: "time",
47 field: "build_id",
52 field: "build_version",
57 field: "build_flavor",
DBaseInput.vue7 class="field"
DBaseSelect.vue5 class="field"
DBaseCheckbox.vue9 class="field"
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
DDbQueryUtils.java31 public static String getEqualityClause(String table, String field, String value) { in getEqualityClause() argument
32 return getEqualityClause(table + "." + field, value); in getEqualityClause()
36 public static String getEqualityClause(String field, String value) { in getEqualityClause() argument
38 clause.append(field); in getEqualityClause()
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DResponseHelper.java45 for (Map.Entry<String, AutofillId> field : fields.entrySet()) { in newUnlockedDataset()
46 final String hint = field.getKey(); in newUnlockedDataset()
47 final AutofillId id = field.getValue(); in newUnlockedDataset()
91 for (Map.Entry<String, AutofillId> field : fields.entrySet()) { in newLockedDataset()
92 String hint = field.getKey(); in newLockedDataset()
93 AutofillId id = field.getValue(); in newLockedDataset()
/development/vndk/tools/header-checker/src/repr/protobuf/
Dir_reader.cpp136 for (auto &&field : rfp) { in RecordFieldsProtobufToIR()
138 field.field_name(), field.referenced_type(), field.field_offset(), in RecordFieldsProtobufToIR()
139 AccessProtobufToIR(field.access()), field.is_bit_field(), in RecordFieldsProtobufToIR()
140 field.bit_width()); in RecordFieldsProtobufToIR()
183 for (auto &&field : efp) { in EnumFieldsProtobufToIR()
184 EnumFieldIR enum_field_ir(field.name(), field.enum_field_value()); in EnumFieldsProtobufToIR()
Dconverter.cpp99 abi_dump::RecordFieldDecl *field = nullptr; in AddRecordFields() local
101 field = record_diff_protobuf->add_fields_removed(); in AddRecordFields()
103 field = record_diff_protobuf->add_fields_added(); in AddRecordFields()
105 if (!IRToProtobufConverter::ConvertRecordFieldIR(field, record_field_ir)) { in AddRecordFields()
/development/vndk/tools/header-checker/src/repr/json/
Dir_reader.cpp232 for (auto &&field : record_type.GetObjects("fields")) { in ReadRecordFields()
234 field.GetString("field_name"), field.GetString("referenced_type"), in ReadRecordFields()
235 field.GetUint("field_offset"), GetAccess(field), in ReadRecordFields()
236 field.GetBool("is_bit_field"), field.GetUint("bit_width")); in ReadRecordFields()
267 for (auto &&field : enum_type.GetObjects("enum_fields")) { in ReadEnumFields()
268 std::string name = field.GetString("name"); in ReadEnumFields()
269 const Json::Value &value = field.GetIntegralValue("enum_field_value"); in ReadEnumFields()
/development/tools/cargo_embargo/
DREADME.md73 … | Value to use for every generated module's `defaults` field. …
74 …x"]` | Value to use for every generated library module's `apex_available` field. …
75 …lue to use for every generated library module's `native_bridge_supported` field. …
76 … | Value to use for every generated library module's `product_available` field. …
77 … | Value to use for every generated library module's `ramdisk_available` field. …
78 … | Value to use for every generated library module's `recovery_available` field. …
79 … | Value to use for every generated library module's `vendor_available` field. …
80 …ue to use for every generated library module's `vendor_ramdisk_available` field. …
81 … | Minimum SDK version for generated modules' `min_sdk_version` field. …
/development/tools/external_crates/crate_health_proc_macros/src/
Dlib.rs91 for field in &strukt.fields { in get_map_field()
92 if let Ok((key_type, _value_type)) = get_map_type(&field.ty) { in get_map_field()
97 return Ok(field); in get_map_field()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java178 for (Field field : fields) { in translateCommand()
179 fieldBuilder.append(field.getName() + " "); in translateCommand()
467 Field field = klass.getDeclaredField("mAccessibilityViewId"); in query() local
468 field.setAccessible(true); in query()
469 viewId = ((Integer) field.get(node)).intValue(); in query()
/development/tools/winscope/src/
Dstyles.css47 rects-view .displays-select .mat-form-field-infix {
53 rects-view .displays-select .mat-form-field-flex {
/development/tools/mkstubs/
DREADME.txt30 - a # followed by a field or method name
48 and the specific field and the method with the exact given signature.
71 Suggestion: if type x.y.z is excluded, then any field, annotation, generic type,

12