Merge "Add @hide to AIDL interfaces" into main

This commit is contained in:
Diya Bera
2023-12-06 23:13:52 +00:00
committed by Android (Google) Code Review
32 changed files with 50 additions and 2 deletions

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@Backing(type="byte") @VintfStability
enum AcquiredInfo {
UNKNOWN,

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable AuthenticationFrame {
android.hardware.biometrics.face.BaseFrame data;

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable BaseFrame {
android.hardware.biometrics.face.AcquiredInfo acquiredInfo = android.hardware.biometrics.face.AcquiredInfo.UNKNOWN;

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable Cell {
int x;

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable EnrollmentFrame {
@nullable android.hardware.biometrics.face.Cell cell;

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@Backing(type="byte") @VintfStability
enum EnrollmentStage {
UNKNOWN,

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable EnrollmentStageConfig {
android.hardware.biometrics.face.EnrollmentStage stage = android.hardware.biometrics.face.EnrollmentStage.UNKNOWN;

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@Backing(type="byte") @VintfStability
enum EnrollmentType {
DEFAULT,

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@Backing(type="byte") @VintfStability
enum Error {
UNKNOWN,

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable FaceEnrollOptions {
android.hardware.keymaster.HardwareAuthToken hardwareAuthToken;

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@Backing(type="byte") @VintfStability
enum FaceSensorType {
UNKNOWN,

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@Backing(type="byte") @VintfStability
enum Feature {
REQUIRE_ATTENTION,

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
interface IFace {
android.hardware.biometrics.face.SensorProps[] getSensorProps();

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
interface ISession {
void generateChallenge();

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
interface ISessionCallback {
void onChallengeGenerated(in long challenge);

View File

@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.biometrics.face;
/* @hide */
@VintfStability
parcelable SensorProps {
android.hardware.biometrics.common.CommonProps commonProps;

View File

@@ -15,7 +15,9 @@
*/
package android.hardware.biometrics.face;
/**
* @hide
*/
@VintfStability
@Backing(type="byte")
enum AcquiredInfo {

View File

@@ -20,6 +20,7 @@ import android.hardware.biometrics.face.BaseFrame;
/**
* Describes an individual frame captured during authentication.
* @hide
*/
@VintfStability
parcelable AuthenticationFrame {

View File

@@ -22,6 +22,7 @@ import android.hardware.biometrics.face.AcquiredInfo;
* Metadata of an individual frame. Can be used by the framework to provide user feedback.
* This parcelable is part of AuthenticationFrame and EnrollmentFrame, and shouldn't be used
* independently of those parcelables.
* @hide
*/
@VintfStability
parcelable BaseFrame {

View File

@@ -18,6 +18,7 @@ package android.hardware.biometrics.face;
/**
* Coordinates of an enrollment UI cell in a vendor-defined coordinate system.
* @hide
*/
@VintfStability
parcelable Cell {

View File

@@ -22,6 +22,7 @@ import android.hardware.biometrics.face.EnrollmentStage;
/**
* Describes an individual frame captured during enrollment.
* @hide
*/
@VintfStability
parcelable EnrollmentFrame {

View File

@@ -18,6 +18,7 @@ package android.hardware.biometrics.face;
/**
* Enrollment stages that can be mapped to the enrollment UI actions in the framework.
* @hide
*/
@VintfStability
@Backing(type="byte")

View File

@@ -19,6 +19,9 @@ package android.hardware.biometrics.face;
import android.hardware.biometrics.face.Cell;
import android.hardware.biometrics.face.EnrollmentStage;
/**
* @hide
*/
@VintfStability
parcelable EnrollmentStageConfig {
/**

View File

@@ -16,6 +16,9 @@
package android.hardware.biometrics.face;
/**
* @hide
*/
@VintfStability
@Backing(type="byte")
enum EnrollmentType {

View File

@@ -15,7 +15,9 @@
*/
package android.hardware.biometrics.face;
/**
* @hide
*/
@VintfStability
@Backing(type="byte")
enum Error {

View File

@@ -26,6 +26,7 @@ import android.view.Surface;
/**
* Enroll options used to pass information to the HAL when requesting an enroll operation.
* @hide
*/
@VintfStability
parcelable FaceEnrollOptions {

View File

@@ -16,6 +16,9 @@
package android.hardware.biometrics.face;
/**
* @hide
*/
@VintfStability
@Backing(type="byte")
enum FaceSensorType {

View File

@@ -16,6 +16,9 @@
package android.hardware.biometrics.face;
/**
* @hide
*/
@VintfStability
@Backing(type="byte")
enum Feature {

View File

@@ -20,6 +20,9 @@ import android.hardware.biometrics.face.ISession;
import android.hardware.biometrics.face.ISessionCallback;
import android.hardware.biometrics.face.SensorProps;
/**
* @hide
*/
@VintfStability
interface IFace {
/**

View File

@@ -42,6 +42,7 @@ import android.hardware.keymaster.HardwareAuthToken;
* ISession only supports execution of one operation at a time, regardless of whether it's
* cancellable or not. The framework must wait for a corresponding callback indicating the end of
* the current operation before a new operation can be started.
* @hide
*/
@VintfStability

View File

@@ -23,6 +23,9 @@ import android.hardware.biometrics.face.Error;
import android.hardware.biometrics.face.Feature;
import android.hardware.keymaster.HardwareAuthToken;
/**
* @hide
*/
@VintfStability
interface ISessionCallback {
/**

View File

@@ -19,6 +19,9 @@ package android.hardware.biometrics.face;
import android.hardware.biometrics.common.CommonProps;
import android.hardware.biometrics.face.FaceSensorType;
/**
* @hide
*/
@VintfStability
parcelable SensorProps {
/**