summaryrefslogtreecommitdiff
path: root/keystore
diff options
context:
space:
mode:
authorShaquille Johnson <ssjohnson@google.com>2024-02-13 13:39:13 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-13 13:39:13 +0000
commit527f826af80178dc91dd0c05d1d1387548748f87 (patch)
treed7271e8835898dc9ae94d01a8e0ff164688ba980 /keystore
parente24874fe5d99956dde77c72518af38b42a390e95 (diff)
parentf32f6b069fd368a948271faf7a959b4a2daa41f0 (diff)
downloadbase-527f826af80178dc91dd0c05d1d1387548748f87.tar.gz
Merge "Raise an error when unable to get Attestation Application ID" into main am: f32f6b069f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2863125 Change-Id: I5ea186948b3c76c38336f43f2e07db7332aab3f7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'keystore')
-rw-r--r--keystore/aaid/aidl/android/security/keystore/IKeyAttestationApplicationIdProvider.aidl6
1 files changed, 6 insertions, 0 deletions
diff --git a/keystore/aaid/aidl/android/security/keystore/IKeyAttestationApplicationIdProvider.aidl b/keystore/aaid/aidl/android/security/keystore/IKeyAttestationApplicationIdProvider.aidl
index c360cb8f281a..cfc5980e009a 100644
--- a/keystore/aaid/aidl/android/security/keystore/IKeyAttestationApplicationIdProvider.aidl
+++ b/keystore/aaid/aidl/android/security/keystore/IKeyAttestationApplicationIdProvider.aidl
@@ -20,8 +20,14 @@ import android.security.keystore.KeyAttestationApplicationId;
/** @hide */
interface IKeyAttestationApplicationIdProvider {
+ const int ERROR_GET_ATTESTATION_APPLICATION_ID_FAILED = 1;
+
/**
* Provides information describing the possible applications identified by a UID.
+ *
+ * In case of not getting package ids from uid return
+ * {@link #ERROR_GET_ATTESTATION_APPLICATION_ID_FAILED} to the caller.
+ *
* @hide
*/
KeyAttestationApplicationId getKeyAttestationApplicationId(int uid);