FreeCalypso > hg > leo2moko-debug
comparison chipsetsw/services/Audio/tests/audio_test_regr.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
| author | Space Falcon <falcon@ivan.Harhan.ORG> |
|---|---|
| date | Mon, 01 Jun 2015 03:24:05 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:509db1a7b7b8 |
|---|---|
| 1 /********************************************************************************/ | |
| 2 /* */ | |
| 3 /* File Name: audio_test_regr.h */ | |
| 4 /* */ | |
| 5 /* Purpose: This file contains the definition usefull for an audio */ | |
| 6 /* non regression test. */ | |
| 7 /* */ | |
| 8 /* Note: None. */ | |
| 9 /* */ | |
| 10 /* Version 0.1 */ | |
| 11 /* */ | |
| 12 /* Date Modification */ | |
| 13 /* ----------------------------------------------------------------------------*/ | |
| 14 /* 14 May 2001 Create */ | |
| 15 /* */ | |
| 16 /* Author Francois Mazard - Stephanie Gerthoux */ | |
| 17 /* */ | |
| 18 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */ | |
| 19 /********************************************************************************/ | |
| 20 | |
| 21 #ifndef _AUDIO_TEST_REGR_H_ | |
| 22 #define _AUDIO_TEST_REGR_H_ | |
| 23 | |
| 24 #include "tests/rv/rv_test_regr.h" | |
| 25 #include "audio/audio_features_i.h" | |
| 26 | |
| 27 #if (AUDIO_REGR == SW_COMPILED) | |
| 28 | |
| 29 /* Define paramters, functions and macros used tto ferform miscellaneous AUDIO tests */ | |
| 30 /* declare the external functions */ | |
| 31 | |
| 32 #if (KEYBEEP) | |
| 33 T_RV_REGR_RET audio_regr_test_1 (T_RV_REGR_ERR_TYPE *error_type); | |
| 34 T_RV_REGR_RET audio_regr_test_2 (T_RV_REGR_ERR_TYPE *error_type); | |
| 35 T_RV_REGR_RET audio_regr_test_3 (T_RV_REGR_ERR_TYPE *error_type); | |
| 36 T_RV_REGR_RET audio_regr_test_4 (T_RV_REGR_ERR_TYPE *error_type); | |
| 37 T_RV_REGR_RET audio_regr_test_5 (T_RV_REGR_ERR_TYPE *error_type); | |
| 38 T_RV_REGR_RET audio_regr_test_6 (T_RV_REGR_ERR_TYPE *error_type); | |
| 39 T_RV_REGR_RET audio_regr_test_7 (T_RV_REGR_ERR_TYPE *error_type); | |
| 40 T_RV_REGR_RET audio_regr_test_8 (T_RV_REGR_ERR_TYPE *error_type); | |
| 41 #endif /* KEYBEEP */ | |
| 42 #if (TONE) | |
| 43 T_RV_REGR_RET audio_regr_test_10 (T_RV_REGR_ERR_TYPE *error_type); | |
| 44 T_RV_REGR_RET audio_regr_test_11 (T_RV_REGR_ERR_TYPE *error_type); | |
| 45 T_RV_REGR_RET audio_regr_test_12 (T_RV_REGR_ERR_TYPE *error_type); | |
| 46 T_RV_REGR_RET audio_regr_test_13 (T_RV_REGR_ERR_TYPE *error_type); | |
| 47 T_RV_REGR_RET audio_regr_test_14 (T_RV_REGR_ERR_TYPE *error_type); | |
| 48 T_RV_REGR_RET audio_regr_test_15 (T_RV_REGR_ERR_TYPE *error_type); | |
| 49 T_RV_REGR_RET audio_regr_test_16 (T_RV_REGR_ERR_TYPE *error_type); | |
| 50 T_RV_REGR_RET audio_regr_test_17 (T_RV_REGR_ERR_TYPE *error_type); | |
| 51 #endif /* TONE */ | |
| 52 #if (MELODY_E1) | |
| 53 T_RV_REGR_RET audio_regr_test_18 (T_RV_REGR_ERR_TYPE *error_type); | |
| 54 T_RV_REGR_RET audio_regr_test_20 (T_RV_REGR_ERR_TYPE *error_type); | |
| 55 T_RV_REGR_RET audio_regr_test_21 (T_RV_REGR_ERR_TYPE *error_type); | |
| 56 T_RV_REGR_RET audio_regr_test_22 (T_RV_REGR_ERR_TYPE *error_type); | |
| 57 T_RV_REGR_RET audio_regr_test_23 (T_RV_REGR_ERR_TYPE *error_type); | |
| 58 T_RV_REGR_RET audio_regr_test_24 (T_RV_REGR_ERR_TYPE *error_type); | |
| 59 T_RV_REGR_RET audio_regr_test_25 (T_RV_REGR_ERR_TYPE *error_type); | |
| 60 T_RV_REGR_RET audio_regr_test_26 (T_RV_REGR_ERR_TYPE *error_type); | |
| 61 T_RV_REGR_RET audio_regr_test_27 (T_RV_REGR_ERR_TYPE *error_type); | |
| 62 T_RV_REGR_RET audio_regr_test_28 (T_RV_REGR_ERR_TYPE *error_type); | |
| 63 T_RV_REGR_RET audio_regr_test_29 (T_RV_REGR_ERR_TYPE *error_type); | |
| 64 T_RV_REGR_RET audio_regr_test_39 (T_RV_REGR_ERR_TYPE *error_type); | |
| 65 #endif /* MELODY_E1 */ | |
| 66 #if (VOICE_MEMO) | |
| 67 T_RV_REGR_RET audio_regr_test_30 (T_RV_REGR_ERR_TYPE *error_type); | |
| 68 T_RV_REGR_RET audio_regr_test_31 (T_RV_REGR_ERR_TYPE *error_type); | |
| 69 T_RV_REGR_RET audio_regr_test_32 (T_RV_REGR_ERR_TYPE *error_type); | |
| 70 T_RV_REGR_RET audio_regr_test_33 (T_RV_REGR_ERR_TYPE *error_type); | |
| 71 T_RV_REGR_RET audio_regr_test_34 (T_RV_REGR_ERR_TYPE *error_type); | |
| 72 T_RV_REGR_RET audio_regr_test_35 (T_RV_REGR_ERR_TYPE *error_type); | |
| 73 T_RV_REGR_RET audio_regr_test_36 (T_RV_REGR_ERR_TYPE *error_type); | |
| 74 T_RV_REGR_RET audio_regr_test_37 (T_RV_REGR_ERR_TYPE *error_type); | |
| 75 T_RV_REGR_RET audio_regr_test_38 (T_RV_REGR_ERR_TYPE *error_type); | |
| 76 T_RV_REGR_RET audio_regr_test_59 (T_RV_REGR_ERR_TYPE *error_type); | |
| 77 T_RV_REGR_RET audio_regr_test_40 (T_RV_REGR_ERR_TYPE *error_type); | |
| 78 T_RV_REGR_RET audio_regr_test_41 (T_RV_REGR_ERR_TYPE *error_type); | |
| 79 T_RV_REGR_RET audio_regr_test_42 (T_RV_REGR_ERR_TYPE *error_type); | |
| 80 T_RV_REGR_RET audio_regr_test_43 (T_RV_REGR_ERR_TYPE *error_type); | |
| 81 T_RV_REGR_RET audio_regr_test_44 (T_RV_REGR_ERR_TYPE *error_type); | |
| 82 T_RV_REGR_RET audio_regr_test_45 (T_RV_REGR_ERR_TYPE *error_type); | |
| 83 T_RV_REGR_RET audio_regr_test_46 (T_RV_REGR_ERR_TYPE *error_type); | |
| 84 T_RV_REGR_RET audio_regr_test_47 (T_RV_REGR_ERR_TYPE *error_type); | |
| 85 T_RV_REGR_RET audio_regr_test_48 (T_RV_REGR_ERR_TYPE *error_type); | |
| 86 T_RV_REGR_RET audio_regr_test_69 (T_RV_REGR_ERR_TYPE *error_type); | |
| 87 #endif /* VOICE_MEMO */ | |
| 88 /* AUDIO mode */ | |
| 89 T_RV_REGR_RET audio_regr_test_50 (T_RV_REGR_ERR_TYPE *error_type); | |
| 90 T_RV_REGR_RET audio_regr_test_51 (T_RV_REGR_ERR_TYPE *error_type); | |
| 91 T_RV_REGR_RET audio_regr_test_52 (T_RV_REGR_ERR_TYPE *error_type); | |
| 92 T_RV_REGR_RET audio_regr_test_53 (T_RV_REGR_ERR_TYPE *error_type); | |
| 93 T_RV_REGR_RET audio_regr_test_54 (T_RV_REGR_ERR_TYPE *error_type); | |
| 94 /* Audio incompatibilities */ | |
| 95 #if (TONE) && (MELODY_E1) | |
| 96 T_RV_REGR_RET audio_regr_test_60 (T_RV_REGR_ERR_TYPE *error_type); | |
| 97 #endif | |
| 98 #if (SPEECH_RECO) && (KEYBEEP) | |
| 99 T_RV_REGR_RET audio_regr_test_61 (T_RV_REGR_ERR_TYPE *error_type); | |
| 100 #endif | |
| 101 #if (SPEECH_RECO) | |
| 102 /* enrollment */ | |
| 103 T_RV_REGR_RET audio_regr_test_70 (T_RV_REGR_ERR_TYPE *error_type); | |
| 104 T_RV_REGR_RET audio_regr_test_71 (T_RV_REGR_ERR_TYPE *error_type); | |
| 105 T_RV_REGR_RET audio_regr_test_72 (T_RV_REGR_ERR_TYPE *error_type); | |
| 106 T_RV_REGR_RET audio_regr_test_73 (T_RV_REGR_ERR_TYPE *error_type); | |
| 107 T_RV_REGR_RET audio_regr_test_74 (T_RV_REGR_ERR_TYPE *error_type); | |
| 108 T_RV_REGR_RET audio_regr_test_75 (T_RV_REGR_ERR_TYPE *error_type); | |
| 109 T_RV_REGR_RET audio_regr_test_76 (T_RV_REGR_ERR_TYPE *error_type); | |
| 110 T_RV_REGR_RET audio_regr_test_77 (T_RV_REGR_ERR_TYPE *error_type); | |
| 111 T_RV_REGR_RET audio_regr_test_78 (T_RV_REGR_ERR_TYPE *error_type); | |
| 112 /* update */ | |
| 113 T_RV_REGR_RET audio_regr_test_80 (T_RV_REGR_ERR_TYPE *error_type); | |
| 114 T_RV_REGR_RET audio_regr_test_81 (T_RV_REGR_ERR_TYPE *error_type); | |
| 115 T_RV_REGR_RET audio_regr_test_82 (T_RV_REGR_ERR_TYPE *error_type); | |
| 116 T_RV_REGR_RET audio_regr_test_83 (T_RV_REGR_ERR_TYPE *error_type); | |
| 117 T_RV_REGR_RET audio_regr_test_84 (T_RV_REGR_ERR_TYPE *error_type); | |
| 118 T_RV_REGR_RET audio_regr_test_85 (T_RV_REGR_ERR_TYPE *error_type); | |
| 119 T_RV_REGR_RET audio_regr_test_86 (T_RV_REGR_ERR_TYPE *error_type); | |
| 120 T_RV_REGR_RET audio_regr_test_87 (T_RV_REGR_ERR_TYPE *error_type); | |
| 121 T_RV_REGR_RET audio_regr_test_88 (T_RV_REGR_ERR_TYPE *error_type); | |
| 122 /* update-check */ | |
| 123 T_RV_REGR_RET audio_regr_test_90 (T_RV_REGR_ERR_TYPE *error_type); | |
| 124 T_RV_REGR_RET audio_regr_test_91 (T_RV_REGR_ERR_TYPE *error_type); | |
| 125 T_RV_REGR_RET audio_regr_test_92 (T_RV_REGR_ERR_TYPE *error_type); | |
| 126 T_RV_REGR_RET audio_regr_test_93 (T_RV_REGR_ERR_TYPE *error_type); | |
| 127 T_RV_REGR_RET audio_regr_test_94 (T_RV_REGR_ERR_TYPE *error_type); | |
| 128 T_RV_REGR_RET audio_regr_test_95 (T_RV_REGR_ERR_TYPE *error_type); | |
| 129 T_RV_REGR_RET audio_regr_test_96 (T_RV_REGR_ERR_TYPE *error_type); | |
| 130 T_RV_REGR_RET audio_regr_test_97 (T_RV_REGR_ERR_TYPE *error_type); | |
| 131 T_RV_REGR_RET audio_regr_test_98 (T_RV_REGR_ERR_TYPE *error_type); | |
| 132 /* reco */ | |
| 133 T_RV_REGR_RET audio_regr_test_100 (T_RV_REGR_ERR_TYPE *error_type); | |
| 134 T_RV_REGR_RET audio_regr_test_101 (T_RV_REGR_ERR_TYPE *error_type); | |
| 135 T_RV_REGR_RET audio_regr_test_102 (T_RV_REGR_ERR_TYPE *error_type); | |
| 136 T_RV_REGR_RET audio_regr_test_103 (T_RV_REGR_ERR_TYPE *error_type); | |
| 137 T_RV_REGR_RET audio_regr_test_104 (T_RV_REGR_ERR_TYPE *error_type); | |
| 138 T_RV_REGR_RET audio_regr_test_105 (T_RV_REGR_ERR_TYPE *error_type); | |
| 139 T_RV_REGR_RET audio_regr_test_106 (T_RV_REGR_ERR_TYPE *error_type); | |
| 140 T_RV_REGR_RET audio_regr_test_107 (T_RV_REGR_ERR_TYPE *error_type); | |
| 141 #endif /* SPEECH_RECO */ | |
| 142 #if (MELODY_E2) | |
| 143 T_RV_REGR_RET audio_regr_test_110 (T_RV_REGR_ERR_TYPE *error_type); | |
| 144 T_RV_REGR_RET audio_regr_test_111 (T_RV_REGR_ERR_TYPE *error_type); | |
| 145 T_RV_REGR_RET audio_regr_test_112 (T_RV_REGR_ERR_TYPE *error_type); | |
| 146 T_RV_REGR_RET audio_regr_test_113 (T_RV_REGR_ERR_TYPE *error_type); | |
| 147 T_RV_REGR_RET audio_regr_test_114 (T_RV_REGR_ERR_TYPE *error_type); | |
| 148 T_RV_REGR_RET audio_regr_test_115 (T_RV_REGR_ERR_TYPE *error_type); | |
| 149 T_RV_REGR_RET audio_regr_test_116 (T_RV_REGR_ERR_TYPE *error_type); | |
| 150 T_RV_REGR_RET audio_regr_test_117 (T_RV_REGR_ERR_TYPE *error_type); | |
| 151 T_RV_REGR_RET audio_regr_test_118 (T_RV_REGR_ERR_TYPE *error_type); | |
| 152 T_RV_REGR_RET audio_regr_test_119 (T_RV_REGR_ERR_TYPE *error_type); | |
| 153 T_RV_REGR_RET audio_regr_test_120 (T_RV_REGR_ERR_TYPE *error_type); | |
| 154 T_RV_REGR_RET audio_regr_test_121 (T_RV_REGR_ERR_TYPE *error_type); | |
| 155 T_RV_REGR_RET audio_regr_test_122 (T_RV_REGR_ERR_TYPE *error_type); | |
| 156 #endif /* MELODY_E2 */ | |
| 157 #if (L1_GTT == 1) | |
| 158 T_RV_REGR_RET audio_regr_test_130 (T_RV_REGR_ERR_TYPE *error_type); | |
| 159 T_RV_REGR_RET audio_regr_test_131 (T_RV_REGR_ERR_TYPE *error_type); | |
| 160 T_RV_REGR_RET audio_regr_test_132 (T_RV_REGR_ERR_TYPE *error_type); | |
| 161 T_RV_REGR_RET audio_regr_test_133 (T_RV_REGR_ERR_TYPE *error_type); | |
| 162 T_RV_REGR_RET audio_regr_test_134 (T_RV_REGR_ERR_TYPE *error_type); | |
| 163 T_RV_REGR_RET audio_regr_test_135 (T_RV_REGR_ERR_TYPE *error_type); | |
| 164 #endif /* L1_GTT */ | |
| 165 #if (AUDIO_MEM_MANAGER) | |
| 166 T_RV_REGR_RET audio_regr_test_140 (T_RV_REGR_ERR_TYPE *error_type); | |
| 167 T_RV_REGR_RET audio_regr_test_141 (T_RV_REGR_ERR_TYPE *error_type); | |
| 168 T_RV_REGR_RET audio_regr_test_142 (T_RV_REGR_ERR_TYPE *error_type); | |
| 169 T_RV_REGR_RET audio_regr_test_143 (T_RV_REGR_ERR_TYPE *error_type); | |
| 170 T_RV_REGR_RET audio_regr_test_144 (T_RV_REGR_ERR_TYPE *error_type); | |
| 171 T_RV_REGR_RET audio_regr_test_145 (T_RV_REGR_ERR_TYPE *error_type); | |
| 172 T_RV_REGR_RET audio_regr_test_146 (T_RV_REGR_ERR_TYPE *error_type); | |
| 173 T_RV_REGR_RET audio_regr_test_147 (T_RV_REGR_ERR_TYPE *error_type); | |
| 174 | |
| 175 T_RV_REGR_RET audio_regr_test_150 (T_RV_REGR_ERR_TYPE *error_type); | |
| 176 T_RV_REGR_RET audio_regr_test_151 (T_RV_REGR_ERR_TYPE *error_type); | |
| 177 T_RV_REGR_RET audio_regr_test_152 (T_RV_REGR_ERR_TYPE *error_type); | |
| 178 T_RV_REGR_RET audio_regr_test_153 (T_RV_REGR_ERR_TYPE *error_type); | |
| 179 T_RV_REGR_RET audio_regr_test_154 (T_RV_REGR_ERR_TYPE *error_type); | |
| 180 T_RV_REGR_RET audio_regr_test_155 (T_RV_REGR_ERR_TYPE *error_type); | |
| 181 T_RV_REGR_RET audio_regr_test_156 (T_RV_REGR_ERR_TYPE *error_type); | |
| 182 #endif | |
| 183 #if (L1_MIDI==1) | |
| 184 T_RV_REGR_RET audio_regr_test_160 (T_RV_REGR_ERR_TYPE *error_type); | |
| 185 T_RV_REGR_RET audio_regr_test_161 (T_RV_REGR_ERR_TYPE *error_type); | |
| 186 T_RV_REGR_RET audio_regr_test_162 (T_RV_REGR_ERR_TYPE *error_type); | |
| 187 T_RV_REGR_RET audio_regr_test_163 (T_RV_REGR_ERR_TYPE *error_type); | |
| 188 T_RV_REGR_RET audio_regr_test_164 (T_RV_REGR_ERR_TYPE *error_type); | |
| 189 T_RV_REGR_RET audio_regr_test_165 (T_RV_REGR_ERR_TYPE *error_type); | |
| 190 #endif | |
| 191 | |
| 192 T_RV_RET trace_audio_test_verdict ( T_RV_TEST_RET test_verdict, | |
| 193 T_RV_REGR_TEST_TOT nb_of_test_in_list, | |
| 194 T_RV_REGR_TEST_TOT nb_of_test_succeeded, | |
| 195 T_RV_REGR_ERR_TYPE *error_type); | |
| 196 | |
| 197 | |
| 198 #endif /* #if (AUDIO_REGR == SW_COMPILED) */ | |
| 199 #endif |
