Home
last modified time | relevance | path

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

1234567

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSoftApAcsTest.py74 chan = self.test_name.split('_')[-1]
267 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
276 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
285 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
294 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
303 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
312 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
321 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
330 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
339 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
[all …]
DWifiIOTConnectionTest.py103 for line in out.split("\n"):
105 freq = line.split()[1]
107 rssi = line.split()[1]
109 link_speed = line.split()[2]
/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/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/ap_lib/
Dap_get_interface.py48 interfaces_all = output.stdout.split('\n')
59 interfaces_virtual = output.stdout.split('\n')
86 lines = output.stdout.split('\n')
88 interfaces_bridge.append(line.split('\t')[0])
143 interfaces_all = output.stdout.split('\n')
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dnet_test_utils.py143 ip_xfrm_state = format(match_obj.group(0)).split()
235 vpn_profile[VPN_CONST.IPSEC_USER_CERT] = cert_name.split('.')[0]
269 vpn_profile[VPN_CONST.IPSEC_CA_CERT] = cert_name.split('.')[0]
282 vpn_profile[VPN_CONST.IPSEC_USER_CERT] = cert_name.split('.')[0]
283 vpn_profile[VPN_CONST.IPSEC_CA_CERT] = cert_name.split('.')[0]
380 tcpdump_pid = utils.exe_cmd(ps_cmd).decode("utf-8", "ignore").split()
410 if tcpdump_pid in res.split():
421 "%s/%s.pcap" % (ad.device_log_path, fname.split('/')[-1])):
428 pcap_file = "%s/%s.pcap" % (ad.device_log_path, fname.split('/')[-1])
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/
Dapollo_log_decoder.py29 msg = [element.split(':') for element in str(proto).split('\n') if element]
64 _, encoding, message = logline.split("|", 2)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgattc_lib.py156 args = line.split()
172 args = line.split()
185 args = line.split()
201 args = line.split()
233 args = line.split()
249 args = line.split()
282 args = line.split()
303 args = line.split()
319 args = line.split()
476 args = line.split()
[all …]
/tools/asuite/atest-py2/test_finders/
Dtest_finder_utils.py156 parts = user_input.split('#')
160 return parts[0], frozenset(parts[1].split(','))
186 cls = os.path.splitext(os.path.split(test_path)[1])[0]
323 for idx in re.sub(r'(\s)', '', test_indices).split(','):
324 indices = idx.split('-')
559 apk = apk_target.split(_XML_PUSH_DELIM, 1)[0].strip()
657 sanitized_target = target.split(_XML_PUSH_DELIM, 1)[0].strip()
705 target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
783 push_target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
801 head, _ = os.path.split(value)
[all …]
/tools/external_updater/
Dgit_utils.py66 split = line.split()
67 return (split[0], split[1])
/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/test/connectivity/acts_tests/tests/google/gnss/
DGnssSimInventoryTest.py36 imsi = line.split(" ")[2].split("=")[-1].strip('"')
45 "dumpsys isub | grep iccid")).split(" ")[4].strip(",")
/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/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/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/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]
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py184 parts = user_input.split('#')
188 return parts[0], frozenset(parts[1].split(','))
214 cls = os.path.splitext(os.path.split(test_path)[1])[0]
380 for idx in re.sub(r'(\s)', '', test_indices).split(','):
381 indices = idx.split('-')
629 apk = apk_target.split(_XML_PUSH_DELIM, 1)[0].strip()
728 sanitized_target = target.split(_XML_PUSH_DELIM, 1)[0].strip()
776 target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
854 push_target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
874 head, _ = os.path.split(value)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_performance_test_utils.py1059 current_bssid = match.group(0).split('=')[1]
1069 ssid = match.group(0).split('=')[1]
1083 frequency = int(match.group(0).split('=')[1])
1089 temp_rssi = int(match.group(0).split('=')[1])
1100 int(match.group(0).split('=')[1]))
1117 per_chain_rssi = per_chain_rssi.split(', ')
1177 current_bssid = match.group(0).split('\t')[0]
1178 current_bssid = current_bssid.split(' ')[1]
1190 ssid = match.group(0).split(': ')[1]
1198 frequency = int(match.group(0).split(':')[1])
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
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()
Dpacket_capture.py162 network[BSSID] = line.split('(')[0].split()[-1]
163 field, value = line.lstrip().rstrip().split(SEP)[0:2]
166 network[LEVEL] = int(float(value.split()[0]))
Dandroid_device.py567 lines = out.split('\n', 1)
569 tokens = lines[0].split(' ')
731 pid = int(out.split()[1])
1059 br_out_path = out.split(':')[1].strip().split()[0]
1087 files = out.split("\n")
1288 clean_out = out.split('\n')
1306 clean_out = out.split('\n')
1466 result = output.split(' ')[-1].strip("}")
1483 result = output.split(' ')[-2]
1650 wizard_package = package.split('=')[1]
[all …]
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py146 tokens = item.split(':')
157 clean_names = [elem.strip() for elem in test_case_names.split(',')]
224 value] = os.environ[_ENV_ACTS_TESTPATHS].split(_PATH_SEPARATOR)
231 config_path, _ = os.path.split(utils.abs_path(test_config_path))
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DDeviceConfigurationTest.java41 int tickRate = Integer.parseInt(output.split("\n")[0].split("=")[1]); in testConfigHzHighEnough()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationTest.java64 String lines[] = text.split(System.getProperty("line.separator")); in elementaryManifestGeneration()
100 String lines[] = text.split(System.getProperty("line.separator")); in manifestGenerationOnHalfWrittenFile()
138 String lines[] = text.split(System.getProperty("line.separator")); in manifestGenerationOnExistingFile()
/tools/acloud/internal/lib/
Dota_tools.py197 split_line = line.strip().split("=", 1)
201 partition_names = split_line[1].split()
283 split_line = line.split()

1234567