/packages/modules/Bluetooth/system/test/ |
D | gen_coverage.py | 156 …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 …]
|
D | run_host_unit_tests.py | 67 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH) 73 parent_path = os.path.abspath(os.path.join(current_path, os.pardir)) 89 …value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP, SOONG_UI_BASH), '--dumpvar-mode',… 104 value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist') 115 test_root = os.path.join(android_host_out, 'nativetest64') 117 test_root = os.path.join(android_host_out, 'nativetest') 126 test_path = os.path.join(os.path.join(test_root, test_name), test_name) 133 log_output_path = os.path.join(dist_dir, 'gtest/{0}_test_details.xml'.format(test_name)) 196 log_output_path = os.path.join(dist_dir, 'gtest/coverage') 197 cmd_path = os.path.join(get_android_root_or_die(), 'packages/modules/Bluetooth/system/test') [all …]
|
/packages/modules/Bluetooth/ |
D | build.py | 192 self.output_dir = os.path.join(self.bootstrap_dir, 'output') 193 self.platform_dir = os.path.join(self.bootstrap_dir, 'staging') 196 self.install_dir = os.path.join(self.output_dir, 'install') 213 …assert os.path.isfile(os.path.join(self.platform_dir, '.gn')), 'Platform dir does not have .gn at … 233 return ' '.join(rust_flags) 241 cargo_home = os.path.join(self.output_dir, 'cargo_home') 243 os.makedirs(os.path.join(cargo_home, 'bin'), exist_ok=True) 247 self.env['CARGO_HOME'] = os.path.join(self.output_dir, 'cargo_home') 249 self.env['CXX_ROOT_PATH'] = os.path.join(self.platform_dir, 'bt') 260 log_file = os.path.join(self.output_dir, '{}.log'.format(target)) [all …]
|
/packages/modules/Bluetooth/system/gd/cert/ |
D | bluetooth_packets_python3_setup.py | 32 PYBIND11_INCLUDE_DIR = os.path.join(ANDROID_BUILD_TOP, "external/python/pybind11/include") 33 GD_DIR = os.path.join(ANDROID_BUILD_TOP, "packages/modules/Bluetooth/system/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 …]
|
D | run_topshim | 48 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH) 54 parent_path = os.path.abspath(os.path.join(current_path, os.pardir)) 69 …value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP, SOONG_UI_BASH), '--dumpvar-mode',… 83 value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist') 92 … config_file_path = os.path.join(os.path.join(get_android_root_or_die(), 'out/dist'), config_path) 128 dist_path = os.path.join(get_android_root_or_die(), "out/dist")
|
/packages/modules/Bluetooth/system/gd/rust/facade_proto/ |
D | build.rs | 32 let mut f = fs::File::create(out_dir.join("mod.rs")).unwrap(); in gen_mod_rs() 47 let proto_out_dir = out_dir.join("proto_out"); in main() 48 let grpc_out_dir = out_dir.join("grpc_out"); in main() 63 Ok(dir) => PathBuf::from(dir).join("bt/system"), in main() 66 PathBuf::from(env::current_dir().unwrap()).join("../../..").canonicalize().unwrap() in main() 73 let facade_dir = proto_root.join("blueberry/facade"); in main() 74 let proto_input_files = [facade_dir.join("common.proto")]; in main() 89 facade_dir.join("hci/hci_facade.proto"), in main() 90 facade_dir.join("hci/controller_facade.proto"), in main() 91 facade_dir.join("hal/hal_facade.proto"), in main() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/ |
D | AudioGroupTest.java | 106 mStreamA.join(mGroup); in testTraffic() 109 mStreamB.join(mGroup); in testTraffic() 112 mStreamA.join(null); in testTraffic() 118 mStreamA.join(mGroup); in testTraffic() 129 mStreamA.join(mGroup); in testSetMode() 130 mStreamB.join(mGroup); in testSetMode() 140 mStreamA.join(mGroup); in testAdd() 143 mStreamB.join(mGroup); in testAdd() 146 mStreamA.join(mGroup); in testAdd() 151 mStreamA.join(mGroup); in testRemove() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilderTest.java | 70 String want = String.join("\n", in testLinkLayerInferrence() 89 want = String.join("\n", in testLinkLayerInferrence() 107 want = String.join("\n", in testLinkLayerInferrence() 125 want = String.join("\n", in testLinkLayerInferrence() 142 want = String.join("\n", in testLinkLayerInferrence() 159 want = String.join("\n", in testLinkLayerInferrence() 176 want = String.join("\n", in testLinkLayerInferrence() 205 String want = String.join("\n", in testDefaultNetworkEventSerialization() 236 String want = String.join("\n", in testDhcpClientEventSerialization() 261 String want = String.join("\n", in testDhcpErrorEventSerialization() [all …]
|
/packages/services/Car/car_product/car_ui_portrait/tools/ |
D | export_emulator.py | 12 return os.path.join(os.environ['ANDROID_BUILD_TOP'], path) 15 return os.path.join(os.environ['ANDROID_PRODUCT_OUT'], path) 18 outputDir = os.path.join(outputDir, abi) 22 copy2(fromProductOut('system-qemu.img'), os.path.join(outputDir, 'system.img')) 23 copy2(fromProductOut('vendor-qemu.img'), os.path.join(outputDir, 'vendor.img')) 28 copy2(fromProductOut('ramdisk-qemu.img'), os.path.join(outputDir, 'ramdisk.img')) 33 copytree(fromProductOut('data'), os.path.join(outputDir, 'data'), dirs_exist_ok=True) 34 copy2(fromProductOut('system/build.prop'), os.path.join(outputDir, 'build.prop')) 62 os.makedirs(os.path.join(outputDir, 'android/avd/my_car_avd.avd/'), exist_ok=True) 63 with open(os.path.join(outputDir, 'android/avd/my_car_avd.ini'), 'w') as f: [all …]
|
/packages/modules/Gki/ |
D | download_boot_prebuilt.py | 70 url = os.path.join(url_base, filename) 71 dest_filename = os.path.join(dest_dir, filename) 77 arch_dir = os.path.join(boot_prebuilt, ver, arch) 78 variant_dir = os.path.join(arch_dir, variant) 88 logger.info("Calling: %s", " ".join(args)) 90 shutil.move(os.path.join(variant_dir, boot_img_name), os.path.join(arch_dir, stored_img_name)) 110 boot_prebuilt = os.path.join(ANDROID_BUILD_TOP, BOOT_PREBUILT_REL_DIR) 114 for arch in os.listdir(os.path.join(boot_prebuilt, ver)): 130 success_dirs.append(os.path.join(BOOT_PREBUILT_REL_DIR, ver, arch)) 135 logger.info(" ".join(args))
|
/packages/modules/Bluetooth/system/gd/rust/packets/ |
D | build.rs | 27 let outputted = out_dir.join("../../hci/hci_packets.rs"); in main() 30 out_dir.join(outputted.file_name().unwrap()).as_os_str().to_str().unwrap(), in main() 42 Ok(dir) => PathBuf::from(dir).join("bt/gd"), in generate_packets() 44 Err(_) => PathBuf::from(env::current_dir().unwrap()).join("../..").canonicalize().unwrap(), in generate_packets() 47 let input_files = [gd_root.join("hci/hci_packets.pdl")]; in generate_packets() 48 let outputted = [out_dir.join("../../hci/hci_packets.rs")]; in generate_packets() 52 Ok(dir) => PathBuf::from(dir).join("bin").join("bluetooth_packetgen"), in generate_packets() 84 out_dir.join(outputted[i].file_name().unwrap()).as_os_str().to_str().unwrap(), in generate_packets()
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/_build/ |
D | protoc-gen-custom_grpc | 91 methods = '\n\n '.join([ 92 '\n '.join( 124 methods = '\n\n '.join([ 125 '\n '.join( 153 method_handlers = ' '.join([ 154 '\n '.join( 175 services = '\n'.join(sum([ 179 servicers = '\n'.join(sum([ 183 add_servicer_methods = '\n'.join(sum([ 189 …content='\n'.join(imports) + '\n\n' + services + '\n\n' + servicers + '\n\n' + add_servicer_metho…
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | reactor_unittest.cc | 171 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 …]
|
/packages/modules/Virtualization/tests/hostside/helper/java/android/virt/test/ |
D | CommandRunner.java | 52 fail(join(cmd) + " has failed: " + result); in run() 62 CLog.d(join(cmd) + " has failed (but ok): " + result); in tryRun() 71 join(cmd), timeoutMillis, java.util.concurrent.TimeUnit.MILLISECONDS); in runWithTimeout() 73 fail(join(cmd) + " has failed: " + result); in runWithTimeout() 81 join(cmd), timeoutMillis, java.util.concurrent.TimeUnit.MILLISECONDS); in runForResultWithTimeout() 85 return mDevice.executeShellV2Command(join(cmd)); in runForResult() 92 private static String join(String... strs) { in join() method in CommandRunner 93 return String.join(" ", Arrays.asList(strs)); in join()
|
/packages/modules/common/build/ |
D | mainline_modules_sdks.py | 183 module_types = "\n".join([ 218 file.write("\n".join(header_lines + content_lines) + "\n") 244 return os.path.join(snapshots_dir, f"{sdk_name}-{sdk_version}.zip") 264 self.mainline_sdks_dir = os.path.join(self.out_dir, 269 return os.path.join(self.mainline_sdks_dir, 326 r_snapshot_dir = os.path.join(snapshot_dir, "for-R-build") 329 build_number_file = os.path.join(self.out_dir, "soong/build_number.txt") 333 dest_dir = os.path.join(r_snapshot_dir, apex) 340 bp_file = os.path.join(dest_dir, "sdk_library/Android.bp") 395 snapshot_build_number_file = os.path.join( [all …]
|
D | mainline_modules_sdks_test.py | 83 self.tmp_out_dir = os.path.join(self.tmp_dir, "out") 85 self.tmp_dist_dir = os.path.join(self.tmp_dir, "dist") 112 files.append(os.path.join(rel_dir, f)) 173 r_snaphot_dir = os.path.join(self.tmp_out_dir, 195 abs_path = os.path.join(r_snaphot_dir, path) 274 soong_dir = os.path.join(self.tmp_out_dir, "soong") 276 build_number_file = os.path.join(soong_dir, "build_number.txt") 370 return os.path.join(this_file_without_ext + "_data", relative_path) 388 path = os.path.join(tmp_dir, "Android.bp")
|
/packages/modules/adb/ |
D | test_device.py | 483 large_input = b'\n'.join(characters) 509 script = ";".join([x.strip() for x in script.strip().splitlines()]) 547 thread.join() 751 full_path = posixpath.join(in_dir, base_name) 819 remote_path = posixpath.join(self.DEVICE_TEMP_DIR, 840 empty_dir_path = os.path.join(host_dir, 'empty') 845 remote_path = os.path.join(self.DEVICE_TEMP_DIR, "empty") 868 with open(os.path.join(host_dir, 'foo'), 'w') as f: 871 symlink_path = os.path.join(host_dir, 'symlink') 878 ['cat', posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')]) [all …]
|
/packages/modules/Virtualization/compos/verify/ |
D | verify.rs | 79 let instance_dir = Path::new(COMPOS_DATA_ROOT).join(instance_dir); in try_main() 80 let artifacts_dir = Path::new(ODREFRESH_OUTPUT_ROOT_DIR).join(artifacts_dir); in try_main() 86 let instance_image = instance_dir.join(INSTANCE_IMAGE_FILE); in try_main() 87 let idsig = instance_dir.join(IDSIG_FILE); in try_main() 88 let idsig_manifest_apk = instance_dir.join(IDSIG_MANIFEST_APK_FILE); in try_main() 92 let info = artifacts_dir.join("compos.info"); in try_main() 93 let signature = artifacts_dir.join("compos.info.signature"); in try_main()
|
/packages/modules/Virtualization/apex/ |
D | sign_virt_apex.py | 126 print('Running: ' + ' '.join(cmd)) 135 '%d Failed to execute: ' + ' '.join(cmd)) % p.returncode 285 avbpubkey = os.path.join(work_dir, part_name + '.avbpubkey') 301 tmp_super_img = os.path.join(work_dir, 'super.img') 312 tmp_img = os.path.join(work_dir, part) 327 system_a_img = os.path.join(work_dir, 'system_a.img') 328 vendor_a_img = os.path.join(work_dir, 'vendor_a.img') 381 return {k: os.path.join(input_dir, v) for k, v in virt_apex_files.items()} 390 system_a_img = os.path.join(unpack_dir.name, 'system_a.img') 391 vendor_a_img = os.path.join(unpack_dir.name, 'vendor_a.img') [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | gd_device.py | 175 self.backing_process_log_path = os.path.join(self.log_path_base, 177 if "--btsnoop=" not in " ".join(cmd): 178 … cmd.append("--btsnoop=%s" % os.path.join(self.log_path_base, '%s_btsnoop_hci.log' % self.label)) 179 if "--btsnooz=" not in " ".join(cmd): 180 … cmd.append("--btsnooz=%s" % os.path.join(self.log_path_base, '%s_btsnooz_hci.log' % self.label)) 181 if "--btconfig=" not in " ".join(cmd): 182 … cmd.append("--btconfig=%s" % os.path.join(self.log_path_base, '%s_bt_config.conf' % self.label)) 198 logging.debug("[%s] Running %s %s" % (self.type_identifier, self.label, " ".join(self.cmd))) 237 …f.grpc_root_server_ready, msg="gRPC root server did not start after running " + " ".join(self.cmd)) 395 logging.debug("Running llvm_profdata: %s" % " ".join(profdata_cmd)) [all …]
|
/packages/services/Car/tools/emulator/ |
D | vhal_const_generate.py | 63 script_directory = os.path.join(os.path.dirname(os.path.abspath(__file__))) 64 parent_location = os.path.abspath(os.path.join(script_directory, '..')) 88 vhal_location = os.path.join(android_build_top, 'hardware','interfaces','automotive','vehicle') 90 vhal_location = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), 98 vhal_20_file = os.path.join(vhal_location, '2.0', 'types.hal') 106 vhal_20_file = open(os.path.join(script_directory, 'vhal_consts_2_0.py'), 'w')
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | RaceConditionReproducerTest.java | 66 tb.join(); in run3_3_TestAction() 115 tb.join(); in test3_3_enter_exit() 163 tb.join(); in test2_1_2() 164 tc.join(); in test2_1_2() 199 tb.join(); in test2_1_2_enter_exit() 200 tc.join(); in test2_1_2_enter_exit()
|
/packages/apps/Car/systemlibs/tools/rro/ |
D | resource_utils.py | 58 allResDirs = [f for f in os.listdir(resDir) if os.path.isdir(os.path.join(resDir, f))] 65 for file in os.listdir(os.path.join(resDir, dir)): 66 filePath = os.path.abspath(os.path.join(resDir, dir, file)) 70 ResourceLocation(os.path.join(resDir, dir, file)))) 72 for resource in get_ids_from_layout_file(os.path.join(resDir, dir, file)): 75 for file in os.listdir(os.path.join(resDir, dir)): 76 filePath = os.path.abspath(os.path.join(resDir, dir, file)) 78 for resource in get_resources_from_single_file(os.path.join(resDir, dir, file),
|
/packages/apps/Gallery/tests/src/com/android/camera/ |
D | BitmapManagerUnitTests.java | 90 t.join(); in testDefaultAllowDecoding() 102 t.join(); in testCancelDecoding() 115 t.join(); in testAllowDecoding() 131 t1.join(); in testThreadDecoding() 132 t2.join(); in testThreadDecoding()
|
/packages/modules/ArtPrebuilt/ |
D | update-art-module-prebuilts.py | 64 os.path.join(apex_name + ".apks"), 65 os.path.join(MODULE_PATH, apex_name + ".apks"), 72 os.path.join("mainline-sdks", 77 os.path.join(SDK_PATH, SDK_VERSION, sdk_dir), 95 msg = " ".join(cmd) if isinstance(cmd, list) else cmd 174 check_call(["cp", os.path.join(local_dist, entry.source_path), install_dir]) 209 .format(path, " ".join(roots)))
|