Aurimas Liutikas | dc3f885 | 2024-07-11 10:07:48 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * This file is auto-generated. DO NOT MODIFY. |
| 3 | * Using: out/host/linux-x86/bin/aidl --lang=java -Weverything -Wno-missing-permission-annotation -t --min_sdk_version platform_apis -pout/soong/.intermediates/hardware/interfaces/security/keymint/aidl/android.hardware.security.keymint_interface/3/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/security/secureclock/aidl/android.hardware.security.secureclock_interface/1/preprocessed.aidl --ninja -d out/soong/.intermediates/system/security/keystore2/aidl/android.security.authorization-java-source/gen/android/security/authorization/ResponseCode.java.d -o out/soong/.intermediates/system/security/keystore2/aidl/android.security.authorization-java-source/gen -Nsystem/security/keystore2/aidl system/security/keystore2/aidl/android/security/authorization/ResponseCode.aidl |
| 4 | */ |
| 5 | package android.security.authorization; |
| 6 | /** |
| 7 | * Used as exception codes by IKeystoreAuthorization. |
| 8 | * @hide |
| 9 | */ |
| 10 | public @interface ResponseCode { |
| 11 | /** A matching auth token is not found. */ |
| 12 | public static final int NO_AUTH_TOKEN_FOUND = 1; |
| 13 | /** The matching auth token is expired. */ |
| 14 | public static final int AUTH_TOKEN_EXPIRED = 2; |
| 15 | /** |
| 16 | * Same as in keystore2/ResponseCode.aidl. |
| 17 | * Any unexpected Error such as IO or communication errors. |
| 18 | */ |
| 19 | public static final int SYSTEM_ERROR = 4; |
| 20 | /** |
| 21 | * Same as in keystore2/ResponseCode.aidl. |
| 22 | * Indicates that the caller does not have the permissions for the attempted request. |
| 23 | */ |
| 24 | public static final int PERMISSION_DENIED = 6; |
| 25 | /** |
| 26 | * Same as in keystore2/ResponseCode.aidl. |
| 27 | * Indicates that the requested key does not exist. |
| 28 | */ |
| 29 | public static final int KEY_NOT_FOUND = 7; |
| 30 | /** |
| 31 | * Same as in keystore2/ResponseCode.aidl. |
| 32 | * Indicates that a value being processed is corrupted. |
| 33 | */ |
| 34 | public static final int VALUE_CORRUPTED = 8; |
| 35 | /** |
| 36 | * Same as in keystore2/ResponseCode.aidl. |
| 37 | * Indicates that an invalid argument was passed to an API call. |
| 38 | */ |
| 39 | public static final int INVALID_ARGUMENT = 20; |
| 40 | } |