/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | OccupantAwarenessServiceTest.java | 22 import android.car.occupantawareness.SystemStatusEvent; 91 return SystemStatusEvent.DETECTION_TYPE_PRESENCE in getCapabilityForRole() 92 | SystemStatusEvent.DETECTION_TYPE_GAZE in getCapabilityForRole() 93 | SystemStatusEvent.DETECTION_TYPE_DRIVER_MONITORING; in getCapabilityForRole() 96 return SystemStatusEvent.DETECTION_TYPE_PRESENCE; in getCapabilityForRole() 98 return SystemStatusEvent.DETECTION_TYPE_NONE; in getCapabilityForRole() 125 private SystemStatusEvent mSystemStatus; 164 .isEqualTo(SystemStatusEvent.DETECTION_TYPE_PRESENCE); in testRegisterEventListener_returnsSystemStatusReady() 165 assertThat(mSystemStatus.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_READY); in testRegisterEventListener_returnsSystemStatusReady() 178 assertThat(mSystemStatus.detectionType).isEqualTo(SystemStatusEvent.DETECTION_TYPE_GAZE); in testRegisterEventListener_returnsSystemStatusFailure() [all …]
|
D | OccupantAwarenessUtilsTest.java | 23 import android.car.occupantawareness.SystemStatusEvent; 43 SystemStatusEvent event = in testConvertToStatusEvent_returnsSystemStatusReady() 47 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_READY); in testConvertToStatusEvent_returnsSystemStatusReady() 52 SystemStatusEvent event = in testConvertToStatusEvent_returnsSystemStatusNotSupported() 56 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_NOT_SUPPORTED); in testConvertToStatusEvent_returnsSystemStatusNotSupported() 61 SystemStatusEvent event = in testConvertToStatusEvent_returnsSystemStatusNotReady() 65 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_NOT_READY); in testConvertToStatusEvent_returnsSystemStatusNotReady() 70 SystemStatusEvent event = in testConvertToStatusEvent_returnsSystemStatusSystemFailure() 74 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_SYSTEM_FAILURE); in testConvertToStatusEvent_returnsSystemStatusSystemFailure() 79 SystemStatusEvent event = in testConvertToStatusEvent_returnsSystemStatusNotReadyWithInvalidAwarenessStatus() [all …]
|
/packages/services/Car/car-lib/src/android/car/occupantawareness/ |
D | SystemStatusEvent.java | 39 public final class SystemStatusEvent implements Parcelable { class 102 public SystemStatusEvent(@SystemStatus int status, @DetectionTypeFlags int type) { in SystemStatusEvent() method in SystemStatusEvent 107 public SystemStatusEvent() { in SystemStatusEvent() method in SystemStatusEvent 134 public static final @NonNull Parcelable.Creator<SystemStatusEvent> CREATOR = 135 new Parcelable.Creator<SystemStatusEvent>() { 136 public SystemStatusEvent createFromParcel(Parcel in) { 137 return new SystemStatusEvent(in); 140 public SystemStatusEvent[] newArray(int size) { 141 return new SystemStatusEvent[size]; 145 private SystemStatusEvent(Parcel in) { in SystemStatusEvent() method in SystemStatusEvent
|
D | OccupantAwarenessManager.java | 25 import android.car.occupantawareness.SystemStatusEvent.DetectionTypeFlags; 116 public abstract void onSystemStateChanged(@NonNull SystemStatusEvent systemStatus); in onSystemStateChanged() 201 public void onStatusChanged(SystemStatusEvent systemStatus) { in onStatusChanged() 223 private void handleSystemStatusChanged(SystemStatusEvent systemStatus) { in handleSystemStatusChanged() 235 private void dispatchSystemStatusToClient(SystemStatusEvent systemStatus) { in dispatchSystemStatusToClient() 300 mgr.dispatchSystemStatusToClient((SystemStatusEvent) msg.obj); in handleMessage()
|
D | IOccupantAwarenessEventCallback.aidl | 20 import android.car.occupantawareness.SystemStatusEvent; 27 void onStatusChanged(in SystemStatusEvent event) = 0;
|
D | SystemStatusEvent.aidl | 19 parcelable SystemStatusEvent;
|
/packages/services/Car/service/src/com/android/car/ |
D | OccupantAwarenessUtils.java | 26 import android.car.occupantawareness.SystemStatusEvent; 27 import android.car.occupantawareness.SystemStatusEvent.DetectionTypeFlags; 28 import android.car.occupantawareness.SystemStatusEvent.SystemStatus; 38 static SystemStatusEvent convertToStatusEvent(int inputDetectionFlags, byte inputStatus) { in convertToStatusEvent() 40 @SystemStatus int outputStatus = SystemStatusEvent.SYSTEM_STATUS_NOT_READY; in convertToStatusEvent() 44 outputStatus = SystemStatusEvent.SYSTEM_STATUS_READY; in convertToStatusEvent() 48 outputStatus = SystemStatusEvent.SYSTEM_STATUS_NOT_SUPPORTED; in convertToStatusEvent() 52 outputStatus = SystemStatusEvent.SYSTEM_STATUS_NOT_READY; in convertToStatusEvent() 56 outputStatus = SystemStatusEvent.SYSTEM_STATUS_SYSTEM_FAILURE; in convertToStatusEvent() 65 @DetectionTypeFlags int outputFlags = SystemStatusEvent.DETECTION_TYPE_NONE; in convertToStatusEvent() [all …]
|
D | OccupantAwarenessService.java | 28 import android.car.occupantawareness.SystemStatusEvent; 29 import android.car.occupantawareness.SystemStatusEvent.DetectionTypeFlags; 272 return SystemStatusEvent.DETECTION_TYPE_NONE; in getCapabilityForRole() 277 return SystemStatusEvent.DETECTION_TYPE_NONE; in getCapabilityForRole() 338 void processStatusEvent(@NonNull SystemStatusEvent statusEvent) { in processStatusEvent()
|
/packages/services/Car/tests/OccupantAwareness/src/com/android/car/test/ |
D | OccupantAwarenessServiceIntegrationTest.java | 23 import android.car.occupantawareness.SystemStatusEvent; 52 private CompletableFuture<SystemStatusEvent> mFutureStatus; 74 .isEqualTo(SystemStatusEvent.DETECTION_TYPE_PRESENCE in testGetCapabilityForRole() 75 | SystemStatusEvent.DETECTION_TYPE_DRIVER_MONITORING); in testGetCapabilityForRole() 79 .isEqualTo(SystemStatusEvent.DETECTION_TYPE_PRESENCE); in testGetCapabilityForRole() 83 .isEqualTo(SystemStatusEvent.DETECTION_TYPE_NONE); in testGetCapabilityForRole() 87 .isEqualTo(SystemStatusEvent.DETECTION_TYPE_NONE); in testGetCapabilityForRole() 109 SystemStatusEvent status; in testSystemTransitionsToReady() 111 assertThat(status.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_READY); in testSystemTransitionsToReady() 128 public void onSystemStateChanged(SystemStatusEvent systemStatus) { in onSystemStateChanged()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | GazeDriverAwarenessSupplier.java | 26 import android.car.occupantawareness.SystemStatusEvent; 172 return (driver_capability & SystemStatusEvent.DETECTION_TYPE_DRIVER_MONITORING) > 0; in supportsGaze() 217 public void onSystemStateChanged(@NonNull SystemStatusEvent status) { in onSystemStateChanged()
|
/packages/services/Car/tests/carservice_unit_test/res/raw/ |
D | car_hidden_apis_release_33.3.txt | 533 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_READY 534 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_SUPPORTED 535 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_READY 536 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_SYSTEM_FAILURE 537 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_NONE 538 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_PRESENCE 539 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_GAZE 540 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_DRIVER_MONITORING 541 android.car.occupantawareness SystemStatusEvent int systemStatus 542 android.car.occupantawareness SystemStatusEvent int detectionType [all …]
|
D | car_hidden_apis_release_33.2.txt | 479 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_READY 480 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_SUPPORTED 481 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_READY 482 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_SYSTEM_FAILURE 483 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_NONE 484 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_PRESENCE 485 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_GAZE 486 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_DRIVER_MONITORING 487 android.car.occupantawareness SystemStatusEvent int systemStatus 488 android.car.occupantawareness SystemStatusEvent int detectionType [all …]
|
D | car_hidden_apis_release_33.1.txt | 479 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_READY 480 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_SUPPORTED 481 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_READY 482 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_SYSTEM_FAILURE 483 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_NONE 484 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_PRESENCE 485 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_GAZE 486 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_DRIVER_MONITORING 487 android.car.occupantawareness SystemStatusEvent int systemStatus 488 android.car.occupantawareness SystemStatusEvent int detectionType [all …]
|
D | car_hidden_apis.txt | 583 android.car.occupantawareness SystemStatusEvent Parcelable.Creator<SystemStatusEvent> CREATOR 584 android.car.occupantawareness SystemStatusEvent String toString() 585 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_DRIVER_MONITORING 586 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_GAZE 587 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_NONE 588 android.car.occupantawareness SystemStatusEvent int DETECTION_TYPE_PRESENCE 589 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_READY 590 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_NOT_SUPPORTED 591 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_READY 592 android.car.occupantawareness SystemStatusEvent int SYSTEM_STATUS_SYSTEM_FAILURE [all …]
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 54 class @hiddenOnly @hide SystemStatusEvent package android.car.occupantawareness 65 field TIRAMISU_0 Parcelable.Creator<SystemStatusEvent> CREATOR; 96 method TIRAMISU_0 void onSystemStateChanged(SystemStatusEvent systemStatus);
|