Merge "Update the current API dump" into rvc-dev am: 87a7e48db3
am: c5cd535267
Change-Id: Id9717ef720e3a159f8647acbd70aa7e9fb252844
This commit is contained in:
commit
dea85a54c7
11 changed files with 293 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@Backing(type="byte") @VintfStability
|
||||
enum ConfidenceLevel {
|
||||
NONE = 0,
|
||||
LOW = 1,
|
||||
HIGH = 2,
|
||||
MAX = 3,
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
parcelable DriverMonitoringDetection {
|
||||
android.hardware.automotive.occupant_awareness.ConfidenceLevel confidenceScore;
|
||||
boolean isLookingOnRoad;
|
||||
long gazeDurationMillis;
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
parcelable GazeDetection {
|
||||
android.hardware.automotive.occupant_awareness.ConfidenceLevel gazeConfidence;
|
||||
double[] headPosition;
|
||||
double[] headAngleUnitVector;
|
||||
double[] gazeAngleUnitVector;
|
||||
android.hardware.automotive.occupant_awareness.VehicleRegion gazeTarget;
|
||||
String customGazeTarget;
|
||||
long timeOnTargetMillis;
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
interface IOccupantAwareness {
|
||||
android.hardware.automotive.occupant_awareness.OccupantAwarenessStatus startDetection();
|
||||
android.hardware.automotive.occupant_awareness.OccupantAwarenessStatus stopDetection();
|
||||
int getCapabilityForRole(in android.hardware.automotive.occupant_awareness.Role occupantRole);
|
||||
android.hardware.automotive.occupant_awareness.OccupantAwarenessStatus getState(in android.hardware.automotive.occupant_awareness.Role occupantRole, in int detectionCapability);
|
||||
void setCallback(in android.hardware.automotive.occupant_awareness.IOccupantAwarenessClientCallback callback);
|
||||
void getLatestDetection(out android.hardware.automotive.occupant_awareness.OccupantDetections detections);
|
||||
const int CAP_NONE = 0;
|
||||
const int CAP_PRESENCE_DETECTION = 1;
|
||||
const int CAP_GAZE_DETECTION = 2;
|
||||
const int CAP_DRIVER_MONITORING_DETECTION = 4;
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
interface IOccupantAwarenessClientCallback {
|
||||
oneway void onSystemStatusChanged(in int detectionFlags, in android.hardware.automotive.occupant_awareness.OccupantAwarenessStatus status);
|
||||
oneway void onDetectionEvent(in android.hardware.automotive.occupant_awareness.OccupantDetections detections);
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@Backing(type="byte") @VintfStability
|
||||
enum OccupantAwarenessStatus {
|
||||
READY = 0,
|
||||
NOT_SUPPORTED = 1,
|
||||
NOT_INITIALIZED = 2,
|
||||
FAILURE = 3,
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
parcelable OccupantDetection {
|
||||
android.hardware.automotive.occupant_awareness.Role role;
|
||||
android.hardware.automotive.occupant_awareness.PresenceDetection[] presenceData;
|
||||
android.hardware.automotive.occupant_awareness.GazeDetection[] gazeData;
|
||||
android.hardware.automotive.occupant_awareness.DriverMonitoringDetection[] attentionData;
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
parcelable OccupantDetections {
|
||||
long timeStampMillis;
|
||||
android.hardware.automotive.occupant_awareness.OccupantDetection[] detections;
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@VintfStability
|
||||
parcelable PresenceDetection {
|
||||
boolean isOccupantDetected;
|
||||
long detectionDurationMillis;
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Role {
|
||||
INVALID = 0,
|
||||
UNKNOWN = 1,
|
||||
FRONT_PASSENGER = 2,
|
||||
DRIVER = 4,
|
||||
ROW_2_PASSENGER_LEFT = 8,
|
||||
ROW_2_PASSENGER_CENTER = 16,
|
||||
ROW_2_PASSENGER_RIGHT = 32,
|
||||
ROW_3_PASSENGER_LEFT = 64,
|
||||
ROW_3_PASSENGER_CENTER = 128,
|
||||
ROW_3_PASSENGER_RIGHT = 256,
|
||||
FRONT_OCCUPANTS = 6,
|
||||
ROW_2_OCCUPANTS = 56,
|
||||
ROW_3_OCCUPANTS = 448,
|
||||
ALL_OCCUPANTS = 511,
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
|
||||
// edit this file. It looks like you are doing that because you have modified
|
||||
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
|
||||
// from an interface or a field from a parcelable and it broke the build. That
|
||||
// breakage is intended.
|
||||
//
|
||||
// You must not make a backward incompatible changes to the AIDL files built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.automotive.occupant_awareness;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum VehicleRegion {
|
||||
UNKNOWN = 0,
|
||||
INSTRUMENT_CLUSTER = 1,
|
||||
REAR_VIEW_MIRROR = 2,
|
||||
LEFT_SIDE_MIRROR = 3,
|
||||
RIGHT_SIDE_MIRROR = 4,
|
||||
FORWARD_ROADWAY = 5,
|
||||
LEFT_ROADWAY = 6,
|
||||
RIGHT_ROADWAY = 7,
|
||||
HEAD_UNIT_DISPLAY = 8,
|
||||
CUSTOM_TARGET = 200,
|
||||
}
|
Loading…
Reference in a new issue