Home | History | Annotate | Download | only in libmedia

Lines Matching refs:status

76     status_t status = AudioEffect::setEnabled(enabled);
79 if (enabled && status == NO_ERROR) {
90 return status;
145 status_t status = setParameter(p);
147 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status);
149 if (status == NO_ERROR) {
150 status = p->status;
151 if (status == NO_ERROR) {
156 return status;
174 status_t status = setParameter(p);
176 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
178 if (status == NO_ERROR) {
179 status = p->status;
180 if (status == NO_ERROR) {
185 return status;
204 status_t status = setParameter(p);
206 ALOGV("setMeasurementMode mode %d status %d p->status %d", mode, status, p->status);
208 if (status == NO_ERROR) {
209 status = p->status;
210 if (status == NO_ERROR) {
214 return status;
237 status_t status = NO_ERROR;
240 status = command(VISUALIZER_CMD_MEASURE,
244 ALOGV("getMeasurements() command returned %d", status);
245 if ((status == NO_ERROR) && (replySize == 0)) {
246 status = NOT_ENOUGH_DATA;
252 return status;
264 status_t status = NO_ERROR;
267 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform);
268 ALOGV("getWaveForm() command returned %d", status);
269 if ((status == NO_ERROR) && (replySize == 0)) {
270 status = NOT_ENOUGH_DATA;
276 return status;
288 status_t status = NO_ERROR;
291 status = getWaveForm(buf);
292 if (status == NO_ERROR) {
293 status = doFft(fft, buf);
298 return status;
338 status_t status = getWaveForm(waveform);
339 if (status != NO_ERROR) {
344 status = doFft(fft, waveform);
346 if (status != NO_ERROR) {
373 status_t status = getParameter(p);
375 if (status == NO_ERROR) {
376 status = p->status;
380 if (status == NO_ERROR) {
385 ALOGV("initCaptureSize size %d status %d", mCaptureSize, status);