summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Satayev <satayev@google.com>2019-11-04 19:55:46 +0000
committerArtur Satayev <satayev@google.com>2019-11-05 16:07:21 +0000
commitabbb2bf51a29cba6c32509b1f185cdf9c5f4cd43 (patch)
treed6f6a9f69dc3589ba7d7f6b173f8f76b527312f2
parent2c62e2b83e17556812157dd7f65b98f645a8c28f (diff)
downloadsecurity-abbb2bf51a29cba6c32509b1f185cdf9c5f4cd43.tar.gz
Add @UnsupportedAppUsage annotations for greylist.
go/cleanup-greylist-txt These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code. Bug: 137350495 Test: m Change-Id: If694cc885291c0c0cf14d8b880fc7ac4948dbe1b
-rw-r--r--keystore/binder/android/security/keystore/IKeystoreService.aidl10
1 files changed, 10 insertions, 0 deletions
diff --git a/keystore/binder/android/security/keystore/IKeystoreService.aidl b/keystore/binder/android/security/keystore/IKeystoreService.aidl
index 348964f8..f92c796b 100644
--- a/keystore/binder/android/security/keystore/IKeystoreService.aidl
+++ b/keystore/binder/android/security/keystore/IKeystoreService.aidl
@@ -29,21 +29,31 @@ import android.security.keystore.IKeystoreCertificateChainCallback;
* @hide
*/
interface IKeystoreService {
+ @UnsupportedAppUsage
int getState(int userId);
+ @UnsupportedAppUsage
byte[] get(String name, int uid);
+ @UnsupportedAppUsage
int insert(String name, in byte[] item, int uid, int flags);
+ @UnsupportedAppUsage
int del(String name, int uid);
+ @UnsupportedAppUsage
int exist(String name, int uid);
+ @UnsupportedAppUsage
String[] list(String namePrefix, int uid);
+ @UnsupportedAppUsage
int reset();
int onUserPasswordChanged(int userId, String newPassword);
int lock(int userId);
int unlock(int userId, String userPassword);
int isEmpty(int userId);
String grant(String name, int granteeUid);
+ @UnsupportedAppUsage
int ungrant(String name, int granteeUid);
long getmtime(String name, int uid);
+ @UnsupportedAppUsage
int is_hardware_backed(String string);
+ @UnsupportedAppUsage
int clear_uid(long uid);
int addRngEntropy(IKeystoreResponseCallback cb, in byte[] data, int flags);