/tools/treble/build/sandbox/ |
D | overlay_test.py | 64 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 …]
|
D | overlay.py | 76 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 …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 36 JSON_FILE_PATH = os.path.join(uc.TEST_DATA_DIR, uc.JSON_FILE) 41 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1') 42 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2') 69 VTS_PLAN_TARGETS = {os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-staging-default.xml.data'), 70 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml.data'), 71 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml.data'), 72 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml.data'), 73 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml.data')} 86 IT_TEST_MATCHED_1_PATH = os.path.join(UNIT_TEST_SEARCH_ROOT, 'sub1') 87 UNIT_TEST_MATCHED_2_PATH = os.path.join(UNIT_TEST_SEARCH_ROOT, 'sub1', 'sub2') [all …]
|
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, 148 os.path.join( [all …]
|
D | cache_finder_unittest.py | 54 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root') 57 mock_get_cache_path.return_value = os.path.join( 65 mock_get_cache_path.return_value = os.path.join( 70 mock_get_cache_path.return_value = os.path.join( 82 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root') 87 mock_get_cache_path.return_value = os.path.join( 101 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root') 103 mock_get_cache_path.return_value = os.path.join( 119 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root') 121 mock_get_cache_path.return_value = os.path.join(
|
D | test_finder_utils.py | 147 _VTS_PUSH_DIR = os.path.join(os.environ.get(constants.ANDROID_BUILD_TOP, ''), 375 print('Multiple tests found:\n{0}'.format('\n'.join(numbered_list))) 431 user_out_dir = os.path.join(build_top, custom_out_dir) 576 if (os.path.isfile(os.path.join(current_dir, constants.MODULE_CONFIG)) 714 full_push_file_path = os.path.join(_VTS_PUSH_DIR, push_file) 729 targets.add(os.path.join(rel_out_dir, sanitized_target)) 773 target = os.path.join(rel_out_dir, match.group('target')) 777 target = os.path.join(rel_out_dir, target) 808 plans |= get_plans_from_vts_xml(os.path.join(xml_dir, name + ".xml")) 858 targets.add(os.path.join( [all …]
|
/tools/platform-compat/javatest/com/android/class2nonsdklist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 60 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/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, 180 SRC=os.path.join(self._android_root, src), 184 SRC=os.path.join(self._android_root, src), 189 SRC=os.path.join(self._android_root, test), 193 SRC=os.path.join(self._android_root, test), [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/acloud/create/ |
D | goldfish_local_image_local_instance_test.py | 42 self._image_dir = os.path.join(self._temp_dir, "images") 43 self._tool_dir = os.path.join(self._temp_dir, "tool") 44 self._instance_dir = os.path.join(self._temp_dir, "instance") 57 self._emulator_path = os.path.join(self._tool_dir, "emulator", 115 os.path.join(self._instance_dir, "logcat.txt"), 117 os.path.join(self._instance_dir, "stdouterr.txt") 133 self._CreateEmptyFile(os.path.join(self._image_dir, 135 self._CreateEmptyFile(os.path.join(self._image_dir, "system", 139 os.path.join(self._tool_dir, "emulator")} 187 self._CreateEmptyFile(os.path.join(self._image_dir, "x86", [all …]
|
D | goldfish_local_image_local_instance.py | 233 mixed_super_image_path = os.path.join(output_dir, "mixed_super.img") 236 os.path.join(image_dir, _MISC_INFO_FILE_NAME), 241 disabled_vbmeta_image_path = os.path.join(output_dir, 246 combined_image = os.path.join(output_dir, "combined.img") 249 os.path.join(image_dir, _SYSTEM_QEMU_CONFIG_FILE_NAME), 276 if os.path.isfile(os.path.join(search_path, _EMULATOR_BIN_NAME)): 280 sdk_repo_dir = os.path.join(search_path, 282 if os.path.isfile(os.path.join(sdk_repo_dir, _EMULATOR_BIN_NAME)): 291 os.path.join(prebuilt_emulator_dir, _EMULATOR_BIN_NAME))): 300 subdir_path = os.path.join(emulator_dir, subdir_name) [all …]
|
D | local_image_local_instance_test.py | 255 cvd_dir = os.path.join(temp_dir, "cvd-host_package") 256 self._CreateEmptyFile(os.path.join(cvd_dir, "bin", "launch_cvd")) 274 image_dir = os.path.join(temp_dir, "image") 275 cvd_dir = os.path.join(temp_dir, "cvd-host_package") 277 extra_image_dir = os.path.join(temp_dir, "extra_image") 278 system_image_path = os.path.join(extra_image_dir, "system.img") 279 boot_image_path = os.path.join(extra_image_dir, "boot.img") 280 misc_info_path = os.path.join(image_dir, "misc_info.txt") 281 self._CreateEmptyFile(os.path.join(image_dir, "vbmeta.img")) 282 self._CreateEmptyFile(os.path.join(cvd_dir, "bin", "launch_cvd")) [all …]
|
/tools/asuite/atest-py2/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 | test_finder_utils.py | 119 _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/ |
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 | 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 | 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') 236 jdk_file = os.path.join(_config_path, self._IDE_JDK_TABLE_PATH) 245 intellij_config_dir = os.path.join(_config_path, self._CONFIG_DIR) 260 file_type_path = os.path.join(_config_path, self._IDE_FILE_TYPE_PATH) 302 return ' '.join(self._bin_folders) 347 return [os.path.join(f, self._bin_file_name) for f in self._bin_folders] 446 display_versions[index] = ' -> '.join( [all …]
|
D | common_util.py | 143 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 …]
|
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 | clion_project_file_gen.py | 147 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(), 293 if not os.path.exists(os.path.join(root, src)): 295 hfile.write(''.join([_build_cmake_path(src, ' '), '\n'])) 394 cc_dir = os.path.join(root_dir, constant.RELATIVE_NATIVE_PATH, 396 cc_out_dir = os.path.join(root_dir, common_util.get_android_out_dir(), 400 dst_path = os.path.join(cc_out_dir, constant.CLION_PROJECT_FILE_NAME) 403 src_path = os.path.join(cc_dir, constant.CLION_PROJECT_FILE_NAME) 442 os.path.join(mod_path, mod_name)) [all …]
|
D | config.py | 57 _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/doc_generation/ |
D | switcher4.py | 45 kotlin_ref_root = os.path.join(java_ref_root, "kotlin") 68 insert_stub(os.path.join(java_ref_root, "packages.html"), True, True) 69 insert_stub(os.path.join(kotlin_ref_root, "packages.html"), False, True) 71 insert_stub(os.path.join(java_ref_root, "classes.html"), True, True) 72 insert_stub(os.path.join(kotlin_ref_root, "classes.html"), False, True) 127 java_source_abs_path = os.path.join(java_ref_root, stem) 128 kotlin_source_abs_path = os.path.join(kotlin_ref_root, stem) 152 print "***", os.path.join(root, file_) 158 doc = os.path.join(root, file_) 201 print "***", os.path.join(root, file_) [all …]
|
/tools/asuite/atest/ |
D | constants_default.py | 239 INDEX_DIR = os.path.join(os.getenv(ANDROID_HOST_OUT, ''), 'indexes') 240 LOCATE_CACHE = os.path.join(INDEX_DIR, 'mlocate.db') 241 LOCATE_CACHE_MD5 = os.path.join(INDEX_DIR, 'mlocate.md5') 242 INT_INDEX = os.path.join(INDEX_DIR, 'integration.idx') 243 CLASS_INDEX = os.path.join(INDEX_DIR, 'classes.idx') 244 CC_CLASS_INDEX = os.path.join(INDEX_DIR, 'cc_classes.idx') 245 PACKAGE_INDEX = os.path.join(INDEX_DIR, 'packages.idx') 246 QCLASS_INDEX = os.path.join(INDEX_DIR, 'fqcn.idx') 247 MODULE_INDEX = os.path.join(INDEX_DIR, 'modules.idx') 248 VERSION_FILE = os.path.join(os.path.dirname(__file__), 'VERSION') [all …]
|
/tools/asuite/atest-py2/ |
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/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 46 _ROOT_DIR = os.path.join(common_util.get_android_root_dir(), 48 _TEST_DATA_PATH = os.path.join(_ROOT_DIR, 'test_data') 49 _VERIFY_COMMANDS_JSON = os.path.join(_TEST_DATA_PATH, 'verify_commands.json') 50 _GOLDEN_SAMPLES_JSON = os.path.join(_TEST_DATA_PATH, 'golden_samples.json') 51 _VERIFY_BINARY_JSON = os.path.join(_TEST_DATA_PATH, 'verify_binary_upload.json') 52 _VERIFY_PRESUBMIT_JSON = os.path.join(_TEST_DATA_PATH, 'verify_presubmit.json') 64 _GIT_COMMIT_ID_JSON = os.path.join( 219 file_name = ''.join([code_name, '.iml']) 220 dep_name = ''.join([constant.KEY_DEPENDENCIES, '.iml']) 236 return '-'.join(code_names) [all …]
|