Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java21 import static android.car.evs.CarEvsManager.SERVICE_STATE_ACTIVE;
351 assertThat(spiedStatusListener.waitFor(SERVICE_TYPE_REARVIEW, SERVICE_STATE_ACTIVE)) in testOnEvent()
418 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_ACTIVE)).isFalse(); in testTransitionFromUnavailableToInactive()
459 mCarEvsService.setServiceState(type, SERVICE_STATE_ACTIVE); in testTransitionFromActiveToInactive()
462 .isEqualTo(SERVICE_STATE_ACTIVE); in testTransitionFromActiveToInactive()
488 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_ACTIVE)).isTrue(); in testTransitionFromUnavailableToActive()
490 .isEqualTo(SERVICE_STATE_ACTIVE); in testTransitionFromUnavailableToActive()
504 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_ACTIVE)).isTrue(); in testTransitionFromInactiveToActive()
506 received -> received.getState() == SERVICE_STATE_ACTIVE)); in testTransitionFromInactiveToActive()
512 assertThat(spiedStatusListener.waitFor(SERVICE_STATE_ACTIVE)).isFalse(); in testTransitionFromInactiveToActive()
[all …]
/packages/services/Car/service/src/com/android/car/evs/
DStateMachine.java22 import static android.car.evs.CarEvsManager.SERVICE_STATE_ACTIVE;
516 return execute(priority, SERVICE_STATE_ACTIVE, token, callback); in requestStartVideoStream()
639 case SERVICE_STATE_ACTIVE: in execute()
916 case SERVICE_STATE_ACTIVE: in handleTransitionToInactiveLocked()
991 case SERVICE_STATE_ACTIVE: in handleTransitionToRequestedLocked()
1074 case SERVICE_STATE_ACTIVE: in handleTransitionToActiveLocked()
1094 mState = SERVICE_STATE_ACTIVE; in handleTransitionToActiveLocked()
1156 return (mState == SERVICE_STATE_ACTIVE || mState == SERVICE_STATE_REQUESTED) && in checkCurrentStateRequiresSystemActivityLocked()
1169 case SERVICE_STATE_ACTIVE: in stateToString()
/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()
177 CarEvsManager.SERVICE_STATE_ACTIVE, CarEvsManager.SERVICE_STATE_INACTIVE, in testUpdateCameraServiceCurrentState()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarEvsManagerTest.java136 assertThat(status.getState()).isEqualTo(CarEvsManager.SERVICE_STATE_ACTIVE); in testStartAndStopVideoStream()
/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsManager.java191 public static final int SERVICE_STATE_ACTIVE = 3; field in CarEvsManager
198 SERVICE_STATE_ACTIVE
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt185 field TIRAMISU_0 int SERVICE_STATE_ACTIVE = 3;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt1003 field public static final int SERVICE_STATE_ACTIVE = 3; // 0x3
/packages/services/Car/car-lib/api/
Dsystem-current.txt1003 field public static final int SERVICE_STATE_ACTIVE = 3; // 0x3
Dtest-current.txt1076 field public static final int SERVICE_STATE_ACTIVE = 3; // 0x3
Dsystem-lint-baseline.txt2370 UnflaggedApi: android.car.evs.CarEvsManager#SERVICE_STATE_ACTIVE:
2371 … New API must be flagged with @FlaggedApi: field android.car.evs.CarEvsManager.SERVICE_STATE_ACTIVE