Home
last modified time | relevance | path

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

1234567

/system/bt/gd/cert/
Dbluetooth_packets_python3_setup.py32 PYBIND11_INCLUDE_DIR = os.path.join(ANDROID_BUILD_TOP, "external/python/pybind11/include")
33 GD_DIR = os.path.join(ANDROID_BUILD_TOP, "system/bt/gd")
34 BT_PACKETS_GEN_DIR = os.path.join(ANDROID_BUILD_TOP,
36 BT_PACKETS_PY3_GEN_DIR = os.path.join(ANDROID_BUILD_TOP,
40 os.path.join(GD_DIR, "l2cap/fcs.cc"),
41 os.path.join(GD_DIR, "packet/bit_inserter.cc"),
42 os.path.join(GD_DIR, "packet/byte_inserter.cc"),
43 os.path.join(GD_DIR, "packet/byte_observer.cc"),
44 os.path.join(GD_DIR, "packet/iterator.cc"),
45 os.path.join(GD_DIR, "packet/fragmenting_inserter.cc"),
[all …]
Dgd_device.py167 self.backing_process_log_path = os.path.join(self.log_path_base,
169 if "--btsnoop=" not in " ".join(cmd):
170 … cmd.append("--btsnoop=%s" % os.path.join(self.log_path_base, '%s_btsnoop_hci.log' % self.label))
196 logging.debug("Running %s" % " ".join(self.cmd))
204 …erts.assert_true(self.backing_process, msg="Cannot start backing_process at " + " ".join(self.cmd))
207 msg="backing_process stopped immediately after running " + " ".join(self.cmd))
351 cwd=os.path.join(get_gd_root()))
363 cwd=os.path.join(get_gd_root()))
407 …self.push_or_die(os.path.join(get_gd_root(), "target", "bluetooth_stack_with_facade"), "system/bin…
408 … self.push_or_die(os.path.join(get_gd_root(), "target", "libbluetooth_gd.so"), "system/lib64")
[all …]
Dos_utils.py129 log_tail_20 = "".join(last_20_lines)
133 crash_snippet += "\n".join(crash_log_lines)
136 return "".join(asan_lines), log_tail_20
/system/bt/test/
Dgen_coverage.py156 …f.write("<tr class='light-row'><td><pre><a href=\'" + os.path.join(test_name, "index.html") + "\'>…
181 source_file = os.path.join(os.path.join(WORKING_DIR, tests[0]['test_name']), "style.css")
182 dest_file = os.path.join(WORKING_DIR, "style.css")
186 f = open(os.path.join(WORKING_DIR, "index.html"), "w")
194 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name)
200 profraw_path = os.path.join(WORKING_DIR, os.path.join(test_name, profraw_file_name))
220 cmd.append(os.path.join(get_android_root_or_die(), LLVM_MERGE + " merge "))
222 test_working_dir = os.path.join(WORKING_DIR, test_name)
223 cmd.append(os.path.join(test_working_dir, test_name + ".profraw"))
224 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)
72 parent_path = os.path.abspath(os.path.join(current_path, os.pardir))
88 …value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP, SOONG_UI_BASH), '--dumpvar-mode',…
103 value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist')
114 test_root = os.path.join(android_host_out, 'nativetest64')
116 test_root = os.path.join(android_host_out, 'nativetest')
125 test_path = os.path.join(os.path.join(test_root, test_name), test_name)
132 log_output_path = os.path.join(dist_dir, 'gtest/{0}_test_details.xml'.format(test_name))
195 log_output_path = os.path.join(dist_dir, 'gtest/coverage')
196 cmd_path = os.path.join(get_android_root_or_die(), 'system/bt/test')
[all …]
/system/apex/apexer/
Dapexer_test.py38 TEST_PRIVATE_KEY = os.path.join("testdata", "com.android.example.apex.pem")
39 TEST_X509_KEY = os.path.join("testdata", "com.android.example.apex.x509.pem")
40 TEST_PK8_KEY = os.path.join("testdata", "com.android.example.apex.pk8")
41 TEST_AVB_PUBLIC_KEY = os.path.join("testdata", "com.android.example.apex.avbpubkey")
67 print("\nRunning: \n%s\n" % " ".join(args))
69 logger.info(" Running: \"%s\"", " ".join(args))
76 host_command_dir = os.path.join(host_build_top, "out/soong/host/linux-x86/bin")
77 args[0] = os.path.join(host_command_dir, args[0])
186 file_path = os.path.join(dir_name, i)
210 if os.path.exists(os.path.join(dir_name, i)):
[all …]
Dapexer.py178 binary_path = os.path.join(path, binary)
182 ':'.join(tool_path_list))
192 print('Running: ' + ' '.join(cmd))
200 assert p.returncode is 0, 'Failed to execute: ' + ' '.join(cmd)
210 path = os.path.join(dirpath, f)
457 content_dir = os.path.join(work_dir, 'content')
463 manifests_dir = os.path.join(work_dir, 'manifests')
465 copyfile(args.manifest, os.path.join(manifests_dir, 'apex_manifest.pb'))
468 copyfile(args.manifest_json, os.path.join(manifests_dir, 'apex_manifest.json'))
480 img_file = os.path.join(content_dir, 'apex_payload.img')
[all …]
/system/bt/tools/scripts/
Dyapf_checker.py54 yapf_dir = os.path.join(os.environ[ANDROID_BUILD_TOP_KEY], DEFAULT_YAPF_DIR)
55 yapf_binary = os.path.join(yapf_dir, 'yapf')
67 logging.error('To re-run the format command:\n\n' ' %s\n' % ' '.join(full_yapf_command))
68 yapf_inplace_format = ' '.join(
Ddump_hearingaid_audio.py98 debug_str = debug_str + "\n" + "|".join(data_list_str) + "\n"
114 debug_str = debug_str + "|".join(data_list_content) + "\n"
191 long_uuid = "".join(long_uuid_list)
268 peer_address = "_".join(peer_address_list)
356 audio_file_name = os.path.join(folder, "-".join(file_name_list) + file_type)
359 debug_file_name = os.path.join(folder, file_prefix + "-".join(file_name_list) + ".txt")
361 audio_file_name = "-".join(file_name_list) + file_type
364 debug_file_name = file_prefix + "-".join(file_name_list) + ".txt"
/system/bt/gd/os/linux_generic/
Dreactor_unittest.cc171 reactor_thread.join(); in TEST_F()
177 reactor_thread.join(); in TEST_F()
178 another_thread.join(); in TEST_F()
186 reactor_thread.join(); in TEST_F()
208 reactor_thread.join(); in TEST_F()
223 reactor_thread.join(); in TEST_F()
243 reactor_thread.join(); in TEST_F()
262 reactor_thread.join(); in TEST_F()
281 reactor_thread.join(); in TEST_F()
298 reactor_thread.join(); in TEST_F()
[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/core/adb/
Dtest_device.py483 large_input = b'\n'.join(characters)
509 script = ";".join([x.strip() for x in script.strip().splitlines()])
545 thread.join()
748 full_path = posixpath.join(in_dir, base_name)
816 remote_path = posixpath.join(self.DEVICE_TEMP_DIR,
837 empty_dir_path = os.path.join(host_dir, 'empty')
842 remote_path = os.path.join(self.DEVICE_TEMP_DIR, "empty")
865 with open(os.path.join(host_dir, 'foo'), 'w') as f:
868 symlink_path = os.path.join(host_dir, 'symlink')
875 ['cat', posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')])
[all …]
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp61 thread.join(); in TEST_F()
70 thread.join(); in TEST_F()
85 thread.join(); in TEST_F()
/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/simpleperf/scripts/
Dutils.py101 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
104 binary_path = os.path.join(arch_dir, binary_name)
111 dirname = os.path.join(get_script_dir(), 'bin')
117 dirname = os.path.join(dirname, 'windows')
121 dirname = os.path.join(dirname, 'darwin')
123 dirname = os.path.join(dirname, 'linux')
124 dirname = os.path.join(dirname, 'x86_64' if sys.maxsize > 2 ** 32 else 'x86')
125 binary_path = os.path.join(dirname, binary_name)
202 path = os.path.join(ndk_path, path_in_ndk)
207 path = os.path.join('..', path_in_ndk)
[all …]
Dbinary_cache_builder.py108 build_id = self._read_build_id(os.path.join(root, filename))
112 self._copy_to_binary_cache(os.path.join(root, filename),
121 target_file = os.path.join(self.binary_cache_dir, target_file)
159 binary_cache_file = os.path.join(self.binary_cache_dir, binary_cache_file)
206 file_path = os.path.join(self.binary_cache_dir, 'kallsyms')
Dtest.py72 INFERNO_SCRIPT = os.path.join(get_script_dir(), "inferno.bat" if is_windows() else "./inferno.sh")
106 self.testdata_dir = os.path.join(self.cur_dir, 'testdata')
107 self.test_base_dir = os.path.join(self.cur_dir, 'test_results')
116 return os.path.join(self.testdata_dir, testdata_name.replace('/', os.sep))
120 return os.path.join(self.test_base_dir, test_name)
124 return os.path.join(self.script_dir, script_name)
149 source_dirs = [os.path.join('..', 'testdata'), 'script_testdata',
150 os.path.join('..', 'demo'), 'testdata']
151 source_dirs = [os.path.join(self.script_dir, x) for x in source_dirs]
156 source = os.path.join(source_dir, name)
[all …]
/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/gd/common/
Dblocking_queue_unittest.cc85 waiter_thread.join(); in TEST_F()
104 waiter_thread.join(); in TEST_F()
117 waiter_thread.join(); in TEST_F()
/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)
/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()

1234567