Lines Matching refs:ret
289 status_t ret = prepareAsync_l();
290 if (ret != NO_ERROR) {
292 return ret;
315 status_t ret = NO_ERROR;
321 ret = NO_ERROR;
328 ret = mPlayer->start();
329 if (ret != NO_ERROR) {
338 ret = INVALID_OPERATION;
343 return ret;
353 status_t ret = mPlayer->stop();
354 if (ret != NO_ERROR) {
359 return ret;
372 status_t ret = mPlayer->pause();
373 if (ret != NO_ERROR) {
378 return ret;
490 status_t ret = mPlayer->getDuration(&durationMs);
492 if (ret != OK) {
495 ret = OK;
501 return ret;
572 status_t ret = mPlayer->reset();
573 if (ret != NO_ERROR) {
574 ALOGE("reset() failed with return code (%d)", ret);
583 return ret;