Lines Matching refs:Result
43 using ::android::hardware::audio::V2_0::Result;
137 Result retval; in getMasterVolume()
139 [&](Result r, float v) { in getMasterVolume()
141 if (retval == Result::OK) { in getMasterVolume()
161 Result retval; in getMicMute()
163 [&](Result r, bool mute) { in getMicMute()
165 if (retval == Result::OK) { in getMicMute()
179 Result retval; in getMasterMute()
181 [&](Result r, bool mute) { in getMasterMute()
183 if (retval == Result::OK) { in getMasterMute()
204 Result retval; in getParameters()
207 [&](Result r, const hidl_vec<ParameterValue>& parameters) { in getParameters()
209 if (retval == Result::OK) { in getParameters()
221 Result retval; in getInputBufferSize()
224 [&](Result r, uint64_t bufferSize) { in getInputBufferSize()
226 if (retval == Result::OK) { in getInputBufferSize()
246 Result retval = Result::NOT_INITIALIZED; in openOutputStream()
252 [&](Result r, const sp<IStreamOut>& result, const AudioConfig& suggestedConfig) { in openOutputStream()
254 if (retval == Result::OK) { in openOutputStream()
276 Result retval = Result::NOT_INITIALIZED; in openInputStream()
283 [&](Result r, const sp<IStreamIn>& result, const AudioConfig& suggestedConfig) { in openInputStream()
285 if (retval == Result::OK) { in openInputStream()
308 Result retval; in createAudioPatch()
311 [&](Result r, AudioPatchHandle hidlPatch) { in createAudioPatch()
313 if (retval == Result::OK) { in createAudioPatch()
329 Result retval; in getAudioPort()
332 [&](Result r, const AudioPort& p) { in getAudioPort()
334 if (retval == Result::OK) { in getAudioPort()