Home
last modified time | relevance | path

Searched refs:systemStatus (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/car-lib/src/android/car/occupantawareness/
DSystemStatusEvent.java99 public final @SystemStatus int systemStatus; field in SystemStatusEvent
103 systemStatus = status; in SystemStatusEvent()
108 systemStatus = SYSTEM_STATUS_NOT_READY; in SystemStatusEvent()
120 dest.writeInt(systemStatus); in writeToParcel()
128 + systemStatus in toString()
146 systemStatus = in.readInt(); in SystemStatusEvent()
DOccupantAwarenessManager.java116 public abstract void onSystemStateChanged(@NonNull SystemStatusEvent systemStatus); in onSystemStateChanged() argument
201 public void onStatusChanged(SystemStatusEvent systemStatus) { in onStatusChanged() argument
204 manager.handleSystemStatusChanged(systemStatus); in onStatusChanged()
223 private void handleSystemStatusChanged(SystemStatusEvent systemStatus) { in handleSystemStatusChanged() argument
226 mEventCallbackHandler.obtainMessage(MSG_HANDLE_SYSTEM_STATUS_CHANGE, systemStatus)); in handleSystemStatusChanged()
235 private void dispatchSystemStatusToClient(SystemStatusEvent systemStatus) { in dispatchSystemStatusToClient() argument
236 if (systemStatus == null) { in dispatchSystemStatusToClient()
242 mChangeCallback.onSystemStateChanged(systemStatus); in dispatchSystemStatusToClient()
/packages/services/Car/tests/OccupantAwareness/src/com/android/car/test/
DOccupantAwarenessServiceIntegrationTest.java111 assertThat(status.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_READY); in testSystemTransitionsToReady()
128 public void onSystemStateChanged(SystemStatusEvent systemStatus) { in onSystemStateChanged() argument
129 mFutureStatus.complete(systemStatus); in onSystemStateChanged()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DOccupantAwarenessUtilsTest.java47 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_READY); in testConvertToStatusEvent_returnsSystemStatusReady()
56 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_NOT_SUPPORTED); in testConvertToStatusEvent_returnsSystemStatusNotSupported()
65 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_NOT_READY); in testConvertToStatusEvent_returnsSystemStatusNotReady()
74 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_SYSTEM_FAILURE); in testConvertToStatusEvent_returnsSystemStatusSystemFailure()
83 assertThat(event.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_NOT_READY); in testConvertToStatusEvent_returnsSystemStatusNotReadyWithInvalidAwarenessStatus()
DOccupantAwarenessServiceTest.java165 assertThat(mSystemStatus.systemStatus).isEqualTo(SystemStatusEvent.SYSTEM_STATUS_READY); in testRegisterEventListener_returnsSystemStatusReady()
179 assertThat(mSystemStatus.systemStatus) in testRegisterEventListener_returnsSystemStatusFailure()
196 assertThat(mSystemStatus.systemStatus) in testRegisterEventListener_returnsSystemStatusNotReady()
211 assertThat(mSystemStatus.systemStatus) in testRegisterEventListener_returnsSystemStatusNotSupported()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt487 android.car.occupantawareness SystemStatusEvent int systemStatus
Dcar_hidden_apis_release_33.1.txt487 android.car.occupantawareness SystemStatusEvent int systemStatus
Dcar_hidden_apis.txt595 android.car.occupantawareness SystemStatusEvent int systemStatus
Dcar_hidden_apis_release_33.3.txt541 android.car.occupantawareness SystemStatusEvent int systemStatus
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt63 field TIRAMISU_0 int systemStatus;
96 method TIRAMISU_0 void onSystemStateChanged(SystemStatusEvent systemStatus);