Home
last modified time | relevance | path

Searched refs:GazeDetection (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
H A DGazeAttentionProcessorTest.java23 import android.car.occupantawareness.GazeDetection;
59 final GazeDetection onRoadDetection = in testUpdateAttention_neverExceedsOne()
60 buildGazeDetection(GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testUpdateAttention_neverExceedsOne()
78 final GazeDetection offRoadDetection = in testUpdateAttention_neverBelowZero()
79 buildGazeDetection(GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testUpdateAttention_neverBelowZero()
96 final GazeDetection onRoadDetection = in testUpdateAttention_offRoadAndOnRoad()
97 buildGazeDetection(GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testUpdateAttention_offRoadAndOnRoad()
99 final GazeDetection offRoadDetection = in testUpdateAttention_offRoadAndOnRoad()
100 buildGazeDetection(GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testUpdateAttention_offRoadAndOnRoad()
121 private GazeDetection buildGazeDetection(@GazeDetection.VehicleRegion int gazeTarget) { in buildGazeDetection()
[all …]
H A DGazeDriverAwarenessSupplierTest.java26 import android.car.occupantawareness.GazeDetection;
122 buildGazeDetection(timestamp, GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testprocessDetectionEvent_neverExceedsOne()
148 buildGazeDetection(timestamp, GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testprocessDetectionEvent_neverFallsBelowZero()
162 long timestamp, @GazeDetection.VehicleRegion int gazeTarget) { in buildGazeDetection()
163 GazeDetection gaze = in buildGazeDetection()
164 new GazeDetection( in buildGazeDetection()
/aosp12/packages/services/Car/car-lib/src/android/car/occupantawareness/
H A DGazeDetection.java34 public final class GazeDetection implements Parcelable { class
127 public GazeDetection( in GazeDetection() method in GazeDetection
176 public static final @NonNull Parcelable.Creator<GazeDetection> CREATOR =
177 new Parcelable.Creator<GazeDetection>() {
178 public GazeDetection createFromParcel(Parcel in) {
179 return new GazeDetection(in);
182 public GazeDetection[] newArray(int size) {
183 return new GazeDetection[size];
187 private GazeDetection(Parcel in) { in GazeDetection() method in GazeDetection
H A DOccupantAwarenessDetection.java159 public final @Nullable GazeDetection gazeDetection;
171 @Nullable GazeDetection gazeDetection, in OccupantAwarenessDetection()
223 gazeDetection = in.readParcelable(GazeDetection.class.getClassLoader()); in OccupantAwarenessDetection()
H A DGazeDetection.aidl19 parcelable GazeDetection;
/aosp12/packages/services/Car/experimental/service/src/com/android/experimentalcar/
H A DGazeAttentionProcessor.java21 import android.car.occupantawareness.GazeDetection;
57 public float updateAttention(@NonNull GazeDetection detection, long timestamp) { in updateAttention()
91 private boolean isOnRoadGaze(@GazeDetection.VehicleRegion int gazeTarget) { in isOnRoadGaze()
93 case GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY: in isOnRoadGaze()
94 case GazeDetection.VEHICLE_REGION_LEFT_ROADWAY: in isOnRoadGaze()
95 case GazeDetection.VEHICLE_REGION_RIGHT_ROADWAY: in isOnRoadGaze()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DOccupantAwarenessUtils.java21 import android.car.occupantawareness.GazeDetection;
183 static GazeDetection convertToGazeDetection( in convertToGazeDetection()
184 android.hardware.automotive.occupant_awareness.GazeDetection inputDetection) { in convertToGazeDetection()
186 return new GazeDetection( in convertToGazeDetection()
223 GazeDetection gazeDetection = null; in convertToDetectionEvent()
/aosp12/hardware/interfaces/automotive/occupant_awareness/aidl/android/hardware/automotive/occupant_awareness/
H A DOccupantDetection.aidl21 import android.hardware.automotive.occupant_awareness.GazeDetection;
43 GazeDetection[] gazeData;
H A DGazeDetection.aidl23 parcelable GazeDetection {
/aosp12/hardware/interfaces/automotive/occupant_awareness/aidl/aidl_api/android.hardware.automotive.occupant_awareness/1/android/hardware/automotive/occupant_awareness/
H A DGazeDetection.aidl20 parcelable GazeDetection {
H A DOccupantDetection.aidl23 android.hardware.automotive.occupant_awareness.GazeDetection[] gazeData;
/aosp12/hardware/interfaces/automotive/occupant_awareness/aidl/aidl_api/android.hardware.automotive.occupant_awareness/current/android/hardware/automotive/occupant_awareness/
H A DGazeDetection.aidl20 parcelable GazeDetection {
H A DOccupantDetection.aidl23 android.hardware.automotive.occupant_awareness.GazeDetection[] gazeData;