/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiSoftApAcsTest.py | 97 chan = self.test_name.split('_')[-1] 301 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 310 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 319 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 328 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 337 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 346 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 355 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 364 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) 373 avoid_chan = int(sys._getframe().f_code.co_name.split('_')[-1]) [all …]
|
D | WifiRvrTwTest.py | 349 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/test/connectivity/acts_tests/acts_contrib/test_utils/power/ |
D | PowerGTWGnssBaseTest.py | 160 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/ |
D | gss6450.py | 81 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/treble/split/ |
D | README.md | 7 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/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/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | ProfileTargetPreparer.java | 152 String supportPSOnwards = dumpsysOutput.split("Can add private profile:", 2)[1].trim(); in isPrivateProfileSupported() 153 String supportsPSValue = supportPSOnwards.split("\n")[0].trim(); in isPrivateProfileSupported() 171 dumpsysOutput.split("mName: android.os.usertype.profile.CLONE", 2)[1].trim(); in isCloneProfileEnabled() 172 String cloneEnabledOnwards = cloneOnwards.split("mEnabled:", 2)[1].trim(); in isCloneProfileEnabled() 173 String supportsCloneValue = cloneEnabledOnwards.split("\n")[0].trim(); in isCloneProfileEnabled() 228 return Integer.parseInt(createUserOutput.split(" id ")[1].trim()); in createProfile() 256 String deviceOwnerOnwards = dumpsysOutput.split("Device Owner:", 2)[1]; in getDeviceOwner() 258 deviceOwnerOnwards.split("ComponentInfo\\{", 2)[1].split("}", 2)[0]; in getDeviceOwner() 261 deviceOwnerOnwards.split("User ID: ", 2)[1].split("\n", 2)[0].trim()); in getDeviceOwner()
|
/tools/tradefederation/core/javatests/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/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | qcom_utils.py | 75 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 …]
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticMemoryTest.java | 125 (mComponentName.split("/").length == 2)); in run() 185 String pkgActivitySplit[] = mComponentName.split("/"); in getProcessId() 213 String line[] = dumpInfo.split(LINE_SEPARATOR); in parseDumpsysInfo() 215 String dataSplit[] = line[lineCount].trim().split(SEPARATOR); in parseDumpsysInfo() 237 String lineSplit[] = memInfo.split(LINE_SEPARATOR); in parseProcInfo() 243 String dataSplit[] = line.split(SEPARATOR); in parseProcInfo() 274 memAvailable = m.group(0).split(SEPARATOR); in calculateFreeMem() 279 String processes[] = cachedProcesses.split("\\n{2}")[0].split(LINE_SEPARATOR); in calculateFreeMem() 296 processInfo = m1.group(0).split(LINE_SEPARATOR); in calculateFreeMem() 299 String procDetails[] = processInfo[0].trim().split(SEPARATOR); in calculateFreeMem()
|
/tools/asuite/atest/integration_tests/ |
D | adevice_command_success_tests.py | 39 self._verify_adevice_command_success('adevice status'.split()) 44 'adevice update --max-allowed-changes=6000'.split() 59 build_clean_up_cmd = f'sed -i s#ADEVICE_TEST##g {filename}'.split() 64 test_cmd='adevice update'.split(), 103 'build/soong/soong_ui.bash --make-mode'.split(), 130 'cat $ANDROID_BUILD_TOP/out/adevice.log'.split(),
|
/tools/asuite/ |
D | preupload_hook_script.py | 36 if subprocess.run(shlex.split(cmd), cwd=cwd, check=False).returncode: 44 shlex.split(f'{lint_bin} {file.as_posix()}'), 74 shlex.split('which gpylint'), 87 shlex.split('which pyformat'), 95 shlex.split('pyformat --force_quote_type single ' + file.as_posix()), 102 shlex.split(
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | ap_get_interface.py | 50 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/ |
D | test_heap_print_script.py | 6 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_tests/acts_contrib/test_utils/net/ |
D | net_test_utils.py | 147 ip_xfrm_state = format(match_obj.group(0)).split() 239 vpn_profile[VPN_CONST.IPSEC_USER_CERT] = cert_name.split('.')[0] 273 vpn_profile[VPN_CONST.IPSEC_CA_CERT] = cert_name.split('.')[0] 286 vpn_profile[VPN_CONST.IPSEC_USER_CERT] = cert_name.split('.')[0] 287 vpn_profile[VPN_CONST.IPSEC_CA_CERT] = cert_name.split('.')[0] 384 tcpdump_pid = utils.exe_cmd(ps_cmd).decode("utf-8", "ignore").split() 414 if tcpdump_pid in res.split(): 425 "%s/%s.pcap" % (ad.device_log_path, fname.split('/')[-1])): 432 pcap_file = "%s/%s.pcap" % (ad.device_log_path, fname.split('/')[-1])
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | gattc_lib.py | 155 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/ |
D | bits.py | 83 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'
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/filter/ |
D | GlobalFilterGetterTest.java | 81 String[] split = includeFilters.split(delimiter); in testGetFilter() local 82 assertEquals("filter1", split[0]); in testGetFilter() 83 assertEquals("filter2", split[1]); in testGetFilter()
|
/tools/test/mobly_extensions/scripts/ |
D | local_mobly_runner.py | 146 and len(args.packages.split(',')) > 1) 148 and len(args.test_paths.split(',')) > 1) 228 mobly_bins.extend(args.test_paths.split(',')) 241 for package in args.packages.split(','): 294 tokens = line.strip().split('\t') 409 serials = args.serials.split(',') if args.serials else None
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparer.java | 193 String[] split = stdout.split(" "); in checkVirtualenvVersion() local 194 if (split.length < 2) { in checkVirtualenvVersion() 201 String version = split[1]; in checkVirtualenvVersion() 202 int majorVersion = Integer.parseInt(version.split("\\.")[0]); in checkVirtualenvVersion()
|
/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/connectivity/acts_tests/acts_contrib/test_utils/gnss/ |
D | gnss_test_utils.py | 936 first_fixed = int(logcat_results[-1]["log_message"].split()[-1]) 1132 dir_file = ad.adb.shell("ls -tr %s" % GNSSSTATUS_LOG_PATH).split() 1137 file_size = int(out.split(" ")[0]) 1145 lines = ad.adb.shell("cat %s" % test_logfile).split("\n") 1161 ant_top4_cn = float(line.split(":")[-1].strip()) 1163 ant_cn = float(line.split(":")[-1].strip()) 1165 base_top4_cn = float(line.split(":")[-1].strip()) 1167 base_cn = float(line.split(":")[-1].strip()) 1169 l5flag = line.split(":")[-1].strip() 1171 track_lat = float(line.split(":")[-1].strip()) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | LabGnssPowerSweepTest.py | 40 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/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/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | AndroidJUnitTestTest.java | 553 assertNull(mAndroidJUnitTest.split()); in testSplit_notShardable() 560 assertNull(mAndroidJUnitTest.split()); in testSplit_noShardRequested() 569 Collection<IRemoteTest> listTests = test.split(4); in testSplit_noRunner() 582 List<IRemoteTest> res = (List<IRemoteTest>) mAndroidJUnitTest.split(3); in testSplit_threeShards() 590 assertNull(((AndroidJUnitTest) res.get(0)).split(2)); in testSplit_threeShards() 591 assertNull(((AndroidJUnitTest) res.get(0)).split()); in testSplit_threeShards() 605 List<IRemoteTest> res = (List<IRemoteTest>) mAndroidJUnitTest.split(3); in testSplit_maxShard() 612 assertNull(((AndroidJUnitTest) res.get(0)).split(2)); in testSplit_maxShard() 613 assertNull(((AndroidJUnitTest) res.get(0)).split()); in testSplit_maxShard()
|