Searched refs:strip (Results 1 – 25 of 78) sorted by relevance
1234
/test/vts-testcase/vndk/ |
D | utils.py | 73 if err.strip() or return_code != 0: 76 return out.strip() 166 if line.strip().startswith(line_prefix): 168 return line.strip()[len(line_prefix):] 195 if err.strip() or return_code != 0: 197 return "uid=0(root)" in out.strip() 202 if out.strip() or err.strip(): 218 if return_code != 0 or err.strip(): 221 return out.strip() 247 if return_code != 0 or err.strip(): [all …]
|
/test/vts-testcase/hal/treble/platform_version/ |
D | vts_treble_platform_version_test.py | 41 self.assertTrue(len(out.strip()) > 0, 45 len(out.strip()) == 0): 49 result = out.strip() 60 len(out.strip()) == 0): 64 result = out.strip()
|
D | VtsTreblePlatformVersionTest.py | 41 asserts.assertTrue(len(results[const.STDOUT][0].strip()) > 0, 45 len(results[const.STDOUT][0].strip()) == 0): 49 result = results[const.STDOUT][0].strip() 60 len(results[const.STDOUT][0].strip()) == 0): 64 result = results[const.STDOUT][0].strip()
|
/test/vts/utils/python/common/ |
D | list_utils.py | 40 strip=False, argument 61 do_strip = lambda s: s.strip() if strip else s 212 lines = map(lambda line: line.strip(), lines) 215 lines = filter(lambda line: not line.strip().startswith(comment_char),
|
/test/vts/testcases/host/shell/ |
D | SampleShellTest.py | 41 asserts.assertEqual(results[const.STDOUT][0].strip(), "/system/bin/ls") 52 asserts.assertEqual(results[const.STDOUT][index].strip(), 63 asserts.assertEqual(results[const.STDOUT][0].strip(), 78 asserts.assertEqual(results[const.STDOUT][0].strip(), directory) 90 asserts.assertEqual(results[const.STDOUT][0].strip(), var_value) 111 asserts.assertEqual(results[const.STDOUT][0].strip(),
|
/test/vts/tools/build/utils/ |
D | vts_package_utils.mk | 22 $(eval _built_files := $(strip $(ALL_MODULES.$(m).BUILT_INSTALLED)\ 24 $(eval _module_class_folder := $($(strip MODULE_CLASS_$(word 1, $(strip $(ALL_MODULES.$(m).CLASS)\ 48 $(eval _built_files := $(strip $(ALL_MODULES.$(m).BUILT_INSTALLED)\ 74 $(strip \
|
/test/vts-testcase/kernel/ltp/testcase/tools/ |
D | ltp_test_cases.py | 65 item.strip() 123 line = line.strip() 141 cmd = cmd.strip() 272 lines_gen = (line.strip() for line in f) 291 line = line.strip() 301 [testsuite, testname_modified, line[len(testname):].strip()]))
|
/test/vts/testcases/codelab/hello_world/ |
D | VtsCodelabHelloWorldTest.py | 38 asserts.assertEqual(results[const.STDOUT][0].strip(), 49 asserts.assertEqual(results[const.STDOUT][0].strip(), "hello") 50 asserts.assertEqual(results[const.STDOUT][1].strip(), "world")
|
/test/framework/harnesses/host_controller/utils/usb/ |
D | usb_utils.py | 54 device_serial = serial.split("=")[1].strip().strip("'") 55 ret[device_serial] = os.path.join("/dev", devname.strip())
|
/test/vts/testcases/template/gtest_binary_test/ |
D | gtest_binary_test.py | 117 if not len(line.strip()): 120 test_name = line.split('#')[0].strip() 131 test_suite = line.strip() 179 if stderr and stderr.strip(): 201 if stdout and stdout.strip(): 226 xml_str = xml_str.strip()
|
/test/vts/utils/python/coverage/ |
D | sancov_utils.py | 106 serial = dut.adb.shell('getprop ro.serialno').strip() 115 pid.strip() 126 name.strip() for name in processes 127 if name.strip() and not name.endswith(' (deleted)') 152 serial = dut.adb.shell('getprop ro.serialno').strip() 286 serial = dut.adb.shell('getprop ro.serialno').strip() 287 product = dut.adb.shell('getprop ro.build.product').strip()
|
/test/vts/testcases/host/shell_binary_crash_test/ |
D | ShellBinaryCrashTest.py | 45 asserts.assertEqual(results[const.STDOUT][1].strip(), "") 60 asserts.assertEqual(results[const.STDOUT][1].strip(), "") 79 asserts.assertEqual(results[const.STDOUT][0].strip(),
|
/test/vts-testcase/kernel/ltp/ |
D | test_cases_parser.py | 61 item.strip() 176 lines_gen = (line.strip() for line in f) 195 line = line.strip() 205 [testsuite, testname_modified, line[len(testname):].strip()]))
|
/test/vts/testcases/host/kernel_proc_file_api_test/ |
D | proc_utils.py | 83 if r_code != 0 or err.strip(): 86 return out.strip() 151 if r_code != 0 or err.strip():
|
/test/vts/testcases/vts_selftest/test_framework/base_test/ |
D | VtsSelfTestBaseTest.py | 81 asserts.assertEqual(results[const.STDOUT][0].strip(), 89 asserts.assertEqual(results[const.STDOUT][0].strip(), 'hello') 90 asserts.assertEqual(results[const.STDOUT][1].strip(), 'world')
|
/test/vts/utils/python/controllers/ |
D | android_device.py | 166 clean_lines = str(device_list_str, 'utf-8').strip().split('\n') 169 tokens = line.strip().split('\t') 457 out = self.fastboot.getvar(_FASTBOOT_VAR_HAS_VBMETA).strip() 472 out = self.fastboot.getvar("is-userspace").strip() 480 id_str = self.adb.shell("id -un").strip().decode("utf-8") 500 out = self.fastboot.getvar("product").strip() 578 out = out.strip() 647 value_unit = out.split(':')[-1].strip().split(' ') 699 return response.strip() 735 if line.strip().startswith(line_prefix): [all …]
|
/test/framework/harnesses/host_controller/utils/gcp/ |
D | gcs_utils.py | 34 return sh_stdout.strip() 84 return stdout.strip("\n").split("\n") if ret_code == 0 else []
|
/test/framework/build/utils/ |
D | vtslab_package_utils.mk | 22 $(eval _built_files := $(strip $(ALL_MODULES.$(m).BUILT_INSTALLED)\ 40 $(eval _built_files := $(strip $(ALL_MODULES.$(m).BUILT_INSTALLED)\
|
/test/vts/utils/python/gcs/ |
D | gcs_utils.py | 71 return sh_stdout.strip() 83 return sh_stdout.strip()
|
/test/vts-testcase/vndk/golden/ |
D | dump_abi.py | 44 return stdout.strip() 62 return [line.split("=", 1)[1].strip("'") for line in stdout.splitlines()] 87 lib_name = line[tag_len:].strip()
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_device.py | 87 if (len(line.strip()) and not (line.startswith("* ") 124 if len(line.strip()): 156 device["product"] = res.split(":")[1].strip() 159 device["product"] = res.split(":")[1].strip()
|
/test/vts/testcases/host/fastboot/ |
D | VtsFastbootVerification.py | 79 out = self.dut.fastboot.getvar("super-partition-name").strip() 105 cpu_abi = first_line[len("cpu-abi: "):].strip()
|
/test/mlts/benchmark/jni/ |
D | Android.bp | 41 strip: { 87 strip: {
|
/test/vti/test_serving/configs/global/ |
D | Android.mk | 20 dirs := $(strip \ 36 dirs := $(strip \
|
/test/vts/utils/python/file/ |
D | target_file_utils.py | 95 return filter(None, stdout.strip().split("\n")) 143 accessBits = results[const.STDOUT][0].strip()
|
1234