Lines Matching refs:data
58 Parcel data, reply; in createConnection() local
59 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createConnection()
60 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
67 Parcel data, reply; in createScopedConnection() local
68 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createScopedConnection()
69 data.writeStrongBinder(IInterface::asBinder(parent)); in createScopedConnection()
70 remote()->transact(BnSurfaceComposer::CREATE_SCOPED_CONNECTION, data, &reply); in createScopedConnection()
79 Parcel data, reply; in setTransactionState() local
80 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in setTransactionState()
82 data.writeUint32(static_cast<uint32_t>(state.size())); in setTransactionState()
84 s.write(data); in setTransactionState()
87 data.writeUint32(static_cast<uint32_t>(displays.size())); in setTransactionState()
89 d.write(data); in setTransactionState()
92 data.writeUint32(flags); in setTransactionState()
93 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
98 Parcel data, reply; in bootFinished() local
99 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in bootFinished()
100 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
110 Parcel data, reply; in captureScreen() local
111 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in captureScreen()
112 data.writeStrongBinder(display); in captureScreen()
113 data.writeStrongBinder(IInterface::asBinder(producer)); in captureScreen()
114 data.write(sourceCrop); in captureScreen()
115 data.writeUint32(reqWidth); in captureScreen()
116 data.writeUint32(reqHeight); in captureScreen()
117 data.writeInt32(minLayerZ); in captureScreen()
118 data.writeInt32(maxLayerZ); in captureScreen()
119 data.writeInt32(static_cast<int32_t>(useIdentityTransform)); in captureScreen()
120 data.writeInt32(static_cast<int32_t>(rotation)); in captureScreen()
121 remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in captureScreen()
128 Parcel data, reply; in authenticateSurfaceTexture() local
130 err = data.writeInterfaceToken( in authenticateSurfaceTexture()
137 err = data.writeStrongBinder(IInterface::asBinder(bufferProducer)); in authenticateSurfaceTexture()
143 err = remote()->transact(BnSurfaceComposer::AUTHENTICATE_SURFACE, data, in authenticateSurfaceTexture()
167 Parcel data, reply; in getSupportedFrameTimestamps() local
169 status_t err = data.writeInterfaceToken( in getSupportedFrameTimestamps()
177 data, &reply); in getSupportedFrameTimestamps()
206 Parcel data, reply; in createDisplayEventConnection() local
208 int err = data.writeInterfaceToken( in createDisplayEventConnection()
213 data.writeInt32(static_cast<int32_t>(vsyncSource)); in createDisplayEventConnection()
216 data, &reply); in createDisplayEventConnection()
228 Parcel data, reply; in createDisplay() local
229 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createDisplay()
230 data.writeString8(displayName); in createDisplay()
231 data.writeInt32(secure ? 1 : 0); in createDisplay()
232 remote()->transact(BnSurfaceComposer::CREATE_DISPLAY, data, &reply); in createDisplay()
238 Parcel data, reply; in destroyDisplay() local
239 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in destroyDisplay()
240 data.writeStrongBinder(display); in destroyDisplay()
241 remote()->transact(BnSurfaceComposer::DESTROY_DISPLAY, data, &reply); in destroyDisplay()
246 Parcel data, reply; in getBuiltInDisplay() local
247 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getBuiltInDisplay()
248 data.writeInt32(id); in getBuiltInDisplay()
249 remote()->transact(BnSurfaceComposer::GET_BUILT_IN_DISPLAY, data, &reply); in getBuiltInDisplay()
255 Parcel data, reply; in setPowerMode() local
256 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in setPowerMode()
257 data.writeStrongBinder(display); in setPowerMode()
258 data.writeInt32(mode); in setPowerMode()
259 remote()->transact(BnSurfaceComposer::SET_POWER_MODE, data, &reply); in setPowerMode()
265 Parcel data, reply; in getDisplayConfigs() local
266 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getDisplayConfigs()
267 data.writeStrongBinder(display); in getDisplayConfigs()
268 remote()->transact(BnSurfaceComposer::GET_DISPLAY_CONFIGS, data, &reply); in getDisplayConfigs()
286 Parcel data, reply; in getDisplayStats() local
287 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getDisplayStats()
288 data.writeStrongBinder(display); in getDisplayStats()
289 remote()->transact(BnSurfaceComposer::GET_DISPLAY_STATS, data, &reply); in getDisplayStats()
301 Parcel data, reply; in getActiveConfig() local
302 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getActiveConfig()
303 data.writeStrongBinder(display); in getActiveConfig()
304 remote()->transact(BnSurfaceComposer::GET_ACTIVE_CONFIG, data, &reply); in getActiveConfig()
310 Parcel data, reply; in setActiveConfig() local
311 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in setActiveConfig()
312 data.writeStrongBinder(display); in setActiveConfig()
313 data.writeInt32(id); in setActiveConfig()
314 remote()->transact(BnSurfaceComposer::SET_ACTIVE_CONFIG, data, &reply); in setActiveConfig()
320 Parcel data, reply; in getDisplayColorModes() local
321 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getDisplayColorModes()
326 result = data.writeStrongBinder(display); in getDisplayColorModes()
331 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_COLOR_MODES, data, &reply); in getDisplayColorModes()
349 Parcel data, reply; in getActiveColorMode() local
350 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getActiveColorMode()
355 result = data.writeStrongBinder(display); in getActiveColorMode()
360 result = remote()->transact(BnSurfaceComposer::GET_ACTIVE_COLOR_MODE, data, &reply); in getActiveColorMode()
370 Parcel data, reply; in setActiveColorMode() local
371 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in setActiveColorMode()
376 result = data.writeStrongBinder(display); in setActiveColorMode()
381 result = data.writeInt32(colorMode); in setActiveColorMode()
386 result = remote()->transact(BnSurfaceComposer::SET_ACTIVE_COLOR_MODE, data, &reply); in setActiveColorMode()
395 Parcel data, reply; in clearAnimationFrameStats() local
396 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in clearAnimationFrameStats()
397 remote()->transact(BnSurfaceComposer::CLEAR_ANIMATION_FRAME_STATS, data, &reply); in clearAnimationFrameStats()
402 Parcel data, reply; in getAnimationFrameStats() local
403 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getAnimationFrameStats()
404 remote()->transact(BnSurfaceComposer::GET_ANIMATION_FRAME_STATS, data, &reply); in getAnimationFrameStats()
411 Parcel data, reply; in getHdrCapabilities() local
412 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in getHdrCapabilities()
413 status_t result = data.writeStrongBinder(display); in getHdrCapabilities()
419 data, &reply); in getHdrCapabilities()
432 Parcel data, reply; in enableVSyncInjections() local
433 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in enableVSyncInjections()
438 result = data.writeBool(enable); in enableVSyncInjections()
444 data, &reply, TF_ONE_WAY); in enableVSyncInjections()
453 Parcel data, reply; in injectVSync() local
454 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in injectVSync()
459 result = data.writeInt64(when); in injectVSync()
464 result = remote()->transact(BnSurfaceComposer::INJECT_VSYNC, data, &reply, TF_ONE_WAY); in injectVSync()
483 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
487 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
493 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
495 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
501 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
503 size_t count = data.readUint32(); in onTransact()
504 if (count > data.dataSize()) { in onTransact()
511 if (s.read(data) == BAD_VALUE) { in onTransact()
517 count = data.readUint32(); in onTransact()
518 if (count > data.dataSize()) { in onTransact()
525 if (d.read(data) == BAD_VALUE) { in onTransact()
531 uint32_t stateFlags = data.readUint32(); in onTransact()
536 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
541 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
542 sp<IBinder> display = data.readStrongBinder(); in onTransact()
544 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
546 data.read(sourceCrop); in onTransact()
547 uint32_t reqWidth = data.readUint32(); in onTransact()
548 uint32_t reqHeight = data.readUint32(); in onTransact()
549 int32_t minLayerZ = data.readInt32(); in onTransact()
550 int32_t maxLayerZ = data.readInt32(); in onTransact()
551 bool useIdentityTransform = static_cast<bool>(data.readInt32()); in onTransact()
552 int32_t rotation = data.readInt32(); in onTransact()
562 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
564 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
570 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
589 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
591 static_cast<ISurfaceComposer::VsyncSource>(data.readInt32()))); in onTransact()
596 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
597 String8 displayName = data.readString8(); in onTransact()
598 bool secure = bool(data.readInt32()); in onTransact()
604 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
605 sp<IBinder> display = data.readStrongBinder(); in onTransact()
610 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
611 int32_t id = data.readInt32(); in onTransact()
617 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
619 sp<IBinder> display = data.readStrongBinder(); in onTransact()
632 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
634 sp<IBinder> display = data.readStrongBinder(); in onTransact()
644 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
645 sp<IBinder> display = data.readStrongBinder(); in onTransact()
651 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
652 sp<IBinder> display = data.readStrongBinder(); in onTransact()
653 int id = data.readInt32(); in onTransact()
659 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
662 status_t result = data.readStrongBinder(&display); in onTransact()
678 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
680 status_t result = data.readStrongBinder(&display); in onTransact()
690 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
692 status_t result = data.readStrongBinder(&display); in onTransact()
698 result = data.readInt32(&colorModeInt); in onTransact()
709 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
715 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
723 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
724 sp<IBinder> display = data.readStrongBinder(); in onTransact()
725 int32_t mode = data.readInt32(); in onTransact()
730 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
732 status_t result = data.readStrongBinder(&display); in onTransact()
747 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
749 status_t result = data.readBool(&enable); in onTransact()
757 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
759 status_t result = data.readInt64(&when); in onTransact()
767 return BBinder::onTransact(code, data, reply, flags); in onTransact()