Searched refs:surfaceShim (Results 1 – 4 of 4) sorted by relevance
63 view::Surface surfaceShim; in onTransact() local64 surfaceShim.name = kSurfaceName; in onTransact()65 surfaceShim.graphicBufferProducer = mBufferQueueProducer; in onTransact()66 return surfaceShim.writeToParcel(reply); in onTransact()69 view::Surface surfaceShim; in onTransact() local70 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() argument132 error = surfaceShim->readFromParcel(&reply); in GetSurface()[all …]
107 view::Surface surfaceShim; in readFromParcel() local108 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() local195 surfaceShim.name = String16("unknown_name"); in writeToParcel()196 surfaceShim.graphicBufferProducer = mSurfaceList[i]->getIGraphicBufferProducer(); in writeToParcel()197 if ((err = surfaceShim.writeToParcel(parcel)) != OK) { in writeToParcel()
216 view::Surface surfaceShim; in writeToParcel() local217 surfaceShim.name = String16("unknown_name"); // name of surface in writeToParcel()218 surfaceShim.graphicBufferProducer = gbp; in writeToParcel()219 surfaceShims.push_back(surfaceShim); in writeToParcel()
365 android::view::Surface surfaceShim; in nativeReadFromParcel() local369 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() local408 surfaceShim.graphicBufferProducer = self->getIGraphicBufferProducer(); in nativeWriteToParcel()412 surfaceShim.writeToParcel(parcel, /*nameAlreadyWritten*/true); in nativeWriteToParcel()