Lines Matching refs:status

59     status_t status = AudioEffect::set(  in set()  local
61 if (status == NO_ERROR || status == ALREADY_EXISTS) { in set()
65 return status; in set()
102 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local
105 if (enabled && status == NO_ERROR) { in setEnabled()
116 return status; in setEnabled()
173 status_t status = setParameter(p); in setCaptureSize() local
175 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize()
177 if (status == NO_ERROR) { in setCaptureSize()
178 status = p->status; in setCaptureSize()
179 if (status == NO_ERROR) { in setCaptureSize()
184 return status; in setCaptureSize()
202 status_t status = setParameter(p); in setScalingMode() local
204 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status); in setScalingMode()
206 if (status == NO_ERROR) { in setScalingMode()
207 status = p->status; in setScalingMode()
208 if (status == NO_ERROR) { in setScalingMode()
213 return status; in setScalingMode()
232 status_t status = setParameter(p); in setMeasurementMode() local
234 ALOGV("setMeasurementMode mode %d status %d p->status %d", mode, status, p->status); in setMeasurementMode()
236 if (status == NO_ERROR) { in setMeasurementMode()
237 status = p->status; in setMeasurementMode()
238 if (status == NO_ERROR) { in setMeasurementMode()
242 return status; in setMeasurementMode()
265 status_t status = NO_ERROR; in getIntMeasurements() local
268 status = command(VISUALIZER_CMD_MEASURE, in getIntMeasurements()
272 ALOGV("getMeasurements() command returned %d", status); in getIntMeasurements()
273 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements()
274 status = NOT_ENOUGH_DATA; in getIntMeasurements()
280 return status; in getIntMeasurements()
292 status_t status = NO_ERROR; in getWaveForm() local
295 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
296 ALOGV("getWaveForm() command returned %d", status); in getWaveForm()
297 if ((status == NO_ERROR) && (replySize == 0)) { in getWaveForm()
298 status = NOT_ENOUGH_DATA; in getWaveForm()
304 return status; in getWaveForm()
316 status_t status = NO_ERROR; in getFft() local
319 status = getWaveForm(buf); in getFft()
320 if (status == NO_ERROR) { in getFft()
321 status = doFft(fft, buf); in getFft()
326 return status; in getFft()
366 status_t status = getWaveForm(waveform); in periodicCapture() local
367 if (status != NO_ERROR) { in periodicCapture()
372 status = doFft(fft, waveform); in periodicCapture()
374 if (status != NO_ERROR) { in periodicCapture()
401 status_t status = getParameter(p); in initCaptureSize() local
403 if (status == NO_ERROR) { in initCaptureSize()
404 status = p->status; in initCaptureSize()
408 if (status == NO_ERROR) { in initCaptureSize()
413 ALOGV("initCaptureSize size %d status %d", mCaptureSize, status); in initCaptureSize()
421 status_t status = getConfigs(&inputConfig, &outputConfig); in initSampleRate() local
422 if (status == NO_ERROR) { in initSampleRate()
425 ALOGV("%s sample rate %d status %d", __func__, mSampleRate, status); in initSampleRate()