• Home
  • Raw
  • Download

Lines Matching refs:status

78     status_t status = AudioEffect::setEnabled(enabled);  in setEnabled()  local
80 if (status == NO_ERROR) { in setEnabled()
94 return status; in setEnabled()
149 status_t status = setParameter(p); in setCaptureSize() local
151 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize()
153 if (status == NO_ERROR) { in setCaptureSize()
154 status = p->status; in setCaptureSize()
155 if (status == NO_ERROR) { in setCaptureSize()
160 return status; in setCaptureSize()
178 status_t status = setParameter(p); in setScalingMode() local
180 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status); in setScalingMode()
182 if (status == NO_ERROR) { in setScalingMode()
183 status = p->status; in setScalingMode()
184 if (status == NO_ERROR) { in setScalingMode()
189 return status; in setScalingMode()
208 status_t status = setParameter(p); in setMeasurementMode() local
210 ALOGV("setMeasurementMode mode %d status %d p->status %d", mode, status, p->status); in setMeasurementMode()
212 if (status == NO_ERROR) { in setMeasurementMode()
213 status = p->status; in setMeasurementMode()
214 if (status == NO_ERROR) { in setMeasurementMode()
218 return status; in setMeasurementMode()
241 status_t status = NO_ERROR; in getIntMeasurements() local
244 status = command(VISUALIZER_CMD_MEASURE, in getIntMeasurements()
248 ALOGV("getMeasurements() command returned %d", status); in getIntMeasurements()
249 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements()
250 status = NOT_ENOUGH_DATA; in getIntMeasurements()
256 return status; in getIntMeasurements()
268 status_t status = NO_ERROR; in getWaveForm() local
271 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
272 ALOGV("getWaveForm() command returned %d", status); in getWaveForm()
273 if ((status == NO_ERROR) && (replySize == 0)) { in getWaveForm()
274 status = NOT_ENOUGH_DATA; in getWaveForm()
280 return status; in getWaveForm()
292 status_t status = NO_ERROR; in getFft() local
295 status = getWaveForm(buf); in getFft()
296 if (status == NO_ERROR) { in getFft()
297 status = doFft(fft, buf); in getFft()
302 return status; in getFft()
342 status_t status = getWaveForm(waveform); in periodicCapture() local
343 if (status != NO_ERROR) { in periodicCapture()
348 status = doFft(fft, waveform); in periodicCapture()
350 if (status != NO_ERROR) { in periodicCapture()
377 status_t status = getParameter(p); in initCaptureSize() local
379 if (status == NO_ERROR) { in initCaptureSize()
380 status = p->status; in initCaptureSize()
384 if (status == NO_ERROR) { in initCaptureSize()
389 ALOGV("initCaptureSize size %d status %d", mCaptureSize, status); in initCaptureSize()