Home | History | Annotate | Download | only in app
      1 /*
      2  * Copyright (C) 2017 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 
     17 syntax = "proto2";
     18 
     19 package android.app;
     20 
     21 option java_multiple_files = true;
     22 option java_outer_classname = "ActivityManagerProto";
     23 
     24 // ActivityManager.java UID_OBSERVERs flags
     25 enum UidObserverFlag {
     26     // report changes in process state, original value is 1 << 0
     27     UID_OBSERVER_FLAG_PROCSTATE = 1;
     28     // report uid gone, original value is 1 << 1
     29     UID_OBSERVER_FLAG_GONE = 2;
     30     // report uid has become idle, original value is 1 << 2
     31     UID_OBSERVER_FLAG_IDLE = 3;
     32     // report uid has become active, original value is 1 << 3
     33     UID_OBSERVER_FLAG_ACTIVE = 4;
     34     // report uid cached state has changed, original value is 1 << 4
     35     UID_OBSERVER_FLAG_CACHED = 5;
     36 }
     37