/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveVideoTest.py | 93 ad.log.error("Video calling is not supported") 113 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video, 114 (self.log, ads[1]))] 115 if not multithread_func(self.log, tasks): 116 self.log.error("Phone Failed to Set Up Properly.") 120 self.log, 127 self.log.error("Failed to setup+teardown a call") 149 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video, 150 (self.log, ads[1]))] 151 if not multithread_func(self.log, tasks): [all …]
|
D | TelLiveVoiceTest.py | 136 if not phone_setup_voice_general(ad.log, ad): 137 ad.log.error("Phone Failed to Set Up Properly for Voice.") 141 ad.log.info("Attempt %d", iteration + 1) 142 if not initiate_call(ad.log, ad, STORY_LINE): 143 ad.log.error("Call Failed to Initiate") 147 ad.log.error("Waiting for Call in Active Failed") 150 if not is_phone_in_call(ad.log, ad): 151 ad.log.error("Call Dropped") 153 if not hangup_call(ad.log, ad): 154 ad.log.error("Call Failed to Hangup") [all …]
|
D | TelLiveSmsTest.py | 108 ensure_phones_idle(self.log, self.android_devices) 119 if not sms_send_receive_verify(self.log, ads[0], ads[1], 121 ads[0].log.warning("SMS of length %s test failed", length) 124 ads[0].log.info("SMS of length %s test succeeded", length) 125 self.log.info("SMS test of length %s characters succeeded.", 144 if not sms_send_receive_verify(self.log, ads[0], ads[1], 146 ads[0].log.warning("SMS of length %s test failed", length) 149 ads[0].log.info("SMS of length %s test succeeded", length) 151 self.log.info("SMS test of length %s characters succeeded.", 165 self.log, [all …]
|
D | TelLiveDataTest.py | 172 wifi_toggle_state(ad.log, ad, False) 174 ad.log.info("Attempt %d", iteration + 1) 175 if test_data_browsing_success_using_sl4a(ad.log, ad): 176 ad.log.info("Call test PASS in iteration %d", iteration + 1) 179 ad.log.info("Data Browsing test FAIL for all 3 iterations") 195 wifi_toggle_state(ad.log, ad, True) 196 if not ensure_wifi_connected(ad.log, ad, self.wifi_network_ssid, 198 ad.log.error("WiFi connect fail.") 201 ad.log.info("Attempt %d", iteration + 1) 202 if test_data_browsing_success_using_sl4a(ad.log, ad): [all …]
|
D | TelLiveVoiceConfTest.py | 76 self.android_devices[0].log.error( 82 ensure_phones_idle(self.log, self.android_devices) 99 if not hangup_call(self.log, ad): 100 ad.log.error("Failed to hang up on %s", device_description) 131 tasks.append((setup_func, (self.log, ad))) 132 if tasks != [] and not multithread_func(self.log, tasks): 133 self.log.error("Phone Failed to Set Up Properly.") 137 if num_active_calls(self.log, ad) != 0: 138 ad.log.error("Phone Call List is not empty.") 141 self.log.info("Step1: Call From PhoneA to PhoneB.") [all …]
|
D | TelWifiVoiceTest.py | 127 self.log.info("WFC phone: <{}> <{}>".format( 129 get_phone_number(self.log, self.android_devices[0]))) 136 ad.log.info("VoLTE not Provisioned, Turning it ON") 139 ad.log.info("VoLTE Provisioning is Enabled") 142 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_2G], 0, 144 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_5G], 0, 146 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_3G], 0, 148 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_4G], 0, 152 self.log, 157 self.log.error("Setup_class: phone failed to select to LTE.") [all …]
|
D | TelLiveGFTDSDSSupplementaryServiceTest.py | 91 self.erase_call_forwarding(self.log, self.android_devices[0]) 96 self.android_devices[0].log.error( 102 ensure_phones_idle(self.log, self.android_devices) 103 self.erase_call_forwarding(self.log, self.android_devices[0]) 106 if not hangup_call(self.log, ad): 107 ad.log.error("Failed to hang up on %s", device_description) 111 def erase_call_forwarding(self, log, ad): argument 112 slot0_sub_id = get_subid_from_slot_index(log, ad, 0) 113 slot1_sub_id = get_subid_from_slot_index(log, ad, 1) 117 get_operator_name(log, ad, sub_id) [all …]
|
D | TelLiveRebootStressTest.py | 107 self.dut.log.error("%s failed with %s", method, e) 109 self.dut.log.info("%s is %s before tests start", method, 113 self.dut.log.info("To be tested: %s", self.default_testing_func_names) 124 self.log.error("%s failed", method) 126 self.log.info("Wait 5s before each function check.") 128 self.log.info("Wait 30s before NW mode switch.") 135 self.log.error("%s check failed with %s", method, e) 138 self.log.error("%s failed", method) 141 self.log.info("%s succeeded", method) 143 self.log.error("%s failed", failed_tests) [all …]
|
D | TelLiveStressTest.py | 182 extract_test_log(self.log, os.path.join(src_dir, file_name), 193 extract_test_log(self.log, src_file, dst_file, test_name) 199 self.log, 204 ad.log.error("Bringing up Wifi connection fails.") 206 ad.log.info("Phone WIFI is connected successfully.") 207 if not set_wfc_mode(self.log, ad, WFC_MODE_WIFI_PREFERRED): 208 ad.log.error("Phone failed to enable Wifi-Calling.") 210 ad.log.info("Phone is set in Wifi-Calling successfully.") 211 if not phone_idle_iwlan(self.log, ad): 212 ad.log.error("Phone is not in WFC enabled state.") [all …]
|
D | TelLiveSmokeTest.py | 78 self.log.info( 80 ensure_phones_default_state(self.log, ads) 81 tasks = [(phone_setup_volte, (self.log, ads[0])), 82 (phone_setup_volte, (self.log, ads[1]))] 83 if not multithread_func(self.log, tasks): 84 self.log.error("Phone Failed to Set Up VoLTE.") 91 self.log.info("1. SMS in LTE idle.") 92 sms_idle_result = sms_send_receive_verify(self.log, ads[0], ads[1], 95 self.log.info("2. Data in LTE idle.") 96 if (wait_for_cell_data_connection(self.log, ads[0], True) and [all …]
|
D | TelWifiDataTest.py | 64 set_rssi(self.log, self.attens[atten_name], 0, 69 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_2G], 0, 71 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_5G], 0, 73 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_3G], 0, 75 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_4G], 0, 86 toggle_airplane_mode(self.log, ad, False) 87 if not ensure_network_generation(self.log, ad, GEN_4G, 92 if not ensure_wifi_connected(self.log, ad, self.wifi_network_ssid, 94 ad.log.error("connect WiFi failed") 99 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_2G], 0, [all …]
|
D | TelLiveNoQXDMLogTest.py | 87 self.dut_operator = get_operator_name(self.log, self.dut) 93 self.dut.log.info("DUT capabilities: %s", self.dut_capabilities) 123 toggle_airplane_mode(self.log, ad, False) 124 if not phone_setup_volte(self.log, ad): 125 ad.log.error("Failed to setup VoLTE.") 148 ad.log.info("Telephony Bootup Time Test %s Iteration: %d / %d", 151 ad.log.debug("Begin Time is %s", begin_time) 152 ad.log.info("reboot!") 163 ad.log.debug("Datetime for boot_complete is %s", 167 ad.log.info("Bootup Time is %d", bootup_time) [all …]
|
D | TelLiveDSDSVoiceTest.py | 178 self.log.error("Invalid parameters.") 181 sub_id = get_subid_from_slot_index(ads[0].log, ads[0], slot_id) 186 caller_number = get_phone_number(self.log, ad_caller) 187 callee_number = get_phone_number(self.log, ad_callee) 189 mt_operator = get_operator_name(ads[1].log, ads[1]) 193 caller_number = get_phone_number(self.log, ad_caller) 194 callee_number = get_phone_number_for_subscription(ads[0].log, 198 mo_operator = get_operator_name(ads[1].log, ads[1]) 200 self.log.info("-->Begin msim_call_sequence: %s to %s<--", 202 self.log.info("--> %s to %s <--", mo_operator, mt_operator) [all …]
|
D | TelLiveImsSettingsTest.py | 87 self.dut.log.info("DUT capabilities: %s", self.dut_capabilities) 107 if not call_setup_teardown(self.log, self.android_devices[1], self.dut, 109 if not call_setup_teardown(self.log, self.android_devices[1], 112 self.dut.log.error("MT WFC call failed") 114 if not call_setup_teardown(self.log, self.dut, self.android_devices[1], 116 self.dut.log.error("MO WFC call failed") 122 if not call_setup_teardown(self.log, self.android_devices[1], self.dut, 124 if not call_setup_teardown(self.log, self.android_devices[1], 127 self.dut.log.error("MT VoLTE call failed") 129 if not call_setup_teardown(self.log, self.dut, self.android_devices[1], [all …]
|
D | TelLiveStressFdrTest.py | 77 self.dut.log.info("dut_capabilitiese: %s", self.dut_capabilities) 87 self.dut.log.error("%s failed with %s", method, e) 89 self.dut.log.info("%s is %s before tests start", method, 93 self.dut.log.info("To be tested: %s", self.default_testing_func_names) 105 self.log.error("%s failed", method) 112 self.log.error("%s check failed with %s", method, e) 115 self.log.error("%s failed", method) 118 self.log.info("%s succeeded", method) 120 self.log.error("%s failed", failed_tests) 124 if not ensure_phone_subscription(self.log, self.dut): [all …]
|
D | TelLiveCBRSTest.py | 135 self.log.error("Invalid parameters.") 143 caller_number = get_phone_number(self.log, ad_caller) 144 callee_number = get_phone_number(self.log, ad_callee) 145 mo_operator = get_operator_name(ads[0].log, ads[0]) 146 mt_operator = get_operator_name(ads[1].log, ads[1]) 150 caller_number = get_phone_number(self.log, ad_caller) 151 callee_number = get_phone_number(self.log, ad_callee) 152 mt_operator = get_operator_name(ads[0].log, ads[0]) 153 mo_operator = get_operator_name(ads[1].log, ads[1]) 155 self.log.info("-->Begin cbrs_call_sequence: %s to %s<--", [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_test_utils.py | 202 log = logging variable 234 def abort_all_tests(log, msg): argument 235 log.error("Aborting all ongoing tests due to: %s.", msg) 266 def setup_droid_properties_by_adb(log, ad, sim_filename=None): argument 273 log.warning("Failed to load %s!", sim_filename) 277 ad.log.info("iccid = %s", iccid) 285 ad.log.error("Failed to find valid phone number for %s", iccid) 286 abort_all_tests(ad.log, "Failed to find valid phone number for %s") 294 ad.log.info("subId %s SIM record: %s", sub_id, sub_record) 298 def setup_droid_properties(log, ad, sim_filename=None): argument [all …]
|
D | tel_voice_utils.py | 107 log, argument 138 ensure_phones_idle(log, ads) 139 if caller_idle_func and not caller_idle_func(log, caller): 140 caller.log.error("Caller Failed to Reselect") 142 if callee_idle_func and not callee_idle_func(log, callee): 143 callee.log.error("Callee Failed to Reselect") 151 log, caller, callee, caller_in_call_check_func, wait_time_in_call): 152 log.error("make a call and leave a message failed.") 157 def two_phone_call_short_seq(log, argument 200 ensure_phones_idle(log, ads) [all …]
|
D | tel_data_utils.py | 55 def wifi_tethering_cleanup(log, provider, client_list): argument 71 set_wifi_to_default(log, client) 72 if not stop_wifi_tethering(log, provider): 73 provider.log.error("Provider stop WiFi tethering failed.") 76 provider.log.error("Provider WiFi tethering is still enabled.") 81 def wifi_tethering_setup_teardown(log, argument 122 log.info("--->Start wifi_tethering_setup_teardown<---") 123 log.info("Provider: {}".format(provider.serial)) 125 provider.log.error( 140 log.info("Client: {}".format(client.serial)) [all …]
|
D | tel_video_utils.py | 80 def phone_setup_video(log, ad, wfc_mode=WFC_MODE_DISABLED): argument 93 return phone_setup_video_for_subscription(log, ad, 98 def phone_setup_video_for_subscription(log, argument 116 toggle_airplane_mode(log, ad, False) 117 if not set_wfc_mode(log, ad, wfc_mode): 118 log.error("{} WFC mode failed to be set to {}.".format( 121 toggle_volte(log, ad, True) 124 log, ad, GEN_4G, voice_or_data=NETWORK_SERVICE_DATA): 125 log.error("{} voice not in LTE mode.".format(ad.serial)) 128 return phone_idle_video_for_subscription(log, ad, sub_id) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_carkit_lib.py | 62 log = None variable in E2eBtCarkitLib 65 def __init__(self, log, target_mac_address=None): argument 66 self.log = log 79 self.log.debug("Failed to connect hsp trying again...") 83 self.log.info("Failed to connect to bonded device...") 87 self.log.error("Failed to reconnect to HSP service...") 89 self.log.info("Connected to HSP service...") 93 outgoing_num = get_phone_number(self.log, callee) 94 if not initiate_call(self.log, caller0, outgoing_num): 95 self.log.error("Failed to initiate call") [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | cmd_input.py | 47 self.log.debug("Failed to connect hsp trying again...") 51 self.log.info("Failed to connect to bonded device...") 55 self.log.error("Failed to reconnect to HSP service...") 57 self.log.info("Connected to HSP service...") 60 def setup_vars(self, android_devices, mac_addr, log): argument 69 self.log = log 73 self.bt_carkit_lib = E2eBtCarkitLib(self.log, mac_addr) 87 self.log.info("New device is {}".format(device)) 89 self.log.info("Failed to setup new vars with {}".format(err)) 98 self.log.info(FAILURE.format(cmd, err)) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | command_input.py | 84 def setup_vars(self, dut, target_device_name, log): argument 92 self.log = log 123 self.log.info( 155 self.log.info( 186 self.log.error( 199 self.log.error( 211 self.log.info("Setting target_device_name to: {}".format(line)) 240 self.log.error(FAILURE.format(cmd, err)) 247 self.log.error(FAILURE.format(cmd, err)) 264 self.log.error(FAILURE.format(cmd, err)) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/api/ |
D | BleAdvertiseApiTest.py | 79 self.log.debug("exp filtering mode: {}," 84 self.log.debug("exp tx power level: {}," 89 self.log.debug("exp is connectable: {}," 129 self.log.debug("Step 4: Verify all defaults match exp values.") 132 self.log.debug("exp filtering service uuids: {}," 137 self.log.debug( 143 self.log.debug( 148 self.log.debug("Some values didn't match the defaults.") 150 self.log.debug("All default values passed.") 177 self.log.debug("Step 1: Setup environment.") [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 95 ad.log.info("Attempt %d - %s" % (retries + 1, remount_result)) 106 ad.log.info("Reboot device to make changes take effect.") 121 ad.log.info("Enable GNSS VERBOSE Logging and persistent logcat.") 150 ad.log.info("Enable FLP flags and Disable GMS location-based quake " 181 ad.log.info("Disable XTRA Throttle.") 193 ad.log.info("Enable SUPL mode.") 204 ad.log.info("Disable SUPL mode.") 216 ad.log.info("Disable XTRA-daemon until next reboot.") 228 tutils.get_operator_name(ad.log, ad, subId=None) 230 ad.log.info("Disable Private DNS mode.") [all …]
|