Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DEvsHalServiceTest.java166 int[] states = {CarEvsManager.SERVICE_STATE_ACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
167 CarEvsManager.SERVICE_STATE_INACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
168 CarEvsManager.SERVICE_STATE_INACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
169 CarEvsManager.SERVICE_STATE_INACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE}; in testUpdateCameraServiceCurrentState()
177 CarEvsManager.SERVICE_STATE_ACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
178 CarEvsManager.SERVICE_STATE_INACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
179 CarEvsManager.SERVICE_STATE_INACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
180 CarEvsManager.SERVICE_STATE_INACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE); in testUpdateCameraServiceCurrentState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java22 import static android.car.evs.CarEvsManager.SERVICE_STATE_INACTIVE;
283 assertThat(status.getState()).isEqualTo(SERVICE_STATE_INACTIVE); in testGetCurrentStatus()
361 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_INACTIVE)).isTrue(); in testOnEvent()
365 .isEqualTo(SERVICE_STATE_INACTIVE); in testOnEvent()
384 mCarEvsService.setServiceState(SERVICE_TYPE_REARVIEW, SERVICE_STATE_INACTIVE); in testInvalidStreamCallback()
409 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_INACTIVE)).isFalse(); in testTransitionFromUnavailableToInactive()
426 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_INACTIVE)).isFalse(); in testTransitionFromUnavailableToInactive()
434 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_INACTIVE)).isFalse(); in testTransitionFromUnavailableToInactive()
440 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_INACTIVE)).isFalse(); in testTransitionFromUnavailableToInactive()
449 mCarEvsService.setServiceState(type, SERVICE_STATE_INACTIVE); in testTransitionFromInactiveToInactive()
[all …]
/packages/services/Car/service/src/com/android/car/evs/
DStateMachine.java23 import static android.car.evs.CarEvsManager.SERVICE_STATE_INACTIVE;
478 if (execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE) != ERROR_NONE) { in cancelActivityRequest()
530 if (execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE, callback) != ERROR_NONE) { in requestStopVideoStream()
592 execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE, callback); in handleClientDisconnected()
631 case SERVICE_STATE_INACTIVE: in execute()
763 result = execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE); in startActivity()
786 if (execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE, callback) != ERROR_NONE) { in stopActivity()
797 if (execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE) != ERROR_NONE) { in connectToHalServiceIfNecessary()
902 case SERVICE_STATE_INACTIVE: in handleTransitionToInactiveLocked()
946 mState = SERVICE_STATE_INACTIVE; in handleTransitionToInactiveLocked()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/android/car/evs/
DCarEvsManagerUnitTest.java145 CarEvsManager.SERVICE_STATE_INACTIVE)); in testStatusChangedEvent()
253 CarEvsManager.SERVICE_STATE_INACTIVE)); in testGetCurrentStatus()
259 assertThat(currentStatus.getState()).isEqualTo(CarEvsManager.SERVICE_STATE_INACTIVE); in testGetCurrentStatus()
266 .thenReturn(new CarEvsStatus(type, CarEvsManager.SERVICE_STATE_INACTIVE)); in testGetCurrentStatusWithType()
272 assertThat(currentStatus.getState()).isEqualTo(CarEvsManager.SERVICE_STATE_INACTIVE); in testGetCurrentStatusWithType()
407 CarEvsManager.SERVICE_STATE_INACTIVE); in testCarEvsStatus()
409 assertThat(original.getState()).isEqualTo(CarEvsManager.SERVICE_STATE_INACTIVE); in testCarEvsStatus()
/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsManager.java181 public static final int SERVICE_STATE_INACTIVE = 1; field in CarEvsManager
196 SERVICE_STATE_INACTIVE,
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt183 field TIRAMISU_0 int SERVICE_STATE_INACTIVE = 1;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt1004 field public static final int SERVICE_STATE_INACTIVE = 1; // 0x1
/packages/services/Car/car-lib/api/
Dsystem-current.txt1004 field public static final int SERVICE_STATE_INACTIVE = 1; // 0x1
Dtest-current.txt1077 field public static final int SERVICE_STATE_INACTIVE = 1; // 0x1
Dsystem-lint-baseline.txt2372 UnflaggedApi: android.car.evs.CarEvsManager#SERVICE_STATE_INACTIVE:
2373 …ew API must be flagged with @FlaggedApi: field android.car.evs.CarEvsManager.SERVICE_STATE_INACTIVE