Lines Matching full:error
139 #error "CONSIDER_CODE already defined!!"
171 // Map a PV status code to a message type (error/info/nop)
184 // Map a PV status to an error/info code.
186 // @return the corresponding android error/info code.
193 // Takes advantage that both error and info codes are mapped to the
614 int error = 0;
617 OSCL_TRY(error, mPlayer->QueryInterface(PVMI_CAPABILITY_AND_CONFIG_PVUUID,
619 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
658 int error = 0;
664 OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
665 OSCL_FIRST_CATCH_ANY(error, return -1);
671 OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
672 OSCL_FIRST_CATCH_ANY(error, return -1);
678 OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
679 OSCL_FIRST_CATCH_ANY(error, return -1);
687 int error = 0;
723 OSCL_TRY(error, mPlayer->AddDataSource(*mDataSource, command));
724 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
729 int error = 0;
739 int error = 0;
744 #error "PROPERTY_VALUE_MAX must be at least 8"
757 OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
758 OSCL_FIRST_CATCH_ANY(error,
759 LOGE("handleInit- setParametersSync ERROR setting useragent");
763 OSCL_TRY(error, mPlayer->Init(command));
764 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
772 int error = 0;
805 OSCL_TRY(error, mPlayer->AddDataSink(*mVideoSink, command));
806 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
820 int error = 0;
836 OSCL_TRY(error, mPlayer->AddDataSink(*mAudioSink, command));
837 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
847 int error=0;
852 OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
853 OSCL_TRY(error, mPlayer->Prepare(command));
854 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
866 OSCL_TRY(error,mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
872 int error = 0;
904 OSCL_TRY(error, mPlayer->Resume(command));
905 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
907 OSCL_TRY(error, mPlayer->Start(command));
908 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
914 int error = 0;
932 OSCL_TRY(error, mPlayer->SetPlaybackRange(begin, end, false, command));
933 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
977 int error = 0;
978 OSCL_TRY(error, mPlayer->GetMetadataValues(mCheckLiveKey, 0, 1, mCheckLiveMetaValues, mCheckLiveValue, command));
979 OSCL_FIRST_CATCH_ANY(error
989 int error = 0;
990 OSCL_TRY(error, mPlayer->GetMetadataValues(mMetaKeyList,0,-1,mNumMetaValues,mMetaValueList, command));
991 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
996 int error = 0;
1006 OSCL_TRY(error, mPlayer->Stop(command));
1007 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
1021 int error = 0;
1022 OSCL_TRY(error, mPlayer->Pause(command));
1023 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
1029 int error = 0;
1030 OSCL_TRY(error, mPlayer->RemoveDataSource(*mDataSource, command));
1031 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
1037 int error = 0;
1038 OSCL_TRY(error, mPlayer->CancelAllCommands(command));
1039 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
1045 int error = 0;
1053 OSCL_TRY(error, mPlayer->Reset(command));
1054 OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
1077 int error;
1095 OSCL_TRY(error, mPlayer = PVPlayerFactory::CreatePlayer(this, this, this));
1096 if (error) {
1111 error = OsclErrNone;
1112 OSCL_TRY(error, sched->StartScheduler(mSyncSem));
1113 OSCL_FIRST_CATCH_ANY(error,
1115 LOGE("Player Engine AO did a leave, error=%d", error)
1228 LOGV("Ignoring error during seek");
1271 // Ignore cancelled code return status (PVMFErrCancelled), since it is not an error.
1276 // Try to map the PV error code to an Android one.
1277 LOGE("Command %s completed with an error or info %s", command->toString(), PVMFStatusToString(status));
1297 LOGE("HandleErrorEvent called with an non-error event [%d]!!", status);
1300 // TODO: Map more of the PV error code into the Android Media Player ones.
1312 LOGE("HandleInformationalEvent called with an error event [%d]!!", status);
1398 // releases, and send an error event instead of an informational event
1406 // TODO: This event should not be passed to the user in the ERROR channel.
1417 // there is any bug associated with it; Meanwhile, lets treat this as an error
1738 LOGE("failed to cancel all exiting PV player engine commands with error code (%d)", ret);
1744 LOGE("failed to reset PV player engine with error code (%d)", ret);