/system/bt/test/ |
D | gen_coverage.py | 153 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 …]
|
D | run_host_unit_tests.py | 66 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/ |
D | reactor_unittest.cc | 124 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/ |
D | apexer.py | 87 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/ |
D | extract_from_pem.py | 35 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/ |
D | build_sepolicy.py | 38 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/ |
D | build_all.py | 20 from os.path import isfile, join as path_join 34 print("Success: ", ", ".join(success)) 35 print("Failure: ", ", ".join(failure))
|
/system/extras/simpleperf/scripts/ |
D | test.py | 66 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 …]
|
D | utils.py | 90 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 …]
|
D | binary_cache_builder.py | 108 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')
|
D | run_simpleperf_on_device.py | 33 shell_cmd = 'cd /data/local/tmp && ./simpleperf ' + ' '.join(sys.argv[1:])
|
/system/core/adb/ |
D | test_device.py | 454 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/ |
D | ranker.py | 106 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/ |
D | test_mkuserimg_mke2fs.py | 132 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/ |
D | simple_link_layer_socket.py | 64 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)
|
D | send_simple_commands.py | 78 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)
|
D | test_channel.py | 52 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/ |
D | IOEventLoop_test.cpp | 58 thread.join(); in TEST() 97 thread.join(); in TEST() 120 thread.join(); in TEST() 178 thread.join(); in TEST()
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 107 redirect_thread.join(); in main() 111 redirect_thread.join(); in main()
|
/system/sepolicy/tests/ |
D | searchpolicy.py | 67 " ".join(r.perms) + " };") 70 " ".join(r.perms) + ";")
|
D | treble_sepolicy_tests.py | 207 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/ |
D | properties_test.cpp | 143 thread.join(); in TEST() 178 thread.join(); in TEST() 198 thread.join(); in TEST() 213 thread.join(); in TEST()
|
/system/update_engine/scripts/ |
D | payload_info.py | 46 ' '.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/ |
D | decoder-private.c | 140 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/ |
D | perfboot.py | 167 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')):
|