diff -r 6b1d113cdff3 -r 6638e7f4bd8f cellularsrvapitest/telephonydevsoundhaitest/scripts/multimedia_telephony-validation-manual-outgoingcall_play.script --- a/cellularsrvapitest/telephonydevsoundhaitest/scripts/multimedia_telephony-validation-manual-outgoingcall_play.script Mon May 03 13:37:20 2010 +0300 +++ b/cellularsrvapitest/telephonydevsoundhaitest/scripts/multimedia_telephony-validation-manual-outgoingcall_play.script Thu May 06 15:10:38 2010 +0100 @@ -1,608 +1,608 @@ -// -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// -//! @file -//! @SYMTestSuiteName multimedia_telephony-validation-manual-outgoingcall_play -//! @SYMScriptTestEnvironment This test script requires a basic ROM. -// -// Tests all public elements of the RMobileCall, CMMFDevSound, Crepository, CAudioInput -// classes as a means of confidence that the APIs work as expected. -// -// The purpose is to provide a regression test suite of PublishedAll -// APIs for: RMobileCall, CMMFDevSound, Crepository, CAudioInput -// Voice Call tests are intended for semi-automatic testing because dialing/ answering calls require user interaction. -// - - - -LOAD_SUITE t_etelmm_devsound - - - - - -START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001 - -//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001 -//!@SYMAPI -//! RLine::Open(RPhone{ref}; const TDesC{ref}); -//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); -//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); -//! RCall::GetCaps(TCaps{ref}); -//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); -//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); -//! TCallInfo::HangUp(TRequestStatus{ref}); -//! RCall::Close( ) -//! RLine::Close( ) -//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) -//! CMMFDevSound::Capabilities() -//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) -//! CMMFDevSound::PlayInitL() -//! CMMFDevSound::Stop() -//!@SYMAuthor JPacho -//!@SYMCreationDate 22/9/08 -//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 0 percent) -//!@SYMTestActions -//! 1. Create first DevSound instance -//! 2. Create second DevSound instance -//! 3. Create telephony audio routing instance -//! 4. Get available outputs -//! 5. Open telephony server -//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) -//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) -//! 8. Open new call (RMobileLine=mobileline1; Call = 1) -//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) -//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) -//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) -//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) -//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) -//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) -//! 15. Get DS instance 2 capabilities -//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) -//! 17. Get current output -//! 18. Set telephony output (Output=EEarPiece) -//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) -//! 20. Start playing in DevSound instance 2 -//! 21. Set Volume instance 2 (Volume=0) -//! 22. Stop play -//! 23. Close file played -//! 24. Destroy DevSound instance 1 -//! 25. Destroy DevSound instance 2 -//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) -//! 27. Hang up (RMobileLine=mobileline1; Call = 1) -//! 28. Close call (RMobileLine=mobileline1; Call = 1) -//! 29. Close line -//! 30. Close mobile phone -//! 31. Close telephony server -//! 32. Destroy telephony routing instance -//!@SYMTestStatus On Work -//!@SYMTestPriority High -//!@SYMTestExpectedResults -//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up -//!@SYMTestType CIT - - START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini - CREATE_OBJECT CMMFDevSound devsound1 - CREATE_OBJECT CMMFDevSound devsound2 - CREATE_OBJECT RTelServer telserver1 - CREATE_OBJECT RMobilePhone mobilephone1 - CREATE_OBJECT RMobileLine mobileline1 - CREATE_OBJECT RMobileCall mobilecall1 - CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 - COMMAND devsound1 NewL - COMMAND devsound2 NewL - COMMAND telephonyaudiorouting1 NewL - COMMAND telephonyaudiorouting1 AvailableOutputs - COMMAND telserver1 Connect - COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Open_command06 - COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Open_command07 - COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-OpenNewCall_command08 - COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-GetCaps_command09 - COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Dial_command10 - OUTSTANDING - DELAY 5000000 - COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-InitializeL_command11 - OUTSTANDING - COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-InitializeL_command12 - OUTSTANDING - COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetPrioritySettings_command13 - COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetPrioritySettings_command14 - COMMAND devsound2 Capabilities - COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetConfigL_command16 - COMMAND telephonyaudiorouting1 Output - COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetOutputL_command18 OUTSTANDING DELAY 2500000 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-OpenFile_command19 - COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-PlayInitL_command20 OUTSTANDING DELAY 2500000 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetVolume_command21 - DELAY 10000000 - COMMAND devsound2 Stop - COMMAND devsound2 CloseFile - COMMAND devsound1 ~ - COMMAND devsound2 ~ - COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-GetCallDuration_command26 - COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-HangUp_command27 - OUTSTANDING - COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Close_command28 - COMMAND mobileline1 Close - COMMAND mobilephone1 Close - COMMAND telserver1 Close - COMMAND telephonyaudiorouting1 ~ - END_TEST_BLOCK -END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001 - - - - -START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002 - -//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002 -//!@SYMAPI -//! RLine::Open(RPhone{ref}; const TDesC{ref}); -//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); -//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); -//! RCall::GetCaps(TCaps{ref}); -//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); -//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); -//! TCallInfo::HangUp(TRequestStatus{ref}); -//! RCall::Close( ) -//! RLine::Close( ) -//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) -//! CMMFDevSound::Capabilities() -//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) -//! CMMFDevSound::PlayInitL() -//! CMMFDevSound::Stop() -//!@SYMAuthor JPacho -//!@SYMCreationDate 22/9/08 -//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 10 percent) -//!@SYMTestActions -//! 1. Create first DevSound instance -//! 2. Create second DevSound instance -//! 3. Create telephony audio routing instance -//! 4. Get available outputs -//! 5. Open telephony server -//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) -//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) -//! 8. Open new call (RMobileLine=mobileline1; Call = 1) -//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) -//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) -//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) -//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) -//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) -//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) -//! 15. Get DS instance 2 capabilities -//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) -//! 17. Get current output -//! 18. Set telephony output (Output=EEarPiece) -//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) -//! 20. Start playing in DevSound instance 2 -//! 21. Set Volume instance 2 (Volume=10) -//! 22. Stop play -//! 23. Close file played -//! 24. Destroy DevSound instance 1 -//! 25. Destroy DevSound instance 2 -//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) -//! 27. Hang up (RMobileLine=mobileline1; Call = 1) -//! 28. Close call (RMobileLine=mobileline1; Call = 1) -//! 29. Close line -//! 30. Close mobile phone -//! 31. Close telephony server -//! 32. Destroy telephony routing instance -//!@SYMTestStatus On Work -//!@SYMTestPriority High -//!@SYMTestExpectedResults -//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up -//!@SYMTestType CIT - - START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini - CREATE_OBJECT CMMFDevSound devsound1 - CREATE_OBJECT CMMFDevSound devsound2 - CREATE_OBJECT RTelServer telserver1 - CREATE_OBJECT RMobilePhone mobilephone1 - CREATE_OBJECT RMobileLine mobileline1 - CREATE_OBJECT RMobileCall mobilecall1 - CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 - COMMAND devsound1 NewL - COMMAND devsound2 NewL - COMMAND telephonyaudiorouting1 NewL - COMMAND telephonyaudiorouting1 AvailableOutputs - COMMAND telserver1 Connect - COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Open_command06 - COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Open_command07 - COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-OpenNewCall_command08 - COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-GetCaps_command09 - COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Dial_command10 - OUTSTANDING - DELAY 5000000 - COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-InitializeL_command11 - OUTSTANDING - COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-InitializeL_command12 - OUTSTANDING - COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetPrioritySettings_command13 - COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetPrioritySettings_command14 - COMMAND devsound2 Capabilities - COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetConfigL_command16 - COMMAND telephonyaudiorouting1 Output - COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetOutputL_command18 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-OpenFile_command19 - COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-PlayInitL_command20 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetVolume_command21 - DELAY 10000000 - COMMAND devsound2 Stop - COMMAND devsound2 CloseFile - COMMAND devsound1 ~ - COMMAND devsound2 ~ - COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-GetCallDuration_command26 - COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-HangUp_command27 - OUTSTANDING - COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Close_command28 - COMMAND mobileline1 Close - COMMAND mobilephone1 Close - COMMAND telserver1 Close - COMMAND telephonyaudiorouting1 ~ - END_TEST_BLOCK -END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002 - - - - -START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003 - -//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003 -//!@SYMAPI -//! RLine::Open(RPhone{ref}; const TDesC{ref}); -//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); -//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); -//! RCall::GetCaps(TCaps{ref}); -//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); -//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); -//! TCallInfo::HangUp(TRequestStatus{ref}); -//! RCall::Close( ) -//! RLine::Close( ) -//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) -//! CMMFDevSound::Capabilities() -//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) -//! CMMFDevSound::PlayInitL() -//! CMMFDevSound::Stop() -//!@SYMAuthor JPacho -//!@SYMCreationDate 22/9/08 -//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 50 percent) -//!@SYMTestActions -//! 1. Create first DevSound instance -//! 2. Create second DevSound instance -//! 3. Create telephony audio routing instance -//! 4. Get available outputs -//! 5. Open telephony server -//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) -//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) -//! 8. Open new call (RMobileLine=mobileline1; Call = 1) -//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) -//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) -//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) -//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) -//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) -//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) -//! 15. Get DS instance 2 capabilities -//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) -//! 17. Get current output -//! 18. Set telephony output (Output=EEarPiece) -//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) -//! 20. Start playing in DevSound instance 2 -//! 21. Set Volume instance 2 (Volume=50) -//! 22. Stop play -//! 23. Close file played -//! 24. Destroy DevSound instance 1 -//! 25. Destroy DevSound instance 2 -//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) -//! 27. Hang up (RMobileLine=mobileline1; Call = 1) -//! 28. Close call (RMobileLine=mobileline1; Call = 1) -//! 29. Close line -//! 30. Close mobile phone -//! 31. Close telephony server -//! 32. Destroy telephony routing instance -//!@SYMTestStatus On Work -//!@SYMTestPriority High -//!@SYMTestExpectedResults -//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up -//!@SYMTestType CIT - - START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini - CREATE_OBJECT CMMFDevSound devsound1 - CREATE_OBJECT CMMFDevSound devsound2 - CREATE_OBJECT RTelServer telserver1 - CREATE_OBJECT RMobilePhone mobilephone1 - CREATE_OBJECT RMobileLine mobileline1 - CREATE_OBJECT RMobileCall mobilecall1 - CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 - COMMAND devsound1 NewL - COMMAND devsound2 NewL - COMMAND telephonyaudiorouting1 NewL - COMMAND telephonyaudiorouting1 AvailableOutputs - COMMAND telserver1 Connect - COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Open_command06 - COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Open_command07 - COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-OpenNewCall_command08 - COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-GetCaps_command09 - COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Dial_command10 - OUTSTANDING - DELAY 5000000 - COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-InitializeL_command11 - OUTSTANDING - COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-InitializeL_command12 - OUTSTANDING - COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetPrioritySettings_command13 - COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetPrioritySettings_command14 - COMMAND devsound2 Capabilities - COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetConfigL_command16 - COMMAND telephonyaudiorouting1 Output - COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetOutputL_command18 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-OpenFile_command19 - COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-PlayInitL_command20 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetVolume_command21 - DELAY 10000000 - COMMAND devsound2 Stop - COMMAND devsound2 CloseFile - COMMAND devsound1 ~ - COMMAND devsound2 ~ - COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-GetCallDuration_command26 - COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-HangUp_command27 - OUTSTANDING - COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Close_command28 - COMMAND mobileline1 Close - COMMAND mobilephone1 Close - COMMAND telserver1 Close - COMMAND telephonyaudiorouting1 ~ - END_TEST_BLOCK -END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003 - - - - -START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004 - -//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004 -//!@SYMAPI -//! RLine::Open(RPhone{ref}; const TDesC{ref}); -//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); -//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); -//! RCall::GetCaps(TCaps{ref}); -//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); -//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); -//! TCallInfo::HangUp(TRequestStatus{ref}); -//! RCall::Close( ) -//! RLine::Close( ) -//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) -//! CMMFDevSound::Capabilities() -//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) -//! CMMFDevSound::PlayInitL() -//! CMMFDevSound::Stop() -//!@SYMAuthor JPacho -//!@SYMCreationDate 22/9/08 -//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 100 percent) -//!@SYMTestActions -//! 1. Create first DevSound instance -//! 2. Create second DevSound instance -//! 3. Create telephony audio routing instance -//! 4. Get available outputs -//! 5. Open telephony server -//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) -//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) -//! 8. Open new call (RMobileLine=mobileline1; Call = 1) -//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) -//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) -//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) -//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) -//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) -//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) -//! 15. Get DS instance 2 capabilities -//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) -//! 17. Get current output -//! 18. Set telephony output (Output=EEarPiece) -//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) -//! 20. Start playing in DevSound instance 2 -//! 21. Set Volume instance 2 (Volume=100) -//! 22. Stop play -//! 23. Close file played -//! 24. Destroy DevSound instance 1 -//! 25. Destroy DevSound instance 2 -//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) -//! 27. Hang up (RMobileLine=mobileline1; Call = 1) -//! 28. Close call (RMobileLine=mobileline1; Call = 1) -//! 29. Close line -//! 30. Close mobile phone -//! 31. Close telephony server -//! 32. Destroy telephony routing instance -//!@SYMTestStatus On Work -//!@SYMTestPriority High -//!@SYMTestExpectedResults -//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up -//!@SYMTestType CIT - - START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini - CREATE_OBJECT CMMFDevSound devsound1 - CREATE_OBJECT CMMFDevSound devsound2 - CREATE_OBJECT RTelServer telserver1 - CREATE_OBJECT RMobilePhone mobilephone1 - CREATE_OBJECT RMobileLine mobileline1 - CREATE_OBJECT RMobileCall mobilecall1 - CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 - COMMAND devsound1 NewL - COMMAND devsound2 NewL - COMMAND telephonyaudiorouting1 NewL - COMMAND telephonyaudiorouting1 AvailableOutputs - COMMAND telserver1 Connect - COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Open_command06 - COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Open_command07 - COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-OpenNewCall_command08 - COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-GetCaps_command09 - COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Dial_command10 - OUTSTANDING - DELAY 5000000 - COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-InitializeL_command11 - OUTSTANDING - COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-InitializeL_command12 - OUTSTANDING - COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetPrioritySettings_command13 - COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetPrioritySettings_command14 - COMMAND devsound2 Capabilities - COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetConfigL_command16 - COMMAND telephonyaudiorouting1 Output - COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetOutputL_command18 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-OpenFile_command19 - COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-PlayInitL_command20 - OUTSTANDING - DELAY 2500000 - COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetVolume_command21 - DELAY 10000000 - COMMAND devsound2 Stop - COMMAND devsound2 CloseFile - COMMAND devsound1 ~ - COMMAND devsound2 ~ - COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-GetCallDuration_command26 - COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-HangUp_command27 - OUTSTANDING - COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Close_command28 - COMMAND mobileline1 Close - COMMAND mobilephone1 Close - COMMAND telserver1 Close - COMMAND telephonyaudiorouting1 ~ - END_TEST_BLOCK -END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004 - - - - -START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005 - -//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005 -//!@SYMAPI -//! RLine::Open(RPhone{ref}; const TDesC{ref}); -//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); -//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); -//! RCall::GetCaps(TCaps{ref}); -//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); -//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); -//! TCallInfo::HangUp(TRequestStatus{ref}); -//! RCall::Close( ) -//! RLine::Close( ) -//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) -//! CMMFDevSound::Capabilities() -//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) -//! CMMFDevSound::PlayInitL() -//! CMMFDevSound::Stop() -//!@SYMAuthor JPacho -//!@SYMCreationDate 22/9/08 -//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (audio routed to IHF) -//!@SYMTestActions -//! 1. Create first DevSound instance -//! 2. Create second DevSound instance -//! 3. Create telephony audio routing instance -//! 4. Get available outputs -//! 5. Open telephony server -//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) -//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) -//! 8. Open new call (RMobileLine=mobileline1; Call = 1) -//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) -//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) -//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) -//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC= MP3) -//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) -//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) -//! 15. Get DS instance 2 capabilities -//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) -//! 17. Get current output -//! 18. Set telephony output (Output=ELoudSpeaker) -//! 19. Open file for playing (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) -//! 20. Start playing in DevSound instance 2 -//! 21. Stop play -//! 22. Close file played -//! 23. Destroy DevSound instance 1 -//! 24. Destroy DevSound instance 2 -//! 25. Get call duration (RMobileLine=mobileline1; Call = 1) -//! 26. Hang up (RMobileLine=mobileline1; Call = 1) -//! 27. Close call (RMobileLine=mobileline1; Call = 1) -//! 28. Close line -//! 29. Close mobile phone -//! 30. Close telephony server -//! 31. Destroy telephony routing instance -//!@SYMTestStatus On Work -//!@SYMTestPriority High -//!@SYMTestExpectedResults -//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up -//!@SYMTestType CIT - - START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini - CREATE_OBJECT CMMFDevSound devsound1 - CREATE_OBJECT CMMFDevSound devsound2 - CREATE_OBJECT RTelServer telserver1 - CREATE_OBJECT RMobilePhone mobilephone1 - CREATE_OBJECT RMobileLine mobileline1 - CREATE_OBJECT RMobileCall mobilecall1 - CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 - COMMAND devsound1 NewL - COMMAND devsound2 NewL - COMMAND telephonyaudiorouting1 NewL - COMMAND telephonyaudiorouting1 AvailableOutputs - COMMAND telserver1 Connect - COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Open_command06 - COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Open_command07 - COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-OpenNewCall_command08 - COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-GetCaps_command09 - COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Dial_command10 - OUTSTANDING - DELAY 5000000 - COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-InitializeL_command11 - OUTSTANDING - COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-InitializeL_command12 - OUTSTANDING - COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetPrioritySettings_command13 - COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetPrioritySettings_command14 - COMMAND devsound2 Capabilities - COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetConfigL_command16 - COMMAND telephonyaudiorouting1 Output - COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetOutputL_command18 - OUTSTANDING - DELAY 5000000 - COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-OpenFile_command19 - COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-PlayInitL_command20 - OUTSTANDING - DELAY 10000000 - COMMAND devsound2 Stop - COMMAND devsound2 CloseFile - COMMAND devsound1 ~ - COMMAND devsound2 ~ - COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-GetCallDuration_command25 - COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-HangUp_command26 - OUTSTANDING - COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Close_command27 - COMMAND mobileline1 Close - COMMAND mobilephone1 Close - COMMAND telserver1 Close - COMMAND telephonyaudiorouting1 ~ - END_TEST_BLOCK -END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005 +// +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// +//! @file +//! @SYMTestSuiteName multimedia_telephony-validation-manual-outgoingcall_play +//! @SYMScriptTestEnvironment This test script requires a basic ROM. +// +// Tests all public elements of the RMobileCall, CMMFDevSound, Crepository, CAudioInput +// classes as a means of confidence that the APIs work as expected. +// +// The purpose is to provide a regression test suite of PublishedAll +// APIs for: RMobileCall, CMMFDevSound, Crepository, CAudioInput +// Voice Call tests are intended for semi-automatic testing because dialing/ answering calls require user interaction. +// + + + +LOAD_SUITE t_etelmm_devsound + + + + + +START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001 + +//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001 +//!@SYMAPI +//! RLine::Open(RPhone{ref}; const TDesC{ref}); +//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); +//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); +//! RCall::GetCaps(TCaps{ref}); +//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); +//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); +//! TCallInfo::HangUp(TRequestStatus{ref}); +//! RCall::Close( ) +//! RLine::Close( ) +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) +//! CMMFDevSound::Capabilities() +//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) +//! CMMFDevSound::PlayInitL() +//! CMMFDevSound::Stop() +//!@SYMAuthor JPacho +//!@SYMCreationDate 22/9/08 +//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 0 percent) +//!@SYMTestActions +//! 1. Create first DevSound instance +//! 2. Create second DevSound instance +//! 3. Create telephony audio routing instance +//! 4. Get available outputs +//! 5. Open telephony server +//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) +//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) +//! 8. Open new call (RMobileLine=mobileline1; Call = 1) +//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) +//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) +//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) +//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) +//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) +//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) +//! 15. Get DS instance 2 capabilities +//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) +//! 17. Get current output +//! 18. Set telephony output (Output=EEarPiece) +//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) +//! 20. Start playing in DevSound instance 2 +//! 21. Set Volume instance 2 (Volume=0) +//! 22. Stop play +//! 23. Close file played +//! 24. Destroy DevSound instance 1 +//! 25. Destroy DevSound instance 2 +//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) +//! 27. Hang up (RMobileLine=mobileline1; Call = 1) +//! 28. Close call (RMobileLine=mobileline1; Call = 1) +//! 29. Close line +//! 30. Close mobile phone +//! 31. Close telephony server +//! 32. Destroy telephony routing instance +//!@SYMTestStatus On Work +//!@SYMTestPriority High +//!@SYMTestExpectedResults +//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up +//!@SYMTestType CIT + + START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini + CREATE_OBJECT CMMFDevSound devsound1 + CREATE_OBJECT CMMFDevSound devsound2 + CREATE_OBJECT RTelServer telserver1 + CREATE_OBJECT RMobilePhone mobilephone1 + CREATE_OBJECT RMobileLine mobileline1 + CREATE_OBJECT RMobileCall mobilecall1 + CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 + COMMAND devsound1 NewL + COMMAND devsound2 NewL + COMMAND telephonyaudiorouting1 NewL + COMMAND telephonyaudiorouting1 AvailableOutputs + COMMAND telserver1 Connect + COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Open_command06 + COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Open_command07 + COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-OpenNewCall_command08 + COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-GetCaps_command09 + COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Dial_command10 + OUTSTANDING + DELAY 5000000 + COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-InitializeL_command11 + OUTSTANDING + COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-InitializeL_command12 + OUTSTANDING + COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetPrioritySettings_command13 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetPrioritySettings_command14 + COMMAND devsound2 Capabilities + COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetConfigL_command16 + COMMAND telephonyaudiorouting1 Output + COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetOutputL_command18 OUTSTANDING DELAY 2500000 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-OpenFile_command19 + COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-PlayInitL_command20 OUTSTANDING DELAY 2500000 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-SetVolume_command21 + DELAY 10000000 + COMMAND devsound2 Stop + COMMAND devsound2 CloseFile + COMMAND devsound1 ~ + COMMAND devsound2 ~ + COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-GetCallDuration_command26 + COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-HangUp_command27 + OUTSTANDING + COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0001-0001-Close_command28 + COMMAND mobileline1 Close + COMMAND mobilephone1 Close + COMMAND telserver1 Close + COMMAND telephonyaudiorouting1 ~ + END_TEST_BLOCK +END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0001 + + + + +START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002 + +//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002 +//!@SYMAPI +//! RLine::Open(RPhone{ref}; const TDesC{ref}); +//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); +//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); +//! RCall::GetCaps(TCaps{ref}); +//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); +//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); +//! TCallInfo::HangUp(TRequestStatus{ref}); +//! RCall::Close( ) +//! RLine::Close( ) +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) +//! CMMFDevSound::Capabilities() +//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) +//! CMMFDevSound::PlayInitL() +//! CMMFDevSound::Stop() +//!@SYMAuthor JPacho +//!@SYMCreationDate 22/9/08 +//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 10 percent) +//!@SYMTestActions +//! 1. Create first DevSound instance +//! 2. Create second DevSound instance +//! 3. Create telephony audio routing instance +//! 4. Get available outputs +//! 5. Open telephony server +//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) +//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) +//! 8. Open new call (RMobileLine=mobileline1; Call = 1) +//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) +//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) +//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) +//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) +//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) +//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) +//! 15. Get DS instance 2 capabilities +//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) +//! 17. Get current output +//! 18. Set telephony output (Output=EEarPiece) +//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) +//! 20. Start playing in DevSound instance 2 +//! 21. Set Volume instance 2 (Volume=10) +//! 22. Stop play +//! 23. Close file played +//! 24. Destroy DevSound instance 1 +//! 25. Destroy DevSound instance 2 +//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) +//! 27. Hang up (RMobileLine=mobileline1; Call = 1) +//! 28. Close call (RMobileLine=mobileline1; Call = 1) +//! 29. Close line +//! 30. Close mobile phone +//! 31. Close telephony server +//! 32. Destroy telephony routing instance +//!@SYMTestStatus On Work +//!@SYMTestPriority High +//!@SYMTestExpectedResults +//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up +//!@SYMTestType CIT + + START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini + CREATE_OBJECT CMMFDevSound devsound1 + CREATE_OBJECT CMMFDevSound devsound2 + CREATE_OBJECT RTelServer telserver1 + CREATE_OBJECT RMobilePhone mobilephone1 + CREATE_OBJECT RMobileLine mobileline1 + CREATE_OBJECT RMobileCall mobilecall1 + CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 + COMMAND devsound1 NewL + COMMAND devsound2 NewL + COMMAND telephonyaudiorouting1 NewL + COMMAND telephonyaudiorouting1 AvailableOutputs + COMMAND telserver1 Connect + COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Open_command06 + COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Open_command07 + COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-OpenNewCall_command08 + COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-GetCaps_command09 + COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Dial_command10 + OUTSTANDING + DELAY 5000000 + COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-InitializeL_command11 + OUTSTANDING + COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-InitializeL_command12 + OUTSTANDING + COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetPrioritySettings_command13 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetPrioritySettings_command14 + COMMAND devsound2 Capabilities + COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetConfigL_command16 + COMMAND telephonyaudiorouting1 Output + COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetOutputL_command18 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-OpenFile_command19 + COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-PlayInitL_command20 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-SetVolume_command21 + DELAY 10000000 + COMMAND devsound2 Stop + COMMAND devsound2 CloseFile + COMMAND devsound1 ~ + COMMAND devsound2 ~ + COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-GetCallDuration_command26 + COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-HangUp_command27 + OUTSTANDING + COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0002-0001-Close_command28 + COMMAND mobileline1 Close + COMMAND mobilephone1 Close + COMMAND telserver1 Close + COMMAND telephonyaudiorouting1 ~ + END_TEST_BLOCK +END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0002 + + + + +START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003 + +//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003 +//!@SYMAPI +//! RLine::Open(RPhone{ref}; const TDesC{ref}); +//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); +//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); +//! RCall::GetCaps(TCaps{ref}); +//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); +//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); +//! TCallInfo::HangUp(TRequestStatus{ref}); +//! RCall::Close( ) +//! RLine::Close( ) +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) +//! CMMFDevSound::Capabilities() +//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) +//! CMMFDevSound::PlayInitL() +//! CMMFDevSound::Stop() +//!@SYMAuthor JPacho +//!@SYMCreationDate 22/9/08 +//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 50 percent) +//!@SYMTestActions +//! 1. Create first DevSound instance +//! 2. Create second DevSound instance +//! 3. Create telephony audio routing instance +//! 4. Get available outputs +//! 5. Open telephony server +//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) +//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) +//! 8. Open new call (RMobileLine=mobileline1; Call = 1) +//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) +//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) +//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) +//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) +//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) +//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) +//! 15. Get DS instance 2 capabilities +//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) +//! 17. Get current output +//! 18. Set telephony output (Output=EEarPiece) +//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) +//! 20. Start playing in DevSound instance 2 +//! 21. Set Volume instance 2 (Volume=50) +//! 22. Stop play +//! 23. Close file played +//! 24. Destroy DevSound instance 1 +//! 25. Destroy DevSound instance 2 +//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) +//! 27. Hang up (RMobileLine=mobileline1; Call = 1) +//! 28. Close call (RMobileLine=mobileline1; Call = 1) +//! 29. Close line +//! 30. Close mobile phone +//! 31. Close telephony server +//! 32. Destroy telephony routing instance +//!@SYMTestStatus On Work +//!@SYMTestPriority High +//!@SYMTestExpectedResults +//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up +//!@SYMTestType CIT + + START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini + CREATE_OBJECT CMMFDevSound devsound1 + CREATE_OBJECT CMMFDevSound devsound2 + CREATE_OBJECT RTelServer telserver1 + CREATE_OBJECT RMobilePhone mobilephone1 + CREATE_OBJECT RMobileLine mobileline1 + CREATE_OBJECT RMobileCall mobilecall1 + CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 + COMMAND devsound1 NewL + COMMAND devsound2 NewL + COMMAND telephonyaudiorouting1 NewL + COMMAND telephonyaudiorouting1 AvailableOutputs + COMMAND telserver1 Connect + COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Open_command06 + COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Open_command07 + COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-OpenNewCall_command08 + COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-GetCaps_command09 + COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Dial_command10 + OUTSTANDING + DELAY 5000000 + COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-InitializeL_command11 + OUTSTANDING + COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-InitializeL_command12 + OUTSTANDING + COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetPrioritySettings_command13 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetPrioritySettings_command14 + COMMAND devsound2 Capabilities + COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetConfigL_command16 + COMMAND telephonyaudiorouting1 Output + COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetOutputL_command18 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-OpenFile_command19 + COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-PlayInitL_command20 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-SetVolume_command21 + DELAY 10000000 + COMMAND devsound2 Stop + COMMAND devsound2 CloseFile + COMMAND devsound1 ~ + COMMAND devsound2 ~ + COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-GetCallDuration_command26 + COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-HangUp_command27 + OUTSTANDING + COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0003-0001-Close_command28 + COMMAND mobileline1 Close + COMMAND mobilephone1 Close + COMMAND telserver1 Close + COMMAND telephonyaudiorouting1 ~ + END_TEST_BLOCK +END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0003 + + + + +START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004 + +//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004 +//!@SYMAPI +//! RLine::Open(RPhone{ref}; const TDesC{ref}); +//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); +//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); +//! RCall::GetCaps(TCaps{ref}); +//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); +//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); +//! TCallInfo::HangUp(TRequestStatus{ref}); +//! RCall::Close( ) +//! RLine::Close( ) +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) +//! CMMFDevSound::Capabilities() +//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) +//! CMMFDevSound::PlayInitL() +//! CMMFDevSound::Stop() +//!@SYMAuthor JPacho +//!@SYMCreationDate 22/9/08 +//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (volume 100 percent) +//!@SYMTestActions +//! 1. Create first DevSound instance +//! 2. Create second DevSound instance +//! 3. Create telephony audio routing instance +//! 4. Get available outputs +//! 5. Open telephony server +//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) +//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) +//! 8. Open new call (RMobileLine=mobileline1; Call = 1) +//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) +//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) +//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) +//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC=MP3) +//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) +//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) +//! 15. Get DS instance 2 capabilities +//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) +//! 17. Get current output +//! 18. Set telephony output (Output=EEarPiece) +//! 19. Open file for play (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) +//! 20. Start playing in DevSound instance 2 +//! 21. Set Volume instance 2 (Volume=100) +//! 22. Stop play +//! 23. Close file played +//! 24. Destroy DevSound instance 1 +//! 25. Destroy DevSound instance 2 +//! 26. Get call duration (RMobileLine=mobileline1; Call = 1) +//! 27. Hang up (RMobileLine=mobileline1; Call = 1) +//! 28. Close call (RMobileLine=mobileline1; Call = 1) +//! 29. Close line +//! 30. Close mobile phone +//! 31. Close telephony server +//! 32. Destroy telephony routing instance +//!@SYMTestStatus On Work +//!@SYMTestPriority High +//!@SYMTestExpectedResults +//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up +//!@SYMTestType CIT + + START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini + CREATE_OBJECT CMMFDevSound devsound1 + CREATE_OBJECT CMMFDevSound devsound2 + CREATE_OBJECT RTelServer telserver1 + CREATE_OBJECT RMobilePhone mobilephone1 + CREATE_OBJECT RMobileLine mobileline1 + CREATE_OBJECT RMobileCall mobilecall1 + CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 + COMMAND devsound1 NewL + COMMAND devsound2 NewL + COMMAND telephonyaudiorouting1 NewL + COMMAND telephonyaudiorouting1 AvailableOutputs + COMMAND telserver1 Connect + COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Open_command06 + COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Open_command07 + COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-OpenNewCall_command08 + COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-GetCaps_command09 + COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Dial_command10 + OUTSTANDING + DELAY 5000000 + COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-InitializeL_command11 + OUTSTANDING + COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-InitializeL_command12 + OUTSTANDING + COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetPrioritySettings_command13 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetPrioritySettings_command14 + COMMAND devsound2 Capabilities + COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetConfigL_command16 + COMMAND telephonyaudiorouting1 Output + COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetOutputL_command18 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-OpenFile_command19 + COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-PlayInitL_command20 + OUTSTANDING + DELAY 2500000 + COMMAND devsound2 SetVolume MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-SetVolume_command21 + DELAY 10000000 + COMMAND devsound2 Stop + COMMAND devsound2 CloseFile + COMMAND devsound1 ~ + COMMAND devsound2 ~ + COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-GetCallDuration_command26 + COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-HangUp_command27 + OUTSTANDING + COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0004-0001-Close_command28 + COMMAND mobileline1 Close + COMMAND mobilephone1 Close + COMMAND telserver1 Close + COMMAND telephonyaudiorouting1 ~ + END_TEST_BLOCK +END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0004 + + + + +START_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005 + +//!@SYMTestCaseID MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005 +//!@SYMAPI +//! RLine::Open(RPhone{ref}; const TDesC{ref}); +//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref}); +//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref}); +//! RCall::GetCaps(TCaps{ref}); +//! TCallInfo::AnswerIncomingCall(const TDesC8{ref}); +//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref}); +//! TCallInfo::HangUp(TRequestStatus{ref}); +//! RCall::Close( ) +//! RLine::Close( ) +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) +//! CMMFDevSound::Capabilities() +//! CMMFDevSound::SetConfigL(const TMMFCapabilities ) +//! CMMFDevSound::PlayInitL() +//! CMMFDevSound::Stop() +//!@SYMAuthor JPacho +//!@SYMCreationDate 22/9/08 +//!@SYMTestCaseDesc Mobile Originated Voice Call GSM (audio routed to IHF) +//!@SYMTestActions +//! 1. Create first DevSound instance +//! 2. Create second DevSound instance +//! 3. Create telephony audio routing instance +//! 4. Get available outputs +//! 5. Open telephony server +//! 6. Open mobile phone (RTelServer = telserver1; Phone = 0) +//! 7. Open line (Line = Voice1;RMobilePhone=mobilephone1) +//! 8. Open new call (RMobileLine=mobileline1; Call = 1) +//! 9. Get VoiceCall capabilities for the call (RMobileLine=mobileline1; Capabilities = VoiceCall; Call = 1) +//! 10. Dial 5s (RMobileLine=mobileline1; Call = 1; PhoneNumber = {PHONENUMBERS, PhoneNumber1}; CallTimeout = 10) +//! 11. Initialize DevSound instance 2 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStatePlaying; FourCC= MP3) +//! 12. Initialize DevSound instance 1 (InitializeMode =EInitializeHwDeviceMode; Mode = EMMFStateRecording; FourCC= MP3) +//! 13. Set priority settings DS instance 2 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) +//! 14. Set priority settings DS instance 1 (Priority = {Priority, PriorityAudioPlayback}; Preference = {PriorityPreference, PriorityPreferenceAudioPlayback}; PriorityState=EMMFStateRecording) +//! 15. Get DS instance 2 capabilities +//! 16. Set Configuration DS instance 2 (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) +//! 17. Get current output +//! 18. Set telephony output (Output=ELoudSpeaker) +//! 19. Open file for playing (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) +//! 20. Start playing in DevSound instance 2 +//! 21. Stop play +//! 22. Close file played +//! 23. Destroy DevSound instance 1 +//! 24. Destroy DevSound instance 2 +//! 25. Get call duration (RMobileLine=mobileline1; Call = 1) +//! 26. Hang up (RMobileLine=mobileline1; Call = 1) +//! 27. Close call (RMobileLine=mobileline1; Call = 1) +//! 28. Close line +//! 29. Close mobile phone +//! 30. Close telephony server +//! 31. Destroy telephony routing instance +//!@SYMTestStatus On Work +//!@SYMTestPriority High +//!@SYMTestExpectedResults +//! Function does not leave nor panic. Call is dialed, after answered starts the play to the end, later stops the play and finally the call is hanged it up +//!@SYMTestType CIT + + START_TEST_BLOCK 300 t_etelmm_devsound \mixed_technology\telephony_devsound\multimedia_telephony-validation-manual-outgoingcall_play.ini + CREATE_OBJECT CMMFDevSound devsound1 + CREATE_OBJECT CMMFDevSound devsound2 + CREATE_OBJECT RTelServer telserver1 + CREATE_OBJECT RMobilePhone mobilephone1 + CREATE_OBJECT RMobileLine mobileline1 + CREATE_OBJECT RMobileCall mobilecall1 + CREATE_OBJECT CTelephonyAudioRouting telephonyaudiorouting1 + COMMAND devsound1 NewL + COMMAND devsound2 NewL + COMMAND telephonyaudiorouting1 NewL + COMMAND telephonyaudiorouting1 AvailableOutputs + COMMAND telserver1 Connect + COMMAND mobilephone1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Open_command06 + COMMAND mobileline1 Open MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Open_command07 + COMMAND mobilecall1 OpenNewCall MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-OpenNewCall_command08 + COMMAND mobilecall1 GetCaps MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-GetCaps_command09 + COMMAND mobilecall1 Dial MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Dial_command10 + OUTSTANDING + DELAY 5000000 + COMMAND devsound2 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-InitializeL_command11 + OUTSTANDING + COMMAND devsound1 InitializeL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-InitializeL_command12 + OUTSTANDING + COMMAND devsound2 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetPrioritySettings_command13 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetPrioritySettings_command14 + COMMAND devsound2 Capabilities + COMMAND devsound2 SetConfigL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetConfigL_command16 + COMMAND telephonyaudiorouting1 Output + COMMAND telephonyaudiorouting1 SetOutputL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-SetOutputL_command18 + OUTSTANDING + DELAY 5000000 + COMMAND devsound2 OpenFile MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-OpenFile_command19 + COMMAND devsound2 PlayInitL MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-PlayInitL_command20 + OUTSTANDING + DELAY 10000000 + COMMAND devsound2 Stop + COMMAND devsound2 CloseFile + COMMAND devsound1 ~ + COMMAND devsound2 ~ + COMMAND mobilecall1 GetCallDuration MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-GetCallDuration_command25 + COMMAND mobilecall1 HangUp MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-HangUp_command26 + OUTSTANDING + COMMAND mobilecall1 Close MULTIMEDIA_TELEPHONY-OutgoingCall_Play-0005-0001-Close_command27 + COMMAND mobileline1 Close + COMMAND mobilephone1 Close + COMMAND telserver1 Close + COMMAND telephonyaudiorouting1 ~ + END_TEST_BLOCK +END_TESTCASE MULTIMEDIA_TELEPHONY-VALIDATION-MANUAL-OUTGOINGCALL_PLAY-0005