Lines Matching defs:status

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