1/*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto3";
18
19option java_package = "com.android.server.adb.protos";
20option java_outer_classname = "AppProcessesProto";
21
22package adb.proto;
23
24message ProcessEntry {
25    int64 pid = 1;
26    bool debuggable = 2;
27    bool profileable = 3;
28    string architecture = 4;  // ISA name, e.g., "arm64"
29    optional int64  user_id = 5;
30    optional string process_name = 6;
31    repeated string package_names = 7;
32    optional bool waiting_for_debugger = 8;
33    optional int64 uid = 9;
34}
35
36message AppProcesses {
37  repeated ProcessEntry process = 1;
38}
39