blob: 7c660580aa291f1a12d999fd55d3e039a8b9131e [file] [log] [blame]
Treehugger Robot02b12802021-12-16 18:36:30 +00001/*
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
17package android.security.dice;
18
19@Backing(type="int")
20/**
21 * Service specific error codes.
22 * @hide
23 */
24enum ResponseCode {
25 /**
26 * The caller has insufficient privilege to access the DICE API.
27 */
28 PERMISSION_DENIED = 1,
29 /**
30 * An unexpected error occurred, likely with IO or IPC.
31 */
32 SYSTEM_ERROR = 2,
33 /**
34 * Returned if the called function is not implemented.
35 */
36 NOT_IMPLEMENTED = 3,
37}