Home
last modified time | relevance | path

Searched refs:CarEvsBufferDescriptor (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsBufferDescriptor.java48 public final class CarEvsBufferDescriptor implements Parcelable, AutoCloseable { class
49 public static final @NonNull Parcelable.Creator<CarEvsBufferDescriptor> CREATOR =
50 new Parcelable.Creator<CarEvsBufferDescriptor>() {
53 public CarEvsBufferDescriptor createFromParcel(final Parcel in) {
54 return new CarEvsBufferDescriptor(in);
59 public CarEvsBufferDescriptor[] newArray(final int size) {
60 return new CarEvsBufferDescriptor[size];
78 public CarEvsBufferDescriptor(int id, @NonNull final HardwareBuffer buffer) { in CarEvsBufferDescriptor() method in CarEvsBufferDescriptor
91 public CarEvsBufferDescriptor(int id, @CarEvsServiceType int type, in CarEvsBufferDescriptor() method in CarEvsBufferDescriptor
101 private CarEvsBufferDescriptor(final Parcel in) { in CarEvsBufferDescriptor() method in CarEvsBufferDescriptor
DICarEvsStreamCallback.aidl19 import android.car.evs.CarEvsBufferDescriptor;
36 void onNewFrame(in CarEvsBufferDescriptor buffer); in onNewFrame()
DICarEvsService.aidl19 import android.car.evs.CarEvsBufferDescriptor;
58 void returnFrameBuffer(in CarEvsBufferDescriptor buffer); in returnFrameBuffer()
DCarEvsBufferDescriptor.aidl19 parcelable CarEvsBufferDescriptor;
DCarEvsManager.java471 default void onNewFrame(@NonNull CarEvsBufferDescriptor buffer) {} in onNewFrame()
511 public void onNewFrame(CarEvsBufferDescriptor buffer) { in onNewFrame()
608 private void handleNewFrame(@NonNull CarEvsBufferDescriptor buffer) { in handleNewFrame()
717 public void returnFrameBuffer(@NonNull CarEvsBufferDescriptor buffer) { in returnFrameBuffer()
/packages/services/Car/tests/CarEvsMultiCameraPreviewApp/src/com/google/android/car/evs/multi/
DCarEvsCameraClient.java24 import android.car.evs.CarEvsBufferDescriptor;
79 private final SparseArray<ArrayList<CarEvsBufferDescriptor>> mBufferQueue = new SparseArray<>();
125 public void onNewFrame(CarEvsBufferDescriptor desc) { in onNewFrame()
149 public CarEvsBufferDescriptor onBufferRequested() { in onBufferRequested()
163 ArrayList<CarEvsBufferDescriptor> buffers = mBufferQueue.get(mType); in onBufferRequested()
180 public void onBufferProcessed(CarEvsBufferDescriptor buffer) { in onBufferProcessed()
324 private void doneWithBuffer(CarEvsBufferDescriptor buffer) { in doneWithBuffer()
334 private void doneWithBufferLocked(CarEvsBufferDescriptor buffer) { in doneWithBufferLocked()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/evs/
DCarEvsManagerUnitTest.java199 CarEvsBufferDescriptor buffer = new CarEvsBufferDescriptor(bufferId, in testStartVideoStreamWithoutToken()
336 CarEvsBufferDescriptor buffer = new CarEvsBufferDescriptor(bufferId, hwbuffer); in testReturnFrameBuffer()
353 CarEvsBufferDescriptor buffer = new CarEvsBufferDescriptor(bufferId, hwbuffer); in testReturnFrameBufferRemoteExceptionThrown()
419 CarEvsBufferDescriptor[] arr = CarEvsBufferDescriptor.CREATOR.newArray(3); in testCarEvsBufferDescriptor()
428 CarEvsBufferDescriptor original = new CarEvsBufferDescriptor(bufferId, hwbuffer); in testCarEvsBufferDescriptor()
438 assertThat(CarEvsBufferDescriptor.CREATOR.createFromParcel(packet)).isNotNull(); in testCarEvsBufferDescriptor()
/packages/services/Car/libs/car-evs-helper-lib/src/com/android/car/internal/evs/
DGLES20CarEvsBufferRenderer.java21 import android.car.evs.CarEvsBufferDescriptor;
103 private final CarEvsBufferDescriptor[] mBufferInUse;
121 mBufferInUse = new CarEvsBufferDescriptor[callbacks.size()]; in GLES20CarEvsBufferRenderer()
148 CarEvsBufferDescriptor bufferToReturn = null; in clearBuffer()
167 CarEvsBufferDescriptor bufferToRender = null; in onDrawFrame()
168 CarEvsBufferDescriptor bufferToReturn = null; in onDrawFrame()
169 CarEvsBufferDescriptor newFrame = mCallbacks.get(i).onBufferRequested(); in onDrawFrame()
DCarEvsGLSurfaceView.java21 import android.car.evs.CarEvsBufferDescriptor;
55 @Nullable CarEvsBufferDescriptor onBufferRequested(); in onBufferRequested()
62 void onBufferProcessed(@NonNull CarEvsBufferDescriptor buffer); in onBufferProcessed()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraPreviewActivity.java26 import android.car.evs.CarEvsBufferDescriptor;
106 private final ArrayList<CarEvsBufferDescriptor> mBufferQueue = new ArrayList<>();
155 public void onNewFrame(CarEvsBufferDescriptor buffer) {
467 public CarEvsBufferDescriptor onBufferRequested() { in onBufferRequested()
475 CarEvsBufferDescriptor newFrame = mBufferQueue.get(0); in onBufferRequested()
483 public void onBufferProcessed(CarEvsBufferDescriptor buffer) { in onBufferProcessed()
490 private void doneWithBufferLocked(CarEvsBufferDescriptor buffer) { in doneWithBufferLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarEvsManagerTest.java24 import android.car.evs.CarEvsBufferDescriptor;
69 private final ArrayList<CarEvsBufferDescriptor> mReceivedBuffers = new ArrayList<>();
128 CarEvsBufferDescriptor toBeReturned = mReceivedBuffers.get(INDEX_TO_FIRST_ELEM); in testStartAndStopVideoStream()
183 public void onNewFrame(CarEvsBufferDescriptor buffer) { in onNewFrame()
/packages/services/Car/service/src/com/android/car/evs/
DStateMachine.java33 import android.car.evs.CarEvsBufferDescriptor;
265 CarEvsBufferDescriptor descriptor; in processNewFrame()
267 descriptor = new CarEvsBufferDescriptor(id, mServiceType, buffer); in processNewFrame()
269 descriptor = new CarEvsBufferDescriptor( in processNewFrame()
DCarEvsService.java34 import android.car.evs.CarEvsBufferDescriptor;
712 public void returnFrameBuffer(@NonNull CarEvsBufferDescriptor buffer) { in returnFrameBuffer()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java54 import android.car.evs.CarEvsBufferDescriptor;
1614 private SparseArray mLastFrames = new SparseArray<ArrayList<CarEvsBufferDescriptor>>();
1635 public void onNewFrame(CarEvsBufferDescriptor buffer) { in onNewFrame()
1639 ArrayList<CarEvsBufferDescriptor> queue = in onNewFrame()
1640 (ArrayList<CarEvsBufferDescriptor>) mLastFrames.get(buffer.getType()); in onNewFrame()
1701 ArrayList<CarEvsBufferDescriptor> queue = in waitForFrames()
1702 (ArrayList<CarEvsBufferDescriptor>) mLastFrames.get(from[i]); in waitForFrames()
/packages/services/Car/aconfig/
Dflags.aconfig196 … stream individually and identify the origin of delivered framebuffers from CarEvsBufferDescriptor"
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt2344 UnflaggedApi: android.car.evs.CarEvsBufferDescriptor:
2345 New API must be flagged with @FlaggedApi: class android.car.evs.CarEvsBufferDescriptor
2346 UnflaggedApi: android.car.evs.CarEvsBufferDescriptor#CREATOR:
2347 New API must be flagged with @FlaggedApi: field android.car.evs.CarEvsBufferDescriptor.CREATOR
2348 UnflaggedApi: android.car.evs.CarEvsBufferDescriptor#CarEvsBufferDescriptor(int, android.hardware.H…
2349 …New API must be flagged with @FlaggedApi: constructor android.car.evs.CarEvsBufferDescriptor(int,a…
2350 UnflaggedApi: android.car.evs.CarEvsBufferDescriptor#close():
2351 New API must be flagged with @FlaggedApi: method android.car.evs.CarEvsBufferDescriptor.close()
2352 UnflaggedApi: android.car.evs.CarEvsBufferDescriptor#describeContents():
2353 …New API must be flagged with @FlaggedApi: method android.car.evs.CarEvsBufferDescriptor.describeCo…
[all …]
Dsystem-current.txt974 …public final class CarEvsBufferDescriptor implements java.lang.AutoCloseable android.os.Parcelable…
975 ctor public CarEvsBufferDescriptor(int, @NonNull android.hardware.HardwareBuffer);
976 …ctor @FlaggedApi("android.car.feature.car_evs_stream_management") public CarEvsBufferDescriptor(in…
983 … public static final android.os.Parcelable.Creator<android.car.evs.CarEvsBufferDescriptor> CREATOR;
992 …USE_CAR_EVS_CAMERA) public void returnFrameBuffer(@NonNull android.car.evs.CarEvsBufferDescriptor);
1032 method public default void onNewFrame(@NonNull android.car.evs.CarEvsBufferDescriptor);
Dtest-current.txt1047 …public final class CarEvsBufferDescriptor implements java.lang.AutoCloseable android.os.Parcelable…
1048 ctor public CarEvsBufferDescriptor(int, @NonNull android.hardware.HardwareBuffer);
1049 …ctor @FlaggedApi("android.car.feature.car_evs_stream_management") public CarEvsBufferDescriptor(in…
1056 … public static final android.os.Parcelable.Creator<android.car.evs.CarEvsBufferDescriptor> CREATOR;
1065 …USE_CAR_EVS_CAMERA) public void returnFrameBuffer(@NonNull android.car.evs.CarEvsBufferDescriptor);
1105 method public default void onNewFrame(@NonNull android.car.evs.CarEvsBufferDescriptor);
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt974 …public final class CarEvsBufferDescriptor implements java.lang.AutoCloseable android.os.Parcelable…
975 ctor public CarEvsBufferDescriptor(int, @NonNull android.hardware.HardwareBuffer);
976 …ctor @FlaggedApi("android.car.feature.car_evs_stream_management") public CarEvsBufferDescriptor(in…
983 … public static final android.os.Parcelable.Creator<android.car.evs.CarEvsBufferDescriptor> CREATOR;
992 …USE_CAR_EVS_CAMERA) public void returnFrameBuffer(@NonNull android.car.evs.CarEvsBufferDescriptor);
1032 method public default void onNewFrame(@NonNull android.car.evs.CarEvsBufferDescriptor);
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt200 method TIRAMISU_0 void returnFrameBuffer(CarEvsBufferDescriptor buffer);
212 method TIRAMISU_0 void onNewFrame(CarEvsBufferDescriptor buffer);
220 class @hide @SystemApi CarEvsBufferDescriptor package android.car.evs
221 field TIRAMISU_0 Parcelable.Creator<CarEvsBufferDescriptor> CREATOR;