• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python3
2#
3#   Copyright 2020 - Google
4#
5#   Licensed under the Apache License, Version 2.0 (the "License");
6#   you may not use this file except in compliance with the License.
7#   You may obtain a copy of the License at
8#
9#       http://www.apache.org/licenses/LICENSE-2.0
10#
11#   Unless required by applicable law or agreed to in writing, software
12#   distributed under the License is distributed on an "AS IS" BASIS,
13#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14#   See the License for the specific language governing permissions and
15#   limitations under the License.
16
17from acts import signals
18from acts.test_decorators import test_tracker_info
19from acts_contrib.test_utils.tel.loggers.telephony_metric_logger import TelephonyMetricLogger
20from acts_contrib.test_utils.tel.TelephonyBaseTest import TelephonyBaseTest
21from acts_contrib.test_utils.tel.tel_defines import CAPABILITY_CONFERENCE
22from acts_contrib.test_utils.tel.tel_dsds_utils import erase_call_forwarding
23from acts_contrib.test_utils.tel.tel_dsds_utils import msim_call_forwarding
24from acts_contrib.test_utils.tel.tel_dsds_utils import msim_call_voice_conf
25from acts_contrib.test_utils.tel.tel_phone_setup_utils import ensure_phones_idle
26from acts_contrib.test_utils.tel.tel_ss_utils import set_call_waiting
27from acts_contrib.test_utils.tel.tel_subscription_utils import get_outgoing_voice_sub_id
28from acts_contrib.test_utils.tel.tel_test_utils import get_capability_for_subscription
29
30
31class TelLiveGFTDSDSSupplementaryServiceTest(TelephonyBaseTest):
32    def setup_class(self):
33        TelephonyBaseTest.setup_class(self)
34        self.message_lengths = (50, 160, 180)
35        self.tel_logger = TelephonyMetricLogger.for_test_case()
36        erase_call_forwarding(self.log, self.android_devices[0])
37        if not get_capability_for_subscription(
38            self.android_devices[0],
39            CAPABILITY_CONFERENCE,
40            get_outgoing_voice_sub_id(self.android_devices[0])):
41            self.android_devices[0].log.error(
42                "Conference call is not supported, abort test.")
43            raise signals.TestAbortClass(
44                "Conference call is not supported, abort test.")
45
46    def teardown_test(self):
47        ensure_phones_idle(self.log, self.android_devices)
48        erase_call_forwarding(self.log, self.android_devices[0])
49        set_call_waiting(self.log, self.android_devices[0], enable=1)
50
51    @test_tracker_info(uuid="ccaeff83-4b8c-488a-8c7f-6bb019528bf8")
52    @TelephonyBaseTest.tel_test_wrap
53    def test_msim_call_forwarding_unconditional_volte_psim_dds_slot_0(self):
54        return msim_call_forwarding(
55            self.log,
56            self.tel_logger,
57            self.android_devices,
58            None,
59            0,
60            None,
61            0,
62            callee_rat=["volte", "volte"],
63            call_forwarding_type="unconditional")
64
65    @test_tracker_info(uuid="a132bfa6-d545-4970-9a39-55aea7477f8c")
66    @TelephonyBaseTest.tel_test_wrap
67    def test_msim_call_forwarding_unconditional_volte_psim_dds_slot_1(self):
68        return msim_call_forwarding(
69            self.log,
70            self.tel_logger,
71            self.android_devices,
72            None,
73            0,
74            None,
75            1,
76            callee_rat=["volte", "volte"],
77            call_forwarding_type="unconditional")
78
79    @test_tracker_info(uuid="71a4db8a-d20f-4fcb-ac5f-5fe6b9fa36f5")
80    @TelephonyBaseTest.tel_test_wrap
81    def test_msim_call_forwarding_unconditional_volte_esim_dds_slot_0(self):
82        return msim_call_forwarding(
83            self.log,
84            self.tel_logger,
85            self.android_devices,
86            None,
87            1,
88            None,
89            0,
90            callee_rat=["volte", "volte"],
91            call_forwarding_type="unconditional")
92
93    @test_tracker_info(uuid="50b064e7-4bf6-4bb3-aed1-e4d78b0b6195")
94    @TelephonyBaseTest.tel_test_wrap
95    def test_msim_call_forwarding_unconditional_volte_esim_dds_slot_1(self):
96        return msim_call_forwarding(
97            self.log,
98            self.tel_logger,
99            self.android_devices,
100            None,
101            1,
102            None,
103            1,
104            callee_rat=["volte", "volte"],
105            call_forwarding_type="unconditional")
106
107
108
109    @test_tracker_info(uuid="b1cfe07f-f4bf-49c4-95f1-f0973f32940e")
110    @TelephonyBaseTest.tel_test_wrap
111    def test_msim_call_forwarding_unconditional_volte_csfb_psim_dds_slot_0(self):
112        return msim_call_forwarding(
113            self.log,
114            self.tel_logger,
115            self.android_devices,
116            None,
117            0,
118            None,
119            0,
120            callee_rat=["volte", "csfb"],
121            call_forwarding_type="unconditional")
122
123    @test_tracker_info(uuid="668bd2c6-beee-4c38-a9e5-8b0cc5937c28")
124    @TelephonyBaseTest.tel_test_wrap
125    def test_msim_call_forwarding_unconditional_volte_csfb_psim_dds_slot_1(self):
126        return msim_call_forwarding(
127            self.log,
128            self.tel_logger,
129            self.android_devices,
130            None,
131            0,
132            None,
133            1,
134            callee_rat=["volte", "csfb"],
135            call_forwarding_type="unconditional")
136
137    @test_tracker_info(uuid="d69e86f3-f279-4cc8-8c1f-8a9dce0acfdf")
138    @TelephonyBaseTest.tel_test_wrap
139    def test_msim_call_forwarding_unconditional_volte_csfb_esim_dds_slot_0(self):
140        return msim_call_forwarding(
141            self.log,
142            self.tel_logger,
143            self.android_devices,
144            None,
145            1,
146            None,
147            0,
148            callee_rat=["volte", "csfb"],
149            call_forwarding_type="unconditional")
150
151    @test_tracker_info(uuid="6156c374-7b07-473b-84f7-45de633f9681")
152    @TelephonyBaseTest.tel_test_wrap
153    def test_msim_call_forwarding_unconditional_volte_csfb_esim_dds_slot_1(self):
154        return msim_call_forwarding(
155            self.log,
156            self.tel_logger,
157            self.android_devices,
158            None,
159            1,
160            None,
161            1,
162            callee_rat=["volte", "csfb"],
163            call_forwarding_type="unconditional")
164
165    @test_tracker_info(uuid="29e36a21-9c94-418b-8628-e601e56fb168")
166    @TelephonyBaseTest.tel_test_wrap
167    def test_msim_call_forwarding_unconditional_csfb_volte_psim_dds_slot_0(self):
168        return msim_call_forwarding(
169            self.log,
170            self.tel_logger,
171            self.android_devices,
172            None,
173            0,
174            None,
175            0,
176            callee_rat=["csfb", "volte"],
177            call_forwarding_type="unconditional")
178
179    @test_tracker_info(uuid="36ebf549-e64e-4093-bebf-c9ca56289477")
180    @TelephonyBaseTest.tel_test_wrap
181    def test_msim_call_forwarding_unconditional_csfb_volte_psim_dds_slot_1(self):
182        return msim_call_forwarding(
183            self.log,
184            self.tel_logger,
185            self.android_devices,
186            None,
187            0,
188            None,
189            1,
190            callee_rat=["csfb", "volte"],
191            call_forwarding_type="unconditional")
192
193    @test_tracker_info(uuid="cfb973d7-aa3b-4e59-9f00-501e42c99947")
194    @TelephonyBaseTest.tel_test_wrap
195    def test_msim_call_forwarding_unconditional_csfb_volte_esim_dds_slot_0(self):
196        return msim_call_forwarding(
197            self.log,
198            self.tel_logger,
199            self.android_devices,
200            None,
201            1,
202            None,
203            0,
204            callee_rat=["csfb", "volte"],
205            call_forwarding_type="unconditional")
206
207    @test_tracker_info(uuid="a347c3db-e128-4deb-9009-c8b8e8145f67")
208    @TelephonyBaseTest.tel_test_wrap
209    def test_msim_call_forwarding_unconditional_csfb_volte_esim_dds_slot_1(self):
210        return msim_call_forwarding(
211            self.log,
212            self.tel_logger,
213            self.android_devices,
214            None,
215            1,
216            None,
217            1,
218            callee_rat=["csfb", "volte"],
219            call_forwarding_type="unconditional")
220
221
222
223    @test_tracker_info(uuid="7040e929-eb1d-4dc6-a404-2c185dc8a0a0")
224    @TelephonyBaseTest.tel_test_wrap
225    def test_msim_call_forwarding_unconditional_csfb_psim_dds_slot_0(self):
226        return msim_call_forwarding(
227            self.log,
228            self.tel_logger,
229            self.android_devices,
230            None,
231            0,
232            None,
233            0,
234            callee_rat=["csfb", "csfb"],
235            call_forwarding_type="unconditional")
236
237    @test_tracker_info(uuid="b88a2ce3-74c7-41df-8114-71b6c3d0b050")
238    @TelephonyBaseTest.tel_test_wrap
239    def test_msim_call_forwarding_unconditional_csfb_psim_dds_slot_1(self):
240        return msim_call_forwarding(
241            self.log,
242            self.tel_logger,
243            self.android_devices,
244            None,
245            0,
246            None,
247            1,
248            callee_rat=["csfb", "csfb"],
249            call_forwarding_type="unconditional")
250
251    @test_tracker_info(uuid="0ffd2391-ec5a-4a48-b0a8-fceba0c922d3")
252    @TelephonyBaseTest.tel_test_wrap
253    def test_msim_call_forwarding_unconditional_csfb_esim_dds_slot_0(self):
254        return msim_call_forwarding(
255            self.log,
256            self.tel_logger,
257            self.android_devices,
258            None,
259            1,
260            None,
261            0,
262            callee_rat=["csfb", "csfb"],
263            call_forwarding_type="unconditional")
264
265    @test_tracker_info(uuid="44937439-2d0a-4aea-bb4d-263e5ed634b4")
266    @TelephonyBaseTest.tel_test_wrap
267    def test_msim_call_forwarding_unconditional_csfb_esim_dds_slot_1(self):
268        return msim_call_forwarding(
269            self.log,
270            self.tel_logger,
271            self.android_devices,
272            None,
273            1,
274            None,
275            1,
276            callee_rat=["csfb", "csfb"],
277            call_forwarding_type="unconditional")
278
279    @TelephonyBaseTest.tel_test_wrap
280    @test_tracker_info(uuid="73ac948b-5260-44f1-a0a6-e4a410cb3283")
281    def test_msim_voice_conf_call_host_volte_psim_dds_slot_0(self):
282        return msim_call_voice_conf(
283            self.log,
284            self.tel_logger,
285            self.android_devices,
286            0, None, None, 0, host_rat=["volte", "volte"])
287
288    @TelephonyBaseTest.tel_test_wrap
289    @test_tracker_info(uuid="75d7fb2c-aa62-4b4f-9e70-8f6b1647f816")
290    def test_msim_voice_conf_call_host_volte_psim_dds_slot_1(self):
291        return msim_call_voice_conf(
292            self.log,
293            self.tel_logger,
294            self.android_devices,
295            0, None, None, 1, host_rat=["volte", "volte"])
296
297    @TelephonyBaseTest.tel_test_wrap
298    @test_tracker_info(uuid="2343369e-0240-4adc-bc01-7c08f9327737")
299    def test_msim_voice_conf_call_host_volte_esim_dds_slot_0(self):
300        return msim_call_voice_conf(
301            self.log,
302            self.tel_logger,
303            self.android_devices,
304            1, None, None, 0, host_rat=["volte", "volte"])
305
306    @TelephonyBaseTest.tel_test_wrap
307    @test_tracker_info(uuid="3a28e621-1d47-432c-a7e8-20d2d9f82588")
308    def test_msim_voice_conf_call_host_volte_esim_dds_slot_1(self):
309        return msim_call_voice_conf(
310            self.log,
311            self.tel_logger,
312            self.android_devices,
313            1, None, None, 1, host_rat=["volte", "volte"])
314
315    @TelephonyBaseTest.tel_test_wrap
316    @test_tracker_info(uuid="378f24cf-bb96-45e1-8150-02f08d7417b6")
317    def test_msim_voice_conf_call_host_volte_csfb_psim_dds_slot_0(self):
318        return msim_call_voice_conf(
319            self.log,
320            self.tel_logger,
321            self.android_devices,
322            0, None, None, 0, host_rat=["volte", "csfb"])
323
324    @TelephonyBaseTest.tel_test_wrap
325    @test_tracker_info(uuid="e3fdf5ec-eafe-4825-acd3-5d4ff03df1d2")
326    def test_msim_voice_conf_call_host_volte_csfb_psim_dds_slot_1(self):
327        return msim_call_voice_conf(
328            self.log,
329            self.tel_logger,
330            self.android_devices,
331            0, None, None, 1, host_rat=["volte", "csfb"])
332
333    @TelephonyBaseTest.tel_test_wrap
334    @test_tracker_info(uuid="221da988-e8c7-43e5-ae3a-414e8f01e872")
335    def test_msim_voice_conf_call_host_volte_csfb_esim_dds_slot_0(self):
336        return msim_call_voice_conf(
337            self.log,
338            self.tel_logger,
339            self.android_devices,
340            1, None, None, 0, host_rat=["volte", "csfb"])
341
342    @TelephonyBaseTest.tel_test_wrap
343    @test_tracker_info(uuid="ea5f0254-59b8-4f63-8a4a-6f0ecb55ddbf")
344    def test_msim_voice_conf_call_host_volte_csfb_esim_dds_slot_1(self):
345        return msim_call_voice_conf(
346            self.log,
347            self.tel_logger,
348            self.android_devices,
349            1, None, None, 1, host_rat=["volte", "csfb"])
350
351    @TelephonyBaseTest.tel_test_wrap
352    @test_tracker_info(uuid="90abbc8a-d492-45f9-9919-fae7e44c877a")
353    def test_msim_voice_conf_call_host_csfb_volte_psim_dds_slot_0(self):
354        return msim_call_voice_conf(
355            self.log,
356            self.tel_logger,
357            self.android_devices,
358            0, None, None, 0, host_rat=["csfb", "volte"])
359
360    @TelephonyBaseTest.tel_test_wrap
361    @test_tracker_info(uuid="da98268a-a94a-4fc7-8fb9-8e8573baed50")
362    def test_msim_voice_conf_call_host_csfb_volte_psim_dds_slot_1(self):
363        return msim_call_voice_conf(
364            self.log,
365            self.tel_logger,
366            self.android_devices,
367            0, None, None, 1, host_rat=["csfb", "volte"])
368
369    @TelephonyBaseTest.tel_test_wrap
370    @test_tracker_info(uuid="df46bcf5-48a3-466f-ba37-9519f5a671cf")
371    def test_msim_voice_conf_call_host_csfb_volte_esim_dds_slot_0(self):
372        return msim_call_voice_conf(
373            self.log,
374            self.tel_logger,
375            self.android_devices,
376            1, None, None, 0, host_rat=["csfb", "volte"])
377
378    @TelephonyBaseTest.tel_test_wrap
379    @test_tracker_info(uuid="f0c82ae0-c659-45e3-9a00-419e2da55739")
380    def test_msim_voice_conf_call_host_csfb_volte_esim_dds_slot_1(self):
381        return msim_call_voice_conf(
382            self.log,
383            self.tel_logger,
384            self.android_devices,
385            1, None, None, 1, host_rat=["csfb", "volte"])
386
387    @TelephonyBaseTest.tel_test_wrap
388    @test_tracker_info(uuid="4831c07a-9a38-4ccd-8fa0-beaf52a2751e")
389    def test_msim_voice_conf_call_host_csfb_psim_dds_slot_0(self):
390        return msim_call_voice_conf(
391            self.log,
392            self.tel_logger,
393            self.android_devices,
394            0, None, None, 0, host_rat=["csfb", "csfb"])
395
396    @TelephonyBaseTest.tel_test_wrap
397    @test_tracker_info(uuid="79cbf768-88ea-4d03-b798-2097789ee456")
398    def test_msim_voice_conf_call_host_csfb_psim_dds_slot_1(self):
399        return msim_call_voice_conf(
400            self.log,
401            self.tel_logger,
402            self.android_devices,
403            0, None, None, 1, host_rat=["csfb", "csfb"])
404
405    @TelephonyBaseTest.tel_test_wrap
406    @test_tracker_info(uuid="68b0a15f-62e4-419d-948a-d74d763a736c")
407    def test_msim_voice_conf_call_host_csfb_esim_dds_slot_0(self):
408        return msim_call_voice_conf(
409            self.log,
410            self.tel_logger,
411            self.android_devices,
412            1, None, None, 0, host_rat=["csfb", "csfb"])
413
414    @TelephonyBaseTest.tel_test_wrap
415    @test_tracker_info(uuid="a93af289-98a8-4d4b-bdbd-54478f273fea")
416    def test_msim_voice_conf_call_host_csfb_esim_dds_slot_1(self):
417        return msim_call_voice_conf(
418            self.log,
419            self.tel_logger,
420            self.android_devices,
421            1, None, None, 1, host_rat=["csfb", "csfb"])
422
423    @TelephonyBaseTest.tel_test_wrap
424    @test_tracker_info(uuid="43e450c8-8a0b-4dfc-8c59-d0865c4c6399")
425    def test_msim_call_waiting_volte_psim_dds_slot_0(self):
426        result = True
427        if not msim_call_voice_conf(
428            self.log,
429            self.tel_logger,
430            self.android_devices,
431            0,
432            None,
433            None,
434            0,
435            host_rat=["volte", "volte"],
436            merge=False, disable_cw=False):
437        	result = False
438        if not msim_call_voice_conf(
439            self.log,
440            self.tel_logger,
441            self.android_devices,
442            0,
443            None,
444            None,
445            0,
446            host_rat=["volte", "volte"],
447            merge=False,
448            disable_cw=True):
449        	result = False
450        return result
451
452    @TelephonyBaseTest.tel_test_wrap
453    @test_tracker_info(uuid="7d05525e-8fcf-4630-9248-22803a14209d")
454    def test_msim_call_waiting_volte_psim_dds_slot_1(self):
455        result = True
456        if not msim_call_voice_conf(
457            self.log,
458            self.tel_logger,
459            self.android_devices,
460            0,
461            None,
462            None,
463            1,
464            host_rat=["volte", "volte"],
465            merge=False,
466            disable_cw=False):
467            result = False
468        if not msim_call_voice_conf(
469            self.log,
470            self.tel_logger,
471            self.android_devices,
472            0,
473            None,
474            None,
475            1,
476            host_rat=["volte", "volte"],
477            merge=False,
478            disable_cw=True):
479            result = False
480        return result
481
482    @TelephonyBaseTest.tel_test_wrap
483    @test_tracker_info(uuid="caec880c-948a-4fcd-b57e-e64fd3048b08")
484    def test_msim_call_waiting_volte_esim_dds_slot_0(self):
485        result = True
486        if not msim_call_voice_conf(
487            self.log,
488            self.tel_logger,
489            self.android_devices,
490            1,
491            None,
492            None,
493            0,
494            host_rat=["volte", "volte"],
495            merge=False,
496            disable_cw=False):
497            result = False
498        if not msim_call_voice_conf(
499            self.log,
500            self.tel_logger,
501            self.android_devices,
502            1,
503            None,
504            None,
505            0,
506            host_rat=["volte", "volte"],
507            merge=False,
508            disable_cw=True):
509            result = False
510        return result
511
512    @TelephonyBaseTest.tel_test_wrap
513    @test_tracker_info(uuid="72ec685d-6c36-40cd-81fd-dd97e32b1e48")
514    def test_msim_call_waiting_volte_esim_dds_slot_1(self):
515        result = True
516        if not msim_call_voice_conf(
517            self.log,
518            self.tel_logger,
519            self.android_devices,
520            1,
521            None,
522            None,
523            1,
524            host_rat=["volte", "volte"],
525            merge=False,
526            disable_cw=False):
527            result = False
528        if not msim_call_voice_conf(
529            self.log,
530            self.tel_logger,
531            self.android_devices,
532            1,
533            None,
534            None,
535            1,
536            host_rat=["volte", "volte"],
537            merge=False,
538            disable_cw=True):
539            result = False
540        return result
541
542    @TelephonyBaseTest.tel_test_wrap
543    @test_tracker_info(uuid="3cef5c80-b15f-45fa-8376-5252e61d7849")
544    def test_msim_call_waiting_volte_csfb_psim_dds_slot_0(self):
545        result = True
546        if not msim_call_voice_conf(
547            self.log,
548            self.tel_logger,
549            self.android_devices,
550            0,
551            None,
552            None,
553            0,
554            host_rat=["volte", "csfb"],
555            merge=False,
556            disable_cw=False):
557            result = False
558        if not msim_call_voice_conf(
559            self.log,
560            self.tel_logger,
561            self.android_devices,
562            0,
563            None,
564            None,
565            0,
566            host_rat=["volte", "csfb"],
567            merge=False,
568            disable_cw=True):
569            result = False
570        return result
571
572    @TelephonyBaseTest.tel_test_wrap
573    @test_tracker_info(uuid="5da5c799-5349-4cf3-b683-c7372aadfdfa")
574    def test_msim_call_waiting_volte_csfb_psim_dds_slot_1(self):
575        result = True
576        if not msim_call_voice_conf(
577            self.log,
578            self.tel_logger,
579            self.android_devices,
580            0,
581            None,
582            None,
583            1,
584            host_rat=["volte", "csfb"],
585            merge=False,
586            disable_cw=False):
587            result = False
588        if not msim_call_voice_conf(
589            self.log,
590            self.tel_logger,
591            self.android_devices,
592            0,
593            None,
594            None,
595            1,
596            host_rat=["volte", "csfb"],
597            merge=False,
598            disable_cw=True):
599            result = False
600        return result
601
602    @TelephonyBaseTest.tel_test_wrap
603    @test_tracker_info(uuid="30c06bb3-a62f-4dba-90c2-1b00c515034a")
604    def test_msim_call_waiting_volte_csfb_esim_dds_slot_0(self):
605        result = True
606        if not msim_call_voice_conf(
607            self.log,
608            self.tel_logger,
609            self.android_devices,
610            1,
611            None,
612            None,
613            0,
614            host_rat=["volte", "csfb"],
615            merge=False,
616            disable_cw=False):
617            result = False
618        if not msim_call_voice_conf(
619            self.log,
620            self.tel_logger,
621            self.android_devices,
622            1,
623            None,
624            None,
625            0,
626            host_rat=["volte", "csfb"],
627            merge=False,
628            disable_cw=True):
629            result = False
630        return result
631
632    @TelephonyBaseTest.tel_test_wrap
633    @test_tracker_info(uuid="d2b0fdb1-5ea6-4958-a34f-6f701801e3c9")
634    def test_msim_call_waiting_volte_csfb_esim_dds_slot_1(self):
635        result = True
636        if not msim_call_voice_conf(
637            self.log,
638            self.tel_logger,
639            self.android_devices,
640            1,
641            None,
642            None,
643            1,
644            host_rat=["volte", "csfb"],
645            merge=False,
646            disable_cw=False):
647            result = False
648        if not msim_call_voice_conf(
649            self.log,
650            self.tel_logger,
651            self.android_devices,
652            1,
653            None,
654            None,
655            1,
656            host_rat=["volte", "csfb"],
657            merge=False,
658            disable_cw=True):
659            result = False
660        return result
661
662    @TelephonyBaseTest.tel_test_wrap
663    @test_tracker_info(uuid="b239d4be-9a36-4791-84df-ecebae645c84")
664    def test_msim_call_waiting_csfb_volte_psim_dds_slot_0(self):
665        result = True
666        if not msim_call_voice_conf(
667            self.log,
668            self.tel_logger,
669            self.android_devices,
670            0,
671            None,
672            None,
673            0,
674            host_rat=["csfb", "volte"],
675            merge=False,
676            disable_cw=False):
677            result = False
678        if not msim_call_voice_conf(
679            self.log,
680            self.tel_logger,
681            self.android_devices,
682            0,
683            None,
684            None,
685            0,
686            host_rat=["csfb", "volte"],
687            merge=False,
688            disable_cw=True):
689            result = False
690        return result
691
692    @TelephonyBaseTest.tel_test_wrap
693    @test_tracker_info(uuid="51a368e6-83d8-46af-8a85-56aaed787f9f")
694    def test_msim_call_waiting_csfb_volte_psim_dds_slot_1(self):
695        result = True
696        if not msim_call_voice_conf(
697            self.log,
698            self.tel_logger,
699            self.android_devices,
700            0,
701            None,
702            None,
703            1,
704            host_rat=["csfb", "volte"],
705            merge=False,
706            disable_cw=False):
707            result = False
708        if not msim_call_voice_conf(
709            self.log,
710            self.tel_logger,
711            self.android_devices,
712            0,
713            None,
714            None,
715            1,
716            host_rat=["csfb", "volte"],
717            merge=False,
718            disable_cw=True):
719            result = False
720        return result
721
722    @TelephonyBaseTest.tel_test_wrap
723    @test_tracker_info(uuid="73646014-1ead-4bd9-bd8f-2c21da3d596a")
724    def test_msim_call_waiting_csfb_volte_esim_dds_slot_0(self):
725        result = True
726        if not msim_call_voice_conf(
727            self.log,
728            self.tel_logger,
729            self.android_devices,
730            1,
731            None,
732            None,
733            0,
734            host_rat=["csfb", "volte"],
735            merge=False,
736            disable_cw=False):
737            result = False
738        if not msim_call_voice_conf(
739            self.log,
740            self.tel_logger,
741            self.android_devices,
742            1,
743            None,
744            None,
745            0,
746            host_rat=["csfb", "volte"],
747            merge=False,
748            disable_cw=True):
749            result = False
750        return result
751
752    @TelephonyBaseTest.tel_test_wrap
753    @test_tracker_info(uuid="0d520b78-20b8-4be7-833a-40179114cbce")
754    def test_msim_call_waiting_csfb_volte_esim_dds_slot_1(self):
755        result = True
756        if not msim_call_voice_conf(
757            self.log,
758            self.tel_logger,
759            self.android_devices,
760            1,
761            None,
762            None,
763            1,
764            host_rat=["csfb", "volte"],
765            merge=False,
766            disable_cw=False):
767            result = False
768        if not msim_call_voice_conf(
769            self.log,
770            self.tel_logger,
771            self.android_devices,
772            1,
773            None,
774            None,
775            1,
776            host_rat=["csfb", "volte"],
777            merge=False,
778            disable_cw=True):
779            result = False
780        return result
781
782    @TelephonyBaseTest.tel_test_wrap
783    @test_tracker_info(uuid="0544abec-7a59-4de0-be45-0b9b9d706b17")
784    def test_msim_call_waiting_csfb_psim_dds_slot_0(self):
785        result = True
786        if not msim_call_voice_conf(
787            self.log,
788            self.tel_logger,
789            self.android_devices,
790            0,
791            None,
792            None,
793            0,
794            host_rat=["csfb", "csfb"],
795            merge=False,
796            disable_cw=False):
797            result = False
798        if not msim_call_voice_conf(
799            self.log,
800            self.tel_logger,
801            self.android_devices,
802            0,
803            None,
804            None,
805            0,
806            host_rat=["csfb", "csfb"],
807            merge=False,
808            disable_cw=True):
809            result = False
810        return result
811
812    @TelephonyBaseTest.tel_test_wrap
813    @test_tracker_info(uuid="4329319b-0503-4c51-8792-2f36090b8071")
814    def test_msim_call_waiting_csfb_psim_dds_slot_1(self):
815        result = True
816        if not msim_call_voice_conf(
817            self.log,
818            self.tel_logger,
819            self.android_devices,
820            0,
821            None,
822            None,
823            1,
824            host_rat=["csfb", "csfb"],
825            merge=False,
826            disable_cw=False):
827            result = False
828        if not msim_call_voice_conf(
829            self.log,
830            self.tel_logger,
831            self.android_devices,
832            0,
833            None,
834            None,
835            1,
836            host_rat=["csfb", "csfb"],
837            merge=False,
838            disable_cw=True):
839            result = False
840        return result
841
842    @TelephonyBaseTest.tel_test_wrap
843    @test_tracker_info(uuid="d612ce5c-b4cd-490c-bc6c-7f67c25264aa")
844    def test_msim_call_waiting_csfb_esim_dds_slot_0(self):
845        result = True
846        if not msim_call_voice_conf(
847            self.log,
848            self.tel_logger,
849            self.android_devices,
850            1,
851            None,
852            None,
853            0,
854            host_rat=["csfb", "csfb"],
855            merge=False,
856            disable_cw=False):
857            result = False
858        if not msim_call_voice_conf(
859            self.log,
860            self.tel_logger,
861            self.android_devices,
862            1,
863            None,
864            None,
865            0,
866            host_rat=["csfb", "csfb"],
867            merge=False,
868            disable_cw=True):
869            result = False
870        return result
871
872    @TelephonyBaseTest.tel_test_wrap
873    @test_tracker_info(uuid="fb4869da-a346-4275-a742-d2c653bfc39a")
874    def test_msim_call_waiting_csfb_esim_dds_slot_1(self):
875        result = True
876        if not msim_call_voice_conf(
877            self.log,
878            self.tel_logger,
879            self.android_devices,
880            1,
881            None,
882            None,
883            1,
884            host_rat=["csfb", "csfb"],
885            merge=False,
886            disable_cw=False):
887            result = False
888        if not msim_call_voice_conf(
889            self.log,
890            self.tel_logger,
891            self.android_devices,
892            1,
893            None,
894            None,
895            1,
896            host_rat=["csfb", "csfb"],
897            merge=False,
898            disable_cw=True):
899            result = False
900        return result