1 /* 2 * Copyright 2021 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 package com.android.libraries.testing.deviceshadower; 18 19 /** 20 * Contains Enums used by DeviceShadower in interface and internally. 21 */ 22 public interface Enums { 23 24 /** 25 * Represents vague distance between two devicelets. 26 */ 27 enum Distance { 28 NEAR, 29 MID, 30 FAR, 31 AWAY, 32 } 33 34 /** 35 * Abstract base interface for operations. 36 */ 37 interface Operation { 38 39 } 40 41 /** 42 * NFC operations. 43 */ 44 enum NfcOperation implements Operation { 45 GET_ADAPTER, 46 ENABLE, 47 DISABLE, 48 } 49 50 } 51