Home | History | Annotate | Download | only in device
      1 /*
      2  * Copyright (C) 2013 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 package com.android.tradefed.device;
     17 
     18 public enum FreeDeviceState {
     19 
     20         /** device is responsive, and can be returned to the available device queue */
     21         AVAILABLE,
     22 
     23         /**
     24          * Device is not available for testing, and should not be returned to the available device
     25          * queue. Typically this means device is not visible via adb, but not necessarily.
     26          */
     27         UNAVAILABLE,
     28 
     29         /**
     30          * Device is visible on adb, but is not responsive. Depending on configuration this
     31          * device may be returned to available queue.
     32          */
     33         UNRESPONSIVE,
     34 
     35         /**
     36          * Device should be ignored, and not returned to the available device queue.
     37          */
     38         IGNORE;
     39 
     40 }
     41