• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto2";
2
3package android.os.statsd.adpf;
4
5import "frameworks/proto_logging/stats/atom_field_options.proto";
6
7option java_package = "com.android.os.adpf";
8option java_multiple_files = true;
9
10/**
11 * Logs information related to Android Dynamic Performance Framework (ADPF).
12 */
13
14message PerformanceHintSessionReported {
15    // UID of the package.
16    optional int32 package_uid = 1 [(is_uid) = true];
17
18    // Unique ID of the hint session.
19    optional int64 session_id = 2;
20
21    // Hint session target duration, in nanoseconds.
22    optional int64 target_duration_ns = 3;
23
24    // Number of threads affected by this session
25    optional int32 tid_count = 4;
26}
27
28message ADPFSystemComponentInfo {
29    // True if SurfaceFlinger CPU hint is enabled on the device.
30    optional bool surfaceflinger_cpu_hint_enabled = 1;
31
32    // True if HWUI hint is enabled on the device.
33    optional bool hwui_hint_enabled = 2;
34}
35