--- a/mmmw_plat/system_tone_service_api/tsrc/conf/systemtoneservicestif.cfg Mon May 03 12:59:52 2010 +0300
+++ b/mmmw_plat/system_tone_service_api/tsrc/conf/systemtoneservicestif.cfg Fri May 14 16:22:35 2010 +0300
@@ -1,49 +1,72 @@
+//
+// Copyright (c) 2010 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.
+// Description: Example test case for calendar alarm
+//
+//
+
[Define]
-CalendarAlarm 1
-ClockAlarm 2
-ToDoAlarm 3
-BurstMode 4097
-Capture 4098
-CallRecording 4099
-RecordingStart 4100
-RecordingStop 4101
-SelfTimer 4102
-ConfirmationBeep 8193
-DefaultBeep 8194
-ErrorBeep 8195
-InformationBeep 8196
-WarningBeep 8197
-IntegratedHandsFreeActivated 8198
-TouchScreen 12289
-LocationRequest 16395
-ChatAlert 20481
-EmailAlert 20482
-MmsAlert 20483
-SmsAlert 20484
-DeliveryReport 20485
-MessageSendFailure 20486
-BatteryLow 24577
-BatteryRecharged 24578
-PowerOn 24579
-PowerOff 24580
-WakeUp 24581
-WrongCharger 24582
-IncomingCall 28673
-IncomingCallLine2 28674
-IncomingDataCall 28675
-AutomaticRedialComplete 28676
-VoiceStart 32769
-VoiceError 32770
-VoiceAbort 32771
+CalendarAlarm 32769
+ClockAlarm 32770
+ToDoAlarm 32771
+
+BurstMode 1
+Capture 2
+CallRecording 3
+RecordingStart 4
+RecordingStop 5
+SelfTimer 6
+
+ConfirmationBeep 257
+DefaultBeep 258
+ErrorBeep 259
+InformationBeep 260
+WarningBeep 261
+IntegratedHandsFreeActivated 262
+
+TouchScreen 513
+
+LocationRequest 769
+
+ChatAlert 1025
+EmailAlert 1026
+MmsAlert 1027
+SmsAlert 1028
+DeliveryReport 1029
+MessageSendFailure 1030
+
+BatteryLow 1281
+BatteryRecharged 1282
+PowerOn 1283
+PowerOff 1284
+WakeUp 1285
+WrongCharger 1286
+
+IncomingCall 33025
+IncomingCallLine2 33026
+IncomingDataCall 33027
+
+AutomaticRedialComplete 1540
+
+VoiceStart 1793
+VoiceError 1794
+VoiceAbort 1795
[Enddefine]
[Test]
title NFT
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayToneWithContext ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 10000
-STSSTIF StopTone True
+STSSTIF StopAlarm True
STSSTIF Delete
delete STSSTIF
[Endtest]
@@ -63,7 +86,7 @@
title 02 Play ClockAlarm Ringtone
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayTone ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 5000
STSSTIF Delete
delete STSSTIF
@@ -74,7 +97,7 @@
title 03 Play ClockAlarmContext Ringtone
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayToneWithContext ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 10000
STSSTIF Delete
delete STSSTIF
@@ -84,9 +107,9 @@
title 04 Stop ClockAlarm with recognized Context
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayToneWithContext ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 10000
-STSSTIF StopTone True
+STSSTIF StopAlarm True
pause 5000
STSSTIF Delete
delete STSSTIF
@@ -97,9 +120,9 @@
title 05 Stop ClockAlarm with non-recognized Context
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayToneWithContext ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 10000
-STSSTIF StopTone False
+STSSTIF StopAlarm False
pause 5000
STSSTIF Delete
delete STSSTIF
@@ -110,11 +133,11 @@
title 06 Play two tones
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayToneWithContext ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 10000
STSSTIF PlayTone CalendarAlarm
pause 10000
-STSSTIF StopTone True
+STSSTIF StopAlarm True
STSSTIF Delete
delete STSSTIF
[Endtest]
@@ -124,10 +147,10 @@
title 07 Stop tone after tone complete
create systemtoneservicestif STSSTIF
STSSTIF Create
-STSSTIF PlayToneWithContext ClockAlarm
+STSSTIF PlayAlarm ClockAlarm
pause 10000
-STSSTIF StopTone True
-STSSTIF StopTone True
+STSSTIF StopAlarm True
+STSSTIF StopAlarm True
STSSTIF Delete
delete STSSTIF
[Endtest]
\ No newline at end of file