Home
last modified time | relevance | path

Searched refs:CarEvsManager (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarEvsManagerTest.java25 import android.car.evs.CarEvsManager;
26 import android.car.evs.CarEvsManager.CarEvsServiceState;
27 import android.car.evs.CarEvsManager.CarEvsServiceType;
28 import android.car.evs.CarEvsManager.CarEvsStreamEvent;
78 private final CarEvsManager mEvsManager =
79 (CarEvsManager) mCar.getCarManager(Car.CAR_EVS_SERVICE);
89 assumeTrue(mEvsManager.isSupported(CarEvsManager.SERVICE_TYPE_REARVIEW)); in setUp()
116 mEvsManager.startActivity(CarEvsManager.SERVICE_TYPE_REARVIEW) in testSetStatusListener()
117 ).isEqualTo(CarEvsManager.ERROR_NONE); in testSetStatusListener()
137 mEvsManager.startVideoStream(CarEvsManager.SERVICE_TYPE_REARVIEW, in testStartAndStopVideoStream()
[all …]
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsServiceUtils.java19 import android.car.evs.CarEvsManager;
20 import android.car.evs.CarEvsManager.CarEvsStreamEvent;
39 @CarEvsStreamEvent int outputStatus = CarEvsManager.STREAM_EVENT_NONE; in convertToStreamEvent()
43 outputStatus = CarEvsManager.STREAM_EVENT_STREAM_STARTED; in convertToStreamEvent()
46 outputStatus = CarEvsManager.STREAM_EVENT_STREAM_STOPPED; in convertToStreamEvent()
49 outputStatus = CarEvsManager.STREAM_EVENT_FRAME_DROPPED; in convertToStreamEvent()
52 outputStatus = CarEvsManager.STREAM_EVENT_TIMEOUT; in convertToStreamEvent()
55 outputStatus = CarEvsManager.STREAM_EVENT_PARAMETER_CHANGED; in convertToStreamEvent()
58 outputStatus = CarEvsManager.STREAM_EVENT_PRIMARY_OWNER_CHANGED; in convertToStreamEvent()
61 outputStatus = CarEvsManager.STREAM_EVENT_OTHER_ERRORS; in convertToStreamEvent()
DCarEvsService.java19 import static android.car.evs.CarEvsManager.ERROR_BUSY;
20 import static android.car.evs.CarEvsManager.ERROR_NONE;
21 import static android.car.evs.CarEvsManager.ERROR_UNAVAILABLE;
22 import static android.car.evs.CarEvsManager.SERVICE_STATE_ACTIVE;
23 import static android.car.evs.CarEvsManager.SERVICE_STATE_INACTIVE;
24 import static android.car.evs.CarEvsManager.SERVICE_STATE_REQUESTED;
25 import static android.car.evs.CarEvsManager.SERVICE_STATE_UNAVAILABLE;
26 import static android.car.evs.CarEvsManager.STREAM_EVENT_STREAM_STOPPED;
35 import android.car.evs.CarEvsManager;
36 import android.car.evs.CarEvsManager.CarEvsError;
[all …]
/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsManager.java50 public final class CarEvsManager extends CarManagerBase { class
53 private static final String TAG = CarEvsManager.class.getSimpleName();
216 public CarEvsManager(Car car, IBinder service) { in CarEvsManager() method in CarEvsManager
256 private final WeakReference<CarEvsManager> mManager;
258 CarEvsStatusListenerToService(CarEvsManager manager) { in CarEvsStatusListenerToService()
266 CarEvsManager mgr = mManager.get(); in onStatusChanged()
387 private final WeakReference<CarEvsManager> mManager;
389 CarEvsStreamListenerToService(CarEvsManager manager) { in CarEvsStreamListenerToService()
395 CarEvsManager manager = mManager.get(); in onStreamEvent()
403 CarEvsManager manager = mManager.get(); in onNewFrame()
DCarEvsStatus.java23 import android.car.evs.CarEvsManager.CarEvsServiceState;
24 import android.car.evs.CarEvsManager.CarEvsServiceType;
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraPreviewActivity.java26 import android.car.evs.CarEvsManager;
70 private CarEvsManager mEvsManager;
77 private final CarEvsManager.CarEvsStreamCallback mStreamHandler =
78 new CarEvsManager.CarEvsStreamCallback() {
84 if (event == CarEvsManager.STREAM_EVENT_STREAM_STOPPED) {
139 mEvsManager = (CarEvsManager) car.getCarManager(Car.CAR_EVS_SERVICE);
216 mSessionToken = extras.getBinder(CarEvsManager.EXTRA_SESSION_TOKEN); in parseExtra()
270 mEvsManager.startVideoStream(CarEvsManager.SERVICE_TYPE_REARVIEW, in handleVideoStreamLocked()
DCarEvsCameraActivity.java21 import android.car.evs.CarEvsManager;
39 CarEvsManager evsManager = (CarEvsManager) car.getCarManager( in onCreate()
41 int result = evsManager.startActivity(CarEvsManager.SERVICE_TYPE_REARVIEW); in onCreate()
/packages/services/Car/service/src/com/android/car/hal/
DEvsHalService.java19 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REARVIEW;
20 import static android.car.evs.CarEvsManager.SERVICE_TYPE_SURROUNDVIEW;
25 import android.car.evs.CarEvsManager.CarEvsServiceType;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DEvsHalServiceTest.java29 import android.car.evs.CarEvsManager;
103 assertThat(events.get(0)).isEqualTo(CarEvsManager.SERVICE_TYPE_REARVIEW); in requestToStartRearviewViaEvsServiceRequest()
120 assertThat(events.get(0)).isEqualTo(CarEvsManager.SERVICE_TYPE_REARVIEW); in requestToStopRearviewViaEvsServiceRequest()
/packages/services/Car/car-lib/src/android/car/
DCar.java42 import android.car.evs.CarEvsManager;
1898 manager = new CarEvsManager(this, binder); in createCarManagerLocked()
/packages/services/Car/car-lib/api/
Dsystem-current.txt649 public final class CarEvsManager {
655 …ener(@NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStatusLi…
657 …der, @NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStreamCa…
680 public static interface CarEvsManager.CarEvsStatusListener {
684 public static interface CarEvsManager.CarEvsStreamCallback {