/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiSoftApAcsTest.py | 77 chan = self.test_name.split('_')[-1] 259 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 268 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 277 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 286 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 295 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 304 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 313 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 322 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 331 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 656 first_fixed = int(logcat_results[-1]["log_message"].split()[-1]) 747 dir = ad.adb.shell("ls %s" % GNSSSTATUS_LOG_PATH).split() 752 file_size = int(out.split(" ")[0]) 760 lines = ad.adb.shell("cat %s" % test_logfile).split("\n") 763 ant_top4_cn = float(line.split(":")[-1].strip()) 765 ant_cn = float(line.split(":")[-1].strip()) 767 base_top4_cn = float(line.split(":")[-1].strip()) 769 base_cn = float(line.split(":")[-1].strip()) 771 l5flag = line.split(":")[-1].strip() 773 track_lat = float(line.split(":")[-1].strip()) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | command_input.py | 325 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/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticMemoryTest.java | 124 (mComponentName.split("/").length == 2)); in run() 184 String pkgActivitySplit[] = mComponentName.split("/"); in getProcessId() 212 String line[] = dumpInfo.split(LINE_SEPARATOR); in parseDumpsysInfo() 214 String dataSplit[] = line[lineCount].trim().split(SEPARATOR); in parseDumpsysInfo() 236 String lineSplit[] = memInfo.split(LINE_SEPARATOR); in parseProcInfo() 242 String dataSplit[] = line.split(SEPARATOR); in parseProcInfo() 273 memAvailable = m.group(0).split(SEPARATOR); in calculateFreeMem() 278 String processes[] = cachedProcesses.split("\\n{2}")[0].split(LINE_SEPARATOR); in calculateFreeMem() 295 processInfo = m1.group(0).split(LINE_SEPARATOR); in calculateFreeMem() 298 String procDetails[] = processInfo[0].trim().split(SEPARATOR); in calculateFreeMem()
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | gattc_lib.py | 156 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/test_finders/ |
D | test_finder_utils.py | 163 parts = user_input.split('#') 167 return parts[0], frozenset(parts[1].split(',')) 193 cls = os.path.splitext(os.path.split(test_path)[1])[0] 329 for idx in re.sub(r'(\s)', '', test_indices).split(','): 330 indices = idx.split('-') 570 apk = apk_target.split(_XML_PUSH_DELIM, 1)[0].strip() 668 sanitized_target = target.split(_XML_PUSH_DELIM, 1)[0].strip() 716 target = value.split(_XML_PUSH_DELIM, 1)[0].strip() 794 push_target = value.split(_XML_PUSH_DELIM, 1)[0].strip() 814 head, _ = os.path.split(value) [all …]
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_utils.py | 156 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/framework/acts/controllers/ |
D | android_device.py | 519 lines = out.split('\n', 1) 521 tokens = lines[0].split(' ') 668 pid = int(out.split()[1]) 960 br_out_path = out.split(':')[1].strip().split()[0] 988 files = out.split("\n") 1174 clean_out = out.split('\n') 1192 clean_out = out.split('\n') 1344 result = output.split(' ')[-1].strip("}") 1361 result = output.split(' ')[-2] 1527 wizard_package = package.split('=')[1] [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | md8475a.py | 718 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 …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleMergerTest.java | 71 Collection<IRemoteTest> res1 = suite1.split(2, mTestInfo); in testPartOfSameSuite_notSplittedYet2() 83 Collection<IRemoteTest> res1 = suite1.split(2, mTestInfo); in testPartOfSameSuite_sameSuite() 96 Collection<IRemoteTest> res1 = suite1.split(2, mTestInfo); in testPartOfSameSuite_notSameSuite() 98 Collection<IRemoteTest> res2 = suite2.split(2, mTestInfo); in testPartOfSameSuite_notSameSuite() 127 Collection<IRemoteTest> res1 = suite1.split(2, mTestInfo); in testMergeSplittedITestSuite_notSplittedYet2() 144 Collection<IRemoteTest> res1 = suite1.split(2, mTestInfo); in testMergeSplittedITestSuite_splittedSuiteFromDifferentModules() 146 Collection<IRemoteTest> res2 = suite2.split(2, mTestInfo); in testMergeSplittedITestSuite_splittedSuiteFromDifferentModules() 163 Collection<IRemoteTest> res1 = suite1.split(2, mTestInfo); in testMergeSplittedITestSuite()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | AndroidJUnitTestTest.java | 447 assertNull(mAndroidJUnitTest.split()); in testSplit_notShardable() 454 assertNull(mAndroidJUnitTest.split()); in testSplit_noShardRequested() 463 Collection<IRemoteTest> listTests = test.split(4); in testSplit_noRunner() 476 List<IRemoteTest> res = (List<IRemoteTest>) mAndroidJUnitTest.split(3); in testSplit_threeShards() 484 assertNull(((AndroidJUnitTest) res.get(0)).split(2)); in testSplit_threeShards() 485 assertNull(((AndroidJUnitTest) res.get(0)).split()); in testSplit_threeShards() 499 List<IRemoteTest> res = (List<IRemoteTest>) mAndroidJUnitTest.split(3); in testSplit_maxShard() 506 assertNull(((AndroidJUnitTest) res.get(0)).split(2)); in testSplit_maxShard() 507 assertNull(((AndroidJUnitTest) res.get(0)).split()); in testSplit_maxShard()
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 735 current_bssid = match.group(0).split('=')[1] 746 frequency = int(match.group(0).split('=')[1]) 752 temp_rssi = int(match.group(0).split('=')[1]) 763 int(match.group(0).split('=')[1])) 773 per_chain_rssi = per_chain_rssi.split(', ') 840 bssid_result = bssid_result.group(0).split('\t') 1092 subnet_mask = subnet_mask.split('.') 1095 for dut, subnet in zip(dut_ip.split('.'), subnet_mask) 1102 for ip, subnet in zip(current_ip.split('.'), subnet_mask) 1238 [int(line.split(' ')[0]) for line in bdf_output.splitlines()]) % 1000 [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 893 KeyguardControllerState.create(Arrays.asList(output.trim().split("\n"))); in getKeyguardState() 1187 String[] lines = commandOutput.split("\\r?\\n"); in tokenizeListUsers() 1196 String[] tokens = lines[i].split("\\{|\\}|:"); in tokenizeListUsers() 1556 for (String line: commandOutput.split("\\s+")) { in hasFeature() 1617 for (String line : output.split("\\n")) { in getAllSettingsInternal() 1619 String[] pair = line.trim().split("=", -1); in getAllSettingsInternal() 1777 String[] lines = commandOutput.split("\\r?\\n"); in removeOwners() 1782 String[] tokens = line.split("\\(|\\)| "); in removeOwners() 1788 tokens = line.split("\\{|\\}"); in removeOwners() 1796 String[] tokens = line.split("\\{|\\}"); in removeOwners() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Options.kt | 813 listString.split(",").forEach { path -> in <lambda>() 912 annotations.split(",").forEach { path -> in <lambda>() 935 for (pkg in packages.split(File.pathSeparatorChar)) { in <lambda>() 943 mutableSkipEmitPackages += packages.split(File.pathSeparatorChar) in <lambda>() 1265 val packageNames = args[++index].split(":") in <lambda>() 1382 listString.split(File.pathSeparatorChar).forEach { path -> in <lambda>() 1990 for (path in value.split(File.pathSeparatorChar)) { in <lambda>() 2002 for (path in value.split(File.pathSeparatorChar)) { in <lambda>() 2017 for (path in value.split(File.pathSeparatorChar)) { in <lambda>() 2054 value.split(File.pathSeparatorChar) in <lambda>() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 788 var split = source.indexOf('=', from) in addAttribute() variable 789 if (split >= to) { in addAttribute() 790 split = -1 in addAttribute() 796 if (split == -1) { in addAttribute() 797 valueBegin = split + 1 in addAttribute() 801 name = source.substring(from, split).trim() in addAttribute() 802 valueBegin = split + 1 in addAttribute() 859 override val values = value.substring(1, value.length - 1).split(",").map { in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 598 tokens = re.split("_|-", model) 1358 address = address.split('%')[0] 1451 for interface_line in all_interfaces_and_addresses.split('\n'): 1452 if interface != interface_line.split()[0]: 1454 on_device_ip = ipaddress.ip_address(interface_line.split()[1]) 1500 desired_ip_address = desired_ip_address.split('%', 1)[0] 1504 for ip_address_and_interface in all_ips_and_interfaces.split('\n'): 1506 return ip_address_and_interface.split()[1][:-1] 1587 return [int(octet, 16) for octet in mac_addr_str.split(':')]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | IShardableTest.java | 42 public default Collection<IRemoteTest> split() { in split() method 54 public default Collection<IRemoteTest> split(int shardCountHint) { in split() method 55 return split(); in split() 68 public default Collection<IRemoteTest> split(Integer shardCountHint, TestInformation testInfo) { in split() method 70 return split(); in split() 72 return split(shardCountHint); in split()
|
/tools/repohooks/tools/ |
D | cpplint.py | 575 _hpp_headers = set(val.split(',')) 922 for filt in filters.split(','): 949 category = category.split('/')[0] 1169 project, rest = os.path.split(googlename) 1796 (head, tail) = os.path.split(path) 1917 linesplit = line.split() 2874 base_classname = classinfo.name.split('::')[-1] 2891 constructor_args = explicit_constructor_match.group(2).split(',') 3080 function_name = match_result.group(1).split()[-1] 4505 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName()))) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | logserial.py | 111 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/test_utils/tel/ |
D | tel_test_utils.py | 634 lte_rsrp = out.split()[9] 642 lte_cell_info = out.split('mLte=')[1] 806 states = list(ad.adb.getprop("gsm.sim.state").split(",")) 1859 output = ad.adb.shell("dumpsys carrier_config").split("\n") 3536 reason_string = reason["log_message"].split(":")[-1].strip() 3662 file_name = url.split("/")[-1] 3666 file_directory, file_name = os.path.split(out_path) 3799 url_splits = url.split("/") 3889 ad.adb.shell("getprop | grep dns").split())) 5869 event_text = event_text.split(")")[-1] [all …]
|
/tools/acloud/internal/lib/ |
D | utils.py | 410 elements = rsa.split() 851 ssh_tunnel_args_list = shlex.split(ssh_tunnel_args) 853 ssh_tunnel_args_list.extend(shlex.split(extra_args_ssh_tunnel)) 897 ssh_tunnel_args_list = shlex.split(ssh_tunnel_args) 899 ssh_tunnel_args_list.extend(shlex.split(extra_args_ssh_tunnel)) 908 _ExecuteCommand(constants.ADB_BIN, adb_connect_args.split()) 1052 subprocess.Popen(ssvnc_args.split(), env=ssvnc_env)
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | ap_get_interface.py | 48 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/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 136 String scriptArgs[] = scriptPath.split(" "); in processTraceFiles() 137 String scriptPathArgs[] = scriptArgs[0].split("/"); in processTraceFiles() 138 String scriptName[] = scriptPathArgs[scriptPathArgs.length - 1].split("\\."); in processTraceFiles() 157 String[] outputLines = output.split(LINE_SEPARATOR); in aggregateMetrics() 165 String[] metric = line.split(METRIC_SEPARATOR); in aggregateMetrics()
|
/tools/test/openhst/ |
D | stress_test.py | 149 maintype, subtype = ctype.split("/", 1) 393 shlex.split(cmd % self.cmd_string_replacements)).strip() 434 command = shlex.split( 602 result = self.Command(shlex.split(action)).strip() 823 serial_number = line.split()[0].strip() 843 shlex.split(command % device.cmd_string_replacements), 890 shlex.split(step.command % device.cmd_string_replacements),
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | coex_test_utils.py | 546 pid_list = proc.stdout.split() 550 process_list = iperf_proc.stdout.split() 558 res = result.stdout.split("\n") 963 cmd = cmd.split() 1311 a2dp_info = a2dp_dumpsys_info.split("\n") 1313 frames = int(re.split("[':/()]", str(a2dp_info[-3]))[-3]) 1316 count = int(re.split("[':/()]", str(a2dp_info[-2]))[-2])
|