Home
last modified time | relevance | path

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

123456789

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiSoftApAcsTest.py74 chan = self.test_name.split('_')[-1]
261 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
270 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
279 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
288 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
297 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
306 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
315 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
324 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
333 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1])
[all …]
/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/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/gnss/
Dgnss_test_utils.py749 first_fixed = int(logcat_results[-1]["log_message"].split()[-1])
860 dir_file = ad.adb.shell("ls %s" % GNSSSTATUS_LOG_PATH).split()
865 file_size = int(out.split(" ")[0])
873 lines = ad.adb.shell("cat %s" % test_logfile).split("\n")
876 ant_top4_cn = float(line.split(":")[-1].strip())
878 ant_cn = float(line.split(":")[-1].strip())
880 base_top4_cn = float(line.split(":")[-1].strip())
882 base_cn = float(line.split(":")[-1].strip())
884 l5flag = line.split(":")[-1].strip()
886 track_lat = float(line.split(":")[-1].strip())
[all …]
/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_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/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/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/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/tests/google/fuchsia/bt/
Dcommand_input.py325 info = line.split()
347 info = line.split()
395 self.ble_adv_data_uris = uris.split()
783 args = line.split()
834 args = line.split()
882 args = line.split()
927 args = line.split()
974 args = line.split()
1023 args = line.split()
1058 args = line.split()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt805 var split = source.indexOf('=', from) in addAttribute() variable
806 if (split >= to) { in addAttribute()
807 split = -1 in addAttribute()
813 if (split == -1) { in addAttribute()
814 valueBegin = split + 1 in addAttribute()
818 name = source.substring(from, split).trim() in addAttribute()
819 valueBegin = split + 1 in addAttribute()
876 override val values = value.substring(1, value.length - 1).split(",").map { in <lambda>()
/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/framework/acts/controllers/
Dandroid_device.py521 lines = out.split('\n', 1)
523 tokens = lines[0].split(' ')
680 pid = int(out.split()[1])
1010 br_out_path = out.split(':')[1].strip().split()[0]
1038 files = out.split("\n")
1239 clean_out = out.split('\n')
1257 clean_out = out.split('\n')
1415 result = output.split(' ')[-1].strip("}")
1432 result = output.split(' ')[-2]
1599 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/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/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/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/framework/acts/
Dutils.py599 tokens = re.split("_|-", model)
1354 address = address.split('%')[0]
1447 for interface_line in all_interfaces_and_addresses.split('\n'):
1448 if interface != interface_line.split()[0]:
1450 on_device_ip = ipaddress.ip_address(interface_line.split()[1])
1496 desired_ip_address = desired_ip_address.split('%', 1)[0]
1508 for ip_address_and_interface in all_ips_and_interfaces.split('\n'):
1510 return ip_address_and_interface.split()[1][:-1]
1726 return [int(octet, 16) for octet in mac_addr_str.split(':')]
Dlogger.py105 date, time = t.split(' ')
106 year, month, day = date.split('-')
107 h, m, s = time.split(':')
108 s, ms = s.split('.')
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/
Dnetwork_settings.py86 self.config = set(out.split("\n"))
114 for package_name in package_list.split(" "):
128 for package_name in package_list.split(" "):
182 return len(count.split("\n"))
219 config = self.ssh.run("cat %s" % file_path).stdout.split("\n")
285 for _ in rr.split("\n"):
353 remote_ip = local_ip.split(".")
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py718 callstat = self.send_query("CALLSTAT? BTS1").split(",")
723 callstat = self.send_query("CALLSTAT? BTS1").split(",")
938 callstat = self.send_query("CALLSTAT?").split(",")
943 callstat = self.send_query("CALLSTAT?").split(",")
965 callstat = self.send_query("CALLSTAT?").split(",")
970 callstat = self.send_query("CALLSTAT?").split(",")
1040 sim_model = (self.get_simulation_model()).split(",")
1047 "CALLSTAT? BTS{}".format(bts)).split(",")
1072 callstat = self.send_query("CALLSTAT? BTS1").split(",")
1077 callstat = self.send_query("CALLSTAT? BTS1").split(",")
[all …]

123456789