Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_data_utils.py107 def wifi_tethering_cleanup(log, provider, client_list): argument
123 set_wifi_to_default(log, client)
125 if provider.droid.wifiIsApEnabled() and not stop_wifi_tethering(log, provider):
126 provider.log.error("Provider stop WiFi tethering failed.")
129 provider.log.error("Provider WiFi tethering is still enabled.")
134 def wifi_tethering_setup_teardown(log, argument
175 log.info("--->Start wifi_tethering_setup_teardown<---")
176 log.info("Provider: {}".format(provider.serial))
178 provider.log.error(
193 log.info("Client: {}".format(client.serial))
[all …]
Dtel_voice_utils.py115 log, argument
146 ensure_phones_idle(log, ads)
147 if caller_idle_func and not caller_idle_func(log, caller):
148 caller.log.error("Caller Failed to Reselect")
150 if callee_idle_func and not callee_idle_func(log, callee):
151 callee.log.error("Callee Failed to Reselect")
159 log, caller, callee, caller_in_call_check_func, wait_time_in_call):
160 log.error("make a call and leave a message failed.")
165 def two_phone_call_short_seq(log, argument
230 ensure_phones_idle(log, ads)
[all …]
Dtel_test_utils.py211 log = logging variable
244 def abort_all_tests(log, msg): argument
245 log.error("Aborting all ongoing tests due to: %s.", msg)
276 def setup_droid_properties_by_adb(log, ad, sim_filename=None): argument
283 log.warning("Failed to load %s!", sim_filename)
287 ad.log.info("iccid = %s", iccid)
295 ad.log.error("Failed to find valid phone number for %s", iccid)
296 abort_all_tests(ad.log, "Failed to find valid phone number for %s")
304 ad.log.info("subId %s SIM record: %s", sub_id, sub_record)
308 def setup_droid_properties(log, ad, sim_filename=None): argument
[all …]
Dtel_voice_conf_utils.py42 def _three_phone_call_mo_add_mo(log, ads, phone_setups, verify_funcs): argument
69 tasks.append((setup_func, (log, ad)))
70 if tasks != [] and not multithread_func(log, tasks):
71 log.error("Phone Failed to Set Up Properly.")
75 if num_active_calls(log, ad) != 0:
76 ad.log.error("Phone Call List is not empty.")
79 log.info("Step1: Call From PhoneA to PhoneB.")
81 log,
90 ads[0].log.info("Calls in PhoneA %s", calls)
91 if num_active_calls(log, ads[0]) != 1:
[all …]
Dtel_video_utils.py82 log, argument
100 return phone_setup_video_for_subscription(log, ad,
108 def phone_setup_video_for_subscription(log, argument
142 log, ad, GEN_4G, voice_or_data=NETWORK_SERVICE_DATA):
143 log.error("{} voice not in LTE mode.".format(ad.serial))
146 toggle_volte(log, ad, True)
150 log.error("{} WFC mode failed to be set to {}.".format(
155 if not phone_setup_iwlan_for_subscription(log, ad, sub_id,
157 log.error("Failed to set up phone on iwlan.")
160 return phone_idle_video_for_subscription(log, ad, sub_id)
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVideoTest.py93 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 …]
DTelLiveSmsTest.py104 ensure_phones_idle(self.log, self.android_devices)
107 self.log.info("Begin In Call SMS Test.")
109 self.log,
117 if not _sms_test_mo(self.log, ads):
118 self.log.error("SMS test fail.")
124 self.log.info("Begin In Call SMS Test.")
126 self.log,
134 if not _sms_test_mt(self.log, ads):
135 self.log.error("SMS test fail.")
141 return test_mms_mo_in_call(self.log, ads, wifi=wifi, caller_func=is_phone_in_call_3g)
[all …]
DTelLiveVoiceTest.py131 if not phone_setup_voice_general(ad.log, ad):
132 ad.log.error("Phone Failed to Set Up Properly for Voice.")
136 ad.log.info("Attempt %d", iteration + 1)
137 if not initiate_call(ad.log, ad, self.call_server_number):
138 ad.log.error("Call Failed to Initiate")
142 ad.log.error("Waiting for Call in Active Failed")
145 if not is_phone_in_call(ad.log, ad):
146 ad.log.error("Call Dropped")
148 if not hangup_call(ad.log, ad):
149 ad.log.error("Call Failed to Hangup")
[all …]
DTelLiveVoiceConfTest.py88 self.android_devices[0].log.error(
94 ensure_phones_idle(self.log, self.android_devices)
125 self.log.info("Step1: Call From PhoneA to PhoneB.")
127 self.log,
135 self.log.info("Step2: Call From PhoneC to PhoneA then decline.")
136 if not call_reject(self.log, ads[2], ads[0], reject):
139 if not verify_incall_state(self.log, [ads[0], ads[1]], True):
165 call_ab_id = _three_phone_call_mo_add_mo(self.log,
171 self.log.error("Failed to get call_ab_id")
175 ads[0].log.info("Calls in PhoneA %s", calls)
[all …]
DTelLiveDataTest.py164 wifi_toggle_state(ad.log, ad, False)
166 ad.log.info("Attempt %d", iteration + 1)
167 if test_data_browsing_success_using_sl4a(ad.log, ad):
168 ad.log.info("Call test PASS in iteration %d", iteration + 1)
171 ad.log.info("Data Browsing test FAIL for all 3 iterations")
187 wifi_toggle_state(ad.log, ad, True)
188 if not ensure_wifi_connected(ad.log, ad, self.wifi_network_ssid,
190 ad.log.error("WiFi connect fail.")
193 ad.log.info("Attempt %d", iteration + 1)
194 if test_data_browsing_success_using_sl4a(ad.log, ad):
[all …]
DTelLiveSmokeTest.py78 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 …]
DTelWifiDataTest.py64 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 …]
DTelWifiVoiceTest.py127 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 …]
DTelLiveRebootStressTest.py107 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 …]
DTelLiveGFTDSDSWfcSupplementaryServiceTest.py99 toggle_airplane_mode(self.log, self.android_devices[0], False)
100 self.erase_call_forwarding(self.log, self.android_devices[0])
105 self.android_devices[0].log.error(
111 toggle_airplane_mode(self.log, self.android_devices[0], False)
112 ensure_phones_idle(self.log, self.android_devices)
113 self.erase_call_forwarding(self.log, self.android_devices[0])
117 if not hangup_call(self.log, ad):
118 ad.log.error("Failed to hang up on %s", device_description)
122 def erase_call_forwarding(self, log, ad): argument
123 slot0_sub_id = get_subid_from_slot_index(log, ad, 0)
[all …]
DTelLiveGFTDSDSSupplementaryServiceTest.py74 self.erase_call_forwarding(self.log, self.android_devices[0])
79 self.android_devices[0].log.error(
85 ensure_phones_idle(self.log, self.android_devices)
86 self.erase_call_forwarding(self.log, self.android_devices[0])
87 set_call_waiting(self.log, self.android_devices[0], enable=1)
90 if not hangup_call(self.log, ad):
91 ad.log.error("Failed to hang up on %s", device_description)
95 def erase_call_forwarding(self, log, ad): argument
96 slot0_sub_id = get_subid_from_slot_index(log, ad, 0)
97 slot1_sub_id = get_subid_from_slot_index(log, ad, 1)
[all …]
DTelLiveNoQXDMLogTest.py87 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 …]
DTelLiveStressFdrTest.py77 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 …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_carkit_lib.py62 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/nr/nsa5g/
DNsa5gVoiceTest.py95 ensure_phones_idle(self.log, self.android_devices)
114 if not provision_both_devices_for_volte(self.log, ads):
117 if not provision_device_for_5g(self.log, ads):
122 self.log, ads[0], None, is_phone_in_call_volte, ads[1],
126 self.log.error("Failure is volte call during 5g nsa")
129 if not verify_5g_attach_for_both_devices(self.log, ads):
132 self.log.info("PASS - volte test over 5g nsa validated")
152 tasks = [(phone_setup_volte, (self.log, ads[0])),
153 (phone_setup_voice_3g, (self.log, ads[1]))]
154 if not multithread_func(self.log, tasks):
[all …]
DNsa5gVoiceConfTest.py60 self.android_devices[0].log.error(
66 ensure_phones_idle(self.log, self.android_devices)
88 call_ab_id, call_ac_id = _test_call_mo_mo_add_swap_x(log=self.log,
100 return _test_ims_conference_merge_drop_second_call_from_participant(self.log, ads,
119 call_ab_id, call_ac_id = _test_call_mo_mo_add_swap_x(log=self.log,
131 return _test_ims_conference_merge_drop_second_call_from_host(self.log, ads,
151 call_ab_id, call_ac_id = _test_call_mo_mo_add_swap_x(log=self.log,
163 return _test_ims_conference_merge_drop_first_call_from_participant(self.log, ads,
182 call_ab_id, call_ac_id = _test_call_mo_mo_add_swap_x(log=self.log,
194 return _test_ims_conference_merge_drop_first_call_from_host(self.log, ads,
[all …]
DNsa5gSmsTest.py60 ensure_phones_idle(self.log, self.android_devices)
80 if not provision_device_for_5g(self.log, ads):
83 if not _sms_test_mo(self.log, ads):
86 if not verify_5g_attach_for_both_devices(self.log, ads):
89 self.log.info("PASS - SMS test over 5G NSA validated")
108 tasks = [(provision_device_for_5g, (self.log, ads[0])),
109 (ensure_phone_default_state, (self.log, ads[1]))]
110 if not multithread_func(self.log, tasks):
113 if not _sms_test_mo(self.log, ads):
119 self.log.info("PASS - MO SMS test over 5G NSA validated")
[all …]
DNsa5gTetheringTest.py100 return test_wifi_tethering(self.log,
124 return test_wifi_tethering(self.log,
152 if not test_wifi_tethering(self.log,
162 self.log.error("WiFi Tethering failed.")
165 if not verify_toggle_apm_tethering_internet_connection(self.log,
172 wifi_reset(self.log, self.clients[0])
191 if not verify_toggle_data_during_wifi_tethering(self.log,
209 if not provision_device_for_5g(self.log, self.provider):
211 return verify_tethering_entitlement_check(self.log,
228 return ensure_phones_default_state(self.log, self.android_devices)
[all …]
DNsa5gDataTest.py95 wifi_toggle_state(ad.log, ad, False)
97 if not set_preferred_network_mode_pref(ad.log, ad, sub_id,
99 ad.log.error("Failed to set network mode to NSA")
101 ad.log.info("Set network mode to NSA successfully")
102 ad.log.info("Waiting for 5g NSA attach for 60 secs")
104 ad.log.info("Success! attached on 5g NSA")
106 ad.log.error("Failure - expected NR_NSA, current %s",
113 ad.log.info("Attempt %d", iteration + 1)
114 if not verify_internet_connection(self.log, ad):
115 ad.log.error("Failed to connect to internet!")
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/api/
DBleAdvertiseApiTest.py79 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 …]

12345678910>>...21