Lines Matching refs:reply
63 Parcel data, reply; in createConnection() local
65 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
66 return interface_cast<ISurfaceComposerClient>(reply.readStrongBinder()); in createConnection()
76 Parcel data, reply; in setTransactionState() local
104 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
109 Parcel data, reply; in bootFinished() local
111 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
119 Parcel data, reply; in captureScreen() local
130 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in captureScreen()
135 result = reply.readInt32(); in captureScreen()
142 reply.read(**outBuffer); in captureScreen()
143 outCapturedSecureLayers = reply.readBool(); in captureScreen()
150 Parcel data, reply; in captureScreen() local
153 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN_BY_ID, data, &reply); in captureScreen()
158 result = reply.readInt32(); in captureScreen()
164 *outDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in captureScreen()
166 reply.read(**outBuffer); in captureScreen()
176 Parcel data, reply; in captureLayers() local
188 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_LAYERS, data, &reply); in captureLayers()
193 result = reply.readInt32(); in captureLayers()
200 reply.read(**outBuffer); in captureLayers()
208 Parcel data, reply; in authenticateSurfaceTexture() local
224 &reply); in authenticateSurfaceTexture()
231 err = reply.readInt32(&result); in authenticateSurfaceTexture()
247 Parcel data, reply; in getSupportedFrameTimestamps() local
257 data, &reply); in getSupportedFrameTimestamps()
263 err = reply.readInt32(&result); in getSupportedFrameTimestamps()
272 err = reply.readInt32Vector(&supported); in getSupportedFrameTimestamps()
286 Parcel data, reply; in createDisplayEventConnection() local
297 data, &reply); in createDisplayEventConnection()
303 result = interface_cast<IDisplayEventConnection>(reply.readStrongBinder()); in createDisplayEventConnection()
309 Parcel data, reply; in createDisplay() local
313 remote()->transact(BnSurfaceComposer::CREATE_DISPLAY, data, &reply); in createDisplay()
314 return reply.readStrongBinder(); in createDisplay()
319 Parcel data, reply; in destroyDisplay() local
322 remote()->transact(BnSurfaceComposer::DESTROY_DISPLAY, data, &reply); in destroyDisplay()
326 Parcel data, reply; in getPhysicalDisplayIds() local
328 if (remote()->transact(BnSurfaceComposer::GET_PHYSICAL_DISPLAY_IDS, data, &reply) == in getPhysicalDisplayIds()
331 if (reply.readUint64Vector(&displayIds) == NO_ERROR) { in getPhysicalDisplayIds()
340 Parcel data, reply; in getPhysicalDisplayToken() local
343 remote()->transact(BnSurfaceComposer::GET_PHYSICAL_DISPLAY_TOKEN, data, &reply); in getPhysicalDisplayToken()
344 return reply.readStrongBinder(); in getPhysicalDisplayToken()
349 Parcel data, reply; in setPowerMode() local
353 remote()->transact(BnSurfaceComposer::SET_POWER_MODE, data, &reply); in setPowerMode()
357 Parcel data, reply; in getDisplayState() local
360 remote()->transact(BnSurfaceComposer::GET_DISPLAY_STATE, data, &reply); in getDisplayState()
361 const status_t result = reply.readInt32(); in getDisplayState()
363 memcpy(state, reply.readInplace(sizeof(ui::DisplayState)), sizeof(ui::DisplayState)); in getDisplayState()
369 Parcel data, reply; in getDisplayInfo() local
372 remote()->transact(BnSurfaceComposer::GET_DISPLAY_INFO, data, &reply); in getDisplayInfo()
373 const status_t result = reply.readInt32(); in getDisplayInfo()
375 memcpy(info, reply.readInplace(sizeof(DisplayInfo)), sizeof(DisplayInfo)); in getDisplayInfo()
381 Parcel data, reply; in getDisplayConfigs() local
384 remote()->transact(BnSurfaceComposer::GET_DISPLAY_CONFIGS, data, &reply); in getDisplayConfigs()
385 const status_t result = reply.readInt32(); in getDisplayConfigs()
387 const size_t numConfigs = reply.readUint32(); in getDisplayConfigs()
391 memcpy(&(configs->editItemAt(c)), reply.readInplace(sizeof(DisplayConfig)), in getDisplayConfigs()
401 Parcel data, reply; in getDisplayStats() local
404 remote()->transact(BnSurfaceComposer::GET_DISPLAY_STATS, data, &reply); in getDisplayStats()
405 status_t result = reply.readInt32(); in getDisplayStats()
408 reply.readInplace(sizeof(DisplayStatInfo)), in getDisplayStats()
416 Parcel data, reply; in getActiveConfig() local
419 remote()->transact(BnSurfaceComposer::GET_ACTIVE_CONFIG, data, &reply); in getActiveConfig()
420 return reply.readInt32(); in getActiveConfig()
425 Parcel data, reply; in getDisplayColorModes() local
436 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_COLOR_MODES, data, &reply); in getDisplayColorModes()
441 result = static_cast<status_t>(reply.readInt32()); in getDisplayColorModes()
443 size_t numModes = reply.readUint32(); in getDisplayColorModes()
447 outColorModes->replaceAt(static_cast<ColorMode>(reply.readInt32()), i); in getDisplayColorModes()
455 Parcel data, reply; in getDisplayNativePrimaries() local
466 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_NATIVE_PRIMARIES, data, &reply); in getDisplayNativePrimaries()
471 result = reply.readInt32(); in getDisplayNativePrimaries()
473 memcpy(&primaries, reply.readInplace(sizeof(ui::DisplayPrimaries)), in getDisplayNativePrimaries()
480 Parcel data, reply; in getActiveColorMode() local
491 result = remote()->transact(BnSurfaceComposer::GET_ACTIVE_COLOR_MODE, data, &reply); in getActiveColorMode()
496 return static_cast<ColorMode>(reply.readInt32()); in getActiveColorMode()
501 Parcel data, reply; in setActiveColorMode() local
517 result = remote()->transact(BnSurfaceComposer::SET_ACTIVE_COLOR_MODE, data, &reply); in setActiveColorMode()
522 return static_cast<status_t>(reply.readInt32()); in setActiveColorMode()
527 Parcel data, reply; in getAutoLowLatencyModeSupport() local
535 &reply); in getAutoLowLatencyModeSupport()
540 return reply.readBool(outSupport); in getAutoLowLatencyModeSupport()
544 Parcel data, reply; in setAutoLowLatencyMode() local
561 result = remote()->transact(BnSurfaceComposer::SET_AUTO_LOW_LATENCY_MODE, data, &reply); in setAutoLowLatencyMode()
569 Parcel data, reply; in getGameContentTypeSupport() local
576 result = remote()->transact(BnSurfaceComposer::GET_GAME_CONTENT_TYPE_SUPPORT, data, &reply); in getGameContentTypeSupport()
581 return reply.readBool(outSupport); in getGameContentTypeSupport()
585 Parcel data, reply; in setGameContentType() local
601 result = remote()->transact(BnSurfaceComposer::SET_GAME_CONTENT_TYPE, data, &reply); in setGameContentType()
608 Parcel data, reply; in clearAnimationFrameStats() local
614 result = remote()->transact(BnSurfaceComposer::CLEAR_ANIMATION_FRAME_STATS, data, &reply); in clearAnimationFrameStats()
619 return reply.readInt32(); in clearAnimationFrameStats()
623 Parcel data, reply; in getAnimationFrameStats() local
625 remote()->transact(BnSurfaceComposer::GET_ANIMATION_FRAME_STATS, data, &reply); in getAnimationFrameStats()
626 reply.read(*outStats); in getAnimationFrameStats()
627 return reply.readInt32(); in getAnimationFrameStats()
632 Parcel data, reply; in getHdrCapabilities() local
640 data, &reply); in getHdrCapabilities()
645 result = reply.readInt32(); in getHdrCapabilities()
647 result = reply.read(*outCapabilities); in getHdrCapabilities()
653 Parcel data, reply; in enableVSyncInjections() local
664 result = remote()->transact(BnSurfaceComposer::ENABLE_VSYNC_INJECTIONS, data, &reply, in enableVSyncInjections()
674 Parcel data, reply; in injectVSync() local
685 result = remote()->transact(BnSurfaceComposer::INJECT_VSYNC, data, &reply, in injectVSync()
699 Parcel data, reply; in getLayerDebugInfo() local
706 err = remote()->transact(BnSurfaceComposer::GET_LAYER_DEBUG_INFO, data, &reply); in getLayerDebugInfo()
712 err = reply.readInt32(&result); in getLayerDebugInfo()
721 return reply.readParcelableVector(outLayers); in getLayerDebugInfo()
728 Parcel data, reply; in getCompositionPreference() local
733 error = remote()->transact(BnSurfaceComposer::GET_COMPOSITION_PREFERENCE, data, &reply); in getCompositionPreference()
737 error = static_cast<status_t>(reply.readInt32()); in getCompositionPreference()
739 *defaultDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in getCompositionPreference()
740 *defaultPixelFormat = static_cast<ui::PixelFormat>(reply.readInt32()); in getCompositionPreference()
741 *wideColorGamutDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in getCompositionPreference()
742 *wideColorGamutPixelFormat = static_cast<ui::PixelFormat>(reply.readInt32()); in getCompositionPreference()
748 Parcel data, reply; in getColorManagement() local
750 remote()->transact(BnSurfaceComposer::GET_COLOR_MANAGEMENT, data, &reply); in getColorManagement()
752 status_t err = reply.readBool(&result); in getColorManagement()
764 Parcel data, reply; in getDisplayedContentSamplingAttributes() local
770 data, &reply); in getDisplayedContentSamplingAttributes()
776 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
782 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
788 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
798 Parcel data, reply; in setDisplayContentSamplingEnabled() local
806 &reply); in setDisplayContentSamplingEnabled()
815 Parcel data, reply; in getDisplayedContentSample() local
822 remote()->transact(BnSurfaceComposer::GET_DISPLAYED_CONTENT_SAMPLE, data, &reply); in getDisplayedContentSample()
828 result = reply.readUint64(&outStats->numFrames); in getDisplayedContentSample()
833 result = reply.readUint64Vector(&outStats->component_0_sample); in getDisplayedContentSample()
837 result = reply.readUint64Vector(&outStats->component_1_sample); in getDisplayedContentSample()
841 result = reply.readUint64Vector(&outStats->component_2_sample); in getDisplayedContentSample()
845 result = reply.readUint64Vector(&outStats->component_3_sample); in getDisplayedContentSample()
850 Parcel data, reply; in getProtectedContentSupport() local
853 remote()->transact(BnSurfaceComposer::GET_PROTECTED_CONTENT_SUPPORT, data, &reply); in getProtectedContentSupport()
857 error = reply.readBool(outSupported); in getProtectedContentSupport()
863 Parcel data, reply; in isWideColorDisplay() local
873 error = remote()->transact(BnSurfaceComposer::IS_WIDE_COLOR_DISPLAY, data, &reply); in isWideColorDisplay()
877 error = reply.readBool(outIsWideColorDisplay); in isWideColorDisplay()
884 Parcel data, reply; in addRegionSamplingListener() local
905 error = remote()->transact(BnSurfaceComposer::ADD_REGION_SAMPLING_LISTENER, data, &reply); in addRegionSamplingListener()
913 Parcel data, reply; in removeRegionSamplingListener() local
925 &reply); in removeRegionSamplingListener()
938 Parcel data, reply; in setDesiredDisplayConfigSpecs() local
978 &reply); in setDesiredDisplayConfigSpecs()
983 return reply.readInt32(); in setDesiredDisplayConfigSpecs()
996 Parcel data, reply; in getDesiredDisplayConfigSpecs() local
1008 &reply); in getDesiredDisplayConfigSpecs()
1013 result = reply.readInt32(outDefaultConfig); in getDesiredDisplayConfigSpecs()
1018 result = reply.readFloat(outPrimaryRefreshRateMin); in getDesiredDisplayConfigSpecs()
1023 result = reply.readFloat(outPrimaryRefreshRateMax); in getDesiredDisplayConfigSpecs()
1028 result = reply.readFloat(outAppRequestRefreshRateMin); in getDesiredDisplayConfigSpecs()
1034 result = reply.readFloat(outAppRequestRefreshRateMax); in getDesiredDisplayConfigSpecs()
1040 return reply.readInt32(); in getDesiredDisplayConfigSpecs()
1045 Parcel data, reply; in getDisplayBrightnessSupport() local
1056 error = remote()->transact(BnSurfaceComposer::GET_DISPLAY_BRIGHTNESS_SUPPORT, data, &reply); in getDisplayBrightnessSupport()
1062 error = reply.readBool(&support); in getDisplayBrightnessSupport()
1072 Parcel data, reply; in setDisplayBrightness() local
1088 error = remote()->transact(BnSurfaceComposer::SET_DISPLAY_BRIGHTNESS, data, &reply); in setDisplayBrightness()
1097 Parcel data, reply; in notifyPowerHint() local
1108 error = remote()->transact(BnSurfaceComposer::NOTIFY_POWER_HINT, data, &reply, in notifyPowerHint()
1119 Parcel data, reply; in setGlobalShadowSettings() local
1137 error = remote()->transact(BnSurfaceComposer::SET_GLOBAL_SHADOW_SETTINGS, data, &reply, in setGlobalShadowSettings()
1148 Parcel data, reply; in setFrameRate() local
1173 err = remote()->transact(BnSurfaceComposer::SET_FRAME_RATE, data, &reply); in setFrameRate()
1179 return reply.readInt32(); in setFrameRate()
1185 Parcel data, reply; in acquireFrameRateFlexibilityToken() local
1194 &reply); in acquireFrameRateFlexibilityToken()
1201 err = reply.readInt32(); in acquireFrameRateFlexibilityToken()
1207 err = reply.readStrongBinder(outToken); in acquireFrameRateFlexibilityToken()
1227 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
1231 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1233 reply->writeStrongBinder(b); in onTransact()
1237 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1294 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1299 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1318 reply->writeInt32(res); in onTransact()
1320 reply->write(*outBuffer); in onTransact()
1321 reply->writeBool(capturedSecureLayers); in onTransact()
1326 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1331 reply->writeInt32(res); in onTransact()
1333 reply->writeInt32(static_cast<int32_t>(outDataspace)); in onTransact()
1334 reply->write(*outBuffer); in onTransact()
1339 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1363 reply->writeInt32(res); in onTransact()
1365 reply->write(*outBuffer); in onTransact()
1370 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1374 reply->writeInt32(result); in onTransact()
1378 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1381 status_t err = reply->writeInt32(result); in onTransact()
1394 return reply->writeInt32Vector(supported); in onTransact()
1397 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1403 reply->writeStrongBinder(IInterface::asBinder(connection)); in onTransact()
1407 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1411 reply->writeStrongBinder(display); in onTransact()
1415 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1421 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1424 reply->writeStrongBinder(display); in onTransact()
1428 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1432 reply->writeInt32(result); in onTransact()
1434 memcpy(reply->writeInplace(sizeof(ui::DisplayState)), &state, in onTransact()
1440 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1444 reply->writeInt32(result); in onTransact()
1446 memcpy(reply->writeInplace(sizeof(DisplayInfo)), &info, sizeof(DisplayInfo)); in onTransact()
1451 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1455 reply->writeInt32(result); in onTransact()
1457 reply->writeUint32(static_cast<uint32_t>(configs.size())); in onTransact()
1459 memcpy(reply->writeInplace(sizeof(DisplayConfig)), &configs[c], in onTransact()
1466 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1470 reply->writeInt32(result); in onTransact()
1472 memcpy(reply->writeInplace(sizeof(DisplayStatInfo)), in onTransact()
1478 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1481 reply->writeInt32(id); in onTransact()
1485 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1494 reply->writeInt32(result); in onTransact()
1496 reply->writeUint32(static_cast<uint32_t>(colorModes.size())); in onTransact()
1498 reply->writeInt32(static_cast<int32_t>(colorModes[i])); in onTransact()
1504 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1515 reply->writeInt32(result); in onTransact()
1517 memcpy(reply->writeInplace(sizeof(ui::DisplayPrimaries)), &primaries, in onTransact()
1524 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1532 result = reply->writeInt32(static_cast<int32_t>(colorMode)); in onTransact()
1536 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1551 result = reply->writeInt32(result); in onTransact()
1556 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1566 result = reply->writeBool(supported); in onTransact()
1572 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1590 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1600 result = reply->writeBool(supported); in onTransact()
1606 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1624 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1626 reply->writeInt32(result); in onTransact()
1630 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1633 reply->write(stats); in onTransact()
1634 reply->writeInt32(result); in onTransact()
1638 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1645 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1655 reply->writeInt32(result); in onTransact()
1657 reply->write(capabilities); in onTransact()
1662 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1672 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1682 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1685 reply->writeInt32(result); in onTransact()
1688 result = reply->writeParcelableVector(outLayers); in onTransact()
1693 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1701 reply->writeInt32(error); in onTransact()
1703 reply->writeInt32(static_cast<int32_t>(defaultDataspace)); in onTransact()
1704 reply->writeInt32(static_cast<int32_t>(defaultPixelFormat)); in onTransact()
1705 reply->writeInt32(static_cast<int32_t>(wideColorGamutDataspace)); in onTransact()
1706 reply->writeInt32(static_cast<int32_t>(wideColorGamutPixelFormat)); in onTransact()
1711 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1715 reply->writeBool(result); in onTransact()
1720 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1729 reply->writeUint32(static_cast<uint32_t>(format)); in onTransact()
1730 reply->writeUint32(static_cast<uint32_t>(dataspace)); in onTransact()
1731 reply->writeUint32(static_cast<uint32_t>(component)); in onTransact()
1736 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1772 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1793 reply->writeUint64(stats.numFrames); in onTransact()
1794 reply->writeUint64Vector(stats.component_0_sample); in onTransact()
1795 reply->writeUint64Vector(stats.component_1_sample); in onTransact()
1796 reply->writeUint64Vector(stats.component_2_sample); in onTransact()
1797 reply->writeUint64Vector(stats.component_3_sample); in onTransact()
1802 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1806 reply->writeBool(result); in onTransact()
1811 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1820 reply->writeBool(result); in onTransact()
1825 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1826 return reply->writeUint64Vector(getPhysicalDisplayIds()); in onTransact()
1829 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1851 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1861 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1907 reply->writeInt32(result); in onTransact()
1911 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1931 result = reply->writeInt32(defaultConfig); in onTransact()
1936 result = reply->writeFloat(primaryRefreshRateMin); in onTransact()
1942 result = reply->writeFloat(primaryRefreshRateMax); in onTransact()
1948 result = reply->writeFloat(appRequestRefreshRateMin); in onTransact()
1954 result = reply->writeFloat(appRequestRefreshRateMax); in onTransact()
1960 reply->writeInt32(result); in onTransact()
1964 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1973 reply->writeBool(support); in onTransact()
1977 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1993 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
2003 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
2022 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
2048 reply->writeInt32(result); in onTransact()
2052 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
2055 reply->writeInt32(result); in onTransact()
2057 reply->writeStrongBinder(token); in onTransact()
2062 return BBinder::onTransact(code, data, reply, flags); in onTransact()