Home
last modified time | relevance | path

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

12345678910>>...26

/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVideoTest.py86 ad.log.error("Video calling is not supported")
106 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
107 (self.log, ads[1]))]
108 if not multithread_func(self.log, tasks):
109 self.log.error("Phone Failed to Set Up Properly.")
113 self.log,
120 self.log.error("Failed to setup+teardown a call")
142 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
143 (self.log, ads[1]))]
144 if not multithread_func(self.log, tasks):
[all …]
DTelLiveVoiceConfTest.py81 self.android_devices[0].log.error(
96 ensure_phones_idle(self.log, self.android_devices)
127 self.log.info("Step1: Call From PhoneA to PhoneB.")
129 self.log,
137 self.log.info("Step2: Call From PhoneC to PhoneA then decline.")
138 if not call_reject(self.log, ads[2], ads[0], reject):
141 if not verify_incall_state(self.log, [ads[0], ads[1]], True):
167 call_ab_id = _three_phone_call_mo_add_mo(self.log,
173 self.log.error("Failed to get call_ab_id")
177 ads[0].log.info("Calls in PhoneA %s", calls)
[all …]
DTelLiveVoiceTest.py130 return is_phone_in_call_not_iwlan(self.log, self.android_devices[0])
133 return is_phone_in_call_iwlan(self.log, self.android_devices[0])
153 if not phone_setup_voice_general(ad.log, ad):
154 ad.log.error("Phone Failed to Set Up Properly for Voice.")
158 ad.log.info("Attempt %d", iteration + 1)
159 if not initiate_call(ad.log, ad, self.call_server_number):
160 ad.log.error("Call Failed to Initiate")
164 ad.log.error("Waiting for Call in Active Failed")
167 if not is_phone_in_call(ad.log, ad):
168 ad.log.error("Call Dropped")
[all …]
DTelLiveDataTest.py149 wifi_toggle_state(ad.log, ad, False)
153 ad.log.info("Attempt %d", iteration + 1)
154 if test_data_browsing_success_using_sl4a(ad.log, ad):
155 ad.log.info("Data Browsing test PASS in iteration %d",
159 ad.log.info("Data Browsing test FAIL for all 3 iterations")
175 wifi_toggle_state(ad.log, ad, True)
178 if not ensure_wifi_connected(ad.log, ad, self.wifi_network_ssid,
180 ad.log.error("WiFi connect fail.")
183 ad.log.info("Attempt %d", iteration + 1)
184 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.py123 self.log.info("WFC phone: <{}> <{}>".format(
125 get_phone_number(self.log, self.android_devices[0])))
132 ad.log.info("VoLTE not Provisioned, Turning it ON")
135 ad.log.info("VoLTE Provisioning is Enabled")
138 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_2G], 0,
140 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_5G], 0,
142 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_3G], 0,
144 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_4G], 0,
148 self.log,
153 self.log.error("Setup_class: phone failed to select to LTE.")
[all …]
DTelLiveRebootStressTest.py105 self.dut.log.error("%s failed with %s", method, e)
107 self.dut.log.info("%s is %s before tests start", method,
111 self.dut.log.info("To be tested: %s", self.default_testing_func_names)
122 self.log.error("%s failed", method)
124 self.log.info("Wait 5s before each function check.")
126 self.log.info("Wait 30s before NW mode switch.")
133 self.log.error("%s check failed with %s", method, e)
136 self.log.error("%s failed", method)
139 self.log.info("%s succeeded", method)
141 self.log.error("%s failed", failed_tests)
[all …]
DTelLiveGFTDSDSMessageTest.py70 self.log.warning("Couldn't found MEP enabled logs.")
73 ensure_phones_idle(self.log, self.android_devices)
106 self.log,
117 self.log.warning(
121 self.log.info(
123 self.log.info(
159 self.log,
171 self.log.warning(
176 self.log.info(
179 self.log.info(
[all …]
DTelLiveNoQXDMLogTest.py88 self.dut_operator = get_operator_name(self.log, self.dut)
94 self.dut.log.info("DUT capabilities: %s", self.dut_capabilities)
124 toggle_airplane_mode(self.log, ad, False)
125 if not phone_setup_volte(self.log, ad):
126 ad.log.error("Failed to setup VoLTE.")
149 ad.log.info("Telephony Bootup Time Test %s Iteration: %d / %d",
152 ad.log.debug("Begin Time is %s", begin_time)
153 ad.log.info("reboot!")
164 ad.log.debug("Datetime for boot_complete is %s",
168 ad.log.info("Bootup Time is %d", bootup_time)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_data_utils.py116 def wifi_tethering_cleanup(log, provider, client_list): argument
132 set_wifi_to_default(log, client)
134 if provider.droid.wifiIsApEnabled() and not stop_wifi_tethering(log, provider):
135 provider.log.error("Provider stop WiFi tethering failed.")
138 provider.log.error("Provider WiFi tethering is still enabled.")
143 def wifi_tethering_setup_teardown(log, argument
184 log.info("--->Start wifi_tethering_setup_teardown<---")
185 log.info("Provider: {}".format(provider.serial))
187 provider.log.error(
202 log.info("Client: {}".format(client.serial))
[all …]
Dtel_dsds_utils.py88 log: tracelogger.TraceLogger,
132 ads[0].log.info("test_slot: %d, dds_slot: %d", test_slot, dds_slot)
134 log=log,
154 log: tracelogger.TraceLogger,
213 ads[0].log.info("test_slot: %d, dds_slot: %d", test_slot, dds_slot)
215 log=log,
241 log: tracelogger.TraceLogger,
299 log.info("Step 0: Switch to specific SIM slot combination.")
303 ads[0].log.warning("Device not support MEP.")
305 log.info("Step 1: Switch DDS.")
[all …]
Dtel_phone_setup_utils.py96 def phone_setup_iwlan(log, argument
124 return phone_setup_iwlan_for_subscription(log, ad,
130 def phone_setup_iwlan_for_subscription(log, argument
162 ad.log.error("WFC is not supported, abort test.")
167 log, ad, sub_id, nw_gen, voice_or_data=NETWORK_SERVICE_DATA,
169 ad.log.error("Failed to set to %s data.", nw_gen)
171 toggle_volte_for_subscription(log, ad, sub_id, True)
172 toggle_airplane_mode(log, ad, is_airplane_mode, strict_checking=False)
182 ad.log.error("WFC is not enabled on this device by checking "
186 if not ensure_wifi_connected(log, ad, wifi_ssid, wifi_pwd, apm=is_airplane_mode):
[all …]
Dtel_voice_utils.py170 def disconnect_call_by_id(log, ad, call_id): argument
195 ad.log.debug("call_info = %s", call_info)
212 ad.log.info("New call info = %s", sorted(call_info.items()))
216 ad.log.error("New call is not in sysdump telecom")
223 ad.log.info("EmergencyDialer is the current focus window")
229 ad.log.error("Unable to bring up EmergencyDialer")
231 ad.log.info("Make a phone call to %s", callee_number)
236 def get_current_voice_rat(log, ad): argument
243 log, ad, get_outgoing_voice_sub_id(ad))
246 def get_current_voice_rat_for_subscription(log, ad, sub_id): 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_ss_utils.py54 log, argument
108 log,
126 log, argument
210 ad_caller.log.info(msg)
225 ad_caller.log.info(msg)
231 ad.log.info("Pre-exist CallId %s before making call", call_ids)
235 log,
246 log,
253 ad_callee.log.info("Callee is making a phone call to 0000000000 to make"
259 ad_callee.log.error("Call state of the callee is idle.")
[all …]
Dtel_video_utils.py59 log, argument
77 return phone_setup_video_for_subscription(log, ad,
85 def phone_setup_video_for_subscription(log, argument
119 log, ad, GEN_4G, voice_or_data=NETWORK_SERVICE_DATA):
120 log.error("{} voice not in LTE mode.".format(ad.serial))
123 toggle_volte(log, ad, True)
127 log.error("{} WFC mode failed to be set to {}.".format(
132 if not phone_setup_iwlan_for_subscription(log, ad, sub_id,
134 log.error("Failed to set up phone on iwlan.")
137 return phone_idle_video_for_subscription(log, ad, sub_id)
[all …]
Dtel_test_utils.py125 log = logging variable
153 def abort_all_tests(log, msg): argument
154 log.error("Aborting all ongoing tests due to: %s.", msg)
185 def setup_droid_properties_by_adb(log, ad, sim_filename=None): argument
192 log.warning("Failed to load %s!", sim_filename)
196 ad.log.info("iccid = %s", iccid)
204 ad.log.error("Failed to find valid phone number for %s", iccid)
205 abort_all_tests(ad.log, "Failed to find valid phone number for %s")
213 ad.log.info("subId %s SIM record: %s", sub_id, sub_record)
217 def setup_droid_properties(log, ad, sim_filename=None, all_sub=False): argument
[all …]
Dtel_bt_utils.py32 def enable_bluetooth_tethering_connection(log, provider, clients): argument
35 ad.log.info("Bluetooth is not enabled")
38 ad.log.info("Bluetooth is enabled")
40 provider.log.info("Provider enabling bluetooth tethering")
44 provider.log.warning(
49 provider.log.info("Provider Bluetooth tethering is enabled.")
51 provider.log.error(
53 provider.log.error("bluetoothPanIsTetheringOn = %s",
58 client.log.error("Client failed to pair with provider")
61 client.log.info("Client paired with provider")
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_carkit_lib.py61 log = None variable in E2eBtCarkitLib
64 def __init__(self, log, target_mac_address=None): argument
65 self.log = log
78 self.log.debug("Failed to connect hsp trying again...")
82 self.log.info("Failed to connect to bonded device...")
86 self.log.error("Failed to reconnect to HSP service...")
88 self.log.info("Connected to HSP service...")
92 outgoing_num = get_phone_number(self.log, callee)
93 if not initiate_call(self.log, caller0, outgoing_num):
94 self.log.error("Failed to initiate call")
[all …]
/tools/test/connectivity/acts_tests/tests/google/nr/nsa5g/
DNsa5gVoiceConfTest.py56 self.android_devices[0].log.error(
71 ensure_phones_idle(self.log, self.android_devices)
92 log=self.log,
105 self.log, ads, call_ab_id, call_ac_id)
124 log=self.log,
137 self.log, ads, call_ab_id, call_ac_id)
156 log=self.log,
169 self.log, ads, call_ab_id, call_ac_id)
188 log=self.log,
201 self.log, ads, call_ab_id, call_ac_id)
[all …]
DNsa5gVoiceTest.py104 ensure_phones_idle(self.log, self.android_devices)
123 if not provision_both_devices_for_volte(self.log, ads, GEN_5G,
129 self.log, ads[0], None, is_phone_in_call_volte, ads[1],
133 self.log.error("Failure is volte call during 5g nsa")
136 if not verify_5g_attach_for_both_devices(self.log, ads, nr_type='nsa'):
139 self.log.info("PASS - volte test over 5g nsa validated")
159 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G, 'nsa')),
160 (phone_setup_voice_3g, (self.log, ads[1]))]
161 if not multithread_func(self.log, tasks):
162 self.log.error("Phone failed to set up in volte/3g")
[all …]
DNsa5gTetheringTest.py97 return test_wifi_tethering(self.log,
122 return test_wifi_tethering(self.log,
151 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,
210 if not provision_device_for_5g(self.log, self.provider, nr_type= 'nsa'):
212 return verify_tethering_entitlement_check(self.log,
229 return ensure_phones_default_state(self.log, self.android_devices)
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/api/
DBleAdvertiseApiTest.py81 self.log.debug("exp filtering mode: {},"
86 self.log.debug("exp tx power level: {},"
91 self.log.debug("exp is connectable: {},"
131 self.log.debug("Step 4: Verify all defaults match exp values.")
134 self.log.debug("exp filtering service uuids: {},"
139 self.log.debug(
145 self.log.debug(
150 self.log.debug("Some values didn't match the defaults.")
152 self.log.debug("All default values passed.")
179 self.log.debug("Step 1: Setup environment.")
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabGFTVoWifiTest.py79 self.log.info("Turn on ims")
80 tasks = [(phone_setup_volte, (self.log, ad, )) for ad in self.android_devices]
81 if not multithread_func(self.log, tasks):
85 self.log.error(error_msg)
90 tasks = [(toggle_wfc, (self.log, ad,True)) for ad in self.android_devices]
91 if not multithread_func(self.log, tasks):
100 tasks = [(toggle_airplane_mode, (self.log, ad, False))
102 multithread_func(self.log, tasks)
120 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop))
121 self.log.info("Start test at cellular and wifi area")
[all …]

12345678910>>...26