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
293 data, &reply); in createDisplayEventConnection()
299 result = interface_cast<IDisplayEventConnection>(reply.readStrongBinder()); in createDisplayEventConnection()
305 Parcel data, reply; in createDisplay() local
309 remote()->transact(BnSurfaceComposer::CREATE_DISPLAY, data, &reply); in createDisplay()
310 return reply.readStrongBinder(); in createDisplay()
315 Parcel data, reply; in destroyDisplay() local
318 remote()->transact(BnSurfaceComposer::DESTROY_DISPLAY, data, &reply); in destroyDisplay()
322 Parcel data, reply; in getPhysicalDisplayIds() local
324 if (remote()->transact(BnSurfaceComposer::GET_PHYSICAL_DISPLAY_IDS, data, &reply) == in getPhysicalDisplayIds()
327 if (reply.readUint64Vector(&displayIds) == NO_ERROR) { in getPhysicalDisplayIds()
336 Parcel data, reply; in getPhysicalDisplayToken() local
339 remote()->transact(BnSurfaceComposer::GET_PHYSICAL_DISPLAY_TOKEN, data, &reply); in getPhysicalDisplayToken()
340 return reply.readStrongBinder(); in getPhysicalDisplayToken()
345 Parcel data, reply; in setPowerMode() local
349 remote()->transact(BnSurfaceComposer::SET_POWER_MODE, data, &reply); in setPowerMode()
355 Parcel data, reply; in getDisplayConfigs() local
358 remote()->transact(BnSurfaceComposer::GET_DISPLAY_CONFIGS, data, &reply); in getDisplayConfigs()
359 status_t result = reply.readInt32(); in getDisplayConfigs()
361 size_t numConfigs = reply.readUint32(); in getDisplayConfigs()
366 reply.readInplace(sizeof(DisplayInfo)), in getDisplayConfigs()
376 Parcel data, reply; in getDisplayStats() local
379 remote()->transact(BnSurfaceComposer::GET_DISPLAY_STATS, data, &reply); in getDisplayStats()
380 status_t result = reply.readInt32(); in getDisplayStats()
383 reply.readInplace(sizeof(DisplayStatInfo)), in getDisplayStats()
391 Parcel data, reply; in getActiveConfig() local
394 remote()->transact(BnSurfaceComposer::GET_ACTIVE_CONFIG, data, &reply); in getActiveConfig()
395 return reply.readInt32(); in getActiveConfig()
400 Parcel data, reply; in setActiveConfig() local
416 result = remote()->transact(BnSurfaceComposer::SET_ACTIVE_CONFIG, data, &reply); in setActiveConfig()
421 return reply.readInt32(); in setActiveConfig()
426 Parcel data, reply; in getDisplayColorModes() local
437 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_COLOR_MODES, data, &reply); in getDisplayColorModes()
442 result = static_cast<status_t>(reply.readInt32()); in getDisplayColorModes()
444 size_t numModes = reply.readUint32(); in getDisplayColorModes()
448 outColorModes->replaceAt(static_cast<ColorMode>(reply.readInt32()), i); in getDisplayColorModes()
456 Parcel data, reply; in getDisplayNativePrimaries() local
467 result = remote()->transact(BnSurfaceComposer::GET_DISPLAY_NATIVE_PRIMARIES, data, &reply); in getDisplayNativePrimaries()
472 result = reply.readInt32(); in getDisplayNativePrimaries()
474 memcpy(&primaries, reply.readInplace(sizeof(ui::DisplayPrimaries)), in getDisplayNativePrimaries()
481 Parcel data, reply; in getActiveColorMode() local
492 result = remote()->transact(BnSurfaceComposer::GET_ACTIVE_COLOR_MODE, data, &reply); in getActiveColorMode()
497 return static_cast<ColorMode>(reply.readInt32()); in getActiveColorMode()
502 Parcel data, reply; in setActiveColorMode() local
518 result = remote()->transact(BnSurfaceComposer::SET_ACTIVE_COLOR_MODE, data, &reply); in setActiveColorMode()
523 return static_cast<status_t>(reply.readInt32()); in setActiveColorMode()
527 Parcel data, reply; in clearAnimationFrameStats() local
533 result = remote()->transact(BnSurfaceComposer::CLEAR_ANIMATION_FRAME_STATS, data, &reply); in clearAnimationFrameStats()
538 return reply.readInt32(); in clearAnimationFrameStats()
542 Parcel data, reply; in getAnimationFrameStats() local
544 remote()->transact(BnSurfaceComposer::GET_ANIMATION_FRAME_STATS, data, &reply); in getAnimationFrameStats()
545 reply.read(*outStats); in getAnimationFrameStats()
546 return reply.readInt32(); in getAnimationFrameStats()
551 Parcel data, reply; in getHdrCapabilities() local
559 data, &reply); in getHdrCapabilities()
564 result = reply.readInt32(); in getHdrCapabilities()
566 result = reply.read(*outCapabilities); in getHdrCapabilities()
572 Parcel data, reply; in enableVSyncInjections() local
583 result = remote()->transact(BnSurfaceComposer::ENABLE_VSYNC_INJECTIONS, data, &reply, in enableVSyncInjections()
593 Parcel data, reply; in injectVSync() local
604 result = remote()->transact(BnSurfaceComposer::INJECT_VSYNC, data, &reply, in injectVSync()
619 Parcel data, reply; in getLayerDebugInfo() local
626 err = remote()->transact(BnSurfaceComposer::GET_LAYER_DEBUG_INFO, data, &reply); in getLayerDebugInfo()
632 err = reply.readInt32(&result); in getLayerDebugInfo()
641 return reply.readParcelableVector(outLayers); in getLayerDebugInfo()
648 Parcel data, reply; in getCompositionPreference() local
653 error = remote()->transact(BnSurfaceComposer::GET_COMPOSITION_PREFERENCE, data, &reply); in getCompositionPreference()
657 error = static_cast<status_t>(reply.readInt32()); in getCompositionPreference()
659 *defaultDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in getCompositionPreference()
660 *defaultPixelFormat = static_cast<ui::PixelFormat>(reply.readInt32()); in getCompositionPreference()
661 *wideColorGamutDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in getCompositionPreference()
662 *wideColorGamutPixelFormat = static_cast<ui::PixelFormat>(reply.readInt32()); in getCompositionPreference()
668 Parcel data, reply; in getColorManagement() local
670 remote()->transact(BnSurfaceComposer::GET_COLOR_MANAGEMENT, data, &reply); in getColorManagement()
672 status_t err = reply.readBool(&result); in getColorManagement()
684 Parcel data, reply; in getDisplayedContentSamplingAttributes() local
690 data, &reply); in getDisplayedContentSamplingAttributes()
696 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
702 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
708 error = reply.readUint32(&value); in getDisplayedContentSamplingAttributes()
719 Parcel data, reply; in setDisplayContentSamplingEnabled() local
727 &reply); in setDisplayContentSamplingEnabled()
736 Parcel data, reply; in getDisplayedContentSample() local
743 remote()->transact(BnSurfaceComposer::GET_DISPLAYED_CONTENT_SAMPLE, data, &reply); in getDisplayedContentSample()
749 result = reply.readUint64(&outStats->numFrames); in getDisplayedContentSample()
754 result = reply.readUint64Vector(&outStats->component_0_sample); in getDisplayedContentSample()
758 result = reply.readUint64Vector(&outStats->component_1_sample); in getDisplayedContentSample()
762 result = reply.readUint64Vector(&outStats->component_2_sample); in getDisplayedContentSample()
766 result = reply.readUint64Vector(&outStats->component_3_sample); in getDisplayedContentSample()
771 Parcel data, reply; in getProtectedContentSupport() local
774 remote()->transact(BnSurfaceComposer::GET_PROTECTED_CONTENT_SUPPORT, data, &reply); in getProtectedContentSupport()
778 error = reply.readBool(outSupported); in getProtectedContentSupport()
784 Parcel data, reply; in isWideColorDisplay() local
794 error = remote()->transact(BnSurfaceComposer::IS_WIDE_COLOR_DISPLAY, data, &reply); in isWideColorDisplay()
798 error = reply.readBool(outIsWideColorDisplay); in isWideColorDisplay()
805 Parcel data, reply; in addRegionSamplingListener() local
826 error = remote()->transact(BnSurfaceComposer::ADD_REGION_SAMPLING_LISTENER, data, &reply); in addRegionSamplingListener()
834 Parcel data, reply; in removeRegionSamplingListener() local
846 &reply); in removeRegionSamplingListener()
855 Parcel data, reply; in setAllowedDisplayConfigs() local
871 result = remote()->transact(BnSurfaceComposer::SET_ALLOWED_DISPLAY_CONFIGS, data, &reply); in setAllowedDisplayConfigs()
876 return reply.readInt32(); in setAllowedDisplayConfigs()
882 Parcel data, reply; in getAllowedDisplayConfigs() local
893 result = remote()->transact(BnSurfaceComposer::GET_ALLOWED_DISPLAY_CONFIGS, data, &reply); in getAllowedDisplayConfigs()
898 result = reply.readInt32Vector(outAllowedConfigs); in getAllowedDisplayConfigs()
903 return reply.readInt32(); in getAllowedDisplayConfigs()
908 Parcel data, reply; in getDisplayBrightnessSupport() local
919 error = remote()->transact(BnSurfaceComposer::GET_DISPLAY_BRIGHTNESS_SUPPORT, data, &reply); in getDisplayBrightnessSupport()
925 error = reply.readBool(&support); in getDisplayBrightnessSupport()
935 Parcel data, reply; in setDisplayBrightness() local
951 error = remote()->transact(BnSurfaceComposer::SET_DISPLAY_BRIGHTNESS, data, &reply); in setDisplayBrightness()
960 Parcel data, reply; in notifyPowerHint() local
971 error = remote()->transact(BnSurfaceComposer::NOTIFY_POWER_HINT, data, &reply, in notifyPowerHint()
990 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
994 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
996 reply->writeStrongBinder(b); in onTransact()
1000 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1056 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1061 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1081 reply->writeInt32(res); in onTransact()
1083 reply->write(*outBuffer); in onTransact()
1084 reply->writeBool(capturedSecureLayers); in onTransact()
1089 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1094 reply->writeInt32(res); in onTransact()
1096 reply->writeInt32(static_cast<int32_t>(outDataspace)); in onTransact()
1097 reply->write(*outBuffer); in onTransact()
1102 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1123 reply->writeInt32(res); in onTransact()
1125 reply->write(*outBuffer); in onTransact()
1130 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1134 reply->writeInt32(result); in onTransact()
1138 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1141 status_t err = reply->writeInt32(result); in onTransact()
1154 return reply->writeInt32Vector(supported); in onTransact()
1157 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1160 reply->writeStrongBinder(IInterface::asBinder(connection)); in onTransact()
1164 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1168 reply->writeStrongBinder(display); in onTransact()
1172 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1178 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1181 reply->writeStrongBinder(display); in onTransact()
1185 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1189 reply->writeInt32(result); in onTransact()
1191 reply->writeUint32(static_cast<uint32_t>(configs.size())); in onTransact()
1193 memcpy(reply->writeInplace(sizeof(DisplayInfo)), in onTransact()
1200 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1204 reply->writeInt32(result); in onTransact()
1206 memcpy(reply->writeInplace(sizeof(DisplayStatInfo)), in onTransact()
1212 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1215 reply->writeInt32(id); in onTransact()
1219 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1223 reply->writeInt32(result); in onTransact()
1227 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1236 reply->writeInt32(result); in onTransact()
1238 reply->writeUint32(static_cast<uint32_t>(colorModes.size())); in onTransact()
1240 reply->writeInt32(static_cast<int32_t>(colorModes[i])); in onTransact()
1246 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1257 reply->writeInt32(result); in onTransact()
1259 memcpy(reply->writeInplace(sizeof(ui::DisplayPrimaries)), &primaries, in onTransact()
1266 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1274 result = reply->writeInt32(static_cast<int32_t>(colorMode)); in onTransact()
1278 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1293 result = reply->writeInt32(result); in onTransact()
1297 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1299 reply->writeInt32(result); in onTransact()
1303 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1306 reply->write(stats); in onTransact()
1307 reply->writeInt32(result); in onTransact()
1311 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1318 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1328 reply->writeInt32(result); in onTransact()
1330 reply->write(capabilities); in onTransact()
1335 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1345 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1355 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1358 reply->writeInt32(result); in onTransact()
1361 result = reply->writeParcelableVector(outLayers); in onTransact()
1366 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1374 reply->writeInt32(error); in onTransact()
1376 reply->writeInt32(static_cast<int32_t>(defaultDataspace)); in onTransact()
1377 reply->writeInt32(static_cast<int32_t>(defaultPixelFormat)); in onTransact()
1378 reply->writeInt32(static_cast<int32_t>(wideColorGamutDataspace)); in onTransact()
1379 reply->writeInt32(static_cast<int32_t>(wideColorGamutPixelFormat)); in onTransact()
1384 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1388 reply->writeBool(result); in onTransact()
1393 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1402 reply->writeUint32(static_cast<uint32_t>(format)); in onTransact()
1403 reply->writeUint32(static_cast<uint32_t>(dataspace)); in onTransact()
1404 reply->writeUint32(static_cast<uint32_t>(component)); in onTransact()
1409 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1445 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1466 reply->writeUint64(stats.numFrames); in onTransact()
1467 reply->writeUint64Vector(stats.component_0_sample); in onTransact()
1468 reply->writeUint64Vector(stats.component_1_sample); in onTransact()
1469 reply->writeUint64Vector(stats.component_2_sample); in onTransact()
1470 reply->writeUint64Vector(stats.component_3_sample); in onTransact()
1475 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1479 reply->writeBool(result); in onTransact()
1484 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1493 reply->writeBool(result); in onTransact()
1498 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1499 return reply->writeUint64Vector(getPhysicalDisplayIds()); in onTransact()
1502 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1524 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1534 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1539 reply->writeInt32(result); in onTransact()
1543 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1547 reply->writeInt32Vector(allowedConfigs); in onTransact()
1548 reply->writeInt32(result); in onTransact()
1552 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1561 reply->writeBool(support); in onTransact()
1565 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1581 CHECK_INTERFACE(ISurfaceComposer, data, reply); in onTransact()
1591 return BBinder::onTransact(code, data, reply, flags); in onTransact()