os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-validation-automated-tones.script
First public contribution.
2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
3 // All rights reserved.
4 // This component and the accompanying materials are made available
5 // under the terms of "Eclipse Public License v1.0"
6 // which accompanies this distribution, and is available
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
18 //! @SYMTestSuiteName multimedia-mmf-devsound-validation-automated-tones
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
21 // Tests all public elements of the CMMFDevSound
22 // classes as a means of confidence that the APIs work as expected.
24 // The purpose is to provide a regression test suite of PublishedAll
25 // APIs for: CMMFDevSound
26 // The tests are fully automated.
37 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0001
39 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0001
41 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
42 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
43 //! CMMFDevSound::Capabilities()
44 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
45 //! CMMFDevSound::PlayDTMFStringL(TDesC {ref})
47 //!@SYMCreationDate 7/21/2008
48 //!@SYMTestCaseDesc Keypad volume - DTMF tones
50 //! 1. Create DevSound instance
51 //! 2. Create Central repository instance (RepUID={RepositoryID,UidProfileEngine})
52 //! 3. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
53 //! 4. Set repository settings (ItemID={ItemsID,IdActiveKeypadVolume}; SetValue={DataID,KeypadVolume_Level3})
54 //! 5. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
55 //! 6. Set Volume (Volume = 50)
56 //! 7. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
57 //! 8. Start DTMF Play (DTMFString = 1234567890)
58 //! 9. Set Volume (Volume = 50)
59 //! 10.Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
60 //! 11.Start DTMF Play (DTMFString = 1234567890)
61 //! 12.Set repository settings (ItemID={ItemsID,IdActiveKeypadVolume}; SetValue={DataID,KeypadVolume_Off})
62 //! 13.Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
63 //! 14.Start DTMF Play (DTMFString = 1234567890)
64 //! 15.Set Volume (Volume = 20)
65 //! 16.Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
66 //! 17.Start DTMF Play (DTMFString = 1234567890)
67 //! 18.Delete Central repositiry instance.
68 //! 19.Delete DevSound instance.
69 //!@SYMTestStatus Verified
70 //!@SYMTestPriority High
71 //!@SYMTestExpectedResults
72 //! Keypad volume - DTMF tones
75 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
76 CREATE_OBJECT CMMFDevSound devsound1
77 CREATE_OBJECT CRepository repository1
78 COMMAND devsound1 NewL
79 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0001-0001-NewL_command02
80 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0001-0001-InitializeL_command03
82 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0001-0001-Set_command04
83 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetPrioritySettings_command05
84 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetVolume_command06
85 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetDTMFLengths_command07
86 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0001-0001-PlayDTMFStringL_command08
88 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetVolume_command09
89 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetDTMFLengths_command10
90 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0001-0001-PlayDTMFStringL_command11
92 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0001-0001-Set_command12
93 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetDTMFLengths_command13
94 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0001-0001-PlayDTMFStringL_command14
96 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetVolume_command15
97 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0001-0001-SetDTMFLengths_command16
98 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0001-0001-PlayDTMFStringL_command17
100 COMMAND repository1 ~
103 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0001
106 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0002
108 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0002
110 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
111 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
112 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
113 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
115 //!@SYMCreationDate 7/21/2008
116 //!@SYMTestCaseDesc Play NRT tone file when vibra off
118 //! 1. Create Central repository instance (RepUID={RepositoryID,UidVibraCtrl}).
119 //! 2. Set repository settings (ItemID={ItemsID,IdVibraEnabled}; SetValue={DataID,Off} )
120 //! 3. Delete Central repository instance.
121 //! 4. Create DevSound instance
122 //! 5. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
123 //! 6. Set priority settings ( Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
124 //! 7. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
126 //! 9.Delete DevSound instance.
127 //!@SYMTestStatus Verified
128 //!@SYMTestPriority High
129 //!@SYMTestExpectedResults
130 //! Play NRT tone file when vibra off
133 START_TEST_BLOCK 200 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
134 CREATE_OBJECT CMMFDevSound devsound1
135 CREATE_OBJECT CRepository repository1
136 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0002-0001-NewL_command01
137 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0002-0001-Set_command02
138 COMMAND repository1 ~
139 COMMAND devsound1 NewL
140 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0002-0001-InitializeL_command05
142 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0002-0001-SetPrioritySettings_command06
143 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0002-0001-PlayToneSequenceL_command07
145 COMMAND devsound1 Stop
149 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0002
152 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0003
154 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0003
156 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
157 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
158 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
159 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
161 //!@SYMCreationDate 7/21/2008
162 //!@SYMTestCaseDesc Play NRT tone file when vibra on
164 //! 1. Create Central repository instance (RepUID={RepositoryID,UidVibraCtrl}).
165 //! 2. Set repository settings (ItemID={ItemsID,IdVibraEnabled}; SetValue={DataID,On})
166 //! 3. Create DevSound instance
167 //! 4. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
168 //! 5. Set priority settings ( Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
169 //! 6. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
171 //! 8. Set repository settings (ItemID={ItemsID,IdVibraEnabled}; SetValue={DataID,Off})
172 //! 9.Delete DevSound instance.
173 //! 10.Delete Central repository instance.
174 //!@SYMTestStatus Verified
175 //!@SYMTestPriority High
176 //!@SYMTestExpectedResults
177 //! Play NRT tone file when vibra on
180 START_TEST_BLOCK 200 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
181 CREATE_OBJECT CMMFDevSound devsound1
182 CREATE_OBJECT CRepository repository1
183 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0003-0001-NewL_command01
184 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0003-0001-Set_command02
185 COMMAND devsound1 NewL
186 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0003-0001-InitializeL_command04
188 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0003-0001-SetPrioritySettings_command05
189 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0003-0001-PlayToneSequenceL_command06
191 COMMAND devsound1 Stop
193 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0003-0001-Set_command08
195 COMMAND repository1 ~
197 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0003
199 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0004
201 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0004
203 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
204 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
205 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
206 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
208 //!@SYMCreationDate 7/21/2008
209 //!@SYMTestCaseDesc Play RNG tone file when vibra off
211 //! 1. Create Central repository instance (RepUID={RepositoryID,UidVibraCtrl}).
212 //! 2. Set repository settings (ItemID={ItemsID,IdVibraEnabled}; SetValue={DataID,Off} )
213 //! 3. Delete Central repository instance.
214 //! 4. Create DevSound instance
215 //! 5. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
216 //! 6. Set priority settings ( Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
217 //! 7. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\rng\Ringing_tone.rng)
218 //! 8.Delete DevSound instance.
219 //!@SYMTestStatus Verified
220 //!@SYMTestPriority High
221 //!@SYMTestExpectedResults
222 //! Play RNG tone file when vibra off
225 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
226 CREATE_OBJECT CMMFDevSound devsound1
227 CREATE_OBJECT CRepository repository1
228 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0004-0001-NewL_command01
229 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0004-0001-Set_command02
230 COMMAND repository1 ~
231 COMMAND devsound1 NewL
232 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0004-0001-InitializeL_command05
234 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0004-0001-SetPrioritySettings_command06
235 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0004-0001-PlayToneSequenceL_command07
239 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0004
244 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0005
246 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0005
248 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
249 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
250 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
251 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
253 //!@SYMCreationDate 7/21/2008
254 //!@SYMTestCaseDesc Play RNG tone file when vibra on
256 //! 1. Create Central repository instance (RepUID={RepositoryID,UidVibraCtrl}).
257 //! 2. Set repository settings (ItemID={ItemsID,IdVibraEnabled}; SetValue={DataID,On})
258 //! 3. Create DevSound instance
259 //! 4. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
260 //! 5. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
261 //! 6. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\rng\Ringing_tone.rng)
262 //! 7. Set repository settings (ItemID={ItemsID,IdVibraEnabled}; SetValue={DataID,Off})
263 //! 8.Delete DevSound instance.
264 //! 9.Delete Central repository instance.
265 //!@SYMTestStatus Verified
266 //!@SYMTestPriority High
267 //!@SYMTestExpectedResults
268 //! Play RNG tone file when vibra on
271 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
272 CREATE_OBJECT CMMFDevSound devsound1
273 CREATE_OBJECT CRepository repository1
274 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0005-0001-NewL_command01
275 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0005-0001-Set_command02
276 COMMAND devsound1 NewL
277 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0005-0001-InitializeL_command04
279 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0005-0001-SetPrioritySettings_command05
280 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0005-0001-PlayToneSequenceL_command06
282 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0005-0001-Set_command07
284 COMMAND repository1 ~
286 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0005
289 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0006
291 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0006
293 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
294 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
295 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
296 //! CMMFDevSound::Capabilities()
297 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
298 //! CMMFDevSound::PlayInitL()
299 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
300 //! CMMFDevSound::Stop()
301 //! CMMFDevSound::SetVolumeRamp(TTimeIntervalMicroSeconds {ref})
304 //!@SYMCreationDate 7/21/2008
305 //!@SYMTestCaseDesc Ringing type - Ascending
307 //! 1. Create DevSound instance1
308 //! 2.Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
309 //! 3. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
310 //! 4. Set volume ramp (RampDuration = 15000000)
311 //! 5. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
312 //! 6. Stop sequence 5s
313 //! 7. Delete DevSound instance1
314 //! 8.Create DevSound instance2
315 //! 9.Initialize DevSound (Mode = EMMFStatePlaying; FourCC= MP3)
316 //! 10.Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStatePlaying)
318 //! 12.Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
319 //! 13. OpenFile( Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_48k_320kbps_st_Queen.mp3 )
320 //! 14.Set volume ramp (RampDuration = 15000000)
323 //! 17.Delete DevSound instance2
324 //!@SYMTestStatus Verified
325 //!@SYMTestPriority High
326 //!@SYMTestExpectedResults
327 //! Ringing type - Ascending
330 START_TEST_BLOCK 200 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
331 CREATE_OBJECT CMMFDevSound devsound1
332 CREATE_OBJECT CMMFDevSound devsound2
333 COMMAND devsound1 NewL
334 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0006-0001-InitializeL_command02
336 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0006-0001-SetPrioritySettings_command03
337 COMMAND devsound1 SetVolumeRamp MULTIMEDIA-MMF-DevSound-Tones-0006-0001-SetVolumeRamp_command04
338 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0006-0001-PlayToneSequenceL_command05
340 COMMAND devsound1 Stop
343 COMMAND devsound2 NewL
344 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0006-0001-InitializeL_command09
346 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0006-0001-SetPrioritySettings_command10
347 COMMAND devsound2 Capabilities
348 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Tones-0006-0001-SetConfigL_command12
349 COMMAND devsound2 OpenFile MULTIMEDIA-MMF-DevSound-Tones-0006-0001-OpenFile_command13
350 COMMAND devsound2 SetVolumeRamp MULTIMEDIA-MMF-DevSound-Tones-0006-0001-SetVolumeRamp_command14
351 COMMAND devsound2 PlayInitL
353 COMMAND devsound2 CloseFile
356 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0006
360 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0008
362 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0008
364 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
365 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
366 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
367 //! CMMFDevSound::Capabilities()
368 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
369 //! CMMFDevSound::PlayInitL()
370 //! CMMFDevSound::RecordInitL()
371 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
372 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
374 //!@SYMCreationDate 7/21/2008
375 //!@SYMTestCaseDesc Ringing type - Ringing
377 //! 1. Create central repository (RepUID={RepositoryID,UidProfileEngine})
378 //! 2. Set repository settings (ItemID={ItemsID,IdActiveRingingType}; SetValue={DataID,RingingType_Ringing})
379 //! 3. Delete central repository
380 //! 4. Create DevSound instance1
381 //! 5. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
382 //! 6. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
383 //! 7. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
384 //! 8.Delete DevSound instance1
385 //! 9.Create DevSound instance2
386 //! 10.Initialize devsound (Mode = EMMFStatePlaying; FourCC= MP3)
387 //! 11.Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStatePlaying)
389 //! 13.Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
390 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test4.mp3)
393 //! 17.Delete DevSound instance2
394 //!@SYMTestStatus Verified
395 //!@SYMTestPriority High
396 //!@SYMTestExpectedResults
397 //! Ringing type - Ringing
400 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
401 CREATE_OBJECT CMMFDevSound devsound1
402 CREATE_OBJECT CMMFDevSound devsound2
403 CREATE_OBJECT CRepository repository1
404 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0008-0001-NewL_command01
405 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0008-0001-Set_command02
406 COMMAND repository1 ~
407 COMMAND devsound1 NewL
408 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0008-0001-InitializeL_command05
410 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0008-0001-SetPrioritySettings_command06
411 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0008-0001-PlayToneSequenceL_command07
414 COMMAND devsound2 NewL
415 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0008-0001-InitializeL_command10
417 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0008-0001-SetPrioritySettings_command11
418 COMMAND devsound2 Capabilities
419 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Tones-0008-0001-SetConfigL_command13
420 COMMAND devsound2 OpenFile MULTIMEDIA-MMF-DevSound-Tones-0008-0001-OpenFile_command14
421 COMMAND devsound2 PlayInitL
423 COMMAND devsound2 CloseFile
426 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0008
431 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0009
433 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0009
435 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
436 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
437 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
438 //! CMMFDevSound::Capabilities()
439 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
440 //! CMMFDevSound::PlayInitL()
441 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
442 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
444 //!@SYMCreationDate 7/21/2008
445 //!@SYMTestCaseDesc Ringing type - RingingOnce
447 //! 1. Create central repository (RepUID={RepositoryID,UidProfileEngine})
448 //! 2. Set repository settings (ItemID={ItemsID,IdActiveRingingType}; SetValue={DataID,RingingType_RingingOnce})
449 //! 3. Create DevSound instance1
450 //! 4. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
451 //! 5. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
452 //! 6. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
453 //! 7. Delete DevSound instance1
454 //! 8.Create DevSound instance2
455 //! 9.Initialize devsound (Mode = EMMFStatePlaying; FourCC= MP3)
456 //! 10.Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStatePlaying)
458 //! 12.Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
459 //! 13. Open File(Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test4.mp3)
462 //! 16.Delete DevSound instance2
463 //! 17.Set repository settings (ItemID={ItemsID,IdActiveRingingType}; SetValue={DataID,RingingType_Ringing})
464 //! 18.Delete central repository
465 //!@SYMTestStatus Verified
466 //!@SYMTestPriority High
467 //!@SYMTestExpectedResults
468 //! Ringing type - RingingOnce
471 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
472 CREATE_OBJECT CMMFDevSound devsound1
473 CREATE_OBJECT CMMFDevSound devsound2
474 CREATE_OBJECT CRepository repository1
475 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0009-0001-NewL_command01
476 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0009-0001-Set_command02
477 COMMAND devsound1 NewL
478 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0009-0001-InitializeL_command04
480 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0009-0001-SetPrioritySettings_command05
481 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0009-0001-PlayToneSequenceL_command06
484 COMMAND devsound2 NewL
485 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0009-0001-InitializeL_command09
487 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0009-0001-SetPrioritySettings_command10
488 COMMAND devsound2 Capabilities
489 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Tones-0009-0001-SetConfigL_command12
490 COMMAND devsound2 OpenFile MULTIMEDIA-MMF-DevSound-Tones-0009-0001-OpenFile_command13
491 COMMAND devsound2 PlayInitL
493 COMMAND devsound2 CloseFile
495 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0009-0001-Set_command17
496 COMMAND repository1 ~
498 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0009
503 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0010
505 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0010
507 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
508 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
509 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
510 //! CMMFDevSound::Capabilities()
511 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
512 //! CMMFDevSound::PlayInitL()
513 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
514 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
516 //!@SYMCreationDate 7/21/2008
517 //!@SYMTestCaseDesc Ringing type - Silent
519 //! 1. Create central repository (RepUID={RepositoryID,UidProfileEngine})
520 //! 2. Set repository settings (ItemID={ItemsID,IdActiveRingingType}; SetValue={DataID,RingingType_Silent})
521 //! 3. Create DevSound instance1
522 //! 4. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
523 //! 5. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
524 //! 6. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
525 //! 7. Delete DevSound instance1
526 //! 8.Create DevSound instance2
527 //! 9.Initialize devsound (Mode = EMMFStatePlaying; FourCC= MP3)
528 //! 10.Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStatePlaying)
530 //! 12.Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
531 //! 13. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test4.mp3)
534 //! 16.Delete DevSound instance2
535 //! 17.Set repository settings (ItemID={ItemsID,IdActiveRingingType}; SetValue={DataID,RingingType_Ringing})
536 //! 18.Delete central repository
537 //!@SYMTestStatus Verified
538 //!@SYMTestPriority High
539 //!@SYMTestExpectedResults
540 //! Ringing type - Silent
543 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
544 CREATE_OBJECT CMMFDevSound devsound1
545 CREATE_OBJECT CMMFDevSound devsound2
546 CREATE_OBJECT CRepository repository1
547 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0010-0001-NewL_command01
548 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0010-0001-Set_command02
549 COMMAND devsound1 NewL
550 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0010-0001-InitializeL_command04
552 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0010-0001-SetPrioritySettings_command05
553 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0010-0001-PlayToneSequenceL_command06
556 COMMAND devsound2 NewL
557 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0010-0001-InitializeL_command09
559 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0010-0001-SetPrioritySettings_command10
560 COMMAND devsound2 Capabilities
561 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Tones-0010-0001-SetConfigL_command12
562 COMMAND devsound2 OpenFile MULTIMEDIA-MMF-DevSound-Tones-0010-0001-OpenFile_command13
563 COMMAND devsound2 PlayInitL
565 COMMAND devsound2 CloseFile
567 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0010-0001-Set_command17
568 COMMAND repository1 ~
570 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0010
575 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0011
577 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0011
579 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState)
580 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
581 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
582 //! CRepository::Set(TUint32 ,const TDesC8 {ref})
584 //!@SYMCreationDate 7/21/2008
585 //!@SYMTestCaseDesc Warning tone - Low battery warning
587 //! 1. Create DevSound instance
588 //! 2. Create central repositoy instance (RepUID={RepositoryID,UidProfileEngine})
589 //! 3. Set repository settings(ItemID={ItemsID,IdActiveWarningTones}; SetValue={DataID,On})
590 //! 4. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
591 //! 5. Set priority settings (Priority={Priority,PriorityBatteryLow}; Preference={PriorityPreference,PriorityPreferenceBatteryLow}; PriorityState=EMMFStateTonePlaying)
592 //! 6. Play sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
593 //! 7. Delete central repository
594 //! 8.Delete DevSound instance
595 //!@SYMTestStatus Verified
596 //!@SYMTestPriority High
597 //!@SYMTestExpectedResults
598 //! Warning tone - Low battery warning
601 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
602 CREATE_OBJECT CMMFDevSound devsound1
603 CREATE_OBJECT CRepository repository1
604 COMMAND devsound1 NewL
605 COMMAND repository1 NewL MULTIMEDIA-MMF-DevSound-Tones-0011-0001-NewL_command02
606 COMMAND repository1 Set MULTIMEDIA-MMF-DevSound-Tones-0011-0001-Set_command03
607 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0011-0001-InitializeL_command04
609 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0011-0001-SetPrioritySettings_command05
610 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0011-0001-PlayToneSequenceL_command06
612 COMMAND repository1 ~
615 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0011
620 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0012
622 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0012
624 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
625 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
626 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
627 //! CMMFDevSound::Stop()
629 //!@SYMCreationDate 7/28/2008
630 //!@SYMTestCaseDesc Tone playback as calendar alarm
632 //! 1. Create DevSound instance
633 //! 2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
634 //! 3. Set priority settings (Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
635 //! 4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
637 //! 6. Delete DevSound instance.
638 //!@SYMTestStatus Verified
639 //!@SYMTestPriority High
640 //!@SYMTestExpectedResults
641 //! Tone playback as calendar alarm
644 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
645 CREATE_OBJECT CMMFDevSound devsound1
646 COMMAND devsound1 NewL
647 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0012-0001-InitializeL_command02
649 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0012-0001-SetPrioritySettings_command03
650 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0012-0001-PlayToneSequenceL_command04
652 COMMAND devsound1 Stop
656 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0012
661 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0013
663 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0013
665 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
666 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
667 //! CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref})
668 //! CMMFDevSound::PlayDTMFStringL(TDesC {ref})
670 //!@SYMCreationDate 7/28/2008
671 //!@SYMTestCaseDesc DTMT tones playback with different lenghts
673 //! 1. Create DevSound instance
674 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
675 //! 3. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
676 //! 4. Set DTMF Lengths (ToneOnLength = 500000; ToneOffLength = 2000000; PauseLength = 0)
677 //! 5. Start DTMF Play (DTMFString = 123)
678 //! 6. Set DTMF Lengths (ToneOnLength = 1000000; ToneOffLength = 2000000; PauseLength = 0)
679 //! 7. Start DTMF Play (DTMFString = 456)
680 //! 8. Set DTMF Lengths (ToneOnLength = 2000000; ToneOffLength = 2000000; PauseLength = 0)
681 //! 9. Start DTMF Play (DTMFString = 789)
682 //! 10.Destroy DevSound instance
683 //!@SYMTestStatus Verified
684 //!@SYMTestPriority High
685 //!@SYMTestExpectedResults
686 //! DTMT tones playback with different lenghts
689 START_TEST_BLOCK 200 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
690 CREATE_OBJECT CMMFDevSound devsound1
691 COMMAND devsound1 NewL
692 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0013-0001-InitializeL_command02
694 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0013-0001-SetPrioritySettings_command03
695 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0013-0001-SetDTMFLengths_command04
696 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0013-0001-PlayDTMFStringL_command05
698 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0013-0001-SetDTMFLengths_command06
699 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0013-0001-PlayDTMFStringL_command07
701 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0013-0001-SetDTMFLengths_command08
702 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0013-0001-PlayDTMFStringL_command09
706 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0013
711 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0014
713 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0014
715 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
716 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
717 //! CMMFDevSound::PlayToneL(TInt, TTimeIntervalMicroSeconds {ref})
719 //!@SYMCreationDate 7/28/2008
720 //!@SYMTestCaseDesc Tone playback with different frequencies
722 //! 1. Create DevSound instance
723 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
724 //! 3. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
725 //! 4. Play tone (Duration = 3000000; Frequency = 250)
726 //! 5. Play tone (Duration = 3000000; Frequency = 500)
727 //! 6. Play tone (Duration = 3000000; Frequency = 1000)
728 //! 7. Play tone (Duration = 3000000; Frequency = 2000)
729 //! 8. Play tone (Duration = 3000000; Frequency = 3000)
730 //! 9. Play tone (Duration = 3000000; Frequency = 4000)
731 //! 10.Destroy DevSound instance
732 //!@SYMTestStatus Verified
733 //!@SYMTestPriority High
734 //!@SYMTestExpectedResults
735 //! Tone playback with different frequencies
738 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
739 CREATE_OBJECT CMMFDevSound devsound1
740 COMMAND devsound1 NewL
741 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-InitializeL_command02
743 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0014-0001-SetPrioritySettings_command03
744 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-PlayToneL_command04
746 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-PlayToneL_command05
748 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-PlayToneL_command06
750 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-PlayToneL_command07
752 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-PlayToneL_command08
754 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0014-0001-PlayToneL_command09
758 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0014
763 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0015
765 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0015
767 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
768 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
769 //! CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref})
770 //! CMMFDevSound::PlayDTMFStringL(TDesC {ref})
772 //!@SYMCreationDate 7/28/2008
773 //!@SYMTestCaseDesc DTMF tones playback
775 //! 1. Create DevSound instance
776 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
777 //! 3. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
778 //! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
779 //! 5. Start DTMF Play 5s (DTMFString = 1234567890)
780 //! 6. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
781 //! 7. Start DTMF Play (DTMFString = 1234567890)
782 //! 8. Destroy DevSound instance
783 //!@SYMTestStatus Verified
784 //!@SYMTestPriority High
785 //!@SYMTestExpectedResults
786 //! DTMF tones playback
789 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
790 CREATE_OBJECT CMMFDevSound devsound1
791 COMMAND devsound1 NewL
792 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0015-0001-InitializeL_command02
794 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0015-0001-SetPrioritySettings_command03
795 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0015-0001-SetDTMFLengths_command04
796 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0015-0001-PlayDTMFStringL_command05
798 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0015-0001-SetDTMFLengths_command06
799 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0015-0001-PlayDTMFStringL_command07
803 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0015
808 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0016
810 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0016
812 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
813 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
814 //! CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref})
815 //! CMMFDevSound::PlayDTMFStringL(TDesC {ref})
816 //! CMMFDevSound::Stop()
817 //! CMMFDevSound::SetVolume(TInt)
819 //!@SYMCreationDate 7/28/2008
820 //!@SYMTestCaseDesc DTMF playback during 10 seconds
822 //! 1. Create DevSound instance
823 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
824 //! 3. Set volume (Volume=100)
825 //! 4. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
826 //! 5. Set DTMF Lengths (ToneOnLength = 90000000; ToneOffLength = 500000; PauseLength = 0)
827 //! 6. Start DTMF Play then delay 10s (DTMFString = 1)
829 //! 8. Set DTMF Lengths (ToneOnLength = 90000000; ToneOffLength = 500000; PauseLength = 0)
830 //! 9. Start DTMF Play then delay 10s (DTMFString = 2)
832 //! 11.Destroy DevSound instance
833 //!@SYMTestStatus Verified
834 //!@SYMTestPriority High
835 //!@SYMTestExpectedResults
836 //! DTMF playback during 10 seconds
839 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
840 CREATE_OBJECT CMMFDevSound devsound1
841 COMMAND devsound1 NewL
842 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0016-0001-InitializeL_command02
844 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0016-0001-SetVolume_command03
845 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0016-0001-SetPrioritySettings_command04
846 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0016-0001-SetDTMFLengths_command05
847 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0016-0001-PlayDTMFStringL_command06
849 COMMAND devsound1 Stop
851 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Tones-0016-0001-SetDTMFLengths_command08
852 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Tones-0016-0001-PlayDTMFStringL_command09
854 COMMAND devsound1 Stop
858 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0016
863 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0017
865 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0017
867 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
868 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
869 //! CMMFDevSound::PlayDualToneL(TInt, TInt, TTimeIntervalMicroSeconds {ref})
870 //! CMMFDevSound::SetToneRepeats(TInt, TTimeIntervalMicroSeconds {ref})
871 //! CMMFDevSound::SetVolume(TInt)
874 //!@SYMCreationDate 7/28/2008
875 //!@SYMTestCaseDesc Tone playback several times
877 //! 1. Create DevSound instance
878 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
879 //! 3. Set volume (Volume=50)
880 //! 4. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
881 //! 5. Set tone repeats (RepeatCount = 5; RepeatTrailingSilence = 2000000)
882 //! 6. Play dual tone (FrequencyOne = 440; FrequencyTwo = 2000; Duration = 3000000 )
883 //! 7. Destroy DevSound instance
884 //!@SYMTestStatus Verified
885 //!@SYMTestPriority High
886 //!@SYMTestExpectedResults
887 //! Tone playback several times
890 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
891 CREATE_OBJECT CMMFDevSound devsound1
892 COMMAND devsound1 NewL
893 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0017-0001-InitializeL_command02
895 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0017-0001-SetVolume_command03
896 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0017-0001-SetPrioritySettings_command04
897 COMMAND devsound1 SetToneRepeats MULTIMEDIA-MMF-DevSound-Tones-0017-0001-SetToneRepeats_command05
898 COMMAND devsound1 PlayDualToneL MULTIMEDIA-MMF-DevSound-Tones-0017-0001-PlayDualToneL_command06
902 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0017
907 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0018
909 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0018
911 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
912 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
913 //! CMMFDevSound::PlayDualToneL(TInt, TInt, TTimeIntervalMicroSeconds {ref})
915 //!@SYMCreationDate 7/28/2008
916 //!@SYMTestCaseDesc Dula tone playback with different frecuency combinations
918 //! 1. Create DevSound instance
919 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
920 //! 3. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
921 //! 4. Play dual tone (Duration = 3000000; FrequencyOne = 50; FrequencyTwo = 4000)
922 //! 5. Play dual tone (Duration = 3000000; FrequencyOne = 250; FrequencyTwo = 3000)
923 //! 6. Play dual tone (Duration = 3000000; FrequencyOne = 500; FrequencyTwo = 2000)
924 //! 7. Play dual tone (Duration = 3000000; FrequencyOne = 1000; FrequencyTwo = 50)
925 //! 8. Destroy DevSound instance
926 //!@SYMTestStatus Verified
927 //!@SYMTestPriority High
928 //!@SYMTestExpectedResults
929 //! Dula tone playback with different frecuency combinations
932 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
933 CREATE_OBJECT CMMFDevSound devsound1
934 COMMAND devsound1 NewL
935 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0018-0001-InitializeL_command02
937 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0018-0001-SetPrioritySettings_command03
938 COMMAND devsound1 PlayDualToneL MULTIMEDIA-MMF-DevSound-Tones-0018-0001-PlayDualToneL_command04
940 COMMAND devsound1 PlayDualToneL MULTIMEDIA-MMF-DevSound-Tones-0018-0001-PlayDualToneL_command05
942 COMMAND devsound1 PlayDualToneL MULTIMEDIA-MMF-DevSound-Tones-0018-0001-PlayDualToneL_command06
944 COMMAND devsound1 PlayDualToneL MULTIMEDIA-MMF-DevSound-Tones-0018-0001-PlayDualToneL_command07
948 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0018
953 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0020
955 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0020
957 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
958 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
959 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
960 //! CMMFDevSound::Stop()
962 //!@SYMCreationDate 7/28/2008
963 //!@SYMTestCaseDesc NRT playback
965 //! 1. Create DevSound instance
966 //! 2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
967 //! 3. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
968 //! 4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
970 //! 6. Delete DevSound instance.
971 //!@SYMTestStatus Verified
972 //!@SYMTestPriority High
973 //!@SYMTestExpectedResults
977 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
978 CREATE_OBJECT CMMFDevSound devsound1
979 COMMAND devsound1 NewL
980 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0020-0001-InitializeL_command02
982 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0020-0001-SetPrioritySettings_command03
983 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0020-0001-PlayToneSequenceL_command04
985 COMMAND devsound1 Stop
989 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0020
994 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0021
996 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0021
998 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
999 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1000 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1001 //! CMMFDevSound::Stop()
1002 //!@SYMAuthor jpacho
1003 //!@SYMCreationDate 7/28/2008
1004 //!@SYMTestCaseDesc RGN playback
1006 //! 1. Create DevSound instance
1007 //! 2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1008 //! 3. Set priority settings (Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
1009 //! 4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\rng\Ringing_tone.rng)
1011 //! 6. Delete DevSound instance.
1012 //!@SYMTestStatus Verified
1013 //!@SYMTestPriority High
1014 //!@SYMTestExpectedResults
1018 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
1019 CREATE_OBJECT CMMFDevSound devsound1
1020 COMMAND devsound1 NewL
1021 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0021-0001-InitializeL_command02
1023 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0021-0001-SetPrioritySettings_command03
1024 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Tones-0021-0001-PlayToneSequenceL_command04
1026 COMMAND devsound1 Stop
1030 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0021
1035 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0022
1037 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0022
1039 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1040 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1041 //! CMMFDevSound::SetToneRepeats(TInt, TTimeIntervalMicroSeconds {ref})
1042 //! CMMFDevSound::PlayToneL(TInt, TTimeIntervalMicroSeconds {ref})
1043 //!@SYMAuthor jpacho
1044 //!@SYMCreationDate 7/28/2008
1045 //!@SYMTestCaseDesc Tone playback during 20 seconds
1047 //! 1. Create DevSound instance
1048 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1049 //! 3. Set volume (Volume=50)
1050 //! 4. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
1051 //! 5. Set tone repeats (RepeatCount = -2; RepeatTrailingSilence = 500000)
1052 //! 6. Play tone 20s (Duration = 1000000; Frequency = 440)
1053 //! 7. Destroy DevSound instance
1054 //!@SYMTestStatus Verified
1055 //!@SYMTestPriority High
1056 //!@SYMTestExpectedResults
1057 //! Tone playback during 20 seconds
1060 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
1061 CREATE_OBJECT CMMFDevSound devsound1
1062 COMMAND devsound1 NewL
1063 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0022-0001-InitializeL_command02
1065 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0022-0001-SetVolume_command03
1066 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0022-0001-SetPrioritySettings_command04
1067 COMMAND devsound1 SetToneRepeats MULTIMEDIA-MMF-DevSound-Tones-0022-0001-SetToneRepeats_command05
1068 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0022-0001-PlayToneL_command06
1069 ASYNC_DELAY 20000000
1070 COMMAND devsound1 Stop
1074 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0022
1079 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0023
1081 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0023
1083 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1084 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1085 //! CMMFDevSound::SetToneRepeats(TInt, TTimeIntervalMicroSeconds {ref})
1086 //! CMMFDevSound::PlayToneL(TInt, TTimeIntervalMicroSeconds {ref})
1087 //!@SYMAuthor jpacho
1088 //!@SYMCreationDate 7/28/2008
1089 //!@SYMTestCaseDesc Tone playback several times
1091 //! 1. Create DevSound instance
1092 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1093 //! 3. Set volume (Volume=50)
1094 //! 4. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
1095 //! 5. Set tone repeats (RepeatCount = 5; RepeatTrailingSilence =2000000)
1096 //! 6. Play tone (Duration = 3000000; Frequency = 440)
1097 //! 7. Destroy DevSound instance
1098 //!@SYMTestStatus Verified
1099 //!@SYMTestPriority High
1100 //!@SYMTestExpectedResults
1101 //! Tone playback several times
1104 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-tones.ini
1105 CREATE_OBJECT CMMFDevSound devsound1
1106 COMMAND devsound1 NewL
1107 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Tones-0023-0001-InitializeL_command02
1109 COMMAND devsound1 SetVolume MULTIMEDIA-MMF-DevSound-Tones-0023-0001-SetVolume_command03
1110 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Tones-0023-0001-SetPrioritySettings_command04
1111 COMMAND devsound1 SetToneRepeats MULTIMEDIA-MMF-DevSound-Tones-0023-0001-SetToneRepeats_command05
1112 COMMAND devsound1 PlayToneL MULTIMEDIA-MMF-DevSound-Tones-0023-0001-PlayToneL_command06
1116 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-TONES-0023