Home
last modified time | relevance | path

Searched refs:valuesById (Results 1 – 3 of 3) sorted by relevance

/development/tools/winscope/src/parsers/operations/
Dset_formatters.ts63 const formatter = this.getFormatter(value, enumType?.valuesById);
74 valuesById: {[key: number]: string} | undefined,
80 if (valuesById) return new EnumFormatter(valuesById);
/development/tools/winscope/src/trace/tree_node/
Dformatters.ts191 constructor(private readonly valuesById: {[key: number]: string}) {} property in EnumFormatter
195 if (typeof value === 'number' && this.valuesById[value]) {
196 return this.valuesById[value];
198 if (typeof value === 'bigint' && this.valuesById[Number(value)]) {
199 return this.valuesById[Number(value)];
/development/tools/ota_analysis/src/services/
Dupdate_metadata_pb.js1852 const valuesById = {}, values = Object.create(valuesById);
1853 values[valuesById[0] = "REPLACE"] = 0;
1854 values[valuesById[1] = "REPLACE_BZ"] = 1;
1855 values[valuesById[2] = "MOVE"] = 2;
1856 values[valuesById[3] = "BSDIFF"] = 3;
1857 values[valuesById[4] = "SOURCE_COPY"] = 4;
1858 values[valuesById[5] = "SOURCE_BSDIFF"] = 5;
1859 values[valuesById[8] = "REPLACE_XZ"] = 8;
1860 values[valuesById[6] = "ZERO"] = 6;
1861 values[valuesById[7] = "DISCARD"] = 7;
[all …]