Home
last modified time | relevance | path

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

12

/packages/services/Car/service/src/com/android/car/evs/
DCarEvsServiceUtils.java18 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REARVIEW;
19 import static android.car.evs.CarEvsManager.SERVICE_TYPE_SURROUNDVIEW;
20 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONTVIEW;
21 import static android.car.evs.CarEvsManager.SERVICE_TYPE_LEFTVIEW;
22 import static android.car.evs.CarEvsManager.SERVICE_TYPE_RIGHTVIEW;
23 import static android.car.evs.CarEvsManager.SERVICE_TYPE_DRIVERVIEW;
24 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONT_PASSENGERSVIEW;
25 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REAR_PASSENGERSVIEW;
26 import static android.car.evs.CarEvsManager.SERVICE_TYPE_USER_DEFINED;
31 import android.car.evs.CarEvsManager;
[all …]
DStateMachine.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;
34 import android.car.evs.CarEvsManager;
35 import android.car.evs.CarEvsManager.CarEvsError;
36 import android.car.evs.CarEvsManager.CarEvsServiceState;
[all …]
DCarEvsService.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
20 import static android.car.evs.CarEvsManager.ERROR_UNAVAILABLE;
35 import android.car.evs.CarEvsManager;
36 import android.car.evs.CarEvsManager.CarEvsError;
37 import android.car.evs.CarEvsManager.CarEvsServiceState;
38 import android.car.evs.CarEvsManager.CarEvsServiceType;
287 CarEvsManager.SERVICE_TYPE_REARVIEW, /* on= */ false);
358 CarEvsManager.SERVICE_TYPE_REARVIEW, cameraId); in CarEvsService()
359 mServiceInstances.put(CarEvsManager.SERVICE_TYPE_REARVIEW, s); in CarEvsService()
461 StateMachine instance = mServiceInstances.get(CarEvsManager.SERVICE_TYPE_REARVIEW); in init()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/android/car/evs/
DCarEvsManagerUnitTest.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
20 import static android.car.evs.CarEvsManager.ERROR_UNAVAILABLE;
37 import android.car.evs.CarEvsManager.CarEvsStatusListener;
38 import android.car.evs.CarEvsManager.CarEvsStreamCallback;
68 CarEvsManager.SERVICE_TYPE_REARVIEW, CarEvsManager.SERVICE_TYPE_SURROUNDVIEW,
69 CarEvsManager.SERVICE_TYPE_FRONTVIEW, CarEvsManager.SERVICE_TYPE_LEFTVIEW,
70 CarEvsManager.SERVICE_TYPE_RIGHTVIEW, CarEvsManager.SERVICE_TYPE_DRIVERVIEW,
71 CarEvsManager.SERVICE_TYPE_FRONT_PASSENGERSVIEW,
72 CarEvsManager.SERVICE_TYPE_REAR_PASSENGERSVIEW,
86 private CarEvsManager mManager;
[all …]
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraActivity.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
24 import android.car.evs.CarEvsManager;
39 CarEvsManager evsManager = (CarEvsManager) car.getCarManager(
44 CarEvsManager.SERVICE_TYPE_REARVIEW : getServiceType(config);
58 case "REARVIEW": return CarEvsManager.SERVICE_TYPE_REARVIEW; in getServiceType()
59 case "SURROUNDVIEW": return CarEvsManager.SERVICE_TYPE_SURROUNDVIEW; in getServiceType()
60 case "FRONTVIEW": return CarEvsManager.SERVICE_TYPE_FRONTVIEW; in getServiceType()
61 case "LEFTVIEW": return CarEvsManager.SERVICE_TYPE_LEFTVIEW; in getServiceType()
62 case "RIGHTVIEW": return CarEvsManager.SERVICE_TYPE_RIGHTVIEW; in getServiceType()
63 case "DRIVERVIEW": return CarEvsManager.SERVICE_TYPE_DRIVERVIEW; in getServiceType()
[all …]
DCarEvsCameraPreviewActivity.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
27 import android.car.evs.CarEvsManager;
132 private CarEvsManager mEvsManager;
141 private final CarEvsManager.CarEvsStreamCallback mStreamHandler =
142 new CarEvsManager.CarEvsStreamCallback() {
148 if (event == CarEvsManager.STREAM_EVENT_STREAM_STOPPED ||
149 event == CarEvsManager.STREAM_EVENT_TIMEOUT) {
199 mEvsManager = ready ? (CarEvsManager) car.getCarManager(Car.CAR_EVS_SERVICE) : null;
275 callbacks.add(CarEvsManager.SERVICE_TYPE_REARVIEW, this); in onCreate()
327 mServiceType = CarEvsManager.SERVICE_TYPE_REARVIEW; in parseExtra()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DEvsHalServiceTest.java29 import android.car.evs.CarEvsManager;
116 assertThat(events.get(0)).isEqualTo(CarEvsManager.SERVICE_TYPE_REARVIEW); in requestToStartRearviewViaEvsServiceRequest()
133 assertThat(events.get(0)).isEqualTo(CarEvsManager.SERVICE_TYPE_REARVIEW); in requestToStopRearviewViaEvsServiceRequest()
166 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()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/evs/
DCarEvsUtils.java19 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REARVIEW;
20 import static android.car.evs.CarEvsManager.SERVICE_TYPE_SURROUNDVIEW;
21 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONTVIEW;
22 import static android.car.evs.CarEvsManager.SERVICE_TYPE_LEFTVIEW;
23 import static android.car.evs.CarEvsManager.SERVICE_TYPE_RIGHTVIEW;
24 import static android.car.evs.CarEvsManager.SERVICE_TYPE_DRIVERVIEW;
25 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONT_PASSENGERSVIEW;
26 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REAR_PASSENGERSVIEW;
27 import static android.car.evs.CarEvsManager.SERVICE_TYPE_USER_DEFINED;
30 import android.car.evs.CarEvsManager.CarEvsServiceType;
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarEvsManagerTest.java25 import android.car.evs.CarEvsManager;
26 import android.car.evs.CarEvsManager.CarEvsStreamEvent;
75 private final CarEvsManager mEvsManager =
76 (CarEvsManager) mCar.getCarManager(Car.CAR_EVS_SERVICE);
86 assumeTrue(mEvsManager.isSupported(CarEvsManager.SERVICE_TYPE_REARVIEW)); in setUp()
117 mEvsManager.startVideoStream(CarEvsManager.SERVICE_TYPE_REARVIEW, in testStartAndStopVideoStream()
119 ).isEqualTo(CarEvsManager.ERROR_NONE); in testStartAndStopVideoStream()
136 assertThat(status.getState()).isEqualTo(CarEvsManager.SERVICE_STATE_ACTIVE); in testStartAndStopVideoStream()
137 assertThat(status.getServiceType()).isEqualTo(CarEvsManager.SERVICE_TYPE_REARVIEW); in testStartAndStopVideoStream()
145 assertThat(mStreamCallback.waitForStreamEvent(CarEvsManager.STREAM_EVENT_STREAM_STOPPED)) in testStartAndStopVideoStream()
[all …]
/packages/services/Car/tests/CarEvsMultiCameraPreviewApp/src/com/google/android/car/evs/multi/
DCarEvsMultiCameraPreviewActivity.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
24 import android.car.evs.CarEvsManager;
25 import android.car.evs.CarEvsManager.CarEvsServiceType;
118 private CarEvsManager mEvsManager;
216 types.add(CarEvsManager.SERVICE_TYPE_REARVIEW); in onCreate()
227 serviceTypes.add(CarEvsManager.SERVICE_TYPE_REARVIEW); in onCreate()
290 mServiceType = CarEvsManager.SERVICE_TYPE_REARVIEW; in parseExtra()
296 null : extras.getBinder(CarEvsManager.EXTRA_SESSION_TOKEN); in parseExtra()
298 mServiceType = extras.getShort(Integer.toString(CarEvsManager.SERVICE_TYPE_REARVIEW)); in parseExtra()
434 type = CarEvsManager.SERVICE_TYPE_REARVIEW; in onCheckedChangeListener()
[all …]
DCarEvsCameraClient.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
25 import android.car.evs.CarEvsManager;
26 import android.car.evs.CarEvsManager.CarEvsServiceType;
98 mEvsManager = ready ? (CarEvsManager) car.getCarManager(Car.CAR_EVS_SERVICE) : null;
115 private CarEvsManager mEvsManager;
117 final class StreamHandler implements CarEvsManager.CarEvsStreamCallback {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java19 import static android.car.evs.CarEvsManager.ERROR_NONE;
20 import static android.car.evs.CarEvsManager.ERROR_UNAVAILABLE;
21 import static android.car.evs.CarEvsManager.SERVICE_STATE_ACTIVE;
22 import static android.car.evs.CarEvsManager.SERVICE_STATE_INACTIVE;
23 import static android.car.evs.CarEvsManager.SERVICE_STATE_REQUESTED;
24 import static android.car.evs.CarEvsManager.SERVICE_STATE_UNAVAILABLE;
25 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONTVIEW;
26 import static android.car.evs.CarEvsManager.SERVICE_TYPE_LEFTVIEW;
27 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REARVIEW;
28 import static android.car.evs.CarEvsManager.SERVICE_TYPE_RIGHTVIEW;
[all …]
/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsBufferDescriptor.java29 import android.car.evs.CarEvsManager;
30 import android.car.evs.CarEvsManager.CarEvsServiceType;
80 CarEvsManager.SERVICE_TYPE_UNKNOWN : CarEvsManager.SERVICE_TYPE_REARVIEW, buffer); in CarEvsBufferDescriptor()
DCarEvsManager.java67 public final class CarEvsManager extends CarManagerBase { class
70 private static final String TAG = CarEvsManager.class.getSimpleName();
291 public CarEvsManager(ICarBase car, IBinder service, @Nullable FeatureFlags featureFlags) { in CarEvsManager() method in CarEvsManager
331 private final WeakReference<CarEvsManager> mManager;
333 CarEvsStatusListenerToService(CarEvsManager manager) { in CarEvsStatusListenerToService()
341 CarEvsManager mgr = mManager.get(); in onStatusChanged()
481 private final WeakReference<CarEvsManager> mManager;
486 CarEvsStreamListenerToService(CarEvsManager manager) { in CarEvsStreamListenerToService()
502 CarEvsManager manager = mManager.get(); in onStreamEvent()
512 CarEvsManager manager = mManager.get(); in onNewFrame()
DCarEvsStatus.java25 import android.car.evs.CarEvsManager.CarEvsServiceState;
26 import android.car.evs.CarEvsManager.CarEvsServiceType;
/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;
27 import android.car.evs.CarEvsManager.CarEvsServiceState;
28 import android.car.evs.CarEvsManager.CarEvsServiceType;
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarGetCarManagerTest.java35 import android.car.evs.CarEvsManager;
114 {CarEvsManager.class, Car.CAR_EVS_SERVICE}, in inputParameters()
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt2360 UnflaggedApi: android.car.evs.CarEvsManager:
2361 New API must be flagged with @FlaggedApi: class android.car.evs.CarEvsManager
2362 UnflaggedApi: android.car.evs.CarEvsManager#ERROR_BUSY:
2363 New API must be flagged with @FlaggedApi: field android.car.evs.CarEvsManager.ERROR_BUSY
2364 UnflaggedApi: android.car.evs.CarEvsManager#ERROR_NONE:
2365 New API must be flagged with @FlaggedApi: field android.car.evs.CarEvsManager.ERROR_NONE
2366 UnflaggedApi: android.car.evs.CarEvsManager#ERROR_UNAVAILABLE:
2367 New API must be flagged with @FlaggedApi: field android.car.evs.CarEvsManager.ERROR_UNAVAILABLE
2368 UnflaggedApi: android.car.evs.CarEvsManager#EXTRA_SESSION_TOKEN:
2369 … New API must be flagged with @FlaggedApi: field android.car.evs.CarEvsManager.EXTRA_SESSION_TOKEN
[all …]
Dsystem-current.txt986 public final class CarEvsManager {
993 …ener(@NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStatusLi…
995 …der, @NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStreamCa…
1027 public static interface CarEvsManager.CarEvsStatusListener {
1031 public static interface CarEvsManager.CarEvsStreamCallback {
Dtest-current.txt1059 public final class CarEvsManager {
1066 …ener(@NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStatusLi…
1068 …der, @NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStreamCa…
1100 public static interface CarEvsManager.CarEvsStatusListener {
1104 public static interface CarEvsManager.CarEvsStreamCallback {
/packages/services/Car/car-lib/src/android/car/
DCar.java49 import android.car.evs.CarEvsManager;
1743 CAR_SERVICE_NAMES.put(CarEvsManager.class, CAR_EVS_SERVICE); in CAR_SERVICE_NAMES.put()
2716 manager = new CarEvsManager(this, binder, /* featureFlags= */ null); in createCarManagerLocked()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt286 android.car.evs CarEvsManager CarEvsManager CarEvsManager(Car car, IBinder service)
287 android.car.evs CarEvsManager void onCarDisconnected()
Dcar_hidden_apis_release_33.2.txt261 android.car.evs CarEvsManager void onCarDisconnected()
Dcar_hidden_apis_release_33.1.txt261 android.car.evs CarEvsManager void onCarDisconnected()
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt986 public final class CarEvsManager {
993 …ener(@NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStatusLi…
995 …der, @NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStreamCa…
1027 public static interface CarEvsManager.CarEvsStatusListener {
1031 public static interface CarEvsManager.CarEvsStreamCallback {

12