Home
last modified time | relevance | path

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

12345678910>>...26

/tools/treble/build/sandbox/
Doverlay_test.py64 os.mkdir(os.path.join(self.source_dir, 'base_dir'))
65 os.mkdir(os.path.join(self.source_dir, 'base_dir', 'base_project'))
66 os.mkdir(os.path.join(self.source_dir, 'base_dir', 'base_project', '.git'))
67 os.mkdir(os.path.join(self.source_dir, 'no_git_dir'))
68 os.mkdir(os.path.join(self.source_dir, 'no_git_dir', 'no_git_subdir1'))
69 open(os.path.join(self.source_dir,
71 os.mkdir(os.path.join(self.source_dir, 'no_git_dir', 'no_git_subdir2'))
72 open(os.path.join(self.source_dir,
74 os.mkdir(os.path.join(self.source_dir, 'overlays'))
75 os.mkdir(os.path.join(self.source_dir,
[all …]
Doverlay.py76 path_in_source = os.path.join(bind_mount.source_dir, relative_path)
125 os.path.join(destination_dir, current_dir_relative))
158 os.path.join(destination_dir, current_dir_relative))
185 subdir_origin = os.path.join(current_dir_origin, subdir)
193 subdir_destination = os.path.join(intermediate_work_dir,
199 file_origin = os.path.join(current_dir_origin, file)
200 file_destination = os.path.join(current_dir_destination, file)
221 main_out_dir = os.path.join(source_dir, 'out')
227 out_origin = os.path.join(source_dir, subdir)
230 out_destination = os.path.join(destination_dir, subdir)
[all …]
Drbe.py38 'RBE_cpp_dependency_scanner_plugin': os.path.join(TOOLS_DIR, 'dependency_scanner_go_plugin.so'),
39 'RBE_re_proxy': os.path.join(TOOLS_DIR, 'reproxy'),
111 source_creds_file = os.path.join(os.getenv('HOME'), creds_file)
112 dest_creds_file = os.path.join('/tmp', creds_file)
162 with open(os.path.join(script_dir, 'rbe_http_proxy.conf'), 'r') as base_conf:
175 print(' '.join(proxy_kill_command), file=build_log)
177 print(' '.join(proxy_command) + ' &> ' + rbe_proxy_log.name + ' &',
191 print(' '.join(proxy_kill_command), file=build_log)
/tools/netsim/rust/proto/
Dbuild_cargo.rs26 Ok(dir) => PathBuf::from(dir).join("tools/netsim"), in main()
28 Err(_) => PathBuf::from(env::current_dir().unwrap()).join("../..").canonicalize().unwrap(), in main()
32 let proto_dir = proto_root.join("proto"); in main()
33 let rootcanal_dir = proto_root.join("../../packages/modules/Bluetooth/tools/rootcanal/proto"); in main()
35 rootcanal_dir.join("rootcanal/configuration.proto"), in main()
36 proto_dir.join("netsim/packet_streamer.proto"), in main()
37 proto_dir.join("netsim/hci_packet.proto"), in main()
38 proto_dir.join("netsim/startup.proto"), in main()
39 proto_dir.join("netsim/model.proto"), in main()
40 proto_dir.join("netsim/frontend.proto"), in main()
[all …]
/tools/treble/gki/
Drepack_gki_lib.py23 kernel_dir = os.path.join(out_dir, 'kernel')
24 kernel_debug_dir = os.path.join(out_dir, 'kernel_debug')
44 zipped_kernel_path = os.path.join(os.path.dirname(kernel_path), 'Image.gz')
51 print(' '.join(cmd))
54 compress_kernel(os.path.join(kernel_dir, 'Image'))
55 compress_kernel(os.path.join(kernel_debug_dir, 'Image'))
73 print(' '.join(cmd))
76 shutil.copy(kernel_path, os.path.join(unpack_dir, 'kernel'))
83 print(' '.join(cmd))
90 bootimg_path = os.path.join(bootimg_dir, bootimg_path)
[all …]
/tools/acloud/internal/lib/
Dgoldfish_utils_test.py59 boot_image_path = os.path.join(self._temp_dir, "boot.img")
60 image_dir = os.path.join(self._temp_dir, "image_dir")
63 with open(os.path.join(image_dir, "ramdisk-qemu.img"), "w") as ramdisk:
65 mix_dir = os.path.join(self._temp_dir, "mix_kernel")
66 unpack_dir = os.path.join(mix_dir, "unpacked_boot_img")
71 self._CreateEmptyFile(os.path.join(out_dir, "kernel"))
72 with open(os.path.join(out_dir, "ramdisk"), "w") as ramdisk:
82 self.assertEqual(os.path.join(unpack_dir, "kernel"), kernel_path)
83 self.assertEqual(os.path.join(mix_dir, "mixed_ramdisk"), ramdisk_path)
92 kernel_path = os.path.join(self._temp_dir, "kernel")
[all …]
Dcvd_utils.py71 _REMOTE_BOOT_IMAGE_PATH = remote_path.join(_REMOTE_EXTRA_IMAGE_DIR, "boot.img")
72 _REMOTE_VENDOR_BOOT_IMAGE_PATH = remote_path.join(
74 _REMOTE_VBMETA_IMAGE_PATH = remote_path.join(
76 _REMOTE_KERNEL_IMAGE_PATH = remote_path.join(
78 _REMOTE_INITRAMFS_IMAGE_PATH = remote_path.join(
80 _REMOTE_SUPER_IMAGE_PATH = remote_path.join(
125 _LOCAL_LOG_DIR_FORMAT = os.path.join(
128 _REMOTE_RUNTIME_DIR_FORMAT = remote_path.join(
212 images_path = os.path.join(image_dir, "required_images")
222 os.path.join(image_dir, file_name)))
[all …]
Dcvd_utils_test.py59 zip_path = os.path.join(temp_dir, "in.zip")
60 output_dir = os.path.join(temp_dir, "out")
73 sorted(os.listdir(os.path.join(output_dir, "IMAGES"))))
75 os.listdir(os.path.join(output_dir, "META")))
154 self.CreateFile(os.path.join(image_dir, "vendor_boot.img"))
184 kernel_image_path = os.path.join(image_dir, "Image")
186 self.CreateFile(os.path.join(image_dir, "initramfs.img"))
187 self.CreateFile(os.path.join(image_dir, "boot.img"))
219 target_files_dir = os.path.join(temp_dir, "target_files")
220 extra_image_dir = os.path.join(temp_dir, "extra")
[all …]
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py34 self._image_dir = os.path.join(self._temp_dir, "images")
35 self._tool_dir = os.path.join(self._temp_dir, "tool")
36 self._instance_dir = os.path.join(self._temp_dir, "instance")
49 self._emulator_path = os.path.join(self._tool_dir, "emulator",
66 self.assertEqual(os.path.join(self._instance_dir, "mix_disk"),
68 output_path = os.path.join(output_dir, "mixed_disk.img")
74 self.assertEqual(os.path.join(self._instance_dir, "mix_kernel"),
76 return (os.path.join(output_dir, "kernel"),
77 os.path.join(output_dir, "ramdisk"))
149 os.path.join(self._instance_dir, "logcat.txt"),
[all …]
Dlocal_image_local_instance_test.py353 image_dir = os.path.join(temp_dir, "image")
354 cvd_dir = os.path.join(temp_dir, "cvd-host_package")
355 self._CreateEmptyFile(os.path.join(cvd_dir, "bin", "launch_cvd"))
356 self._CreateEmptyFile(os.path.join(cvd_dir, "usr/share/webrtc/certs", "server.crt"))
373 self._CreateEmptyFile(os.path.join(image_dir, "super.img"))
392 image_dir = os.path.join(temp_dir, "image")
393 cvd_dir = os.path.join(temp_dir, "cvd-host_package")
395 extra_image_dir = os.path.join(temp_dir, "extra_image")
396 system_image_path = os.path.join(extra_image_dir, "system.img")
397 system_ext_image_path = os.path.join(extra_image_dir,
[all …]
/tools/asuite/aidegen/lib/
Dproject_file_gen.py62 _GITIGNORE_ABS_PATH = os.path.join(common_util.get_android_root_dir(),
66 _CODE_STYLE_SRC_PATH = os.path.join(common_util.get_android_root_dir(),
132 idea_dir = os.path.join(target_path, _IDEA_FOLDER)
133 copyright_dir = os.path.join(idea_dir, _COPYRIGHT_FOLDER)
134 inspection_dir = os.path.join(idea_dir, _INSPECTION_FOLDER)
135 code_style_dir = os.path.join(idea_dir, _CODE_STYLE_FOLDER)
137 os.path.join(idea_dir, _COMPILE_XML), templates.XML_COMPILER)
139 os.path.join(idea_dir, _MISC_XML), templates.XML_MISC)
141 os.path.join(copyright_dir, _APACHE_2_XML), templates.XML_APACHE_2)
143 os.path.join(copyright_dir, _PROFILES_SETTINGS_XML),
[all …]
Declipse_project_file_gen.py70 self.project_file = os.path.join(self.module_abspath,
76 self.classpath_file = os.path.join(self.module_abspath,
130 alias_name = os.path.join(constant.KEY_DEPENDENCIES, relpath)
131 abs_path = os.path.join(common_util.get_android_root_dir(), relpath)
149 real_bin_path = os.path.join(common_util.get_android_root_dir(),
179 LINKEDRESOURCES=''.join(sorted(list(links))))
195 alias_path = os.path.join(constant.KEY_DEPENDENCIES, r_path)
233 src_abspath = os.path.join(common_util.get_android_root_dir(), src)
238 src = os.path.join(constant.KEY_DEPENDENCIES, src)
262 jar_abspath = os.path.join(common_util.get_android_root_dir(),
[all …]
Dproject_file_gen_unittest.py43 _PROJECT_PATH = os.path.join(_TEST_DATA_PATH, 'project')
44 _ANDROID_FACET_SAMPLE = os.path.join(_TEST_DATA_PATH, 'android_facet.iml')
45 _PROJECT_FACET_SAMPLE = os.path.join(_TEST_DATA_PATH, 'project_facet.iml')
46 _MODULE_DEP_SAMPLE = os.path.join(_TEST_DATA_PATH, 'module_dependency.iml')
47 _IML_SAMPLE = os.path.join(_TEST_DATA_PATH, 'test.iml')
48 _DEPENDENCIES_IML_SAMPLE = os.path.join(_TEST_DATA_PATH, 'dependencies.iml')
49 _MODULE_XML_SAMPLE = os.path.join(_TEST_DATA_PATH, 'modules.xml')
50 _MAIN_MODULE_XML_SAMPLE = os.path.join(_TEST_DATA_PATH,
52 _ENABLE_DEBUGGER_MODULE_SAMPLE = os.path.join(
54 _IML_PATH = os.path.join(_ANDROID_PROJECT_PATH, 'android_project.iml')
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/
DAggregatePostProcessorTest.java96 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MIN))); in testSingularDoubleMetric()
100 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MIN)) in testSingularDoubleMetric()
106 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MAX))); in testSingularDoubleMetric()
110 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MAX)) in testSingularDoubleMetric()
116 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MEAN))); in testSingularDoubleMetric()
120 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MEAN)) in testSingularDoubleMetric()
126 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_VAR))); in testSingularDoubleMetric()
130 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_VAR)) in testSingularDoubleMetric()
136 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_STDEV))); in testSingularDoubleMetric()
140 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_STDEV)) in testSingularDoubleMetric()
[all …]
/tools/asuite/aidegen/idea/
Diml.py70 self._mod_path = os.path.join(self._android_root,
72 self._iml_path = os.path.join(self._mod_path,
118 uniq_name = '_'.join(
119 [sub_folders[0], '_'.join(sub_folders[zero_base_index:])])
137 uniq_name = '_'.join([uniq_name_base, str(i)])
177 if os.path.exists(os.path.join(self._mod_path,
188 SRC=os.path.join(self._android_root, src),
192 SRC=os.path.join(self._android_root, src),
197 SRC=os.path.join(self._android_root, test),
201 SRC=os.path.join(self._android_root, test),
[all …]
/tools/netsim/testing/netsim-grpc/
Dsetup.py29 proto_root_dir = path.join(root_dir, "proto")
30 proto_dir = path.join(proto_root_dir, "netsim")
31 rootcanal_proto_root_dir = path.join(
40 rootcanal_proto_dir = path.join(rootcanal_proto_root_dir, "rootcanal")
41 out_dir = path.join(here, "src", "netsim_grpc", "proto")
47 source = path.join(rootcanal_proto_dir, proto_file)
48 output = path.join(out_dir, "rootcanal", proto_file).replace(
72 source = path.join(proto_dir, proto_file)
73 output = path.join(out_dir, "netsim", proto_file).replace(
/tools/asuite/atest/
Dunittest_constants.py57 destination_path = os.path.join(
66 package = os.path.join(destination_path, 'atest')
72 TEST_DATA_DIR = os.path.join(ATEST_PKG_DIR, 'unittest_data')
73 TEST_CONFIG_DATA_DIR = os.path.join(TEST_DATA_DIR, 'test_config')
78 CONFIG_FILE = os.path.join(MODULE_DIR, constants.MODULE_CONFIG)
79 EXTRA_CONFIG_FILE = os.path.join(MODULE_DIR, MODULE_CONFIG_NAME + '.xml')
80 CONFIG2_FILE = os.path.join(MODULE2_DIR, constants.MODULE_CONFIG)
166 os.path.join(TEST_DATA_DIR, constants.MODULE_CONFIG), ROOT
218 INT_CONFIG = os.path.join(INT_DIR, INT_NAME + '.xml')
219 GTF_INT_CONFIG = os.path.join(GTF_INT_DIR, GTF_INT_NAME + '.xml')
[all …]
Dconstants_default.py238 INDEX_DIR = os.path.join(os.getenv(ANDROID_HOST_OUT, ''), 'indices')
239 LOCATE_CACHE = os.path.join(INDEX_DIR, 'plocate.db')
240 BUILDFILES_STP = os.path.join(INDEX_DIR, 'buildfiles.stp')
241 INT_INDEX = os.path.join(INDEX_DIR, 'integration.idx')
242 CLASS_INDEX = os.path.join(INDEX_DIR, 'classes.idx')
243 CC_CLASS_INDEX = os.path.join(INDEX_DIR, 'cc_classes.idx')
244 PACKAGE_INDEX = os.path.join(INDEX_DIR, 'packages.idx')
245 QCLASS_INDEX = os.path.join(INDEX_DIR, 'fqcn.idx')
274 LATEST_RESULT_FILE = os.path.join(ATEST_RESULT_ROOT, 'LATEST', 'test_result')
370 RUNNER_COMMAND_PATH = os.path.join(
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java60 mJavac.addSource("annotation.Anno", Joiner.on('\n').join( in setup()
87 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistMethod()
108 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistConstructor()
129 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistField()
150 mJavac.addSource("a.b.EnumClass", Joiner.on('\n').join( in testGreylistImplicit()
171 mJavac.addSource("a.b.EnumClass", Joiner.on('\n').join( in testGreylistImplicit_Invalid_MissingOnClass()
193 mJavac.addSource("a.b.EnumClass", Joiner.on('\n').join( in testGreylistImplicit_Invalid_PresentOnMember()
214 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistMethodExpectedSignature()
235 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistMethodExpectedSignatureWrong()
253 mJavac.addSource("a.b.Class", Joiner.on('\n').join( in testGreylistInnerClassMethod()
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py35 JSON_FILE_PATH = os.path.join(uc.TEST_DATA_DIR, uc.JSON_FILE)
40 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1')
41 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2')
70 os.path.join(
73 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml.data'),
74 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml.data'),
75 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml.data'),
76 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml.data'),
97 IT_TEST_MATCHED_1_PATH = os.path.join(UNIT_TEST_SEARCH_ROOT, 'sub1')
98 UNIT_TEST_MATCHED_2_PATH = os.path.join(UNIT_TEST_SEARCH_ROOT, 'sub1', 'sub2')
[all …]
Dtf_integration_finder_unittest.py35 GTF_INT_CONFIG = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml')
63 os.path.join(uc.ROOT, uc.INT_DIR),
64 os.path.join(uc.ROOT, uc.GTF_INT_DIR),
90 mock_find.return_value = os.path.join(
105 mock_find.return_value = os.path.join(
131 path = os.path.join(uc.INT_DIR, uc.INT_NAME + '.xml')
134 path = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml')
145 os.path.join(uc.TEST_DATA_DIR, 'CtsUiDeviceTestCases.xml.data')
147 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG + '.data')
165 os.path.join(
[all …]
/tools/security/fuzzing/llm/tinyxml2_fuzzer/
Dgen_corpus.py6 return ''.join(random.choices(string.ascii_letters + string.digits, k=length))
13 attributes = " ".join(
19 children = "".join(generate_random_xml(depth + 1) for _ in range(random.randint(0, 2)))
34 filename = os.path.join(corpus_dir, f"xml_{i}.xml")
38 create_corpus_file(os.path.join(corpus_dir, "empty.xml"), "")
39 create_corpus_file(os.path.join(corpus_dir, "large.xml"), generate_random_xml() * 1000)
/tools/treble/cuttlefish/
Dbuild_cf_hybrid_device.py69 otatools = os.path.join(temp_dir, 'otatools')
85 merged_target_files = os.path.join(
89 os.path.join(otatools, 'bin', 'merge_target_files'),
99 img_zip_path = os.path.join(args.output_dir,
102 os.path.join(otatools, 'bin', 'img_from_target_files'),
124 chd_debug_prop = os.path.join(args.output_dir, 'chd_debug.prop')
130 cf_debug_img = os.path.join(args.output_dir, 'vendor_boot-debug.img')
132 chd_debug_img = os.path.join(args.output_dir, 'vendor_boot-chd_debug.img')
/tools/doc_generation/
Dswitcher4.py43 kotlin_ref_root = os.path.join(java_ref_root, "kotlin")
66 insert_stub(os.path.join(java_ref_root, "packages.html"), True, True)
67 insert_stub(os.path.join(kotlin_ref_root, "packages.html"), False, True)
69 insert_stub(os.path.join(java_ref_root, "classes.html"), True, True)
70 insert_stub(os.path.join(kotlin_ref_root, "classes.html"), False, True)
125 java_source_abs_path = os.path.join(java_ref_root, stem)
126 kotlin_source_abs_path = os.path.join(kotlin_ref_root, stem)
150 print("***", os.path.join(root, file_))
156 doc = os.path.join(root, file_)
199 print("***", os.path.join(root, file_))
[all …]
/tools/netsim/rust/common/src/util/
Dzip_artifact.rs99 let zip_file = root.join(format!("netsim_artifacts_{}.zip", file_current_time())); in zip_artifacts()
138 std::env::temp_dir().join("netsim-test").join(format!("{:?}", std::thread::current())) in test_temp_dir()
151 let file = path.join("hello.txt"); in test_recurse_files()
157 let folder = path.join("folder"); in test_recurse_files()
159 let nested_file = folder.join("world.txt"); in test_recurse_files()
181 let zip_file_1 = path.join("netsim_artifacts_2024-01-01.zip"); in test_fetch_zip_files()
182 let zip_file_2 = path.join("netsim_artifacts_2022-12-31.zip"); in test_fetch_zip_files()
183 let zip_file_3 = path.join("netsim_artifacts_2023-06-01.zip"); in test_fetch_zip_files()
184 let zip_file_faulty = path.join("netsim_arts_2000-01-01.zip"); in test_fetch_zip_files()

12345678910>>...26