1 /* 2 * 3 * Copyright 2001-2011 Texas Instruments, Inc. - http://www.ti.com/ 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 package com.ti.jfm.core; 19 20 public enum JFmRxStatus implements IJFmEnum<Integer> { 21 22 SUCCESS(0), FAILED(1), PENDING(2), INVALID_PARM(3), IN_PROGRESS(4), NOT_APPLICABLE(5), NOT_SUPPORTED( 23 6), INTERNAL_ERROR(7), TRANSPORT_INIT_ERR(8), HARDWARE_ERR(9), NO_VALUE_AVAILABLE(10), CONTEXT_DOESNT_EXIST( 24 11), CONTEXT_NOT_DESTROYED(12), CONTEXT_NOT_ENABLED(13), CONTEXT_NOT_DISABLED(14), NOT_DE_INITIALIZED( 25 15), NOT_INITIALIZED(16), TOO_MANY_PENDING_CMDS(17), DISABLING_IN_PROGRESS(18), SCRIPT_EXEC_FAILED( 26 21), FAILED_BT_NOT_INITIALIZED(23), AUDIO_OPERATION_UNAVAILIBLE_RESOURCES(24), FM_TX_ALREADY_ENABLED( 27 101), SEEK_IN_PROGRESS(102), SEEK_IS_NOT_IN_PROGRESS(103), AF_IN_PROGRESS(104), RDS_IS_NOT_ENABLED( 28 105), SEEK_REACHED_BAND_LIMIT(106), SEEK_STOPPED(107), SEEK_SUCCESS(108), STOP_SEEK(109), /* 29 * Internal 30 * use 31 */ 32 PENDING_UPDATE_CMD_PARAMS(110), FAILED_ALREADY_PENDING(111), INVALID_TYPE(112), CMD_TYPE_WAS_ALREADY_ALLOCATED( 33 113), AF_SWITCH_FAILED_LIST_EXHAUSTED(114), COMPLETE_SCAN_IS_NOT_IN_PROGRESS(115), COMPLETE_SCAN_STOPPED( 34 116), NO_VALUE(100); 35 36 private final int value; 37 38 private JFmRxStatus(int value) { 39 this.value = value; 40 } 41 42 public Integer getValue() { 43 return value; 44 } 45 } 46