Lines Matching refs:status

81     status_t status = AudioEffect::setEnabled(enabled);
83 if (status == NO_ERROR) {
97 return status;
152 status_t status = setParameter(p);
154 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status);
156 if (status == NO_ERROR) {
157 status = p->status;
158 if (status == NO_ERROR) {
163 return status;
181 status_t status = setParameter(p);
183 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
185 if (status == NO_ERROR) {
186 status = p->status;
187 if (status == NO_ERROR) {
192 return status;
211 status_t status = setParameter(p);
213 ALOGV("setMeasurementMode mode %d status %d p->status %d", mode, status, p->status);
215 if (status == NO_ERROR) {
216 status = p->status;
217 if (status == NO_ERROR) {
221 return status;
244 status_t status = NO_ERROR;
247 status = command(VISUALIZER_CMD_MEASURE,
251 ALOGV("getMeasurements() command returned %d", status);
252 if ((status == NO_ERROR) && (replySize == 0)) {
253 status = NOT_ENOUGH_DATA;
259 return status;
271 status_t status = NO_ERROR;
274 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform);
275 ALOGV("getWaveForm() command returned %d", status);
276 if ((status == NO_ERROR) && (replySize == 0)) {
277 status = NOT_ENOUGH_DATA;
283 return status;
295 status_t status = NO_ERROR;
298 status = getWaveForm(buf);
299 if (status == NO_ERROR) {
300 status = doFft(fft, buf);
305 return status;
345 status_t status = getWaveForm(waveform);
346 if (status != NO_ERROR) {
351 status = doFft(fft, waveform);
353 if (status != NO_ERROR) {
380 status_t status = getParameter(p);
382 if (status == NO_ERROR) {
383 status = p->status;
387 if (status == NO_ERROR) {
392 ALOGV("initCaptureSize size %d status %d", mCaptureSize, status);