Lines Matching refs:result

98         int result = remote()->transact(ADD_VIRTUAL_DISPLAY_DEVICE, data, &reply);  in addVirtualDisplayDevice()  local
99 if (result == NO_ERROR) in addVirtualDisplayDevice()
100 result = reply.readInt32(); in addVirtualDisplayDevice()
102 ALOGE("ADD_VIRTUAL_DISPLAY_DEVICE transact error(%d)", result); in addVirtualDisplayDevice()
103 return result; in addVirtualDisplayDevice()
110 int result = remote()->transact(DESTROY_VIRTUAL_DISPLAY_DEVICE, data, &reply); in destroyVirtualDisplayDevice() local
111 if (result == NO_ERROR) in destroyVirtualDisplayDevice()
112 result = reply.readInt32(); in destroyVirtualDisplayDevice()
114 ALOGE("DESTROY_VIRTUAL_DISPLAY_DEVICE transact error(%d)", result); in destroyVirtualDisplayDevice()
115 return result; in destroyVirtualDisplayDevice()
123 int result = remote()->transact(SET_WFD_MODE, data, &reply); in setWFDMode() local
124 if (result == NO_ERROR) in setWFDMode()
125 result = reply.readInt32(); in setWFDMode()
127 ALOGE("SET_WFD_MODE transact error(%d)", result); in setWFDMode()
128 return result; in setWFDMode()
135 int result = remote()->transact(GET_WFD_MODE, data, &reply); in getWFDMode() local
136 if (result == NO_ERROR) in getWFDMode()
137 result = reply.readInt32(); in getWFDMode()
139 ALOGE("GET_WFD_MODE transact error(%d)", result); in getWFDMode()
140 return result; in getWFDMode()
150 int result = remote()->transact(SEND_WFD_COMMAND, data, &reply); in sendWFDCommand() local
151 if (result == NO_ERROR) in sendWFDCommand()
152 result = reply.readInt32(); in sendWFDCommand()
154 ALOGE("SEND_WFD_COMMAND transact error(%d)", result); in sendWFDCommand()
155 return result; in sendWFDCommand()
163 int result = remote()->transact(SET_SECURE_VDS_MODE, data, &reply); in setSecureVDSMode() local
164 if (result == NO_ERROR) in setSecureVDSMode()
165 result = reply.readInt32(); in setSecureVDSMode()
167 ALOGE("SET_SECURE_VDS_MODE transact error(%d)", result); in setSecureVDSMode()
168 return result; in setSecureVDSMode()
177 int result = remote()->transact(SET_WFD_OUTPUT_RESOLUTION, data, &reply); in setWFDOutputResolution() local
178 if (result == NO_ERROR) in setWFDOutputResolution()
179 result = reply.readInt32(); in setWFDOutputResolution()
181 ALOGE("SET_WFD_OUTPUT_RESOLUTION transact error(%d)", result); in setWFDOutputResolution()
182 return result; in setWFDOutputResolution()
188 int result = remote()->transact(GET_WFD_OUTPUT_RESOLUTION, data, &reply); in getWFDOutputResolution() local
189 if (result == NO_ERROR) { in getWFDOutputResolution()
192 result = reply.readInt32(); in getWFDOutputResolution()
194 ALOGE("GET_WFD_OUTPUT_RESOLUTION transact error(%d)", result); in getWFDOutputResolution()
195 return result; in getWFDOutputResolution()
203 int result = remote()->transact(SET_PRESENTATION_MODE, data, &reply); in setPresentationMode() local
204 if (result != NO_ERROR) in setPresentationMode()
205 ALOGE("SET_PRESENTATION_MODE transact error(%d)", result); in setPresentationMode()
212 int result = remote()->transact(GET_PRESENTATION_MODE, data, &reply); in getPresentationMode() local
213 if (result == NO_ERROR) in getPresentationMode()
214 result = reply.readInt32(); in getPresentationMode()
216 ALOGE("GET_PRESENTATION_MODE transact error(%d)", result); in getPresentationMode()
217 return result; in getPresentationMode()
225 int result = remote()->transact(SET_VDS_GLES_FORMAT, data, &reply); in setVDSGlesFormat() local
226 if (result == NO_ERROR) in setVDSGlesFormat()
227 result = reply.readInt32(); in setVDSGlesFormat()
229 ALOGE("SET_VDS_GLES_FORMAT transact error(%d)", result); in setVDSGlesFormat()
230 return result; in setVDSGlesFormat()
237 int result = remote()->transact(GET_EXTERNAL_DISPLAY_CONFIG, data, &reply); in getExternalDisplayConfigs() local
238 if (result == NO_ERROR) in getExternalDisplayConfigs()
239 result = reply.readInt32(); in getExternalDisplayConfigs()
241 ALOGE("GET_EXTERNAL_DISPLAY_CONFIG transact error(%d)", result); in getExternalDisplayConfigs()
242 return result; in getExternalDisplayConfigs()
250 int result = remote()->transact(SET_EXTERNAL_DISPLAY_CONFIG, data, &reply); in setExternalDisplayConfig() local
251 if (result == NO_ERROR) in setExternalDisplayConfig()
252 result = reply.readInt32(); in setExternalDisplayConfig()
254 ALOGE("SET_EXTERNAL_DISPLAY_CONFIG transact error(%d)", result); in setExternalDisplayConfig()
255 return result; in setExternalDisplayConfig()
263 int result = remote()->transact(SET_EXTERNAL_VSYNC, data, &reply); in setExternalVsyncEnabled() local
264 if (result == NO_ERROR) in setExternalVsyncEnabled()
265 result = reply.readInt32(); in setExternalVsyncEnabled()
267 ALOGE("SET_EXTERNAL_VSYNC transact error(%d)", result); in setExternalVsyncEnabled()
268 return result; in setExternalVsyncEnabled()
275 int result = remote()->transact(GET_EXTERNAL_HDR_CAPA, data, &reply); in getExternalHdrCapabilities() local
276 if (result == NO_ERROR) in getExternalHdrCapabilities()
277 result = reply.readInt32(); in getExternalHdrCapabilities()
279 ALOGE("GET_EXTERNAL_HDR_CAPA transact error(%d)", result); in getExternalHdrCapabilities()
281 return result; in getExternalHdrCapabilities()
288 int result = remote()->transact(SET_BOOT_FINISHED, data, &reply); in setBootFinished() local
289 if (result != NO_ERROR) in setBootFinished()
290 ALOGE("SET_BOOT_FINISHED transact error(%d)", result); in setBootFinished()
301 int result = remote()->transact(ENABLE_MPP, data, &reply); in enableMPP() local
302 if (result != NO_ERROR) in enableMPP()
303 ALOGE("ENABLE_MPP transact error(%d)", result); in enableMPP()
315 int result = remote()->transact(SET_SCALE_DOWN_RATIO, data, &reply); in setScaleDownRatio() local
316 if (result != NO_ERROR) in setScaleDownRatio()
317 ALOGE("SET_SCALE_DOWN_RATIO transact error(%d)", result); in setScaleDownRatio()
326 int result = remote()->transact(SET_LBE_CTRL, data, &reply); in setLbeCtrl() local
327 if (result != NO_ERROR) ALOGE("SET_LBE_CTRL transact error(%d)", result); in setLbeCtrl()
335 int result = remote()->transact(SET_HWC_DEBUG, data, &reply); in setHWCDebug() local
336 if (result != NO_ERROR) in setHWCDebug()
337 ALOGE("SET_HWC_DEBUG transact error(%d)", result); in setHWCDebug()
344 int result = remote()->transact(GET_HWC_DEBUG, data, &reply); in getHWCDebug() local
345 if (result == NO_ERROR) in getHWCDebug()
346 result = reply.readInt32(); in getHWCDebug()
348 ALOGE("GET_HWC_DEBUG transact error(%d)", result); in getHWCDebug()
350 return result; in getHWCDebug()
376 int result = remote()->transact(HWC_CONTROL, data, &reply); in setHWCCtl() local
377 if (result == NO_ERROR) in setHWCCtl()
378 result = reply.readInt32(); in setHWCCtl()
380 ALOGE("HWC_CONTROL transact error(%d)", result); in setHWCCtl()
381 return result; in setHWCCtl()
390 int result = remote()->transact(SET_DDISCALER, data, &reply); in setDDIScaler() local
391 if (result == NO_ERROR) in setDDIScaler()
392 result = reply.readInt32(); in setDDIScaler()
394 ALOGE("SET_DDISCALER transact error(%d)", result); in setDDIScaler()
395 return result; in setDDIScaler()
414 int result = remote()->transact(SET_DISPLAY_BRIGHTNESS, data, &reply); in setDisplayBrightness() local
415 if (result) in setDisplayBrightness()
416 ALOGE("SET_DISPLAY_BRIGHTNESS transact error(%d)", result); in setDisplayBrightness()
417 return result; in setDisplayBrightness()
425 int result = remote()->transact(IGNORE_DISPLAY_BRIGHTNESS_UPDATE_REQUESTS, data, &reply); in ignoreDisplayBrightnessUpdateRequests() local
426 if (result) ALOGE("IGNORE_DISPLAY_BRIGHTNESS_UPDATE_REQUESTS transact error(%d)", result); in ignoreDisplayBrightnessUpdateRequests()
427 return result; in ignoreDisplayBrightnessUpdateRequests()
435 int result = remote()->transact(SET_DISPLAY_BRIGHTNESS_NITS, data, &reply); in setDisplayBrightnessNits() local
436 if (result) ALOGE("SET_DISPLAY_BRIGHTNESS_NITS transact error(%d)", result); in setDisplayBrightnessNits()
437 return result; in setDisplayBrightnessNits()
445 int result = remote()->transact(SET_DISPLAY_BRIGHTNESS_DBV, data, &reply); in setDisplayBrightnessDbv() local
446 if (result) { in setDisplayBrightnessDbv()
447 ALOGE("SET_DISPLAY_BRIGHTNESS_DBV transact error(%d)", result); in setDisplayBrightnessDbv()
449 return result; in setDisplayBrightnessDbv()
457 int result = remote()->transact(SET_DISPLAY_LHBM, data, &reply); in setDisplayLhbm() local
458 if (result) ALOGE("SET_DISPLAY_LHBM transact error(%d)", result); in setDisplayLhbm()
459 return result; in setDisplayLhbm()
467 int result = remote()->transact(SET_MIN_IDLE_REFRESH_RATE, data, &reply); in setMinIdleRefreshRate() local
468 if (result) ALOGE("SET_MIN_IDLE_REFRESH_RATE transact error(%d)", result); in setMinIdleRefreshRate()
469 return result; in setMinIdleRefreshRate()
477 int result = remote()->transact(SET_REFRESH_RATE_THROTTLE, data, &reply); in setRefreshRateThrottle() local
478 if (result) ALOGE("SET_REFRESH_RATE_THROTTLE transact error(%d)", result); in setRefreshRateThrottle()
479 return result; in setRefreshRateThrottle()
488 auto result = remote()->transact(SET_DISPLAY_RCDLAYER_ENABLED, data, &reply); in setDisplayRCDLayerEnabled() local
489 ALOGE_IF(result != NO_ERROR, "SET_DISPLAY_RCDLAYER_ENABLED transact error(%d)", result); in setDisplayRCDLayerEnabled()
490 return result; in setDisplayRCDLayerEnabled()
499 auto result = remote()->transact(TRIGGER_DISPLAY_IDLE_ENTER, data, &reply); in triggerDisplayIdleEnter() local
500 ALOGE_IF(result != NO_ERROR, "TRIGGER_DISPLAY_IDLE_ENTER transact error(%d)", result); in triggerDisplayIdleEnter()
501 return result; in triggerDisplayIdleEnter()
509 int result = remote()->transact(SET_DISPLAY_DBM, data, &reply); in setDisplayDbm() local
510 if (result) ALOGE("SET_DISPLAY_DBM transact error(%d)", result); in setDisplayDbm()
511 return result; in setDisplayDbm()
520 int result = remote()->transact(SET_DISPLAY_MULTI_THREADED_PRESENT, data, &reply); in setDisplayMultiThreadedPresent() local
521 if (result) ALOGE("SET_DISPLAY_MULTI_THREADED_PRESENT transact error(%d)", result); in setDisplayMultiThreadedPresent()
522 return result; in setDisplayMultiThreadedPresent()
532 auto result = remote()->transact(TRIGGER_REFRESH_RATE_INDICATOR_UPDATE, data, &reply); in triggerRefreshRateIndicatorUpdate() local
533 ALOGE_IF(result != NO_ERROR, "TRIGGER_REFRESH_RATE_INDICATOR_UPDATE transact error(%d)", in triggerRefreshRateIndicatorUpdate()
534 result); in triggerRefreshRateIndicatorUpdate()
535 return result; in triggerRefreshRateIndicatorUpdate()
544 auto result = remote()->transact(DUMP_BUFFERS, data, &reply); in dumpBuffers() local
545 ALOGE_IF(result != NO_ERROR, "DUMP_BUFFERS transact error(%d)", result); in dumpBuffers()
546 return result; in dumpBuffers()
554 int result = remote()->transact(SET_PRESENT_TIMEOUT_CONTROLLER, data, &reply); in setPresentTimeoutController() local
555 ALOGE_IF(result != NO_ERROR, "SET_PRESENT_TIMEOUT_CONTROLLER transact error(%d)", result); in setPresentTimeoutController()
556 return result; in setPresentTimeoutController()
573 int result = remote()->transact(SET_PRESENT_TIMEOUT_PARAMETERS, data, &reply); in setPresentTimeoutParameters() local
574 ALOGE_IF(result != NO_ERROR, "SET_PRESENT_TIMEOUT_PARAMETERS transact error(%d)", result); in setPresentTimeoutParameters()
575 return result; in setPresentTimeoutParameters()
583 int result = remote()->transact(SET_FIXED_TE2_RATE, data, &reply); in setFixedTe2Rate() local
584 if (result) ALOGE("SET_FIXED_TE2_RATE transact error(%d)", result); in setFixedTe2Rate()
585 return result; in setFixedTe2Rate()