diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2012-12-14 06:19:00 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2012-12-14 06:19:00 -0800 |
commit | 3f3dcea829b4524b3ed82e4b1181fb15e2edd630 (patch) | |
tree | ded8555b310c1e89f9bb0d4119e0c506cd5d91cb /src/com/dsi/ant/core/JAntStatus.java | |
parent | 706787cc437f753953e03163b6fefd4ee92b9ace (diff) | |
parent | bcca0eef58215dec4074abaa657ee6ce9d1bb636 (diff) | |
download | android_external_ant-wireless_ant_service-3f3dcea829b4524b3ed82e4b1181fb15e2edd630.tar.gz android_external_ant-wireless_ant_service-3f3dcea829b4524b3ed82e4b1181fb15e2edd630.tar.bz2 android_external_ant-wireless_ant_service-3f3dcea829b4524b3ed82e4b1181fb15e2edd630.zip |
Merge "Merge remote-tracking branch 'remotes/origin/caf/github/master'"
Diffstat (limited to 'src/com/dsi/ant/core/JAntStatus.java')
-rw-r--r-- | src/com/dsi/ant/core/JAntStatus.java | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/com/dsi/ant/core/JAntStatus.java b/src/com/dsi/ant/core/JAntStatus.java new file mode 100644 index 0000000..7ee6c43 --- /dev/null +++ b/src/com/dsi/ant/core/JAntStatus.java @@ -0,0 +1,61 @@ +/* + * ANT Stack + * + * Copyright 2009 Dynastream Innovations + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.dsi.ant.core; + +public enum JAntStatus implements IJAntEnum<Integer> { + +SUCCESS (0), +FAILED (1), +PENDING (2), +INVALID_PARM (3), +IN_PROGRESS (4), +NOT_APPLICABLE (5), +NOT_SUPPORTED (6), +INTERNAL_ERROR (7), +TRANSPORT_INIT_ERR (8), +HARDWARE_ERR (9), +NO_VALUE_AVAILABLE (10), +CONTEXT_DOESNT_EXIST (11), +CONTEXT_NOT_DESTROYED (12), +CONTEXT_NOT_ENABLED (13), +CONTEXT_NOT_DISABLED (14), +NOT_DE_INITIALIZED (15), +NOT_INITIALIZED (16), +TOO_MANY_PENDING_CMDS (17), +DISABLING_IN_PROGRESS (18), +COMMAND_WRITE_FAILED (20), +SCRIPT_EXEC_FAILED (21), + +FAILED_BT_NOT_INITIALIZED (23), +AUDIO_OPERATION_UNAVAILIBLE_RESOURCES (24), + +NO_VALUE (100); + + private final int value; + + private JAntStatus(int value) + { + this.value = value; + } + + public Integer getValue() + { + return value; + } +} + |