Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 32) sorted by relevance

12

/development/tools/winscope/src/parsers/perfetto/
Dfake_proto_transformer.ts26 transform(proto: FakeProto): FakeProto {
27 return this.transformMessageRec(proto, this.rootMessageType);
31 proto: FakeProto,
35 if (this.shouldCheckIfPrimitiveLeaf(proto, field)) {
38 return Number(proto ?? 0);
40 return Number(proto ?? 0);
42 return Number(proto ?? 0);
44 return Number(proto ?? 0);
46 return Number(proto ?? 0);
48 return Number(proto ?? 0);
[all …]
Dfake_proto_builder_test.ts33 const proto = buildFakeProto(args); constant
34 expect(proto.a).toEqual(false);
35 expect(proto.b).toEqual(true);
40 const proto = buildFakeProto(args); constant
41 expect(proto.a).toEqual(1);
42 expect(proto.b).toEqual(10);
47 const proto = buildFakeProto(args); constant
48 expect(proto.a).toEqual(1n);
49 expect(proto.b).toEqual(10n);
54 const proto = buildFakeProto(args); constant
[all …]
Dfake_proto_transformer_test.ts31 const proto = {}; constant
32 const transformed = transformer.transform(proto);
37 const proto = { constant
41 const transformed = transformer.transform(proto);
47 const proto = { constant
50 const transformed = transformer.transform(proto);
55 const proto = { constant
58 const transformed = transformer.transform(proto);
Dfake_proto_builder.ts23 private proto = {}; property in FakeProtoBuilder
39 ObjectUtils.setProperty(this.proto, keyCamelCase, value);
44 return this.proto;
/development/tools/winscope/src/parsers/window_manager/
Dcustom_query_utils.ts47 proto: com.android.server.wm.IWindowContainerProto | null | undefined,
50 if (!proto) {
54 for (const windowContainerChildProto of proto?.children ?? []) {
88 proto: com.android.server.wm.IActivityRecordProto | null | undefined,
91 if (!proto) {
95 proto.windowToken?.hashCode?.toString(16) ?? WmCustomQueryUtils.NA;
96 const title = proto.name ?? WmCustomQueryUtils.NA;
99 proto.windowToken?.windowContainer,
105 proto: com.android.server.wm.IDisplayAreaProto | null | undefined,
108 if (!proto) {
[all …]
/development/tools/ninja_dependency_analysis/ninja_metrics_proto/
Dninja_metrics.py20 proto = ninja_metrics_pb2.NinjaMetrics()
21 proto.num_input_files = ninja_data['total_input_count']
22 proto.num_projects = ninja_data['total_project_count']
24 project_info = proto.project_infos.add()
27 return proto
30 proto = ninja_metrics_pb2.NinjaMetrics()
31 proto.ParseFromString(proto_file.read())
32 print("num_input_files: ", proto.num_input_files)
33 print("num_projects: ", proto.num_projects)
35 for project in proto.project_infos:
/development/tools/winscope/src/trace/tree_node/
Dproperty_tree_builder_from_proto_test.ts21 let proto: any; variable
31 proto = {
46 const tree = builder.setData(proto).build();
51 proto = {
68 const tree = builder.setData(proto).build();
73 proto = {
90 const tree = builder.setData(proto).build();
95 proto = {
119 const tree = builder.setData(proto).build();
124 proto = {
[all …]
Dproperty_tree_builder_from_proto.ts23 private proto: any | undefined; property in PropertyTreeBuilderFromProto
29 this.proto = value;
59 if (this.proto === undefined) {
73 return factory.makeProtoProperty(this.makeNodeId(), '', this.proto);
/development/host/windows/usb/api/
Dadb_api_private_defines.h38 AdbInstanceEnumEntry(const AdbInstanceEnumEntry& proto) { in AdbInstanceEnumEntry() argument
39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags()); in AdbInstanceEnumEntry()
54 AdbInstanceEnumEntry& operator=(const AdbInstanceEnumEntry& proto) {
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
/development/tools/winscope/src/parsers/transactions/operations/
Dtranslate_changes.ts62 android.surfaceflinger.proto.LayerState.ChangesLsb,
66 android.surfaceflinger.proto.LayerState.ChangesMsb,
75 android.surfaceflinger.proto.LayerState.ChangesLsb,
79 android.surfaceflinger.proto.LayerState.ChangesMsb,
95 android.surfaceflinger.proto.DisplayState.Changes,
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions.ts74 ): android.surfaceflinger.proto.ITransactionTraceEntry[] {
77 ) as android.surfaceflinger.proto.ITransactionTraceFile;
89 entryProto: android.surfaceflinger.proto.ITransactionTraceEntry,
98 entryProto: android.surfaceflinger.proto.ITransactionTraceEntry,
119 entryProto: android.surfaceflinger.proto.ITransactionTraceEntry,
/development/vndk/tools/header-checker/src/repr/protobuf/proto/
DAndroid.bp22 name: "libheader-checker-proto",
27 "abi_dump.proto",
28 "abi_diff.proto",
31 proto: {
/development/tools/winscope/src/test/unit/
Dtree_node_utils.ts136 proto: any,
140 .setId(`${proto.id}`)
141 .setName(proto.name)
142 .setProperties(proto)
171 static makeUiHierarchyNode(proto: any): UiHierarchyTreeNode {
172 return UiHierarchyTreeNode.from(TreeNodeUtils.makeHierarchyNode(proto));
/development/tools/ninja_dependency_analysis/
DAndroid.bp10 "ninja_metrics_proto/ninja_metrics.proto",
15 proto: {
/development/tools/winscope/
DREADME.md6 `frameworks/base/core/proto/android/server/windowmanagertrace.proto`
7 and `frameworks/native/services/surfaceflinger/layerproto/layerstrace.proto`
8 contain the proto definitions for their internal states.
/development/samples/VirtualDeviceManager/
DAndroid.bp79 "common/proto/*.proto",
84 proto: {
/development/tools/winscope/protos/protolog/udc/
Dprotolog.proto23 import "frameworks/base/core/proto/android/privacy.proto";
54 constants into .proto files. */
63 /* log proto version. */
/development/tools/winscope/protos/transitions/udc/
Dwm_shell_transition_trace.proto19 frameworks/base/libs/WindowManager/Shell/proto/wm_shell_transition_trace.proto
34 constants into .proto files. */
Dwindowmanagertransitiontrace.proto19 frameworks/base/core/proto/android/server/windowmanagertransitiontrace.proto
35 constants into .proto files. */
/development/tools/winscope/protos/surfaceflinger/udc/
Dlayerstrace.proto20 import "protos/surfaceflinger/udc/layers.proto";
21 import "protos/surfaceflinger/udc/display.proto";
32 constants into .proto files. */
Dtransactions.proto20 import "protos/surfaceflinger/udc/common.proto";
22 package android.surfaceflinger.proto;
30 constants into .proto files. */
111 // 32 bits and there's no nice way to put 64bit constants into .proto files.
148 eCornerRadiusChanged = -2147483648; // 0x80000000; (proto stores enums as signed int)
/development/tools/winscope/src/trace/
Dtrace_tree_node.ts45 proto?: any; property
/development/vndk/tools/header-checker/
DAndroid.bp73 "libheader-checker-proto",
90 "libheader-checker-proto",
165 "libheader-checker-proto",
/development/tools/winscope/protos/test/
Dfake_proto_test.proto5 // Message used for testing the fake proto machinery
/development/tools/winscope/protos/viewcapture/latest/
Dwrapper.proto21 import "protos/perfetto/trace/android/viewcapture.proto";

12