summaryrefslogtreecommitdiffstats
path: root/security/secureclock/aidl/android
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2021-03-17 10:55:10 -0700
committerJanis Danisevskis <jdanis@google.com>2021-03-22 20:02:39 +0000
commit61eadb7ce45a3f0236dfe108dfab0a1ca3cc66b2 (patch)
treefe8d8c81c2e1730b2763a1861efe1c896a819cb2 /security/secureclock/aidl/android
parente24a7e57e27c6df65db723ddb6a228cbb7c778aa (diff)
downloadplatform_hardware_interfaces-61eadb7ce45a3f0236dfe108dfab0a1ca3cc66b2.tar.gz
platform_hardware_interfaces-61eadb7ce45a3f0236dfe108dfab0a1ca3cc66b2.tar.bz2
platform_hardware_interfaces-61eadb7ce45a3f0236dfe108dfab0a1ca3cc66b2.zip
Security: Provide generated java sources.
Enable generation of java sources for AIDL interfaces. This allows enabling the @SensitiveData annotation without causing circular build dependencies. Also mark doc comments as @hide to prevent the interface from being included in the SDK. Bug: 174857732 Test: N/A Merged-In: If00e4dfc24bf776f87c7e2b2e3f42350aa4d4379 Change-Id: If00e4dfc24bf776f87c7e2b2e3f42350aa4d4379
Diffstat (limited to 'security/secureclock/aidl/android')
-rw-r--r--security/secureclock/aidl/android/hardware/security/secureclock/ISecureClock.aidl2
-rw-r--r--security/secureclock/aidl/android/hardware/security/secureclock/TimeStampToken.aidl2
-rw-r--r--security/secureclock/aidl/android/hardware/security/secureclock/Timestamp.aidl1
3 files changed, 3 insertions, 2 deletions
diff --git a/security/secureclock/aidl/android/hardware/security/secureclock/ISecureClock.aidl b/security/secureclock/aidl/android/hardware/security/secureclock/ISecureClock.aidl
index 577dd8f231..a742ff0dad 100644
--- a/security/secureclock/aidl/android/hardware/security/secureclock/ISecureClock.aidl
+++ b/security/secureclock/aidl/android/hardware/security/secureclock/ISecureClock.aidl
@@ -25,8 +25,8 @@ import android.hardware.security.secureclock.TimeStampToken;
* secret. The shared secret must be available to secure clock service by implementing
* ISharedSecret aidl. Note: ISecureClock depends on the shared secret, without which the secure
* time stamp token cannot be generated.
+ * @hide
*/
-
@VintfStability
interface ISecureClock {
/**
diff --git a/security/secureclock/aidl/android/hardware/security/secureclock/TimeStampToken.aidl b/security/secureclock/aidl/android/hardware/security/secureclock/TimeStampToken.aidl
index dd957325e9..71b4278d55 100644
--- a/security/secureclock/aidl/android/hardware/security/secureclock/TimeStampToken.aidl
+++ b/security/secureclock/aidl/android/hardware/security/secureclock/TimeStampToken.aidl
@@ -20,8 +20,8 @@ import android.hardware.security.secureclock.Timestamp;
/**
* TimeStampToken instances are used for secure environments that requires secure time information.
+ * @hide
*/
-
@VintfStability
@RustDerive(Clone=true, Eq=true, PartialEq=true, Ord=true, PartialOrd=true, Hash=true)
parcelable TimeStampToken {
diff --git a/security/secureclock/aidl/android/hardware/security/secureclock/Timestamp.aidl b/security/secureclock/aidl/android/hardware/security/secureclock/Timestamp.aidl
index 27758e1d25..5061aa4a7c 100644
--- a/security/secureclock/aidl/android/hardware/security/secureclock/Timestamp.aidl
+++ b/security/secureclock/aidl/android/hardware/security/secureclock/Timestamp.aidl
@@ -21,6 +21,7 @@ package android.hardware.security.secureclock;
* and a secure environment's notion of "current time" must not repeat until the Android device
* reboots, or until at least 50 million years have elapsed (note that this requirement is satisfied
* by setting the clock to zero during each boot, and then counting time accurately).
+ * @hide
*/
@VintfStability
@RustDerive(Clone=true, Eq=true, PartialEq=true, Ord=true, PartialOrd=true, Hash=true)