/tools/test/connectivity/acts/framework/acts/test_utils/car/ |
D | car_telecom_utils.py | 74 call_id = event['data']['CallId'] 75 log.info("Call ID: {} dev {}".format(call_id, ad.serial)) 77 if not call_id: 83 return call_id 85 def wait_for_call_state(log, ad, call_id, state): argument 101 call_id, tel_defines.EVENT_CALL_STATE_CHANGED) 104 if ad.droid.telecomCallGetCallState(call_id) == state: 106 call_id, state, ad.serial)) 107 ad.droid.telecomCallStopListeningForEvent(call_id, 122 ad.droid.telecomCallStopListeningForEvent(call_id, [all …]
|
D | tel_telecom_utils.py | 61 call_id = event['data']['CallId'] 62 log.info("Call ID: {} dev {}".format(call_id, ad.serial)) 64 if not call_id: 70 return call_id 72 def wait_for_call_state(log, ad, call_id, state): argument 87 call_id, tel_defines.EVENT_CALL_STATE_CHANGED) 90 if ad.droid.telecomCallGetCallState(call_id) == state: 92 call_id, state, ad.serial)) 106 ad.droid.telecomCallStopListeningForEvent(call_id, 110 def hangup_call(log, ad, call_id): argument [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_video_utils.py | 796 def is_call_id_in_video_state(log, ad, call_id, video_state): argument 808 return video_state == ad.droid.telecomCallVideoGetState(call_id) 927 def verify_video_call_in_expected_state(log, ad, call_id, call_video_state, argument 941 if not is_call_id_in_video_state(log, ad, call_id, call_video_state): 943 call_video_state, ad.droid.telecomCallVideoGetState(call_id))) 945 if ad.droid.telecomCallGetCallState(call_id) != call_state: 947 call_state, ad.droid.telecomCallGetCallState(call_id)))
|
D | tel_voice_utils.py | 1359 def is_phone_in_call_iwlan(log, ad, call_id=None): argument 1374 if not call_id: 1377 call_id = call_ids[-1] 1378 if not call_id: 1382 call_prop = ad.droid.telecomCallGetProperties(call_id) 1521 def is_property_in_call_properties(log, ad, call_id, expected_property): argument 1533 properties = ad.droid.telecomCallGetProperties(call_id) 1537 def is_call_hd(log, ad, call_id): argument 1548 return is_property_in_call_properties(log, ad, call_id,
|
D | tel_test_utils.py | 1470 def disconnect_call_by_id(log, ad, call_id): argument 1473 ad.droid.telecomCallDisconnect(call_id) 2369 if not wait_for_in_call_active(ad, call_id=new_call_id): 2760 if not wait_for_in_call_active(ad, call_id=new_call_id): 4786 def is_phone_in_call_active(ad, call_id=None): argument 4795 if not call_id: 4796 call_id = ad.droid.telecomCallGetCallIds()[0] 4797 call_state = ad.droid.telecomCallGetCallState(call_id) 4798 ad.log.info("%s state is %s", call_id, call_state) 4808 call_id=None): argument [all …]
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveVoiceTest.py | 1970 call_id = call_list[0] 1972 if ads[0].droid.telecomCallGetCallState(call_id) != CALL_STATE_ACTIVE: 1974 call_id, 1975 ads[0].droid.telecomCallGetCallState(call_id)) 1979 ads[0].log.info("Hold call_id %s on PhoneA", call_id) 1980 ads[0].droid.telecomCallHold(call_id) 1982 if ads[0].droid.telecomCallGetCallState(call_id) != CALL_STATE_HOLDING: 1984 call_id, 1985 ads[0].droid.telecomCallGetCallState(call_id)) 1989 ads[0].log.info("Unhold call_id %s on PhoneA", call_id) [all …]
|
D | TelLiveVideoTest.py | 1695 for call_id in calls: 1696 if call_id != call_ab_id and call_id != call_ac_id: 1697 call_conf_id = call_id
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_carkit_lib.py | 420 call_id = pri_dut.droid.telecomCallGetCallIds()[0] 421 pri_dut.droid.telecomCallPlayDtmfTone(call_id, "9") 448 pri_dut.droid.telecomCallStopDtmfTone(call_id)
|