• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Should be kept in sync with internal version.
2syntax = "proto2";
3
4package posting_service_rpc;
5
6option java_package = "com.android.test.metrics.proto";
7option java_outer_classname = "FileMetadataProto";
8
9// Represents a type of log
10enum LogType {
11  UNKNOWN=0;
12  BUGREPORT=1;
13  BUGREPORTZ=2;
14  COMPACT_MEMINFO=3;
15  CPUINFO=4;
16  DUMPSYS=5;
17  GFXINFO=6;
18  KERNEL=7;
19  LOGCAT=8;
20  MEMINFO=9;
21  PROCRANK=10;
22  SERVICES=11;
23  TOP=12;
24}
25
26// Represents a single log file
27message LogFile {
28  // The name of the log file
29  required string name = 2;
30  // The type of the log file
31  required LogType log_type = 3;
32}
33
34// Represents a collection of log metadata
35message FileMetadata {
36  // The directory containing all of the LogFiles
37  optional string directory = 2;
38
39  // The included, parseable log files
40  repeated LogFile log_files = 1;
41}
42