Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 140) sorted by relevance

123456

/system/bt/test/
Dgen_coverage.py153 os.path.join(test_name, "index.html") + "\'>" + test_name +
178 source_file = os.path.join(os.path.join(WORKING_DIR, tests[0]['test_name']), "style.css")
179 dest_file = os.path.join(WORKING_DIR, "style.css")
183 f = open(os.path.join(WORKING_DIR, "index.html"), "w")
191 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name)
197 profraw_path = os.path.join(WORKING_DIR, os.path.join(test_name, profraw_file_name))
216 cmd.append(os.path.join(get_android_root_or_die(), LLVM_MERGE + " merge "))
218 test_working_dir = os.path.join(WORKING_DIR, test_name);
219 cmd.append(os.path.join(test_working_dir, test_name + ".profraw"))
220 profdata_file = os.path.join(test_working_dir, test_name + ".profdata")
[all …]
Drun_host_unit_tests.py66 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH)
75 parent_path = os.path.abspath(os.path.join(current_path, os.pardir))
91 value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP,
109 value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist')
120 test_root = os.path.join(android_host_out, 'nativetest64')
122 test_root = os.path.join(android_host_out, 'nativetest')
131 test_path = os.path.join(os.path.join(test_root, test_name), test_name)
138 log_output_path = os.path.join(dist_dir, 'gtest/{0}_test_details.xml'
205 log_output_path = os.path.join(dist_dir, 'gtest/coverage')
206 cmd_path = os.path.join(get_android_root_or_die(), 'system/bt/test')
[all …]
/system/bt/gd/os/linux_generic/
Dreactor_unittest.cc124 reactor_thread.join(); in TEST_F()
130 reactor_thread.join(); in TEST_F()
131 another_thread.join(); in TEST_F()
139 reactor_thread.join(); in TEST_F()
161 reactor_thread.join(); in TEST_F()
176 reactor_thread.join(); in TEST_F()
195 reactor_thread.join(); in TEST_F()
209 reactor_thread.join(); in TEST_F()
231 reactor_thread.join(); in TEST_F()
239 reactor_thread.join(); in TEST_F()
[all …]
/system/apex/apexer/
Dapexer.py87 binary_path = os.path.join(path, binary)
90 raise Exception("Failed to find binary " + binary + " in path " + ":".join(tool_path_list))
99 print("Running: " + " ".join(cmd))
107 assert p.returncode is 0, "Failed to execute: " + " ".join(cmd)
116 size += RoundUp(os.path.getsize(os.path.join(dirpath, f)), BLOCK_SIZE)
216 content_dir = os.path.join(work_dir, 'content')
222 manifests_dir = os.path.join(work_dir, 'manifests')
224 manifest_file = os.path.join(manifests_dir, 'apex_manifest.json')
235 img_file = os.path.join(content_dir, 'apex_payload.img')
260 compiled_file_contexts = os.path.join(work_dir, 'file_contexts.bin')
[all …]
/system/ca-certificates/google/
Dextract_from_pem.py35 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
42 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
57 return ':'.join(re.findall(r'..', x509.get_fingerprint('sha1').zfill(40)))
72 os.remove(os.path.join(args.output_dir, existing_file))
/system/sepolicy/build/
Dbuild_sepolicy.py38 command_log = ' '.join(args) # For args as a sequence.
64 checkpolicy_cmd += [os.path.join(args.android_host_path, 'checkpolicy'),
68 run_host_command(' '.join(checkpolicy_cmd), shell=True)
77 run_host_command([os.path.join(args.android_host_path, 'version_policy'),
85 merge_cmd = [os.path.join(args.android_host_path, 'secilc'),
/system/tools/hidl/c2hal/test/
Dbuild_all.py20 from os.path import isfile, join as path_join
34 print("Success: ", ", ".join(success))
35 print("Failure: ", ", ".join(failure))
/system/extras/simpleperf/scripts/
Dtest.py66 INFERNO_SCRIPT = os.path.join(get_script_dir(), "inferno.bat" if is_windows() else "./inferno.sh")
85 from_testdata_path = os.path.join('..', 'testdata')
86 from_demo_path = os.path.join('..', 'demo')
100 shutil.copy(os.path.join(from_testdata_path, testdata), testdata_path)
102 shutil.copytree(os.path.join(from_demo_path, demo), os.path.join(testdata_path, demo))
104 shutil.copy(os.path.join(from_script_testdata_path, f), testdata_path)
131 cls.example_path = os.path.join("testdata", example_name)
136 cls.apk_path = os.path.join(root, 'app-profiling.apk')
433 summary_file = os.path.join("annotated_files", "summary")
474 self.run_cmd(['python', os.path.join(saved_dir, 'app_profiler.py'),
[all …]
Dutils.py90 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
93 binary_path = os.path.join(arch_dir, binary_name)
100 dirname = os.path.join(get_script_dir(), 'bin')
106 dirname = os.path.join(dirname, 'windows')
110 dirname = os.path.join(dirname, 'darwin')
112 dirname = os.path.join(dirname, 'linux')
113 dirname = os.path.join(dirname, 'x86_64' if sys.maxsize > 2 ** 32 else 'x86')
114 binary_path = os.path.join(dirname, binary_name)
193 path = os.path.join(ndk_path, path_in_ndk)
198 path = os.path.join('..', path_in_ndk)
[all …]
Dbinary_cache_builder.py108 build_id = self._read_build_id(os.path.join(root, filename))
114 self._copy_to_binary_cache(os.path.join(root, filename),
123 target_file = os.path.join(self.binary_cache_dir, target_file)
161 binary_cache_file = os.path.join(self.binary_cache_dir, binary_cache_file)
208 file_path = os.path.join(self.binary_cache_dir, 'kallsyms')
Drun_simpleperf_on_device.py33 shell_cmd = 'cd /data/local/tmp && ./simpleperf ' + ' '.join(sys.argv[1:])
/system/core/adb/
Dtest_device.py454 large_input = '\n'.join(c * 100 for c in (string.ascii_letters +
480 script = ";".join([x.strip() for x in script.strip().splitlines()])
516 thread.join()
689 full_path = posixpath.join(in_dir, base_name)
746 remote_path = posixpath.join(self.DEVICE_TEMP_DIR,
767 empty_dir_path = os.path.join(host_dir, 'empty')
772 remote_path = os.path.join(self.DEVICE_TEMP_DIR, "empty")
795 with open(os.path.join(host_dir, 'foo'), 'w') as f:
798 symlink_path = os.path.join(host_dir, 'symlink')
805 ['cat', posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')])
[all …]
/system/core/storaged/tools/
Dranker.py106 task = " ".join(words[1:i])
124 uid = " ".join(words[:i])
165 uid_stat = " ".join([str(uid_io) for uid_io in uids[uid][0]])
169 task_stat = " ".join([str(task_io) for task_io in uids[uid][1][task]])
/system/extras/ext4_utils/
Dtest_mkuserimg_mke2fs.py132 self.assertEqual(' '.join(mke2fs_cmd), ' '.join(expected_mke2fs_cmd))
134 self.assertEqual(' '.join(e2fsdroid_cmd),
135 ' '.join(expected_e2fsdroid_cmd))
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsimple_link_layer_socket.py64 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \
69 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
111 joined_args = ''.join(arg for arg in args)
Dsend_simple_commands.py78 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \
83 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
125 joined_args = ''.join(arg for arg in args)
Dtest_channel.py52 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \
57 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
103 encoded_args = chr(args_size) + ''.join(chr(len(arg)) + arg for arg in args)
/system/extras/simpleperf/
DIOEventLoop_test.cpp58 thread.join(); in TEST()
97 thread.join(); in TEST()
120 thread.join(); in TEST()
178 thread.join(); in TEST()
/system/core/debuggerd/
Ddebuggerd.cpp107 redirect_thread.join(); in main()
111 redirect_thread.join(); in main()
/system/sepolicy/tests/
Dsearchpolicy.py67 " ".join(r.perms) + " };")
70 " ".join(r.perms) + ";")
Dtreble_sepolicy_tests.py207 ret += " ".join(str(x) for x in sorted(violators)) + "\n"
220 ret += " ".join(str(x) for x in sorted(violators)) + "\n"
245 ret += " ".join(str(x) for x in sorted(violators)) + "\n\n"
271 ret += " ".join(str(x) for x in sorted(violators)) + "\n\n"
291 ret += " ".join(str(x) for x in sorted(violators)) + "\n"
/system/core/base/
Dproperties_test.cpp143 thread.join(); in TEST()
178 thread.join(); in TEST()
198 thread.join(); in TEST()
213 thread.join(); in TEST()
/system/update_engine/scripts/
Dpayload_info.py46 ' '.join('%.2x' % ord(c) for c in chunk) +
49 ''.join(c if 32 <= ord(c) < 127 else '.' for c in chunk))
140 ext_str = ' '.join(
143 ext_str = '\n '.join(textwrap.wrap(ext_str, 74))
/system/bt/embdrv/sbc/decoder/srce/
Ddecoder-private.c140 common->frameInfo.join = *b++; in OI_SBC_ReadScalefactors()
142 common->frameInfo.join = 0; in OI_SBC_ReadScalefactors()
158 common->frameInfo.join = HIGH(f = *b++); in OI_SBC_ReadScalefactors()
/system/core/init/
Dperfboot.py167 yield ''.join(buf)
240 '|'.join(tags))
305 f.write('\t'.join(labels) + '\n')
317 line.write('\t'.join(str(t) for t in values))
422 for apk in glob.glob(os.path.join(apk_dir, '*.apk')):

123456