/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessorTest.java | 94 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 …]
|
/tools/asuite/aidegen/idea/ |
D | iml.py | 70 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 …]
|
D | iml_unittest.py | 67 iml_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/test_iml.iml') 74 module_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b') 75 src_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/src') 76 test_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/tests') 77 srcjar_path = os.path.join(IMLGenUnittests._TEST_DIR, 'x/y.srcjar') 78 jar_path = os.path.join(IMLGenUnittests._TEST_DIR, 's.jar') 111 gen_iml = os.path.join(IMLGenUnittests._TEST_DIR, 121 src_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/src') 122 test_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/tests') 140 gen_iml = os.path.join(IMLGenUnittests._TEST_DIR,
|
/tools/asuite/aidegen/lib/ |
D | project_file_gen.py | 60 _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 …]
|
D | eclipse_project_file_gen.py | 71 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 …]
|
D | project_file_gen_unittest.py | 43 _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 …]
|
D | common_util.py | 137 abs_path = os.path.join(get_android_root_dir(), rel_path) 140 or os.path.isdir(os.path.join(get_android_root_dir(), target))): 142 abs_path = os.path.join(get_android_root_dir(), rel_path) 145 abs_path = os.path.abspath(os.path.join(os.getcwd(), target)) 308 return os.path.join(get_android_root_dir(), rel_path) 359 return os.path.join(get_soong_out_path(), file_name) 393 android_out_dir_common_base = (os.path.join( 421 return os.path.join(get_android_root_dir(), constant.AIDEGEN_ROOT_PATH) 436 return os.path.join(get_android_root_dir(), get_android_out_dir(), 'soong') 462 return os.path.isfile(os.path.join(abs_path, constant.ANDROID_BP)) [all …]
|
D | config.py | 57 _CONFIG_DIR = os.path.join( 59 _CONFIG_FILE_PATH = os.path.join(_CONFIG_DIR, _DEFAULT_CONFIG_FILE) 65 _ENABLE_DEBUG_DIR = os.path.join(_CONFIG_DIR, _ENABLE_DEBUG_CONFIG_DIR) 68 DEBUG_ENABLED_FILE_PATH = os.path.join(_ENABLE_DEBUG_DIR, 101 key = '_'.join([ide, self._KEY_APPEND]) if ide else self._KEY_APPEND 125 key = '_'.join([ide, self._KEY_APPEND]) if ide else self._KEY_APPEND 164 _dir = os.path.join(self._ENABLE_DEBUG_DIR, dir_name) 175 _file = os.path.join(self._ENABLE_DEBUG_DIR, constant.ANDROID_MANIFEST) 270 lib_path = os.path.join(os.path.dirname(script_dir), _DIR_LIB) 316 self.idea_file = os.path.join(config_dir, self._PROPERTIES_FILE) [all …]
|
D | ide_util.py | 79 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 …]
|
/tools/asuite/atest/ |
D | constants_default.py | 208 INDEX_DIR = os.path.join(os.getenv(ANDROID_HOST_OUT, ''), 'indexes') 209 LOCATE_CACHE = os.path.join(INDEX_DIR, 'mlocate.db') 210 INT_INDEX = os.path.join(INDEX_DIR, 'integration.idx') 211 CLASS_INDEX = os.path.join(INDEX_DIR, 'classes.idx') 212 CC_CLASS_INDEX = os.path.join(INDEX_DIR, 'cc_classes.idx') 213 PACKAGE_INDEX = os.path.join(INDEX_DIR, 'packages.idx') 214 QCLASS_INDEX = os.path.join(INDEX_DIR, 'fqcn.idx') 215 MODULE_INDEX = os.path.join(INDEX_DIR, 'modules.idx') 216 VERSION_FILE = os.path.join(os.path.dirname(__file__), 'VERSION') 235 LATEST_RESULT_FILE = os.path.join(ATEST_RESULT_ROOT, 'LATEST', 'test_result')
|
/tools/tradefederation/core/atest/ |
D | constants_default.py | 205 INDEX_DIR = os.path.join(os.getenv(ANDROID_HOST_OUT, ''), 'indexes') 206 LOCATE_CACHE = os.path.join(INDEX_DIR, 'mlocate.db') 207 INT_INDEX = os.path.join(INDEX_DIR, 'integration.idx') 208 CLASS_INDEX = os.path.join(INDEX_DIR, 'classes.idx') 209 CC_CLASS_INDEX = os.path.join(INDEX_DIR, 'cc_classes.idx') 210 PACKAGE_INDEX = os.path.join(INDEX_DIR, 'packages.idx') 211 QCLASS_INDEX = os.path.join(INDEX_DIR, 'fqcn.idx') 212 MODULE_INDEX = os.path.join(INDEX_DIR, 'modules.idx') 213 VERSION_FILE = os.path.join(os.path.dirname(__file__), 'VERSION') 232 LATEST_RESULT_FILE = os.path.join(ATEST_RESULT_ROOT, 'LATEST', 'test_result')
|
/tools/treble/build/sandbox/ |
D | overlay.py | 71 path_in_source = os.path.join(bind_mount.source_dir, relative_path) 111 os.path.join(destination_dir, current_dir_relative)) 141 os.path.join(destination_dir, current_dir_relative)) 150 subdir_origin = os.path.join(current_dir_origin, subdir) 153 subdir_destination = os.path.join(intermediate_work_dir, 159 file_origin = os.path.join(current_dir_origin, file) 160 file_destination = os.path.join(current_dir_destination, file) 189 main_out_dir = os.path.join(source_dir, 'out') 195 out_origin = os.path.join(source_dir, subdir) 198 out_destination = os.path.join(destination_dir, subdir) [all …]
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance_test.py | 40 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 …]
|
D | goldfish_local_image_local_instance.py | 108 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/acloud/public/acloud_kernel/ |
D | kernel_swapper_test.py | 52 self.ssh_cmd_prefix = 'ssh %s root@%s' % (' '.join( 54 self.scp_cmd_prefix = 'scp %s' % ' '.join(kernel_swapper.SSH_FLAGS) 60 scp_cmd = ' '.join([ 71 reboot_cmd = ' '.join( 82 mount_cmd = ' '.join( 85 scp_cmd = ' '.join([ 89 reboot_cmd = ' '.join(
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 38 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 …]
|
D | cache_finder_unittest.py | 45 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root') 48 mock_get_cache_path.return_value = os.path.join( 54 mock_get_cache_path.return_value = os.path.join( 59 mock_get_cache_path.return_value = os.path.join(
|
D | suite_plan_finder_unittest.py | 42 self.suite_plan_finder.suite_plan_dirs = [os.path.join(uc.ROOT, uc.CTS_INT_DIR)] 62 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_plan+'.xml') 71 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_plan+'.xml') 80 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, 'cts-common.xml') 85 path = os.path.join(uc.ROOT, 'cts-common.xml') 120 _search.return_value = [os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_name + '.xml')] 155 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml') 166 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml') 177 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml')
|
D | tf_integration_finder_unittest.py | 38 GTF_INT_CONFIG = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml') 59 self.tf_finder.integration_dirs = [os.path.join(uc.ROOT, uc.INT_DIR), 60 os.path.join(uc.ROOT, uc.GTF_INT_DIR)] 78 mock_find.return_value = os.path.join(uc.ROOT, uc.INT_DIR, uc.INT_NAME + '.xml') 91 mock_find.return_value = os.path.join(uc.ROOT, uc.GTF_INT_DIR, 114 path = os.path.join(uc.INT_DIR, uc.INT_NAME + '.xml') 118 path = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml') 128 search.return_value = [os.path.join(uc.TEST_DATA_DIR, 130 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG)
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_utils_unittest.py | 35 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 …]
|
D | cache_finder_unittest.py | 42 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root') 45 mock_get_cache_path.return_value = os.path.join( 51 mock_get_cache_path.return_value = os.path.join( 56 mock_get_cache_path.return_value = os.path.join(
|
D | tf_integration_finder_unittest.py | 35 GTF_INT_CONFIG = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml') 56 self.tf_finder.integration_dirs = [os.path.join(uc.ROOT, uc.INT_DIR), 57 os.path.join(uc.ROOT, uc.GTF_INT_DIR)] 75 mock_find.return_value = os.path.join(uc.ROOT, uc.INT_DIR, uc.INT_NAME + '.xml') 88 mock_find.return_value = os.path.join(uc.ROOT, uc.GTF_INT_DIR, 110 path = os.path.join(uc.INT_DIR, uc.INT_NAME + '.xml') 114 path = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml') 124 search.return_value = [os.path.join(uc.TEST_DATA_DIR, 126 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG)
|
D | suite_plan_finder_unittest.py | 38 self.suite_plan_finder.suite_plan_dirs = [os.path.join(uc.ROOT, uc.CTS_INT_DIR)] 58 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_plan+'.xml') 67 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_plan+'.xml') 76 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, 'cts-common.xml') 81 path = os.path.join(uc.ROOT, 'cts-common.xml') 116 _search.return_value = [os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_name + '.xml')] 151 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml') 162 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml') 173 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml')
|
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/command/ |
D | instrumentation_command_builder.py | 71 call.append(os.path.join('$EXTERNAL_STORAGE', self._nohup_log_path)) 73 return " ".join(call) 83 .format(','.join(errors))) 152 .format(','.join(errors))) 159 call.append(','.join(self._packages)) 163 call.append(','.join(self._classes)) 169 call.append(os.path.join('$EXTERNAL_STORAGE', self._nohup_log_path)) 171 return ' '.join(call)
|
/tools/doc_generation/ |
D | switcher4.py | 45 kotlin_ref_root = os.path.join(java_ref_root, "kotlin") 105 java_source_abs_path = os.path.join(java_ref_root, stem) 106 kotlin_source_abs_path = os.path.join(kotlin_ref_root, stem) 130 print "***", os.path.join(root, file_) 136 doc = os.path.join(root, file_) 179 print "***", os.path.join(root, file_) 185 doc = os.path.join(root, file_) 189 include_path = os.path.join("/reference/_kotlin", file_path)
|