/packages/services/Car/service/src/com/android/car/ |
D | OccupantAwarenessUtils.java | 23 import android.car.occupantawareness.OccupantAwarenessDetection; 24 import android.car.occupantawareness.OccupantAwarenessDetection.ConfidenceLevel; 97 return OccupantAwarenessDetection.CONFIDENCE_LEVEL_MAX; in convertToConfidenceScore() 100 return OccupantAwarenessDetection.CONFIDENCE_LEVEL_HIGH; in convertToConfidenceScore() 103 return OccupantAwarenessDetection.CONFIDENCE_LEVEL_LOW; in convertToConfidenceScore() 107 return OccupantAwarenessDetection.CONFIDENCE_LEVEL_NONE; in convertToConfidenceScore() 131 static @OccupantAwarenessDetection.VehicleOccupantRole int convertToRole(int inputRole) { in convertToRole() 134 return OccupantAwarenessDetection.VEHICLE_OCCUPANT_NONE; in convertToRole() 136 return OccupantAwarenessDetection.VEHICLE_OCCUPANT_ALL_OCCUPANTS; in convertToRole() 139 int outputRole = OccupantAwarenessDetection.VEHICLE_OCCUPANT_NONE; in convertToRole() [all …]
|
D | OccupantAwarenessService.java | 26 import android.car.occupantawareness.OccupantAwarenessDetection; 27 import android.car.occupantawareness.OccupantAwarenessDetection.VehicleOccupantRole; 354 void processDetectionEvent(@NonNull OccupantAwarenessDetection detection) { in processDetectionEvent()
|
/packages/services/Car/tests/OccupantAwareness/src/com/android/car/test/ |
D | OccupantAwarenessServiceIntegrationTest.java | 21 import android.car.occupantawareness.OccupantAwarenessDetection; 53 private CompletableFuture<OccupantAwarenessDetection> mFutureDriverDetection; 54 private CompletableFuture<OccupantAwarenessDetection> mFuturePassengerDetection; 73 OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER)) in testGetCapabilityForRole() 78 OccupantAwarenessDetection.VEHICLE_OCCUPANT_FRONT_PASSENGER)) in testGetCapabilityForRole() 82 OccupantAwarenessDetection.VEHICLE_OCCUPANT_ROW_2_PASSENGER_RIGHT)) in testGetCapabilityForRole() 86 OccupantAwarenessDetection.VEHICLE_OCCUPANT_NONE)) in testGetCapabilityForRole() 95 OccupantAwarenessDetection driverDetection = in testDetectionEvents() 97 OccupantAwarenessDetection passengerDetection = in testDetectionEvents() 116 public void onDetectionEvent(OccupantAwarenessDetection event) { in onDetectionEvent() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | OccupantAwarenessUtilsTest.java | 22 import android.car.occupantawareness.OccupantAwarenessDetection; 135 .isEqualTo(OccupantAwarenessDetection.CONFIDENCE_LEVEL_MAX); in testConvertToConfidenceScore_returnsConfidenceLevelMax() 142 .isEqualTo(OccupantAwarenessDetection.CONFIDENCE_LEVEL_HIGH); in testConvertToConfidenceScore_returnsConfidenceLevelHigh() 149 .isEqualTo(OccupantAwarenessDetection.CONFIDENCE_LEVEL_LOW); in testConvertToConfidenceScore_returnsConfidenceLevelLow() 156 .isEqualTo(OccupantAwarenessDetection.CONFIDENCE_LEVEL_NONE); in testConvertToConfidenceScore_returnsDefaultConfidenceLevel() 195 .isEqualTo(OccupantAwarenessDetection.VEHICLE_OCCUPANT_NONE); in testConvertToRole_returnsNoneWithRoleInvalid() 202 .isEqualTo(OccupantAwarenessDetection.VEHICLE_OCCUPANT_NONE); in testConvertToRole_returnsNoneWithRoleUnknown() 209 .isEqualTo(OccupantAwarenessDetection.VEHICLE_OCCUPANT_ALL_OCCUPANTS); in testConvertToRole_returnsAllOccupants() 216 .isEqualTo(OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER); in testConvertToRole_returnsDriver() 223 .isEqualTo(OccupantAwarenessDetection.VEHICLE_OCCUPANT_FRONT_PASSENGER); in testConvertToRole_returnsFrontPassenger() [all …]
|
D | OccupantAwarenessServiceTest.java | 21 import android.car.occupantawareness.OccupantAwarenessDetection; 90 if (occupantRole == OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER) { in getCapabilityForRole() 95 == OccupantAwarenessDetection.VEHICLE_OCCUPANT_FRONT_PASSENGER) { in getCapabilityForRole() 245 OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER)) in testGetCapabilityForRole_returnsAggregatedDriverStatus() 254 OccupantAwarenessDetection.VEHICLE_OCCUPANT_FRONT_PASSENGER)) in testGetCapabilityForRole_returnsPresence() 261 OccupantAwarenessDetection.VEHICLE_OCCUPANT_ROW_2_PASSENGER_LEFT)) in testGetCapabilityForRole_returnsNone_withRow2PassengerLeft() 268 OccupantAwarenessDetection.VEHICLE_OCCUPANT_ROW_2_PASSENGER_CENTER)) in testGetCapabilityForRole_returnsNone_withRow2PassengerCenter() 275 OccupantAwarenessDetection.VEHICLE_OCCUPANT_ROW_2_PASSENGER_RIGHT)) in testGetCapabilityForRole_returnsNone_withRow2PassengerRight() 282 OccupantAwarenessDetection.VEHICLE_OCCUPANT_NONE)) in testGetCapabilityForRole_returnsNone_withOccupantNone() 365 public void onDetectionEvent(OccupantAwarenessDetection detection) { in registerCallbackToService()
|
D | OccupantAwarenessUtilsVehicleRegionTest.java | 21 import android.car.occupantawareness.OccupantAwarenessDetection;
|
/packages/services/Car/car-lib/src/android/car/occupantawareness/ |
D | OccupantAwarenessDetection.java | 44 public final class OccupantAwarenessDetection implements Parcelable { class 171 public OccupantAwarenessDetection( in OccupantAwarenessDetection() method in OccupantAwarenessDetection 213 public static final @NonNull Parcelable.Creator<OccupantAwarenessDetection> CREATOR = 214 new Parcelable.Creator<OccupantAwarenessDetection>() { 215 public OccupantAwarenessDetection createFromParcel(Parcel in) { 216 return new OccupantAwarenessDetection(in); 219 public OccupantAwarenessDetection[] newArray(int size) { 220 return new OccupantAwarenessDetection[size]; 224 private OccupantAwarenessDetection(Parcel in) { in OccupantAwarenessDetection() method in OccupantAwarenessDetection
|
D | OccupantAwarenessManager.java | 24 import android.car.occupantawareness.OccupantAwarenessDetection.VehicleOccupantRole; 123 public abstract void onDetectionEvent(@NonNull OccupantAwarenessDetection event); in onDetectionEvent() 209 public void onDetectionEvent(OccupantAwarenessDetection event) { in onDetectionEvent() 254 private void handleDetectionEvent(OccupantAwarenessDetection detectionEvent) { in handleDetectionEvent() 267 private void dispatchDetectionEventToClient(OccupantAwarenessDetection detectionEvent) { in dispatchDetectionEventToClient() 304 mgr.dispatchDetectionEventToClient((OccupantAwarenessDetection) msg.obj); in handleMessage()
|
D | IOccupantAwarenessEventCallback.aidl | 19 import android.car.occupantawareness.OccupantAwarenessDetection; 28 void onDetectionEvent(in OccupantAwarenessDetection detectionEvent) = 1;
|
D | DriverMonitoringDetection.java | 22 import android.car.occupantawareness.OccupantAwarenessDetection.ConfidenceLevel; 51 confidenceLevel = OccupantAwarenessDetection.CONFIDENCE_LEVEL_NONE; in DriverMonitoringDetection()
|
D | GazeDetection.java | 87 @OccupantAwarenessDetection.ConfidenceLevel public final int confidenceLevel; 132 @OccupantAwarenessDetection.ConfidenceLevel int confidenceLevel, in GazeDetection()
|
D | OccupantAwarenessDetection.aidl | 19 parcelable OccupantAwarenessDetection;
|
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/ |
D | GazeDriverAwarenessSupplierTest.java | 27 import android.car.occupantawareness.OccupantAwarenessDetection; 121 OccupantAwarenessDetection detection = in testprocessDetectionEvent_neverExceedsOne() 147 OccupantAwarenessDetection detection = in testprocessDetectionEvent_neverFallsBelowZero() 161 private OccupantAwarenessDetection buildGazeDetection( in buildGazeDetection() 165 OccupantAwarenessDetection.CONFIDENCE_LEVEL_HIGH, in buildGazeDetection() 173 return new OccupantAwarenessDetection( in buildGazeDetection() 174 OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER, timestamp, true, gaze, null); in buildGazeDetection() 178 private OccupantAwarenessDetection buildEmptyDetection(long timestamp) { in buildEmptyDetection() 179 return new OccupantAwarenessDetection( in buildEmptyDetection() 180 OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER, timestamp, true, null, null); in buildEmptyDetection()
|
D | GazeAttentionProcessorTest.java | 24 import android.car.occupantawareness.OccupantAwarenessDetection; 123 OccupantAwarenessDetection.CONFIDENCE_LEVEL_HIGH, in buildGazeDetection()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | GazeDriverAwarenessSupplier.java | 24 import android.car.occupantawareness.OccupantAwarenessDetection; 168 OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER); in supportsGaze() 188 void processDetectionEvent(@NonNull OccupantAwarenessDetection event) { in processDetectionEvent() 189 if (event.role == OccupantAwarenessDetection.VEHICLE_OCCUPANT_DRIVER in processDetectionEvent() 223 public void onDetectionEvent(@NonNull OccupantAwarenessDetection event) { in onDetectionEvent()
|
/packages/services/Car/tests/carservice_unit_test/res/raw/ |
D | car_hidden_apis_release_33.2.txt | 442 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_NONE 443 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_DRIVER 444 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_FRONT_PASSENGER 445 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_LEFT 446 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_CENTER 447 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_RIGHT 448 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_LEFT 449 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_CENTER 450 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_RIGHT 451 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ALL_FRONT_OCCUPANTS [all …]
|
D | car_hidden_apis_release_33.1.txt | 442 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_NONE 443 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_DRIVER 444 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_FRONT_PASSENGER 445 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_LEFT 446 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_CENTER 447 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_RIGHT 448 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_LEFT 449 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_CENTER 450 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_RIGHT 451 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ALL_FRONT_OCCUPANTS [all …]
|
D | car_hidden_apis_release_33.3.txt | 493 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_NONE 494 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_DRIVER 495 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_FRONT_PASSENGER 496 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_LEFT 497 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_CENTER 498 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_2_PASSENGER_RIGHT 499 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_LEFT 500 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_CENTER 501 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ROW_3_PASSENGER_RIGHT 502 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ALL_FRONT_OCCUPANTS [all …]
|
D | car_hidden_apis.txt | 546 android.car.occupantawareness OccupantAwarenessDetection DriverMonitoringDetection driverMonitoring… 547 android.car.occupantawareness OccupantAwarenessDetection GazeDetection gazeDetection 548 android.car.occupantawareness OccupantAwarenessDetection Parcelable.Creator<OccupantAwarenessDetect… 549 android.car.occupantawareness OccupantAwarenessDetection String toString() 550 android.car.occupantawareness OccupantAwarenessDetection boolean isPresent 551 android.car.occupantawareness OccupantAwarenessDetection int CONFIDENCE_LEVEL_HIGH 552 android.car.occupantawareness OccupantAwarenessDetection int CONFIDENCE_LEVEL_LOW 553 android.car.occupantawareness OccupantAwarenessDetection int CONFIDENCE_LEVEL_MAX 554 android.car.occupantawareness OccupantAwarenessDetection int CONFIDENCE_LEVEL_NONE 555 android.car.occupantawareness OccupantAwarenessDetection int VEHICLE_OCCUPANT_ALL_FRONT_OCCUPANTS [all …]
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 19 class @hiddenOnly @hide OccupantAwarenessDetection package android.car.occupantawareness 42 field TIRAMISU_0 Parcelable.Creator<OccupantAwarenessDetection> CREATOR; 97 method TIRAMISU_0 void onDetectionEvent(OccupantAwarenessDetection event);
|