Lines Matching refs:reply

61         Parcel data, reply;  in createConnection()  local
63 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
64 return interface_cast<ISurfaceComposerClient>(reply.readStrongBinder()); in createConnection()
74 Parcel data, reply; in setTransactionState() local
101 remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); in setTransactionState()
106 Parcel data, reply; in bootFinished() local
108 remote()->transact(BnSurfaceComposer::BOOT_FINISHED, data, &reply); in bootFinished()
116 Parcel data, reply; in captureScreen() local
127 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in captureScreen()
132 result = reply.readInt32(); in captureScreen()
139 reply.read(**outBuffer); in captureScreen()
140 outCapturedSecureLayers = reply.readBool(); in captureScreen()
147 Parcel data, reply; in captureScreen() local
150 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN_BY_ID, data, &reply); in captureScreen()
155 result = reply.readInt32(); in captureScreen()
161 *outDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in captureScreen()
163 reply.read(**outBuffer); in captureScreen()
173 Parcel data, reply; in captureLayers() local
185 status_t result = remote()->transact(BnSurfaceComposer::CAPTURE_LAYERS, data, &reply); in captureLayers()
190 result = reply.readInt32(); in captureLayers()
197 reply.read(**outBuffer); in captureLayers()
205 Parcel data, reply; in authenticateSurfaceTexture() local
221 &reply); in authenticateSurfaceTexture()
228 err = reply.readInt32(&result); in authenticateSurfaceTexture()
244 Parcel data, reply; in getSupportedFrameTimestamps() local
254 data, &reply); in getSupportedFrameTimestamps()
260 err = reply.readInt32(&result); in getSupportedFrameTimestamps()
269 err = reply.readInt32Vector(&supported); in getSupportedFrameTimestamps()
283 Parcel data, reply; in createDisplayEventConnection() local
294 data, &reply); in createDisplayEventConnection()
300 result = interface_cast<IDisplayEventConnection>(reply.readStrongBinder()); in createDisplayEventConnection()
306 Parcel data, reply; in createDisplay() local
310 remote()->transact(BnSurfaceComposer::CREATE_DISPLAY, data, &reply); in createDisplay()
311 return reply.readStrongBinder(); in createDisplay()
316 Parcel data, reply; in destroyDisplay() local
319 remote()->transact(BnSurfaceComposer::DESTROY_DISPLAY, data, &reply); in destroyDisplay()
323 Parcel data, reply; in getPhysicalDisplayIds() local
325 if (remote()->transact(BnSurfaceComposer::GET_PHYSICAL_DISPLAY_IDS, data, &reply) == in getPhysicalDisplayIds()
328 if (reply.readUint64Vector(&displayIds) == NO_ERROR) { in getPhysicalDisplayIds()
337 Parcel data, reply; in getPhysicalDisplayToken() local
340 remote()->transact(BnSurfaceComposer::GET_PHYSICAL_DISPLAY_TOKEN, data, &reply); in getPhysicalDisplayToken()
341 return reply.readStrongBinder(); in getPhysicalDisplayToken()
346 Parcel data, reply; in setPowerMode() local
350 remote()->transact(BnSurfaceComposer::SET_POWER_MODE, data, &reply); in setPowerMode()
356 Parcel data, reply; in getDisplayConfigs() local
359 remote()->transact(BnSurfaceComposer::GET_DISPLAY_CONFIGS, data, &reply); in getDisplayConfigs()
360 status_t result = reply.readInt32(); in getDisplayConfigs()
362 size_t numConfigs = reply.readUint32(); in getDisplayConfigs()
367 reply.readInplace(sizeof(DisplayInfo)), in getDisplayConfigs()
377 Parcel data, reply; in getDisplayStats() local
380 remote()->transact(BnSurfaceComposer::GET_DISPLAY_STATS, data, &reply); in getDisplayStats()
381 status_t result = reply.readInt32(); in getDisplayStats()
384 reply.readInplace(sizeof(DisplayStatInfo)), in getDisplayStats()
392 Parcel data, reply; in getActiveConfig() local
395 remote()->transact(BnSurfaceComposer::GET_ACTIVE_CONFIG, data, &reply); in getActiveConfig()
396 return reply.readInt32(); in getActiveConfig()
401 Parcel data, reply; in setActiveConfig() local
417 result = remote()->transact(BnSurfaceComposer::SET_ACTIVE_CONFIG, data, &reply); in setActiveConfig()
422 return reply.readInt32(); in setActiveConfig()
427 Parcel data, reply; in getDisplayColorModes() local
438 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_COLOR_MODES, data, &reply); in getDisplayColorModes()
443 result = static_cast<status_t>(reply.readInt32()); in getDisplayColorModes()
445 size_t numModes = reply.readUint32(); in getDisplayColorModes()
449 outColorModes->replaceAt(static_cast<ColorMode>(reply.readInt32()), i); in getDisplayColorModes()
457 Parcel data, reply; in getDisplayNativePrimaries() local
468 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_NATIVE_PRIMARIES, data, &reply); in getDisplayNativePrimaries()
473 result = reply.readInt32(); in getDisplayNativePrimaries()
475 memcpy(&primaries, reply.readInplace(sizeof(ui::DisplayPrimaries)), in getDisplayNativePrimaries()
482 Parcel data, reply; in getActiveColorMode() local
493 result = remote()->transact(BnSurfaceComposer::GET_ACTIVE_COLOR_MODE, data, &reply); in getActiveColorMode()
498 return static_cast<ColorMode>(reply.readInt32()); in getActiveColorMode()
503 Parcel data, reply; in setActiveColorMode() local
519 result = remote()->transact(BnSurfaceComposer::SET_ACTIVE_COLOR_MODE, data, &reply); in setActiveColorMode()
524 return static_cast<status_t>(reply.readInt32()); in setActiveColorMode()
528 Parcel data, reply; in clearAnimationFrameStats() local
534 result = remote()->transact(BnSurfaceComposer::CLEAR_ANIMATION_FRAME_STATS, data, &reply); in clearAnimationFrameStats()
539 return reply.readInt32(); in clearAnimationFrameStats()
543 Parcel data, reply; in getAnimationFrameStats() local
545 remote()->transact(BnSurfaceComposer::GET_ANIMATION_FRAME_STATS, data, &reply); in getAnimationFrameStats()
546 reply.read(*outStats); in getAnimationFrameStats()
547 return reply.readInt32(); in getAnimationFrameStats()
552 Parcel data, reply; in getHdrCapabilities() local
560 data, &reply); in getHdrCapabilities()
565 result = reply.readInt32(); in getHdrCapabilities()
567 result = reply.read(*outCapabilities); in getHdrCapabilities()
573 Parcel data, reply; in enableVSyncInjections() local
584 result = remote()->transact(BnSurfaceComposer::ENABLE_VSYNC_INJECTIONS, data, &reply, in enableVSyncInjections()
594 Parcel data, reply; in injectVSync() local
605 result = remote()->transact(BnSurfaceComposer::INJECT_VSYNC, data, &reply, in injectVSync()
620 Parcel data, reply; in getLayerDebugInfo() local
627 err = remote()->transact(BnSurfaceComposer::GET_LAYER_DEBUG_INFO, data, &reply); in getLayerDebugInfo()
633 err = reply.readInt32(&result); in getLayerDebugInfo()
642 return reply.readParcelableVector(outLayers); in getLayerDebugInfo()
649 Parcel data, reply; in getCompositionPreference() local
654 error = remote()->transact(BnSurfaceComposer::GET_COMPOSITION_PREFERENCE, data, &reply); in getCompositionPreference()
658 error = static_cast<status_t>(reply.readInt32()); in getCompositionPreference()
660 *defaultDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in getCompositionPreference()
661 *defaultPixelFormat = static_cast<ui::PixelFormat>(reply.readInt32()); in getCompositionPreference()
662 *wideColorGamutDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in getCompositionPreference()
663 *wideColorGamutPixelFormat = static_cast<ui::PixelFormat>(reply.readInt32()); in getCompositionPreference()
669 Parcel data, reply; in getColorManagement() local
671 remote()->transact(BnSurfaceComposer::GET_COLOR_MANAGEMENT, data, &reply); in getColorManagement()
673 status_t err = reply.readBool(&result); in getColorManagement()
685 Parcel data, reply; in getDisplayedContentSamplingAttributes() local
691 data, &reply); in getDisplayedContentSamplingAttributes()
697 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
703 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
709 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
720 Parcel data, reply; in setDisplayContentSamplingEnabled() local
728 &reply); in setDisplayContentSamplingEnabled()
737 Parcel data, reply; in getDisplayedContentSample() local
744 remote()->transact(BnSurfaceComposer::GET_DISPLAYED_CONTENT_SAMPLE, data, &reply); in getDisplayedContentSample()
750 result = reply.readUint64(&outStats->numFrames); in getDisplayedContentSample()
755 result = reply.readUint64Vector(&outStats->component_0_sample); in getDisplayedContentSample()
759 result = reply.readUint64Vector(&outStats->component_1_sample); in getDisplayedContentSample()
763 result = reply.readUint64Vector(&outStats->component_2_sample); in getDisplayedContentSample()
767 result = reply.readUint64Vector(&outStats->component_3_sample); in getDisplayedContentSample()
772 Parcel data, reply; in getProtectedContentSupport() local
775 remote()->transact(BnSurfaceComposer::GET_PROTECTED_CONTENT_SUPPORT, data, &reply); in getProtectedContentSupport()
779 error = reply.readBool(outSupported); in getProtectedContentSupport()
785 Parcel data, reply; in isWideColorDisplay() local
795 error = remote()->transact(BnSurfaceComposer::IS_WIDE_COLOR_DISPLAY, data, &reply); in isWideColorDisplay()
799 error = reply.readBool(outIsWideColorDisplay); in isWideColorDisplay()
806 Parcel data, reply; in addRegionSamplingListener() local
827 error = remote()->transact(BnSurfaceComposer::ADD_REGION_SAMPLING_LISTENER, data, &reply); in addRegionSamplingListener()
835 Parcel data, reply; in removeRegionSamplingListener() local
847 &reply); in removeRegionSamplingListener()
856 Parcel data, reply; in setAllowedDisplayConfigs() local
872 result = remote()->transact(BnSurfaceComposer::SET_ALLOWED_DISPLAY_CONFIGS, data, &reply); in setAllowedDisplayConfigs()
877 return reply.readInt32(); in setAllowedDisplayConfigs()
883 Parcel data, reply; in getAllowedDisplayConfigs() local
894 result = remote()->transact(BnSurfaceComposer::GET_ALLOWED_DISPLAY_CONFIGS, data, &reply); in getAllowedDisplayConfigs()
899 result = reply.readInt32Vector(outAllowedConfigs); in getAllowedDisplayConfigs()
904 return reply.readInt32(); in getAllowedDisplayConfigs()
909 Parcel data, reply; in getDisplayBrightnessSupport() local
920 error = remote()->transact(BnSurfaceComposer::GET_DISPLAY_BRIGHTNESS_SUPPORT, data, &reply); in getDisplayBrightnessSupport()
926 error = reply.readBool(&support); in getDisplayBrightnessSupport()
936 Parcel data, reply; in setDisplayBrightness() local
952 error = remote()->transact(BnSurfaceComposer::SET_DISPLAY_BRIGHTNESS, data, &reply); in setDisplayBrightness()
961 Parcel data, reply; in notifyPowerHint() local
972 error = remote()->transact(BnSurfaceComposer::NOTIFY_POWER_HINT, data, &reply, in notifyPowerHint()
991 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
995 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
997 reply->writeStrongBinder(b); in onTransact()
1001 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1057 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1062 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1082 reply->writeInt32(res); in onTransact()
1084 reply->write(*outBuffer); in onTransact()
1085 reply->writeBool(capturedSecureLayers); in onTransact()
1090 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1095 reply->writeInt32(res); in onTransact()
1097 reply->writeInt32(static_cast<int32_t>(outDataspace)); in onTransact()
1098 reply->write(*outBuffer); in onTransact()
1103 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1124 reply->writeInt32(res); in onTransact()
1126 reply->write(*outBuffer); in onTransact()
1131 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1135 reply->writeInt32(result); in onTransact()
1139 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1142 status_t err = reply->writeInt32(result); in onTransact()
1155 return reply->writeInt32Vector(supported); in onTransact()
1158 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1164 reply->writeStrongBinder(IInterface::asBinder(connection)); in onTransact()
1168 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1172 reply->writeStrongBinder(display); in onTransact()
1176 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1182 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1185 reply->writeStrongBinder(display); in onTransact()
1189 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1193 reply->writeInt32(result); in onTransact()
1195 reply->writeUint32(static_cast<uint32_t>(configs.size())); in onTransact()
1197 memcpy(reply->writeInplace(sizeof(DisplayInfo)), in onTransact()
1204 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1208 reply->writeInt32(result); in onTransact()
1210 memcpy(reply->writeInplace(sizeof(DisplayStatInfo)), in onTransact()
1216 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1219 reply->writeInt32(id); in onTransact()
1223 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1227 reply->writeInt32(result); in onTransact()
1231 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1240 reply->writeInt32(result); in onTransact()
1242 reply->writeUint32(static_cast<uint32_t>(colorModes.size())); in onTransact()
1244 reply->writeInt32(static_cast<int32_t>(colorModes[i])); in onTransact()
1250 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1261 reply->writeInt32(result); in onTransact()
1263 memcpy(reply->writeInplace(sizeof(ui::DisplayPrimaries)), &primaries, in onTransact()
1270 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1278 result = reply->writeInt32(static_cast<int32_t>(colorMode)); in onTransact()
1282 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1297 result = reply->writeInt32(result); in onTransact()
1301 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1303 reply->writeInt32(result); in onTransact()
1307 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1310 reply->write(stats); in onTransact()
1311 reply->writeInt32(result); in onTransact()
1315 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1322 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1332 reply->writeInt32(result); in onTransact()
1334 reply->write(capabilities); in onTransact()
1339 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1349 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1359 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1362 reply->writeInt32(result); in onTransact()
1365 result = reply->writeParcelableVector(outLayers); in onTransact()
1370 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1378 reply->writeInt32(error); in onTransact()
1380 reply->writeInt32(static_cast<int32_t>(defaultDataspace)); in onTransact()
1381 reply->writeInt32(static_cast<int32_t>(defaultPixelFormat)); in onTransact()
1382 reply->writeInt32(static_cast<int32_t>(wideColorGamutDataspace)); in onTransact()
1383 reply->writeInt32(static_cast<int32_t>(wideColorGamutPixelFormat)); in onTransact()
1388 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1392 reply->writeBool(result); in onTransact()
1397 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1406 reply->writeUint32(static_cast<uint32_t>(format)); in onTransact()
1407 reply->writeUint32(static_cast<uint32_t>(dataspace)); in onTransact()
1408 reply->writeUint32(static_cast<uint32_t>(component)); in onTransact()
1413 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1449 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1470 reply->writeUint64(stats.numFrames); in onTransact()
1471 reply->writeUint64Vector(stats.component_0_sample); in onTransact()
1472 reply->writeUint64Vector(stats.component_1_sample); in onTransact()
1473 reply->writeUint64Vector(stats.component_2_sample); in onTransact()
1474 reply->writeUint64Vector(stats.component_3_sample); in onTransact()
1479 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1483 reply->writeBool(result); in onTransact()
1488 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1497 reply->writeBool(result); in onTransact()
1502 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1503 return reply->writeUint64Vector(getPhysicalDisplayIds()); in onTransact()
1506 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1528 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1538 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1543 reply->writeInt32(result); in onTransact()
1547 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1551 reply->writeInt32Vector(allowedConfigs); in onTransact()
1552 reply->writeInt32(result); in onTransact()
1556 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1565 reply->writeBool(support); in onTransact()
1569 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1585 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1595 return BBinder::onTransact(code, data, reply, flags); in onTransact()