Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 249) sorted by relevance

12345678910

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSoftApAcsTest.py83 chan = self.test_name.split('_')[-1]
284 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
293 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
302 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
311 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
320 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
329 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
338 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
347 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
356 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
[all …]
DWifiRvrTwTest.py349 rominfo = self.dut.adb.shell("getprop ro.build.display.id").split()
354 project, build_type = rominfo[0].split("-")
367 hw_stage = hw_stage_temp.decode("utf-8").split("\n")[0]
379 country_code = country_code_temp.decode("utf-8").split(" ")[4].split(
393 channel = channel_temp.decode("utf-8").split(": ")[1].split("\n")[0]
398 channel = channel_temp.decode("utf-8").split(" ")[1].split("\n")[0]
411 he_capable = he_temp.decode("utf-8").split(": ")[1].split("\n")[0].split(
412 "MHz")[0].split(" ")[3]
417 he_capable = he_temp.decode("utf-8").split("width: ")[1].split(" ")[0]
/tools/treble/split/
DREADME.md7 the target, it shouldn't be in the split manifest. This smaller manifest can be
12 The `treble_manifest_split` tool is used to automatically create a split
37 # target that should be buildable from your split manifest.
45 # Create the split manifest using a sample config XML specific to aosp_arm64.
48 --split-manifest split_default.xml \
50 --config tools/treble/split/sample_config.xml \
54 ### 3. Build using the split manifest
56 You should test that the split manifest created by the tool can be used to build
62 newly-generated split manifest.
74 1. Update your config XML to manually add projects to your split manifest.
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerGTWGnssBaseTest.py160 for line in res.split("\n"):
162 total_power = line.split(" ")[-1].split("mJ")[0]
164 single_tracking = line.split(" ")[-1].split("mJ")[0]
167 multi_tracking = line.split(" ")[-1].split("mJ")[0]
169 single_acquisition = line.split(" ")[-1].split("mJ")[0]
171 multi_acquisition = line.split(" ")[-1].split("mJ")[0]
/tools/test/connectivity/acts/framework/acts/controllers/spirent_lib/
Dgss6450.py81 filename = resp_raw.split(':')[-1].strip(' ')
94 description = resp_raw.split('-d')[-1].strip(' ')
111 location = resp_raw.split('-i')[-1].strip(' ')
129 mode = resp_raw.split('-m')[-1].strip(' ')
142 batterylevel = float(resp_raw.split('-l')[-1].strip(' '))
155 voltageout = resp_raw.split('-v')[-1].strip(' ')
171 resp_num = resp_raw.split('-M')[-1].strip(' ')
194 resp_str = resp_raw.split('-a')[-1].strip(' ')
196 attenuation = [float(itm) for itm in resp_str.split(',')]
208 resp_str = resp_raw.split('-e')[-1].strip(' ')
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/
Dqcom_utils.py75 current_bssid = match.group(0).split('=')[1]
85 ssid = match.group(0).split('=')[1]
96 frequency = int(match.group(0).split('=')[1])
102 temp_rssi = int(match.group(0).split('=')[1])
113 int(match.group(0).split('=')[1]))
127 per_chain_rssi = per_chain_rssi.split(', ')
172 bssid_result = bssid_result.group(0).split('\t')
197 [int(line.split(' ')[0]) for line in bdf_output.splitlines()]) % 1000
202 fw_signature = fw_version.split('.')[-3:-1]
214 country_code = country_code.split(':')[0].split(' ')[1]
[all …]
Dbrcm_utils.py157 current_bssid = match.group(0).split('=')[1]
168 ssid = match.group(0).split('=')[1]
176 frequency = int(match.group(0).split('=')[1])
215 temp_rssi = int(match.group(0).split('=')[1])
264 bssid_result = bssid_result.group(0).split()
289 [int(line.split(' ')[0]) for line in bdf_output.splitlines()]) % 1000
308 country_code = dut.adb.shell('wl country').split(' ')[0]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py928 first_fixed = int(logcat_results[-1]["log_message"].split()[-1])
1112 dir_file = ad.adb.shell("ls -tr %s" % GNSSSTATUS_LOG_PATH).split()
1117 file_size = int(out.split(" ")[0])
1125 lines = ad.adb.shell("cat %s" % test_logfile).split("\n")
1141 ant_top4_cn = float(line.split(":")[-1].strip())
1143 ant_cn = float(line.split(":")[-1].strip())
1145 base_top4_cn = float(line.split(":")[-1].strip())
1147 base_cn = float(line.split(":")[-1].strip())
1149 l5flag = line.split(":")[-1].strip()
1151 track_lat = float(line.split(":")[-1].strip())
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dnet_test_utils.py146 ip_xfrm_state = format(match_obj.group(0)).split()
238 vpn_profile[VPN_CONST.IPSEC_USER_CERT] = cert_name.split('.')[0]
272 vpn_profile[VPN_CONST.IPSEC_CA_CERT] = cert_name.split('.')[0]
285 vpn_profile[VPN_CONST.IPSEC_USER_CERT] = cert_name.split('.')[0]
286 vpn_profile[VPN_CONST.IPSEC_CA_CERT] = cert_name.split('.')[0]
383 tcpdump_pid = utils.exe_cmd(ps_cmd).decode("utf-8", "ignore").split()
413 if tcpdump_pid in res.split():
424 "%s/%s.pcap" % (ad.device_log_path, fname.split('/')[-1])):
431 pcap_file = "%s/%s.pcap" % (ad.device_log_path, fname.split('/')[-1])
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgattc_lib.py155 args = line.split()
171 args = line.split()
184 args = line.split()
200 args = line.split()
232 args = line.split()
248 args = line.split()
281 args = line.split()
302 args = line.split()
318 args = line.split()
475 args = line.split()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dap_get_interface.py50 interfaces_all = output.stdout.split('\n')
61 interfaces_virtual = output.stdout.split('\n')
88 lines = output.stdout.split('\n')
90 interfaces_bridge.append(line.split('\t')[0])
149 interfaces_all = output.stdout.split('\n')
/tools/security/gdb/heap_print/test/
Dtest_heap_print_script.py6 return int(n_str.split("=")[1].strip())
35 data = array_ptr_str.split("\n")[3]
36 bytes_from_heap = data.split(" ")
91 data = malloc_ptr_str.split("\n")[2].strip()
108 data = new_ptr_array_str.split("\n")[2].strip()
/tools/test/connectivity/acts/framework/acts/controllers/
Dbits.py83 prefix, unit = bits_metric_name.split(':')
84 rail = prefix.split('.')[-1]
471 self._root_rail.split(':')[0])
482 channel['name'].split('.')[-1].split(':')[0]
489 channel['name'].split('.')[-1] : channel['avg']
493 root_rail_key = self._root_rail.split(':')[0] + ':mW'
549 key = self._root_rail.split(':')[0] + ':mW'
Dandroid_device.py609 lines = out.split('\n', 1)
611 tokens = lines[0].split(' ')
773 pid = int(out.split()[1])
1121 br_out_path = out.split(':')[1].strip().split()[0]
1152 files = out.split("\n")
1362 clean_out = out.split('\n')
1380 clean_out = out.split('\n')
1539 result = output.split(' ')[-1].strip("}")
1556 result = output.split(' ')[-2]
1733 wizard_package = package.split('=')[1]
[all …]
Darduino_wifi_dongle.py164 serial_ports = utils.exe_cmd(cmd).decode('utf-8', 'ignore').split('\n')
219 tmp_file = '%s%s' % (TMP_DIR, file_path.split('/')[-1])
296 val = data.split(':')[-1].lstrip().rstrip()
371 d[SSID] = self.scan_results[i].split(':')[-1].rstrip()
373 d[RSSI] = self.scan_results[i].split(':')[-1].rstrip()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt733 var split = source.indexOf('=', from) in addAttribute() variable
734 if (split >= to) { in addAttribute()
735 split = -1 in addAttribute()
741 if (split == -1) { in addAttribute()
742 valueBegin = split + 1 in addAttribute()
746 name = source.substring(from, split).trim() in addAttribute()
747 valueBegin = split + 1 in addAttribute()
806 override val values = value.substring(1, value.length - 1).split(",").map { in <lambda>()
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py210 parts = user_input.split('#')
217 for part in parts[1].split(','):
251 cls = os.path.splitext(os.path.split(test_path)[1])[0]
451 for idx in re.sub(r'(\s)', '', test_indices).split(','):
452 indices = idx.split('-')
635 apk = apk_target.split(_XML_PUSH_DELIM, 1)[0].strip()
736 sanitized_target = target.split(_XML_PUSH_DELIM, 1)[0].strip()
784 target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
862 push_target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
882 head, _ = os.path.split(value)
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py328 info = line.split()
350 info = line.split()
398 self.ble_adv_data_uris = uris.split()
786 args = line.split()
837 args = line.split()
885 args = line.split()
930 args = line.split()
976 args = line.split()
1025 args = line.split()
1060 args = line.split()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlogserial.py111 properties = filter(None, property_list.split('\n'))
113 p = prop.split('=')
125 prop_array = adprop.split(' ')
127 p = prop.split('=')
130 interface = int(result['LOCATION'].split('.')[1])
151 m.group().strip().split('\\')[2])
/tools/test/connectivity/acts_tests/tests/google/gnss/
DLabGnssPowerSweepTest.py40 tmp = key.split('_')
173 gnss_results[-1]["log_message"].split()
174 ttff_lat = float(gnss_location_log[8].split("=")[-1].strip(","))
175 ttff_lon = float(gnss_location_log[9].split("=")[-1].strip(","))
176 loc_time = int(gnss_location_log[10].split("=")[-1].strip(","))
178 gnss_location_log[11].split("=")[-1].strip(","))
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6e/
DWifiRoaming6eTest.py94 roam_ssid = "test_%s" % "_".join(self.test_name.split("_")[-4:-1])
107 roam_ssid = "test_%s" % "_".join(self.test_name.split("_")[-4:-1])
120 roam_ssid = "test_%s" % "_".join(self.test_name.split("_")[-4:-1])
133 roam_ssid = "test_%s" % "_".join(self.test_name.split("_")[-4:-1])
/tools/external_updater/
Dgit_utils.py65 split = line.split()
66 return split[0], split[1]
83 return line.split()[-1]
/tools/security/gdb/heap_print/
Dheap_print_script.py7 int_address = int(int_address_string.split('=')[1].strip())
15 return str.split("=")[1].strip()
139 args = func_args_string.split("\n")
229 result += byte_string.split(':')[1].strip() + " "
/tools/security/gdb/
Dparameters_extract.py125 stacktrace_start = stacktrace[stacktrace.index('==ERROR: '):].split("\n")
135 func_name = line.strip().split(" ")[3]
198 to_string=True).split(' = ')[1].strip()
201 to_string=True).strip().split(" ")[0], 16)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dbt_test_utils.py196 bonding_data_split = non_ascii_bytes_removed.split("bonding-data:")
201 data = data.split("saved_networks")[0]
206 even_more_trailing_info = more_trailing_data.split('ost-data')[0]
209 clean_json = more_trailing_data.split('\x1b')[0]

12345678910