Home
last modified time | relevance | path

Searched refs:android_devices (Results 1 – 25 of 263) sorted by relevance

1234567891011

/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelWifiVoiceTest.py128 self.android_devices[0].serial,
129 get_phone_number(self.log, self.android_devices[0])))
130 self.android_devices[
133 for ad in self.android_devices:
153 self.android_devices[0],
159 if not ensure_wifi_connected(self.log, self.android_devices[0],
163 self.android_devices[0].serial))
166 self.android_devices[0], True) or
167 not verify_http_connection(self.log, self.android_devices[0])):
176 self.android_devices[0].droid.wakeUpNow()
[all …]
DTelLiveVoiceTest.py134 ad = self.android_devices[0]
177 ads = self.android_devices
207 ads = self.android_devices
237 ads = self.android_devices
268 ads = self.android_devices
299 if self.android_devices[0].droid.telephonyGetSimCountryIso() == "ca":
302 ads = self.android_devices
332 ads = self.android_devices
362 ads = self.android_devices
393 ads = self.android_devices
[all …]
DTelLiveDSDSVoiceTest.py376 return phone_idle_iwlan(self.log, self.android_devices[0])
379 return phone_idle_not_iwlan(self.log, self.android_devices[0])
382 return phone_idle_volte(self.log, self.android_devices[0])
385 return phone_idle_csfb(self.log, self.android_devices[0])
388 return phone_idle_3g(self.log, self.android_devices[0])
391 sub_id = get_subid_from_slot_index(self.log, self.android_devices[0], 0)
393 self.android_devices[0], sub_id)
396 sub_id = get_subid_from_slot_index(self.log, self.android_devices[0], 1)
398 self.android_devices[0], sub_id)
400 return phone_idle_2g(self.log, self.android_devices[0])
[all …]
DTelLiveSmsTest.py87 self.caller = self.android_devices[0]
88 self.callee = self.android_devices[1]
95 for ad in self.android_devices:
108 ensure_phones_idle(self.log, self.android_devices)
516 ads = self.android_devices
540 ads = self.android_devices
563 ads = self.android_devices
587 ads = self.android_devices
591 for ad in self.android_devices]
598 for ad in self.android_devices]
[all …]
DTelLiveDataTest.py146 self.provider = self.android_devices[0]
147 self.clients = self.android_devices[1:]
171 ad = self.android_devices[0]
194 ad = self.android_devices[0]
225 ad = self.android_devices[0]
262 ad = self.android_devices[0]
300 ad = self.android_devices[0]
343 return airplane_mode_test(self.log, self.android_devices[0])
360 return wifi_cell_switching(self.log, self.android_devices[0],
381 self.log, [self.android_devices[0]])
[all …]
DTelLiveVoiceConfTest.py73 self.android_devices[0],
75 get_outgoing_voice_sub_id(self.android_devices[0])):
76 self.android_devices[0].log.error(
82 ensure_phones_idle(self.log, self.android_devices)
373 ads = self.android_devices
414 ads = self.android_devices
468 ads = self.android_devices
667 ads = self.android_devices
713 ads = self.android_devices
759 ads = self.android_devices
[all …]
DTelLiveCBRSTest.py97 load_scone_cat_simulate_data(self.android_devices[0],self.stop_simulation[0],1)
257 return phone_idle_iwlan(self.log, self.android_devices[0])
260 return phone_idle_not_iwlan(self.log, self.android_devices[0])
263 return phone_idle_volte(self.log, self.android_devices[0])
266 return phone_idle_csfb(self.log, self.android_devices[0])
269 return phone_idle_3g(self.log, self.android_devices[0])
272 return phone_idle_2g(self.log, self.android_devices[0])
275 return is_phone_in_call_iwlan(self.log, self.android_devices[0])
278 return is_phone_in_call_not_iwlan(self.log, self.android_devices[0])
281 if is_phone_in_call(self.log, self.android_devices[0]):
[all …]
DTelLiveStressTest.py112 self.dut = self.android_devices[0]
119 if len(self.android_devices) == 1:
122 self.android_devices = self.android_devices[:1]
130 self.android_devices = self.android_devices[:2]
132 for ad in self.android_devices:
197 for ad in self.android_devices:
218 for ad in self.android_devices:
227 for ad in self.android_devices:
235 for ad in self.android_devices:
243 for ad in self.android_devices:
[all …]
DTelLiveVideoTest.py90 for ad in self.android_devices:
111 ads = self.android_devices
147 ads = self.android_devices
182 ads = self.android_devices
218 ads = self.android_devices
264 ads = self.android_devices
312 ads = self.android_devices
370 ads = self.android_devices
471 ads = self.android_devices
505 ads = self.android_devices
[all …]
DTelLiveStressCallTest.py62 self.caller = self.android_devices[0]
63 self.callee = self.android_devices[1]
79 for ad in self.android_devices:
100 for ad in self.android_devices:
122 ads = self.android_devices
131 for ad in self.android_devices:
139 for ad in self.android_devices:
147 for ad in self.android_devices:
155 for ad in self.android_devices:
166 self.android_devices[0],
[all …]
DTelLivePreflightTest.py79 ad = self.android_devices[0]
84 if len(self.android_devices) > 1:
85 ad = self.android_devices[1]
144 get_info(self.android_devices))
159 ota_updater.initialize(self.user_params, self.android_devices)
160 tasks = [(self._ota_upgrade, [ad]) for ad in self.android_devices]
165 device_info = get_info(self.android_devices)
168 if len(self.android_devices) > 1:
169 caller = self.android_devices[0]
170 callee = self.android_devices[1]
[all …]
DTelLiveEmergencyBase.py71 self.my_devices = self.android_devices[:]
73 for ad in self.android_devices:
102 self.android_devices.remove(ad)
103 self.android_devices.insert(0, ad)
106 self.android_devices = self.my_devices
294 self.log, self.dut, self.android_devices[1], ad_hangup=self.dut)
354 self.log, self.dut, self.android_devices[1],
370 self.android_devices[1],
372 ad_hangup=self.android_devices[1]):
378 self.log, self.dut, self.android_devices[1],
/tools/test/connectivity/acts_tests/tests/google/net/
DDataUsageTest.py82 for ad in self.android_devices:
97 for ad in self.android_devices:
109 for i in range(len(self.android_devices)):
110 ad = self.android_devices[i]
121 for ad in self.android_devices:
125 for ad in self.android_devices:
428 self._test_data_usage_downlink(self.android_devices[0],
429 self.android_devices[0],
436 self._test_data_usage_downlink(self.android_devices[0],
437 self.android_devices[0],
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBluetoothBaseTest.py83 for ad in self.android_devices:
86 for ad in self.android_devices:
94 for ad in self.android_devices:
121 for ad in self.android_devices:
125 for i, ad in enumerate(self.android_devices):
128 self.android_devices[i], self.android_devices[index] = \
129 self.android_devices[index], self.android_devices[i]
133 for a in self.android_devices:
140 if not setup_multiple_devices_for_bt_test(self.android_devices):
143 self.android_devices)
[all …]
DBluetoothCarHfpBaseTest.py41 self.hf = self.android_devices[0]
44 self.ag = self.android_devices[1]
47 if len(self.android_devices) > 2:
48 self.re = self.android_devices[2]
52 if len(self.android_devices) > 3:
53 self.re2 = self.android_devices[3]
94 return ensure_phones_default_state(self.log, self.android_devices[1:])
99 return ensure_phones_default_state(self.log, self.android_devices[1:])
106 ensure_phones_default_state(self.log, self.android_devices[1:])
Dbt_test_utils.py534 def factory_reset_bluetooth(android_devices): argument
543 for a in android_devices:
611 def get_advanced_droid_list(android_devices): argument
625 for a in android_devices:
1107 def log_energy_info(android_devices, state): argument
1301 def reset_bluetooth(android_devices): argument
1310 for a in android_devices:
1515 def setup_multiple_devices_for_bt_test(android_devices): argument
1532 for ad in android_devices:
1536 for a in android_devices:
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiSoftApPerformanceTest.py51 self.dut = self.android_devices[-1]
59 self.android_devices[0].serial,
65 self.android_devices[1].serial,
88 for dev in self.android_devices:
93 wutils.stop_wifi_tethering(self.android_devices[0])
94 for dev in self.android_devices:
100 wutils.stop_wifi_tethering(self.android_devices[0])
104 info['client_ip_address'] = self.android_devices[
106 info['ap_ip_address'] = self.android_devices[
108 info['frequency'] = self.android_devices[1].adb.shell(
[all …]
DWifiSoftApTest.py45 self.dut = self.android_devices[0]
46 self.dut_client = self.android_devices[1]
77 if len(self.android_devices) > 2:
78 utils.sync_device_time(self.android_devices[2])
79 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US)
80 self.android_devices[2].droid.wifiEnableVerboseLogging(1)
81 asserts.assert_equal(self.android_devices[2].droid.wifiGetVerboseLoggingLevel(), 1,
93 for ad in self.android_devices:
211 if len(self.android_devices) > 2:
258 ad2 = self.android_devices[2]
[all …]
DWifiStaApConcurrencyStressTest.py62 self.dut = self.android_devices[0]
63 self.dut_client = self.android_devices[1]
104 if len(self.android_devices) > 2:
105 wutils.wifi_test_device_init(self.android_devices[2])
106 utils.sync_device_time(self.android_devices[2])
107 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US)
108 self.android_devices[2].droid.wifiEnableVerboseLogging(1)
109 asserts.assert_equal(self.android_devices[2].droid.wifiGetVerboseLoggingLevel(), 1,
119 if len(self.android_devices) > 2:
122 self.dut, self.android_devices[2])
[all …]
DWifiStaApConcurrencyTest.py50 self.dut = self.android_devices[0]
51 self.dut_client = self.android_devices[1]
58 utils.require_sl4a(self.android_devices)
60 for ad in self.android_devices:
77 for ad in self.android_devices:
88 for ad in self.android_devices:
99 for ad in self.android_devices:
181 for ad in self.android_devices[1:]:
204 if len(self.android_devices) > 2:
207 self.dut_client, self.android_devices[2])
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DProtocolsTest.py50 init_dut = self.android_devices[0]
51 resp_dut = self.android_devices[1]
73 p_dut = self.android_devices[0]
74 s_dut = self.android_devices[1]
101 p_dut = self.android_devices[0]
102 s_dut = self.android_devices[1]
132 dut = self.android_devices[0]
138 len(self.android_devices) > max_ndp,
140 (max_ndp + 1, len(self.android_devices)))
152 dut, self.android_devices[i + 1])
[all …]
DDataPathTest.py97 p_dut = self.android_devices[0]
99 s_dut = self.android_devices[1]
325 init_dut = self.android_devices[0]
327 resp_dut = self.android_devices[1]
540 init_dut = self.android_devices[0]
542 resp_dut = self.android_devices[1]
1141 init_dut = self.android_devices[0]
1143 resp_dut = self.android_devices[1]
1281 dut1 = self.android_devices[0]
1282 dut2 = self.android_devices[1]
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py108 for ad in self.android_devices:
176 tasks = [(self._init_device, [ad]) for ad in self.android_devices]
186 for ad in self.android_devices:
217 for ad in self.android_devices]
431 tasks = [(self._teardown_device, [ad]) for ad in self.android_devices]
439 for ad in self.android_devices:
446 for ad in self.android_devices:
451 start_qxdm_loggers(self.log, self.android_devices, self.begin_time)
453 start_sdm_loggers(self.log, self.android_devices)
458 self.android_devices,
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/examples/
DBleExamplesTest.py39 self.scn_droid, self.scn_ed = (self.android_devices[0].droid,
40 self.android_devices[0].ed)
41 self.adv_droid, self.adv_ed = (self.android_devices[1].droid,
42 self.android_devices[1].ed)
46 self.android_devices[0], self.active_adv_callback_list,
47 self.android_devices[1], self.active_adv_callback_list)
57 android_devices.take_bug_reports(self.android_devices, test_name,
66 return reset_bluetooth([self.android_devices[0]])
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/
DThroughputTest.py57 init_dut = self.android_devices[0]
58 resp_dut = self.android_devices[1]
133 dut = self.android_devices[0]
139 len(self.android_devices) > max_ndp,
141 (max_ndp + 1, len(self.android_devices)))
153 dut, self.android_devices[i + 1])
184 args=(q, dut, self.android_devices[i + 1],
196 self.android_devices[
263 init_dut = self.android_devices[0]
265 resp_dut = self.android_devices[1]

1234567891011