Home
last modified time | relevance | path

Searched refs:protoType (Results 1 – 4 of 4) sorted by relevance

/development/tools/winscope/src/parsers/
Dtampered_message_type.ts21 static tamper(protoType: protobuf.Type): TamperedMessageType {
22 TamperedMessageType.tamperTypeDfs(protoType);
23 return protoType as TamperedMessageType;
28 private static tamperTypeDfs(protoType: protobuf.Type) {
29 for (const fieldName of Object.keys(protoType.fields)) {
30 const field = protoType.fields[fieldName];
/development/tools/winscope/src/parsers/operations/
Dadd_defaults.ts27 private readonly protoType: TamperedMessageType; property in AddDefaults
34 this.protoType = assertDefined(protoField.tamperedMessageType);
39 for (const fieldName in this.protoType.fields) {
52 !Object.prototype.hasOwnProperty.call(this.protoType.fields, fieldName)
57 const field = this.protoType.fields[fieldName];
Dset_formatters.ts52 const protoType: TamperedMessageType | undefined = constant
56 if (protoType && field.name !== value.name) {
57 field = protoType.fields[value.name] ?? parentField;
Dtranslate_intdef.ts27 const protoType = parentField.tamperedMessageType; constant
29 if (protoType === undefined) {
35 field = protoType.fields[value.name] ?? parentField;