Lines Matching refs:AVCastControlCommand

593     if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_INVALID) {  in dealValidCallback()
599 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_MAX) { in dealValidCallback()
903 AVCastControlCommand::CAST_CONTROL_CMD_SET_VOLUME); in InitializeCastCommands()
905 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_SET_VOLUME); in InitializeCastCommands()
909 AVCastControlCommand::CAST_CONTROL_CMD_SET_SPEED); in InitializeCastCommands()
911 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_SET_SPEED); in InitializeCastCommands()
915 AVCastControlCommand::CAST_CONTROL_CMD_SEEK); in InitializeCastCommands()
917 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_SEEK); in InitializeCastCommands()
918 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_FAST_FORWARD); in InitializeCastCommands()
919 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_REWIND); in InitializeCastCommands()
939 return AVCastControlCommand::CAST_CONTROL_CMD_SET_LOOP_MODE; in SessionCommandToCastCommand()
941 return AVCastControlCommand::CAST_CONTROL_CMD_INVALID; in SessionCommandToCastCommand()
979 …CHECK_AND_RETURN_RET_LOG(cmd > AVCastControlCommand::CAST_CONTROL_CMD_INVALID, AVSESSION_ERROR, "i… in AddSupportCastCommand()
980 …CHECK_AND_RETURN_RET_LOG(cmd < AVCastControlCommand::CAST_CONTROL_CMD_MAX, AVSESSION_ERROR, "inval… in AddSupportCastCommand()
981 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_PLAY_STATE_CHANGE) { in AddSupportCastCommand()
983 …supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_PLAY); in AddSupportCastCommand()
985 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_PLAY); in AddSupportCastCommand()
986 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_PAUSE); in AddSupportCastCommand()
987 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_STOP); in AddSupportCastCommand()
988 } else if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_SEEK) { in AddSupportCastCommand()
992 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_FAST_FORWARD); in AddSupportCastCommand()
993 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_REWIND); in AddSupportCastCommand()
1006 …CHECK_AND_RETURN_RET_LOG(cmd > AVCastControlCommand::CAST_CONTROL_CMD_INVALID, AVSESSION_ERROR, "i… in DeleteSupportCastCommand()
1007 …CHECK_AND_RETURN_RET_LOG(cmd < AVCastControlCommand::CAST_CONTROL_CMD_MAX, AVSESSION_ERROR, "inval… in DeleteSupportCastCommand()
1009 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_PLAY_STATE_CHANGE) { in DeleteSupportCastCommand()
1011 …supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_PLAY); in DeleteSupportCastCommand()
1015 …supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_PAUSE… in DeleteSupportCastCommand()
1019 …supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_STOP); in DeleteSupportCastCommand()
1021 } else if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_SEEK) { in DeleteSupportCastCommand()
1026 …supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_FAST_… in DeleteSupportCastCommand()
1030 …supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_REWIN… in DeleteSupportCastCommand()
1378 AVCastControlCommand cmd; in StopCast()
1379 cmd.SetCommand(AVCastControlCommand::CAST_CONTROL_CMD_STOP); in StopCast()