Home
last modified time | relevance | path

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

12

/system/core/adb/
Dtest_adb.py117 unittest.assertEqual(output.strip(),
399 err.output.strip(),
414 self.assertEqual(output.strip(), b"device")
444 output.strip(),
459 self.assertEqual(output.strip(), b"device")
466 self.assertEqual(output.strip(), b"error: closed")
472 self.assertEqual(output.strip(), b"device")
478 output.strip(),
486 err.output.strip(),
498 return [x.split("\t") for x in output.decode("utf8").strip().splitlines()[1:]]
[all …]
Dtest_device.py47 was_root = self.device.shell(['id', '-un'])[0].strip() == 'root'
64 was_root = self.device.shell(['id', '-un'])[0].strip() == 'root'
97 self.assertEqual('', msg.strip(),
120 self.assertEqual('', msg.strip())
134 self.assertEqual('', msg.strip(),
149 self.assertEqual('', msg.strip())
152 serialno = subprocess.check_output(self.device.adb_cmd + ['get-serialno']).strip()
155 self.assertEqual('', msg.strip(),
168 self.assertEqual('', msg.strip())
171 self.assertEqual('', self.device.forward_list().strip(),
[all …]
/system/core/healthd/
DAndroid.mk5 ifeq ($(strip $(BOARD_CHARGER_NO_UI)),true)
10 ifneq ($(strip $(LOCAL_CHARGER_NO_UI)),true)
/system/sepolicy/tests/
Dfc_sort.py62 path = split[0].strip()
63 context = split[-1].strip()
66 fileType = split[1].strip()
78 node = CreateNode(line.strip())
/system/tools/aidl/build/
Daidl_to_jni.py82 stripped_line = line.strip()
83 output_file.write(convert_method(line.strip()))
/system/core/fastboot/fuzzy_fastboot/example/
Dchecksum_parser.py29 infos = [s.strip() for s in info.splitlines()]
/system/vold/bench/
Dbenchgen.py60 name = name.strip('<>"')
68 path = path.strip(">")
98 args.append(arg.strip())
103 args.append(arg.strip())
/system/bt/tools/scripts/
Ddump_metrics_ascii.py131 stdout = stdout.strip()
132 stderr = stderr.strip()
Dyapf_checker.py65 logging.error(result.stdout.decode('utf-8').strip())
Dbtsnooz.py154 base64_string += line.strip()
/system/extras/tests/bootloader/
Dbootctl.py61 return self._exec("get-suffix " + str(slot))[1].strip()
/system/core/libcutils/
Dfs_config.cpp227 static size_t strip(const char* path, size_t len, const char suffix[]) { in strip() function
242 len = strip(target_out_path, len, "/"); in fs_config_open()
243 len = strip(target_out_path, len, "/system"); in fs_config_open()
/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py324 line = lines[i].strip()
353 function_names.append(line[:break_pos].strip())
407 filename = lines[i][pos:].strip()
416 strs = (lines[i].strip()).split()
448 items = lines[i].strip().split(' = ')
Dreport.py150 if not line.strip('| \t'):
157 line = line.strip('| \t')
168 line = line.strip('|- \t')
Dtest_monitor.py92 tests = [x.strip() for x in res.stdout.split('\n') if x.strip()]
167 items = line.strip().split()
Dutils.py325 log_fatal('unsupported architecture: %s' % output.strip())
522 for line in stdoutdata.strip().split('\n'):
523 line = line.strip()
530 cur_function_name = line.strip()
794 section_name = result.group(1).strip()
Dtest.py166 return self.adb.get_property('ro.product.cpu.abilist32').strip().split(',')[0]
541 'shell', 'pidof', 'com.example.simpleperf.simpleperfexamplepurejava']).strip()
1214 expected_files.append(items[0].strip())
1217 expected_functions.append(line.strip())
1520 strip = find_tool_path('strip', arch='arm')
1521 self.assertIsNotNone(strip)
1535 self.run_cmd([strip, '--strip-all', '-o', source_file, origin_file])
1540 self.run_cmd([strip, '--strip-debug', '-o', source_file, origin_file])
/system/chre/build/arch/
Dhexagon.mk90 TARGET_CFLAGS += -m$(strip $(HEXAGON_ARCH))
/system/core/init/
Dcompare-bootcharts.py123 proc_name = segs[1].strip('()')
/system/extras/brillo_config/
DAndroid.mk84 ifeq ($(strip $(HAS_BUILD_NUMBER)),true)
/system/bt/gd/cert/
Dasync_subprocess_logger.py90 print("{}{}".format(loggableTag, line.strip()))
/system/sepolicy/tools/
Dpost_process_mac_perms48 if err and err.strip():
/system/chre/build/nanoapp/
Dapp.mk25 NANOAPP_VERSION := $(strip $(NANOAPP_VERSION))
/system/core/libbacktrace/
DAndroid.bp153 strip: {
/system/extras/simpleperf/runtest/
Druntest.py441 if not line.strip('| \t'):
444 function_name = line.strip('| \t')
457 line = line.strip('|- \t')

12