mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
aidl: Suppress warnings on out-array
out-param arrays are considered harmful since the Java backend requires them to be correctly allocated at caller site. But the only user of android.hardware.identity is in C++, we can just ignore them. Fixes: 179853403 Test: mma in hardware/interfaces/identity Change-Id: Ib9b7ad895b3827c0888869a5b154696e3aff5624
This commit is contained in:
@@ -43,8 +43,8 @@ interface IIdentityCredential {
|
||||
void startRetrieval(in android.hardware.identity.SecureAccessControlProfile[] accessControlProfiles, in android.hardware.keymaster.HardwareAuthToken authToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] readerSignature, in int[] requestCounts);
|
||||
void startRetrieveEntryValue(in @utf8InCpp String nameSpace, in @utf8InCpp String name, in int entrySize, in int[] accessControlProfileIds);
|
||||
byte[] retrieveEntryValue(in byte[] encryptedContent);
|
||||
void finishRetrieval(out byte[] mac, out byte[] deviceNameSpaces);
|
||||
android.hardware.identity.Certificate generateSigningKeyPair(out byte[] signingKeyBlob);
|
||||
@SuppressWarnings(value={"out-array"}) void finishRetrieval(out byte[] mac, out byte[] deviceNameSpaces);
|
||||
@SuppressWarnings(value={"out-array"}) android.hardware.identity.Certificate generateSigningKeyPair(out byte[] signingKeyBlob);
|
||||
void setRequestedNamespaces(in android.hardware.identity.RequestNamespace[] requestNamespaces);
|
||||
void setVerificationToken(in android.hardware.keymaster.VerificationToken verificationToken);
|
||||
byte[] deleteCredentialWithChallenge(in byte[] challenge);
|
||||
|
||||
@@ -38,6 +38,6 @@ interface IWritableIdentityCredential {
|
||||
android.hardware.identity.SecureAccessControlProfile addAccessControlProfile(in int id, in android.hardware.identity.Certificate readerCertificate, in boolean userAuthenticationRequired, in long timeoutMillis, in long secureUserId);
|
||||
void beginAddEntry(in int[] accessControlProfileIds, in @utf8InCpp String nameSpace, in @utf8InCpp String name, in int entrySize);
|
||||
byte[] addEntryValue(in byte[] content);
|
||||
void finishAddingEntries(out byte[] credentialData, out byte[] proofOfProvisioningSignature);
|
||||
@SuppressWarnings(value={"out-array"}) void finishAddingEntries(out byte[] credentialData, out byte[] proofOfProvisioningSignature);
|
||||
void setExpectedProofOfProvisioningSize(in int expectedProofOfProvisioningSize);
|
||||
}
|
||||
|
||||
@@ -324,6 +324,7 @@ interface IIdentityCredential {
|
||||
*
|
||||
* @param out deviceNameSpaces the bytes of DeviceNameSpaces.
|
||||
*/
|
||||
@SuppressWarnings(value={"out-array"})
|
||||
void finishRetrieval(out byte[] mac, out byte[] deviceNameSpaces);
|
||||
|
||||
/**
|
||||
@@ -376,6 +377,7 @@ interface IIdentityCredential {
|
||||
*
|
||||
* @return an X.509 certificate for the new signing key, signed by the credential key.
|
||||
*/
|
||||
@SuppressWarnings(value={"out-array"})
|
||||
Certificate generateSigningKeyPair(out byte[] signingKeyBlob);
|
||||
|
||||
/**
|
||||
|
||||
@@ -320,6 +320,7 @@ interface IWritableIdentityCredential {
|
||||
* "accessControlProfiles" : [ * uint ],
|
||||
* }
|
||||
*/
|
||||
@SuppressWarnings(value={"out-array"})
|
||||
void finishAddingEntries(out byte[] credentialData,
|
||||
out byte[] proofOfProvisioningSignature);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user