Lines Matching refs:status
93 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local
96 if (enabled && status == NO_ERROR) { in setEnabled()
107 return status; in setEnabled()
163 status_t status = setParameter(p); in setCaptureSize() local
165 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize()
167 if (status == NO_ERROR) { in setCaptureSize()
168 status = p->status; in setCaptureSize()
169 if (status == NO_ERROR) { in setCaptureSize()
174 return status; in setCaptureSize()
192 status_t status = setParameter(p); in setScalingMode() local
194 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status); in setScalingMode()
196 if (status == NO_ERROR) { in setScalingMode()
197 status = p->status; in setScalingMode()
198 if (status == NO_ERROR) { in setScalingMode()
203 return status; in setScalingMode()
222 status_t status = setParameter(p); in setMeasurementMode() local
224 ALOGV("setMeasurementMode mode %d status %d p->status %d", mode, status, p->status); in setMeasurementMode()
226 if (status == NO_ERROR) { in setMeasurementMode()
227 status = p->status; in setMeasurementMode()
228 if (status == NO_ERROR) { in setMeasurementMode()
232 return status; in setMeasurementMode()
255 status_t status = NO_ERROR; in getIntMeasurements() local
258 status = command(VISUALIZER_CMD_MEASURE, in getIntMeasurements()
262 ALOGV("getMeasurements() command returned %d", status); in getIntMeasurements()
263 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements()
264 status = NOT_ENOUGH_DATA; in getIntMeasurements()
270 return status; in getIntMeasurements()
282 status_t status = NO_ERROR; in getWaveForm() local
285 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
286 ALOGV("getWaveForm() command returned %d", status); in getWaveForm()
287 if ((status == NO_ERROR) && (replySize == 0)) { in getWaveForm()
288 status = NOT_ENOUGH_DATA; in getWaveForm()
294 return status; in getWaveForm()
306 status_t status = NO_ERROR; in getFft() local
309 status = getWaveForm(buf); in getFft()
310 if (status == NO_ERROR) { in getFft()
311 status = doFft(fft, buf); in getFft()
316 return status; in getFft()
356 status_t status = getWaveForm(waveform); in periodicCapture() local
357 if (status != NO_ERROR) { in periodicCapture()
362 status = doFft(fft, waveform); in periodicCapture()
364 if (status != NO_ERROR) { in periodicCapture()
391 status_t status = getParameter(p); in initCaptureSize() local
393 if (status == NO_ERROR) { in initCaptureSize()
394 status = p->status; in initCaptureSize()
398 if (status == NO_ERROR) { in initCaptureSize()
403 ALOGV("initCaptureSize size %d status %d", mCaptureSize, status); in initCaptureSize()