/packages/modules/Bluetooth/ |
D | build.py | 207 self.output_dir = os.path.join(self.bootstrap_dir, 'output') 208 self.platform_dir = os.path.join(self.bootstrap_dir, 'staging') 209 self.bt_dir = os.path.join(self.platform_dir, 'bt') 212 self.install_dir = os.path.join(self.output_dir, 'install') 232 …assert os.path.isfile(os.path.join(self.platform_dir, '.gn')), 'Platform dir does not have .gn at … 254 return ' '.join(rust_flags) 262 cargo_home = os.path.join(self.output_dir, 'cargo_home') 264 os.makedirs(os.path.join(cargo_home, 'bin'), exist_ok=True) 269 self.custom_env['CARGO_HOME'] = os.path.join(self.output_dir, 'cargo_home') 271 self.custom_env['CXX_ROOT_PATH'] = os.path.join(self.platform_dir, 'bt') [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/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/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilderTest.java | 66 String want = String.join("\n", in testLinkLayerInferrence() 85 want = String.join("\n", in testLinkLayerInferrence() 103 want = String.join("\n", in testLinkLayerInferrence() 121 want = String.join("\n", in testLinkLayerInferrence() 138 want = String.join("\n", in testLinkLayerInferrence() 155 want = String.join("\n", in testLinkLayerInferrence() 172 want = String.join("\n", in testLinkLayerInferrence() 201 String want = String.join("\n", in testDefaultNetworkEventSerialization() 232 String want = String.join("\n", in testDhcpClientEventSerialization() 257 String want = String.join("\n", in testDhcpErrorEventSerialization() [all …]
|
/packages/modules/Virtualization/compos/verify/ |
D | verify.rs | 87 let instance_dir = Path::new(COMPOS_DATA_ROOT).join(instance_dir); in try_main() 88 let artifacts_dir = Path::new(ODREFRESH_OUTPUT_ROOT_DIR).join(artifacts_dir); in try_main() 94 let instance_id_file = instance_dir.join(INSTANCE_ID_FILE); in try_main() 95 let instance_image = instance_dir.join(INSTANCE_IMAGE_FILE); in try_main() 96 let idsig = instance_dir.join(IDSIG_FILE); in try_main() 97 let idsig_manifest_apk = instance_dir.join(IDSIG_MANIFEST_APK_FILE); in try_main() 98 let idsig_manifest_ext_apk = instance_dir.join(IDSIG_MANIFEST_EXT_APK_FILE); in try_main() 107 let info = artifacts_dir.join("compos.info"); in try_main() 108 let signature = artifacts_dir.join("compos.info.signature"); in try_main()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | annotation_classlist_repohook.py | 62 "/GenericCarApiBuilder.jar --root-dir " + rootDir + " " + " ".join(options) 104 error = error + "Following Classes are deleted \n" + "\n".join(extra_deleted_classes) 106 error = error + "\n\nFollowing new classes are added \n" + "\n".join(extra_new_classes) 149 print("\n".join(modified_or_added_hidden_api)) 170 print("\n".join(removed_hidden_api)) 185 print("\n".join(upgraded_hidden_apis)) 209 print("\n".join(errors)) 216 print("\n".join(incorrect_requires_api_usage_in_car_service_errors)) 222 print("\n".join(incorrect_addedin_api_usage_in_car_built_in_errors))
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | reactor_unittest.cc | 172 reactor_thread.join(); in TEST_F() 178 reactor_thread.join(); in TEST_F() 179 another_thread.join(); in TEST_F() 187 reactor_thread.join(); in TEST_F() 209 reactor_thread.join(); in TEST_F() 224 reactor_thread.join(); in TEST_F() 244 reactor_thread.join(); in TEST_F() 263 reactor_thread.join(); in TEST_F() 282 reactor_thread.join(); in TEST_F() 299 reactor_thread.join(); in TEST_F() [all …]
|
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/ |
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 fail(join(cmd) + " has failed: " + result); in runWithTimeout() 79 join(cmd), timeoutMillis, java.util.concurrent.TimeUnit.MILLISECONDS); in runForResultWithTimeout() 83 return mDevice.executeShellV2Command(join(cmd)); in runForResult() 90 private static String join(String... strs) { in join() method in CommandRunner 91 return String.join(" ", Arrays.asList(strs)); in join()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/ |
D | SqlJoin.java | 108 public SqlJoin attachJoin(@NonNull SqlJoin join) { in attachJoin() argument 109 Objects.requireNonNull(join); in attachJoin() 115 mAttachedJoins.add(join); in attachJoin() 150 for (SqlJoin join : mAttachedJoins) { in buildAttachedJoinsCommand() 151 if (withInnerQuery && join.mSelfTableName.equals(mSelfTableName)) { in buildAttachedJoinsCommand() 154 command.append(" ").append(join.getJoinCommand(true)); in buildAttachedJoinsCommand() 157 command.append(" ").append(join.getJoinCommand(false)); in buildAttachedJoinsCommand()
|
/packages/modules/common/build/ |
D | mainline_modules_sdks.py | 222 file.write("\n".join(header_lines + content_lines) + "\n") 249 file.write("\n".join(lines) + "\n") 266 file.write("\n".join(lines) + "\n") 291 return os.path.join(snapshots_dir, f"{sdk_name}-{SDK_VERSION}.zip") 296 return os.path.join(snapshots_dir, f"{sdk_name}-{SDK_VERSION}.info") 301 return os.path.join(snapshots_dir, f"{sdk_name}-{SDK_VERSION}-api-diff.txt") 306 return os.path.join(snapshots_dir, 322 p = os.path.join(base_dir, path) 343 for dir in os.listdir(os.path.join(root_dir, "prebuilts/module_sdk/")): 379 self.mainline_sdks_dir = os.path.join(self.out_dir, [all …]
|
D | mainline_modules_sdks_test.py | 146 self.tmp_out_dir = os.path.join(self.tmp_dir, "out") 148 self.tmp_dist_dir = os.path.join(self.tmp_dir, "dist") 151 os.path.join(self.tmp_dir, "prebuilts/module_sdk/AdServices"), 155 os.path.join(self.tmp_dir, "prebuilts/module_sdk/Connectivity"), 183 files.append(os.path.join(rel_dir, f)) 236 r_snaphot_dir = os.path.join(self.tmp_out_dir, 266 abs_path = os.path.join(r_snaphot_dir, path) 327 art_api_diff_file = os.path.join( 336 art_gantry_metadata_json_file = os.path.join( 365 soong_dir = os.path.join(self.tmp_out_dir, "soong") [all …]
|
/packages/modules/Virtualization/compos/composd/src/ |
D | instance_starter.rs | 79 let instance_root = Path::new(COMPOS_DATA_ROOT).join(instance_name); in new() 81 let instance_id_file = instance_root_path.join(INSTANCE_ID_FILE); in new() 82 let instance_image = instance_root_path.join(INSTANCE_IMAGE_FILE); in new() 83 let idsig = instance_root_path.join(IDSIG_FILE); in new() 84 let idsig_manifest_apk = instance_root_path.join(IDSIG_MANIFEST_APK_FILE); in new() 85 let idsig_manifest_ext_apk = instance_root_path.join(IDSIG_MANIFEST_EXT_APK_FILE); in new() 122 fs::write(self.instance_root.join("bcc"), bcc).context("Writing BCC")?; in start_new_instance()
|
/packages/services/Car/tools/vehiclepropertyidsparser/ |
D | verify_generated_prop_config_hook.py | 72 vehiclePropertyIdsParser = os.path.join(args.android_build_top, 74 carLib = os.path.join(args.android_build_top, CAR_LIB) 86 javaBin = os.path.join(javaHomeDir, '/bin/java'); 89 carSvcProps = os.path.join(args.android_build_top, CAR_SVC_PROPS); 93 cmd = ' '.join([javaBin, '-jar', vehiclePropertyIdsParser, carLib,
|
/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/modules/adb/ |
D | test_device.py | 468 large_input = b'\n'.join(characters) 494 script = ";".join([x.strip() for x in script.strip().splitlines()]) 532 thread.join() 727 full_path = posixpath.join(in_dir, base_name) 795 remote_path = posixpath.join(self.DEVICE_TEMP_DIR, 816 empty_dir_path = os.path.join(host_dir, 'empty') 821 remote_path = os.path.join(self.DEVICE_TEMP_DIR, "empty") 844 with open(os.path.join(host_dir, 'foo'), 'w') as f: 847 symlink_path = os.path.join(host_dir, 'symlink') 854 ['cat', posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')]) [all …]
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | loopdevice.rs | 171 let dio = Path::new("/sys/block").join(dev.file_name().unwrap()).join("loop/dio"); in is_direct_io() 177 let ro = Path::new("/sys/block").join(dev.file_name().unwrap()).join("ro"); in is_direct_io_writable() 184 let a_file = a_dir.path().join("test"); in attach_loop_device_with_dio() 197 let a_file = a_dir.path().join("test"); in attach_loop_device_without_dio() 210 let a_file = a_dir.path().join("test"); in attach_loop_device_with_dio_writable()
|
/packages/modules/common/tools/ |
D | finalize_sdk.py | 62 print("Running: " + ' '.join(fetch_cmd)) 70 return os.path.join(tmpdir, ARTIFACT_MODULES_INFO) 88 print("Running: " + ' '.join(fetch_cmd)) 113 return os.path.join(base, 'test-exports') 115 return os.path.join(base, 'host-exports') 157 cmdline = shlex.join([x for x in sys.argv if x not in ['-a', '--amend_last_commit', '-l', '--local_… 192 …files = [Path(p) for p in glob.glob(os.path.join(target_dir, 'sdk_library/*/*.txt')) + glob.glob(o…
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/ |
D | TextUtils.java | 60 public static CharSequence join(Iterable<CharSequence> list) { in join() method in TextUtils 62 return join(delimiter, list); in join() 70 public static String join(CharSequence delimiter, Object[] tokens) { in join() method in TextUtils 89 public static String join(CharSequence delimiter, Iterable<?> tokens) { in join() method in TextUtils
|
/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/Bluetooth/system/blueberry/tests/gd/cert/ |
D | gd_device.py | 173 self.backing_process_log_path = os.path.join(self.log_path_base, 175 if "--btsnoop=" not in " ".join(cmd): 176 … cmd.append("--btsnoop=%s" % os.path.join(self.log_path_base, '%s_btsnoop_hci.log' % self.label)) 177 if "--btsnooz=" not in " ".join(cmd): 178 … cmd.append("--btsnooz=%s" % os.path.join(self.log_path_base, '%s_btsnooz_hci.log' % self.label)) 179 if "--btconfig=" not in " ".join(cmd): 180 … cmd.append("--btconfig=%s" % os.path.join(self.log_path_base, '%s_bt_config.conf' % self.label)) 196 logging.debug("[%s] Running %s %s" % (self.type_identifier, self.label, " ".join(self.cmd))) 234 … msg="gRPC root server did not start after running " + " ".join(self.cmd)) 390 logging.debug("Running llvm_profdata: %s" % " ".join(profdata_cmd)) [all …]
|
/packages/apps/Car/systemlibs/tools/rro/ |
D | resource_utils.py | 64 allResDirs = [f for f in os.listdir(resDir) if os.path.isdir(os.path.join(resDir, f))] 71 for file in os.listdir(os.path.join(resDir, dir)): 72 filePath = os.path.abspath(os.path.join(resDir, dir, file)) 76 ResourceLocation(os.path.join(resDir, dir, file)))) 78 for resource in get_ids_from_layout_file(os.path.join(resDir, dir, file)): 81 for file in os.listdir(os.path.join(resDir, dir)): 82 filePath = os.path.abspath(os.path.join(resDir, dir, file)) 84 for resource in get_resources_from_single_file(os.path.join(resDir, dir, file),
|
/packages/modules/Bluetooth/system/tools/scripts/ |
D | yapf_checker.py | 54 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(
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | CommandInterceptor.java | 91 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in quickViewer() 109 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in gestureScale() 122 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in jobProgressDialog() 137 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in docDetails() 153 + TextUtils.join(" ", tokens)); in forcePaging() 157 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); in forcePaging()
|
/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", 78 os.path.join(SDK_PATH, SDK_VERSION, sdk_dir), 96 msg = " ".join(cmd) if isinstance(cmd, list) else cmd 175 check_call(["cp", os.path.join(local_dist, entry.source_path), install_dir]) 210 .format(path, " ".join(roots)))
|
/packages/modules/Bluetooth/tools/rootcanal/rust/ |
D | build.rs | 48 out_dir.join(module_name).as_os_str().to_str().unwrap(), in install_generated_module() 59 File::create(out_dir.join(in_file.file_name().unwrap()).with_extension("rs")).unwrap(); in generate_module() 63 Ok(dir) => PathBuf::from(dir).join("bin").join("pdlc"), in generate_module()
|