Home
last modified time | relevance | path

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

12345678910>>...20

/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DAggregatePostProcessorTest.java94 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MIN))); in testSingularDoubleMetric()
98 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MIN)) in testSingularDoubleMetric()
104 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MAX))); in testSingularDoubleMetric()
108 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MAX)) in testSingularDoubleMetric()
114 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MEAN))); in testSingularDoubleMetric()
118 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MEAN)) in testSingularDoubleMetric()
124 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_VAR))); in testSingularDoubleMetric()
128 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_VAR)) in testSingularDoubleMetric()
134 String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_STDEV))); in testSingularDoubleMetric()
138 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_STDEV)) in testSingularDoubleMetric()
[all …]
DStatsdGenericPostProcessorTest.java304 String.join( in testParsingLogic()
316 String.join( in testParsingLogic()
330 String.join( in testParsingLogic()
344 String.join( in testParsingLogic()
359 String.join( in testParsingLogic()
363 String.join(StatsdGenericPostProcessor.INDEX_SEP, "metrics", "2"), in testParsingLogic()
371 String.join( in testParsingLogic()
375 String.join(StatsdGenericPostProcessor.INDEX_SEP, "metrics", "2"), in testParsingLogic()
385 String.join( in testParsingLogic()
389 String.join(StatsdGenericPostProcessor.INDEX_SEP, "metrics", "2"), in testParsingLogic()
[all …]
DStatsdEventMetricPostProcessorTest.java110 String.join(StatsdEventMetricPostProcessor.METRIC_SEP, REPORT_PREFIX, "crash"); in testFormattingSingleAtom()
115 String.join( in testFormattingSingleAtom()
142 String.join( in testFormattingMultipleAtomTypes()
147 String.join( in testFormattingMultipleAtomTypes()
153 String.join( in testFormattingMultipleAtomTypes()
172 String.join( in testCsvForRepeatedKeys()
201 String.join( in testNewKeysForAtomsOfSameTypeAndDifferentValues()
207 String.join( in testNewKeysForAtomsOfSameTypeAndDifferentValues()
229 String.join( in testAccessingEventMetricDataField()
251 String.join( in testAccessingRepeatedField()
[all …]
/tools/treble/build/sandbox/
Doverlay_test.py36 os.mkdir(os.path.join(self.source_dir, 'base_dir'))
37 os.mkdir(os.path.join(self.source_dir, 'base_dir', 'base_project'))
38 os.mkdir(os.path.join(self.source_dir, 'base_dir', 'base_project', '.git'))
39 os.mkdir(os.path.join(self.source_dir, 'overlays'))
40 os.mkdir(os.path.join(self.source_dir,
42 os.mkdir(os.path.join(self.source_dir,
44 os.mkdir(os.path.join(self.source_dir,
46 os.mkdir(os.path.join(self.source_dir,
48 os.mkdir(os.path.join(self.source_dir,
51 os.mkdir(os.path.join(self.source_dir,
[all …]
Doverlay.py72 path_in_source = os.path.join(bind_mount.source_dir, relative_path)
115 os.path.join(destination_dir, current_dir_relative))
147 os.path.join(destination_dir, current_dir_relative))
156 subdir_origin = os.path.join(current_dir_origin, subdir)
159 subdir_destination = os.path.join(intermediate_work_dir,
165 file_origin = os.path.join(current_dir_origin, file)
166 file_destination = os.path.join(current_dir_destination, file)
195 main_out_dir = os.path.join(source_dir, 'out')
201 out_origin = os.path.join(source_dir, subdir)
204 out_destination = os.path.join(destination_dir, subdir)
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py38 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1')
39 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2')
66 VTS_PLAN_TARGETS = {os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-staging-default.xml'),
67 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml'),
68 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml'),
69 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml'),
70 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml')}
128 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
131 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
135 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
[all …]
Dtest_finder_utils.py126 _VTS_PUSH_DIR = os.path.join(os.environ.get(constants.ANDROID_BUILD_TOP, ''),
251 '|'.join([r'%s' % x for x in methods])))
254 '|'.join([r'%s' % x for x in methods])))
324 print('Multiple tests found:\n{0}'.format('\n'.join(numbered_list)))
380 user_out_dir = os.path.join(build_top, custom_out_dir)
521 if os.path.isfile(os.path.join(current_dir, constants.MODULE_CONFIG)):
528 if os.path.isfile(os.path.join(root_dir, test_config)):
654 full_push_file_path = os.path.join(_VTS_PUSH_DIR, push_file)
669 targets.add(os.path.join(rel_out_dir, sanitized_target))
713 target = os.path.join(rel_out_dir, match.group('target'))
[all …]
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py35 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1')
36 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2')
63 VTS_PLAN_TARGETS = {os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-staging-default.xml'),
64 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml'),
65 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml'),
66 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml'),
67 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml')}
125 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
128 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
132 paths = [os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java')]
[all …]
Dtest_finder_utils.py119 _VTS_PUSH_DIR = os.path.join(os.environ.get(constants.ANDROID_BUILD_TOP, ''),
244 '|'.join([r'%s' % x for x in methods])))
247 '|'.join([r'%s' % x for x in methods])))
317 print('Multiple tests found:\n{0}'.format('\n'.join(numbered_list)))
372 user_out_dir = os.path.join(build_top, custom_out_dir)
511 if os.path.isfile(os.path.join(current_dir, constants.MODULE_CONFIG)):
518 if os.path.isfile(os.path.join(root_dir, test_config)):
643 full_push_file_path = os.path.join(_VTS_PUSH_DIR, push_file)
658 targets.add(os.path.join(rel_out_dir, sanitized_target))
702 target = os.path.join(rel_out_dir, match.group('target'))
[all …]
/tools/asuite/aidegen/lib/
Dide_util.py79 LINUX_JDK_PATH = os.path.join(common_util.get_android_root_dir(),
83 LINUX_ANDROID_SDK_PATH = os.path.join(os.getenv('HOME'), 'Android/Sdk')
84 MAC_JDK_PATH = os.path.join(common_util.get_android_root_dir(),
88 MAC_ANDROID_SDK_PATH = os.path.join(os.getenv('HOME'), 'Library/Android/sdk')
230 jdk_file = os.path.join(_config_path, self._IDE_JDK_TABLE_PATH)
239 intellij_config_dir = os.path.join(_config_path, self._CONFIG_DIR)
254 file_type_path = os.path.join(_config_path, self._IDE_FILE_TYPE_PATH)
293 return ' '.join(self._bin_folders)
338 return [os.path.join(f, self._bin_file_name) for f in self._bin_folders]
437 display_versions[index] = ' -> '.join(
[all …]
Dproject_file_gen.py60 _GITIGNORE_ABS_PATH = os.path.join(common_util.get_android_root_dir(),
64 _CODE_STYLE_SRC_PATH = os.path.join(common_util.get_android_root_dir(),
130 idea_dir = os.path.join(target_path, _IDEA_FOLDER)
131 copyright_dir = os.path.join(idea_dir, _COPYRIGHT_FOLDER)
132 code_style_dir = os.path.join(idea_dir, _CODE_STYLE_FOLDER)
134 os.path.join(idea_dir, _COMPILE_XML), templates.XML_COMPILER)
136 os.path.join(idea_dir, _MISC_XML), templates.XML_MISC)
138 os.path.join(copyright_dir, _APACHE_2_XML), templates.XML_APACHE_2)
140 os.path.join(copyright_dir, _PROFILES_SETTINGS_XML),
143 os.path.join(code_style_dir, _CODE_STYLE_CONFIG_XML),
[all …]
Dcommon_util.py143 abs_path = os.path.join(get_android_root_dir(), rel_path)
146 or os.path.isdir(os.path.join(get_android_root_dir(), target))):
148 abs_path = os.path.join(get_android_root_dir(), rel_path)
151 abs_path = os.path.abspath(os.path.join(os.getcwd(), target))
314 return os.path.join(get_android_root_dir(), rel_path)
365 return os.path.join(get_soong_out_path(), file_name)
399 android_out_dir_common_base = (os.path.join(
427 return os.path.join(get_android_root_dir(), constant.AIDEGEN_ROOT_PATH)
442 return os.path.join(get_android_root_dir(), get_android_out_dir(), 'soong')
468 return os.path.isfile(os.path.join(abs_path, constant.ANDROID_BP))
[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 …]
Declipse_project_file_gen.py71 self.project_file = os.path.join(self.module_abspath,
77 self.classpath_file = os.path.join(self.module_abspath,
131 alias_name = os.path.join(constant.KEY_DEPENDENCIES, relpath)
132 abs_path = os.path.join(common_util.get_android_root_dir(), relpath)
150 real_bin_path = os.path.join(common_util.get_android_root_dir(),
180 LINKEDRESOURCES=''.join(sorted(list(links))))
196 alias_path = os.path.join(constant.KEY_DEPENDENCIES, r_path)
234 src_abspath = os.path.join(common_util.get_android_root_dir(), src)
239 src = os.path.join(constant.KEY_DEPENDENCIES, src)
263 jar_abspath = os.path.join(common_util.get_android_root_dir(),
[all …]
Dclion_project_file_gen.py147 os.path.join(self.mod_path, self.mod_name))
150 self.cc_path = os.path.join(self.cc_dir,
225 return os.path.join(common_util.get_android_root_dir(),
292 hfile.write(''.join([_build_cmake_path(src, ' '), '\n']))
391 cc_dir = os.path.join(root_dir, constant.RELATIVE_NATIVE_PATH,
393 cc_out_dir = os.path.join(root_dir, common_util.get_android_out_dir(),
397 dst_path = os.path.join(cc_out_dir, constant.CLION_PROJECT_FILE_NAME)
400 src_path = os.path.join(cc_dir, constant.CLION_PROJECT_FILE_NAME)
439 os.path.join(mod_path, mod_name))
440 file_path = os.path.join(file_dir, constant.CLION_PROJECT_FILE_NAME)
[all …]
Dsource_locator_unittest.py66 test_java = os.path.join(unittest_constants.TEST_DATA_PATH,
74 test_java = os.path.join(unittest_constants.TEST_DATA_PATH,
227 test_jar_file = os.path.join(unittest_constants.MODULE_PATH, 'test.jar')
237 test_jar_file = os.path.join(unittest_constants.MODULE_PATH,
244 test_jar_file = os.path.join(unittest_constants.MODULE_PATH,
259 os.path.join(unittest_constants.MODULE_PATH, 'test.aar'),
260 os.path.join(unittest_constants.MODULE_PATH, 'test.jar'),
261 os.path.join(unittest_constants.MODULE_PATH,
265 os.path.join(unittest_constants.MODULE_PATH, 'test.jar')
276 os.path.join(unittest_constants.MODULE_PATH,
[all …]
Dconfig.py57 _CONFIG_DIR = os.path.join(
59 _CONFIG_FILE_PATH = os.path.join(_CONFIG_DIR, _DEFAULT_CONFIG_FILE)
66 _ENABLE_DEBUG_DIR = os.path.join(_CONFIG_DIR, _ENABLE_DEBUG_CONFIG_DIR)
69 DEBUG_ENABLED_FILE_PATH = os.path.join(_ENABLE_DEBUG_DIR,
102 key = '_'.join([ide, self._KEY_APPEND]) if ide else self._KEY_APPEND
126 key = '_'.join([ide, self._KEY_APPEND]) if ide else self._KEY_APPEND
183 _dir = os.path.join(self._ENABLE_DEBUG_DIR, dir_name)
194 _file = os.path.join(self._ENABLE_DEBUG_DIR, constant.ANDROID_MANIFEST)
289 lib_path = os.path.join(os.path.dirname(script_dir), _DIR_LIB)
335 self.idea_file = os.path.join(config_dir, self._PROPERTIES_FILE)
[all …]
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py40 self._image_dir = os.path.join(self._temp_dir, "images")
41 self._tool_dir = os.path.join(self._temp_dir, "tool")
42 self._instance_dir = os.path.join(self._temp_dir, "instance")
52 self._emulator_path = os.path.join(self._tool_dir, "emulator",
109 os.path.join(self._instance_dir, "logcat.txt"),
111 os.path.join(self._instance_dir, "stdouterr.txt")
129 self._CreateEmptyFile(os.path.join(self._image_dir,
131 self._CreateEmptyFile(os.path.join(self._image_dir, "system",
135 os.path.join(self._tool_dir, "emulator")}
179 self._CreateEmptyFile(os.path.join(self._image_dir, "system.img"))
[all …]
Dgoldfish_local_image_local_instance.py108 image_path = os.path.join(image_dir, partition_name + ".img")
139 image_path = os.path.join(image_dir, partition_name + ".img")
176 if not (os.path.isfile(os.path.join(image_dir, _SYSTEM_IMAGE_NAME)) or
177 os.path.isfile(os.path.join(image_dir,
243 mixed_super_image_path = os.path.join(output_dir, "mixed_super.img")
244 system_image_path = os.path.join(system_image_dir, _SYSTEM_IMAGE_NAME)
246 os.path.join(image_dir, _MISC_INFO_FILE_NAME),
251 disabled_vbmeta_image_path = os.path.join(output_dir,
256 combined_image = os.path.join(output_dir, "combined.img")
258 os.path.join(image_dir,
[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,
117 uniq_name = '_'.join(
118 [sub_folders[0], '_'.join(sub_folders[zero_base_index:])])
129 uniq_name = '_'.join([uniq_name_base, str(i)])
169 if os.path.exists(os.path.join(self._mod_path,
178 SRC=os.path.join(self._android_root, src),
182 SRC=os.path.join(self._android_root, test),
187 SOURCES=''.join(sorted(srcs)))
194 SRC=os.path.join(self._android_root, src),
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java227 mScheduler.join(); in testRun_empty()
258 mScheduler.join(); in testRun_oneConfig()
303 mScheduler.join(); in testRun_dryRun()
330 mScheduler.join(); in testRun_dryRun_keystore()
380 mScheduler.join(2*1000); in testExecCommand()
450 mScheduler.join(); in testRun_oneConfigLoop()
497 mScheduler.join(); in testRun_configSerial()
526 mScheduler.join(); in testRun_configExcludeSerial()
568 mScheduler.join(); in testRun_rescheduled()
710 mScheduler.join(); in testShutdown()
[all …]
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py44 _ROOT_DIR = os.path.join(common_util.get_android_root_dir(),
46 _TEST_DATA_PATH = os.path.join(_ROOT_DIR, 'test_data')
47 _VERIFY_COMMANDS_JSON = os.path.join(_TEST_DATA_PATH, 'verify_commands.json')
48 _GOLDEN_SAMPLES_JSON = os.path.join(_TEST_DATA_PATH, 'golden_samples.json')
49 _VERIFY_BINARY_JSON = os.path.join(_TEST_DATA_PATH, 'verify_binary_upload.json')
61 _GIT_COMMIT_ID_JSON = os.path.join(
203 file_name = ''.join([code_name, '.iml'])
204 dep_name = ''.join([constant.KEY_DEPENDENCIES, '.iml'])
220 return '-'.join(code_names)
354 real_iml_file = os.path.join(abs_path, filename)
[all …]
/tools/test/openhst/
Dstress_test.py257 logging.info("Restarting process %s", "".join(str(self.command)))
268 self.process = pexpect.spawn(" ".join(self.command), timeout=None)
423 name, command, os.path.join(
437 output = os.path.join(
565 with open(os.path.join(self.output_root,
592 "\n".join(["Current Summary:"] + self.GetSummaryLines()), bugreport)
621 process_logger.join()
653 destination = os.path.join(self.output_root,
670 bugreport = os.path.join(self.output_root,
679 bugreport_txt = os.path.join(self.output_root,
[all …]
/tools/acloud/list/
Dinstance.py49 _ACLOUD_CVD_TEMP = os.path.join(tempfile.gettempdir(), "acloud_cvd_temp")
79 return os.path.join(os.path.expanduser("~"), _CVD_RUNTIME_FOLDER_NAME,
104 cfg_path = os.path.join(GetLocalInstanceRuntimeDir(local_instance_id),
126 cfg_path = os.path.join(_ACLOUD_CVD_TEMP,
144 return os.path.join(_ACLOUD_CVD_TEMP,
157 return os.path.join(GetLocalInstanceHomeDir(local_instance_id),
246 return "\n".join(representation)
383 cvd_status_cmd = os.path.join(self._cf_runtime_cfg.cvd_tools_path,
425 stop_cvd_cmd = os.path.join(self.cf_runtime_cfg.cvd_tools_path,
523 return os.path.join(tempfile.gettempdir(), "acloud_gf_temp")
[all …]
/tools/tradefederation/core/atest/
Datest.py77 def _run_extra_tasks(join=False): argument
89 proc.daemon = not join
92 if join:
94 proc.join()
218 pre_patch_folder = (os.path.join(results_dir, 'baseline-metrics') if args.generate_baseline
220 post_patch_folder = (os.path.join(results_dir, 'new-metrics') if args.generate_new_metrics
423 print("\t\t{}".format(", ".join(test_info.build_targets)))
491 logging.debug('\n'.join([str(info) for info in tests]))
582 command_line=' '.join(argv),
609 _run_extra_tasks(join=True)
[all …]

12345678910>>...20