Home
last modified time | relevance | path

Searched refs:surfaceShim (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceParcelable_test.cpp63 view::Surface surfaceShim; in onTransact() local
64 surfaceShim.name = kSurfaceName; in onTransact()
65 surfaceShim.graphicBufferProducer = mBufferQueueProducer; in onTransact()
66 return surfaceShim.writeToParcel(reply); in onTransact()
69 view::Surface surfaceShim; in onTransact() local
70 surfaceShim.name = kSurfaceName; in onTransact()
71 surfaceShim.graphicBufferProducer = mBufferHubProducer; in onTransact()
72 return surfaceShim.writeToParcel(reply); in onTransact()
120 status_t GetSurface(view::Surface* surfaceShim) { in GetSurface() argument
132 error = surfaceShim->readFromParcel(&reply); in GetSurface()
[all …]
/frameworks/av/camera/camera2/
DCaptureRequest.cpp107 view::Surface surfaceShim; in readFromParcel() local
108 if ((err = surfaceShim.readFromParcel(parcel)) != OK) { in readFromParcel()
115 if (surfaceShim.graphicBufferProducer != NULL) { in readFromParcel()
116 surface = new Surface(surfaceShim.graphicBufferProducer); in readFromParcel()
194 view::Surface surfaceShim; in writeToParcel() local
195 surfaceShim.name = String16("unknown_name"); in writeToParcel()
196 surfaceShim.graphicBufferProducer = mSurfaceList[i]->getIGraphicBufferProducer(); in writeToParcel()
197 if ((err = surfaceShim.writeToParcel(parcel)) != OK) { in writeToParcel()
DOutputConfiguration.cpp216 view::Surface surfaceShim; in writeToParcel() local
217 surfaceShim.name = String16("unknown_name"); // name of surface in writeToParcel()
218 surfaceShim.graphicBufferProducer = gbp; in writeToParcel()
219 surfaceShims.push_back(surfaceShim); in writeToParcel()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp365 android::view::Surface surfaceShim; in nativeReadFromParcel() local
369 surfaceShim.readFromParcel(parcel, /*nameAlreadyRead*/true); in nativeReadFromParcel()
377 IInterface::asBinder(surfaceShim.graphicBufferProducer))) { in nativeReadFromParcel()
383 if (surfaceShim.graphicBufferProducer != nullptr) { in nativeReadFromParcel()
385 sur = new Surface(surfaceShim.graphicBufferProducer, true); in nativeReadFromParcel()
406 android::view::Surface surfaceShim; in nativeWriteToParcel() local
408 surfaceShim.graphicBufferProducer = self->getIGraphicBufferProducer(); in nativeWriteToParcel()
412 surfaceShim.writeToParcel(parcel, /*nameAlreadyWritten*/true); in nativeWriteToParcel()