Lines Matching refs:retval

99     Result retval;  in getAudioProperties()  local
103 retval = r; in getAudioProperties()
104 if (retval == Result::OK) { in getAudioProperties()
108 if (status_t status = processReturn("getAudioProperties", ret, retval); status == NO_ERROR) { in getAudioProperties()
133 Result retval; in getParameters() local
139 retval = r; in getParameters()
140 if (retval == Result::OK) { in getParameters()
144 return processReturn("getParameters", ret, retval); in getParameters()
207 Result retval; in createMmapBuffer() local
211 retval = r; in createMmapBuffer()
212 if (retval == Result::OK) { in createMmapBuffer()
231 retval = Result::NOT_INITIALIZED; in createMmapBuffer()
235 return processReturn("createMmapBuffer", ret, retval); in createMmapBuffer()
240 Result retval; in getMmapPosition() local
243 retval = r; in getMmapPosition()
244 if (retval == Result::OK) { in getMmapPosition()
249 return processReturn("getMmapPosition", ret, retval); in getMmapPosition()
514 writeStatus.retval = Result::NOT_INITIALIZED; in callWriterThread()
518 if (writeStatus.retval == Result::OK) { in callWriterThread()
522 ret = processReturn(cmdName, writeStatus.retval); in callWriterThread()
537 Result retval; in prepareForWriting() local
546 retval = r; in prepareForWriting()
547 if (retval == Result::OK) { in prepareForWriting()
562 if (!ret.isOk() || retval != Result::OK) { in prepareForWriting()
563 return processReturn("prepareForWriting", ret, retval); in prepareForWriting()
597 Result retval; in getRenderPosition() local
601 retval = r; in getRenderPosition()
602 if (retval == Result::OK) { in getRenderPosition()
606 status_t status = processReturn("getRenderPosition", ret, retval); in getRenderPosition()
708 Result retval; in getPresentationPosition() local
711 retval = r; in getPresentationPosition()
712 if (retval == Result::OK) { in getPresentationPosition()
718 return processReturn("getPresentationPosition", ret, retval); in getPresentationPosition()
794 Result retval; in getDualMonoMode() local
797 retval = r; in getDualMonoMode()
798 if (retval == Result::OK) { in getDualMonoMode()
802 return processReturn("getDualMonoMode", ret, retval); in getDualMonoMode()
815 Result retval; in getAudioDescriptionMixLevel() local
818 retval = r; in getAudioDescriptionMixLevel()
819 if (retval == Result::OK) { in getAudioDescriptionMixLevel()
823 return processReturn("getAudioDescriptionMixLevel", ret, retval); in getAudioDescriptionMixLevel()
836 Result retval; in getPlaybackRateParameters() local
839 retval = r; in getPlaybackRateParameters()
840 if (retval == Result::OK) { in getPlaybackRateParameters()
851 return processReturn("getPlaybackRateParameters", ret, retval); in getPlaybackRateParameters()
914 Result retval; in getRecommendedLatencyModes() local
917 retval = r; in getRecommendedLatencyModes()
922 return processReturn("getRecommendedLatencyModes", ret, retval); in getRecommendedLatencyModes()
1100 readStatus.retval = Result::NOT_INITIALIZED; in callReaderThread()
1104 if (readStatus.retval == Result::OK) { in callReaderThread()
1108 ret = processReturn(cmdName, readStatus.retval); in callReaderThread()
1123 Result retval; in prepareForReading() local
1132 retval = r; in prepareForReading()
1133 if (retval == Result::OK) { in prepareForReading()
1148 if (!ret.isOk() || retval != Result::OK) { in prepareForReading()
1149 return processReturn("prepareForReading", ret, retval); in prepareForReading()
1198 Result retval; in getCapturePosition() local
1201 retval = r; in getCapturePosition()
1202 if (retval == Result::OK) { in getCapturePosition()
1207 return processReturn("getCapturePosition", ret, retval); in getCapturePosition()
1229 Result retval; in getActiveMicrophones() local
1232 retval = r; in getActiveMicrophones()
1247 return processReturn("getActiveMicrophones", ret, retval); in getActiveMicrophones()