Home
last modified time | relevance | path

Searched refs:strip (Results 1 – 25 of 129) sorted by relevance

123456

/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(' ')
208 resp_str = resp_raw.split('-e')[-1].strip(' ')
225 offset_tmp = float(resp_raw.split('-o')[-1].strip(' '))
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DSignatureToJDiffCommandTest.kt92 strip = true in Test conversion flag class with constructor()
135 strip = true in Test conversion flag empty class()
167 fun `Test convert new with compat mode and api strip`() { in Test convert new with compat mode and api strip()
169 strip = true in Test convert new with compat mode and api strip()
315 fun `Test convert new without compat mode and no strip`() { in Test convert new without compat mode and no strip()
620 var strip = false variable
637 if (strip) { in arrange()
/tools/repohooks/rh/
Dgit.py35 branch = result.stdout.strip()
40 return result.stdout.strip()
51 current_branch = result.stdout.strip().replace('refs/heads/', '')
58 full_upstream = result.stdout.strip()
64 remote = result.stdout.strip()
75 return result.stdout.strip()
146 diff_lines = diff.strip().splitlines()
200 git_worktree_path = rh.utils.run(cmd, cwd=path, capture_output=True).stdout.strip()
/tools/security/gdb/
Dparameters_extract.py135 func_name = line.strip().split(" ")[3]
175 parsed_params.append(current_param.strip())
198 to_string=True).split(' = ')[1].strip()
201 to_string=True).strip().split(" ")[0], 16)
211 args = gdb.execute('info args -q', to_string=True).strip()
/tools/netsim/scripts/
Dutils.py238 strip = line.strip()
239 logging.info(strip)
240 q.put(strip)
253 logfn(lg.strip())
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DSignatureToJDiffCommand.kt57 private val strip by in <lambda>() constant in com.android.tools.metalava.cli.signature.SignatureToJDiffCommand
144 val strip = strip in <lambda>() constant
146 if (strip) apiType.getEmitFilter(apiPredicateConfig) in <lambda>()
166 signatureApi.preFiltered && !strip, in <lambda>()
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py591 apk = apk_target.split(_XML_PUSH_DELIM, 1)[0].strip()
635 name = tag.attrib.get(_XML_NAME, '').strip()
636 value = tag.attrib.get(_XML_VALUE, '').strip()
655 fqcn = class_attr.attrib['class'].strip()
684 target = line.strip()
691 targets |= _get_vts_push_group_targets(line.strip(), rel_out_dir)
693 sanitized_target = target.split(_XML_PUSH_DELIM, 1)[0].strip()
709 value = tag.attrib[_XML_VALUE].strip()
710 name = tag.attrib[_XML_NAME].strip()
741 target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_power_test_utils.py88 gE_old = line.strip('\n')
89 gEDTIM_old = line.strip(ENABLED_MODULATED_DTIM).strip('\n')
91 gM_old = line.strip('\n')
92 gMDTIM_old = line.strip(MAX_MODULATED_DTIM).strip('\n')
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dhttp.py62 config_str = att_req.read().decode('utf-8').strip()
120 att_resp = att_req.read().decode('utf-8').strip()
149 att_resp = att_req.read().decode('utf-8').strip()
/tools/external_updater/tests/
Dgitrepo.py55 return self.run(["rev-parse", "HEAD"]).strip()
59 return self.run(["rev-list", "-n", "1", ref]).strip()
63 return self.run(["branch", "--show-current"]).strip()
/tools/security/gdb/heap_print/test/
Dtest_heap_print_script.py6 return int(n_str.split("=")[1].strip())
91 data = malloc_ptr_str.split("\n")[2].strip()
108 data = new_ptr_array_str.split("\n")[2].strip()
/tools/asuite/atest/
Datest_integration_tests.py160 if not test.strip() or test.strip().startswith('#'):
162 test_func_name, test_func = create_test_method(test.strip(), LOG_PATH)
Datest_utils.py300 sys.stdout.write('%s' % line.strip())
1350 name = tag.attrib['name'].strip()
1353 value = tag.attrib['value'].strip()
1372 name = tag.attrib['name'].strip()
1374 key = tag.attrib['key'].strip()
1376 value = tag.attrib['value'].strip()
1395 name = tag.attrib['name'].strip()
1417 name = tag.attrib['name'].strip()
1419 key = tag.attrib['key'].strip()
1421 value = tag.attrib['value'].strip()
[all …]
/tools/test/connectivity/acts_tests/tests/google/power/bt/
DPowerBLEadvertiseTest.py54 adv_power_level).name.strip('ADVERTISE').strip('_')
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/
Dapollo_log_decoder.py31 key = element[0].strip()
32 value = element[1].strip()
/tools/test/connectivity/acts_tests/tests/google/gnss/
DLabGnssPowerSweepTest.py128 l5_engaging_rate = float(tmp.strip('%'))
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/fuchsia/bt/
Dcommand_input.py2400 peer_id = int(line.strip())
2445 info = line.strip().split()
2471 remote = line.strip()
2492 remote = line.strip()
2512 remote = line.strip()
2531 call_id = int(line.strip())
2550 call_id = int(line.strip())
2569 call_id = int(line.strip())
2588 call_id = int(line.strip())
2607 value = int(line.strip())
[all …]
/tools/security/gdb/heap_print/
Dheap_print_script.py7 int_address = int(int_address_string.split('=')[1].strip())
15 return str.split("=")[1].strip()
229 result += byte_string.split(':')[1].strip() + " "
/tools/acloud/setup/
Dsetup_common.py142 installed_ver = match.group("installed_ver").strip()
146 candidate_ver = match.group("candidate_ver").strip()
/tools/tradefederation/core/res/perfetto/
Drecord_android_trace476 lines = probe.communicate()[0].decode().strip().split('\n')
477 lines = [x.strip() for x in lines] # To strip \r(s) on Windows.
524 on_device_config = mktmp.communicate()[0].decode().strip().strip()
560 proc_out = proc.communicate()[0].decode().strip()
596 poll_res = poll.communicate()[0].decode().strip()
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py112 cmd_str.strip(self.tx_cmd_separator)
136 ret_text = ret_text.strip(self.tx_cmd_separator +
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dmodem_logs.py73 res = dut.adb.getprop(_MODEM_PILOT_ENABLE_PROP_NAME).strip()
101 res = dut.adb.getprop(_MODEM_PILOT_ENABLE_PROP_NAME).strip()
/tools/treble/split/
Dmanifest_split.py184 repo_list = [line.strip().split(" : ") for line in repo_list_lines if line.strip()]
297 ] + list(modules_shard)).decode().strip("\n").split("\n")))
300 path = path.strip()
311 return {path.strip() for path in inputs if input_allowed(path)}
333 ]).decode().strip("\n").split("\n"))
/tools/external_updater/
Dgit_utils.py94 text=True).stdout.strip()
103 text=True).stdout.strip()
119 return datetime.datetime.fromtimestamp(int(out.strip()))
127 stripped = [line.strip() for line in lines]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlogserial.py123 adprop = m.group('adprop').strip()
151 m.group().strip().split('\\')[2])
321 logging.info('cmd [{}] sent.'.format(command.strip()))
387 data = data.strip()

123456