/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatLfnDirectoryEntry.java | 45 private FatLfnDirectory parent; field in FatLfnDirectoryEntry 49 FatLfnDirectory parent, boolean directory) { in FatLfnDirectoryEntry() argument 53 this.parent = parent; in FatLfnDirectoryEntry() 63 FatLfnDirectoryEntry(FatLfnDirectory parent, in FatLfnDirectoryEntry() argument 66 super(parent.isReadOnly()); in FatLfnDirectoryEntry() 68 this.parent = parent; in FatLfnDirectoryEntry() 247 if (!this.parent.isFreeName(newName)) { in setName() 252 this.parent.unlinkEntry(this); in setName() 254 this.parent.linkEntry(this); in setName() 276 this.parent.unlinkEntry(this); in moveTo() [all …]
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/ |
D | CommonSuperMethodsTest.kt | 63 fun `Test no super method from parent class as static`() { in Test no super method from parent class as static() 108 fun `Test no super method from parent class as private`() { in Test no super method from parent class as private() 139 fun `Test single super method from parent class`() { in Test single super method from parent class() 185 fun `Test single super method from grand parent class`() { in Test single super method from grand parent class() 242 fun `Test single super method from parent and grand parent class`() { in Test single super method from parent and grand parent class() 300 fun `Test single super method from parent interface`() { in Test single super method from parent interface() 347 fun `Test single super method from grand parent interface`() { in Test single super method from grand parent interface() 404 fun `Test single super method from parent and grand parent interface`() { in Test single super method from parent and grand parent interface() 463 fun `Test multiple super methods from parent interfaces`() { in Test multiple super methods from parent interfaces() 530 fun `Test multiple super methods from parent interfaces (reverse)`() { in Test multiple super methods from parent interfaces (reverse)() [all …]
|
/tools/dexter/slicer/ |
D | dex_ir_builder.cc | 25 return ::strcmp(class_descriptor, method_decl->parent->descriptor->c_str()) == 0 in Match() 178 FieldDecl* Builder::GetFieldDecl(String* name, Type* type, Type* parent) { in GetFieldDecl() argument 183 ir_field->parent == parent) { in GetFieldDecl() 192 ir_field->parent = parent; in GetFieldDecl() 204 MethodDecl* Builder::GetMethodDecl(String* name, Proto* proto, Type* parent) { in GetMethodDecl() argument 209 ir_method->parent == parent) { in GetMethodDecl() 218 ir_method->parent = parent; in GetMethodDecl()
|
D | dex_ir.cc | 58 method_key.class_descriptor = method->decl->parent->descriptor; in GetKey() 71 return method_key.class_descriptor == method->decl->parent->descriptor && in Compare() 238 return (a->parent->index != b->parent->index) in Normalize() 239 ? a->parent->index < b->parent->index in Normalize() 249 return (a->parent->index != b->parent->index) in Normalize() 250 ? a->parent->index < b->parent->index in Normalize()
|
/tools/external_updater/tests/endtoend/ |
D | conftest.py | 24 THIS_DIR = Path(__file__).parent.resolve() 25 EXTERNAL_UPDATER_DIR = THIS_DIR.parent.parent 26 ANDROID_DIR = EXTERNAL_UPDATER_DIR.parent.parent
|
/tools/metalava/scripts/ |
D | refresh-baselines.py | 41 project_dir = buildFile.parent 61 script_dir = this.parent 62 metalava_dir = script_dir.parent 63 out_dir = metalava_dir.parent.parent / "out"
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 126 int minSdkVersion, SignerConfig parent, SignerCapabilities parentCapabilities, in createSigningLineage() argument 133 signingCertificateLineage.spawnFirstDescendant(parent, parentCapabilities); in createSigningLineage() 134 return signingCertificateLineage.spawnDescendant(parent, child, childCapabilities); in createSigningLineage() 384 public SigningCertificateLineage spawnDescendant(SignerConfig parent, SignerConfig child) in spawnDescendant() argument 387 if (parent == null || child == null) { in spawnDescendant() 391 return spawnDescendant(parent, child, signerCapabilities); in spawnDescendant() 403 SignerConfig parent, SignerConfig child, SignerCapabilities childCapabilities) in spawnDescendant() argument 406 if (parent == null) { in spawnDescendant() 423 parent.getCertificate().getEncoded())) { in spawnDescendant() 430 SignatureAlgorithm signatureAlgorithm = getSignatureAlgorithm(parent); in spawnDescendant() [all …]
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 382 val parent = in <lambda>() constant 388 if (packageMap.containsKey(parent)) { in <lambda>() 392 parent in <lambda>() 418 val parent = findPackage(name) ?: continue in <lambda>() constant 419 pkg.containingPackageField = parent in <lambda>() 766 internal fun getComment(string: String, parent: PsiElement? = null): PsiDocComment = in <lambda>() 767 getFactory().createDocCommentFromText(string, parent) in <lambda>() 848 internal fun createPsiMethod(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>() 849 getFactory().createMethodFromText(s, parent) in <lambda>() 851 internal fun createPsiType(s: String, parent: PsiElement? = null): PsiType = in <lambda>() [all …]
|
/tools/asuite/aidegen/lib/ |
D | native_util_unittest.py | 97 parent = 'a/b' 98 mock_find_parent.return_value = parent 100 expected = (parent, targets) 116 parent = 'a/b' 118 mock_get_related.return_value = rel_path, os.path.join(parent, rel_path) 119 mock_find_parent.return_value = parent 124 expected = (parent, result_targets)
|
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/metalava/model/source/ |
D | SourceSet.kt | 141 val parent = file.parentFile ?: continue in extractRoots() constant 142 val found = dirToRootCache[parent.path] in extractRoots() 148 dirToRootCache[parent.path] = root in extractRoots() 165 val parent = file.parentFile ?: return null in findRoot() constant 166 val endIndex = parent.path.length - pkg.length in findRoot()
|
/tools/asuite/aidegen/project/ |
D | project_splitter.py | 172 for parent in self._projects: 173 is_root = not parent.project_relative_path 174 if parent is child: 178 parent.project_relative_path) or is_root): 180 parent.source_path[key] -= child.source_path[key] 182 child, parent.source_path[key], root) 183 parent.source_path[key] -= rm_paths
|
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/ |
D | AndroidTestUtils.kt | 73 val parent = cwd.parentFile in getMetalavaDir() constant 74 if (parent.isMetalavaRootDir()) parent in getMetalavaDir()
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 206 parent = get_parent_cls_name(test_path) 207 if not parent: 210 parent_cls = re.sub(r'\<\w+\>', '', parent) 1287 parent = Path(file_path).absolute().parent 1288 while not parent.samefile('/') and not parent.samefile(build_top): 1289 if parent.joinpath('.git').is_dir(): 1290 return parent.absolute() 1291 parent = parent.parent
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/ |
D | ExtensionSdkJarReaderTest.kt | 101 val parent = file.parentFile ?: throw FileNotFoundException("$file has no parent") in createDirectoryRecursively() constant 102 if (!parent.exists()) { in createDirectoryRecursively() 103 createDirectoryRecursively(parent) in createDirectoryRecursively()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TarUtil.java | 154 final File parent = outputFile.getParentFile(); in unTar() local 155 if (parent != null && !parent.exists()) { in unTar() 156 if (!parent.mkdirs()) { in unTar() 160 parent.getAbsolutePath())); in unTar()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TestResourceDownloader.java | 42 final File parent = dest.getParentFile(); in download() local 43 if (!parent.exists()) { in download() 44 parent.mkdirs(); in download()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeItemTest.kt | 1310 val parent = codebase.assertClass("test.pkg.Parent") in Test convertType() constant 1316 val mVar = parent.assertMethod("getM", "").returnType() in Test convertType() 1317 val xVar = mVar.convertType(child, parent) in Test convertType() 1321 val nArray = parent.assertMethod("getNArray", "").returnType() in Test convertType() 1322 val yArray = nArray.convertType(child, parent) in Test convertType() 1327 val mList = parent.assertMethod("getMList", "").returnType() in Test convertType() 1328 val xList = mList.convertType(child, parent) in Test convertType() 1333 val mToNMap = parent.assertMethod("getMap", "").returnType() in Test convertType() 1334 val xToYMap = mToNMap.convertType(child, parent) in Test convertType() 1340 val wildcards = parent.assertMethod("getWildcards", "").returnType() in Test convertType() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/cache/ |
D | MerkleTreeTest.java | 94 File parent = file.getParentFile(); in addFile() local 95 if (!parent.exists()) { in addFile() 96 parent.mkdirs(); in addFile()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/ |
D | CommonClassItemTest.kt | 883 val parent = codebase.assertClass("test.pkg.Parent") in Test basic mapTypeVariables() constant 884 val parentTypeParams = parent.typeParameterList in Test basic mapTypeVariables() 893 assertEquals(mapOf(m to x, n to y), child.mapTypeVariables(parent)) in Test basic mapTypeVariables() 896 assertEquals(emptyMap(), parent.mapTypeVariables(child)) in Test basic mapTypeVariables() 1058 val parent = codebase.assertClass("test.pkg.Parent") in Test mapTypeVariables with concrete classes() constant 1059 val t = parent.typeParameterList[0] in Test mapTypeVariables with concrete classes() 1064 val erasedParentType = parent.type().duplicate(null, emptyList()) in Test mapTypeVariables with concrete classes() 1067 parent.mapTypeVariables(grandparent) in Test mapTypeVariables with concrete classes() 1069 assertEquals(mapOf(t to child.type()), child.mapTypeVariables(parent)) in Test mapTypeVariables with concrete classes()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | Item.kt | 56 fun parent(): Item? in parent() method 63 return hidden || parent()?.hidden() ?: false in parent() 72 parent()?.isCompatibilitySuppressed() ?: false in isCompatibilitySuppressed() 194 curr = curr.parent() in isHiddenOrRemoved()
|
/tools/test/mobly_extensions/tools/results_uploader/src/ |
D | resultstore_client.py | 155 parent=f'invocations/{self._invocation_id}', 193 parent=self._invocation_name, 218 parent=self._target_name, 259 parent=self._configured_target_name,
|
/tools/asuite/atest/integration_tests/ |
D | snapshot.py | 260 content_path.parent.mkdir(parents=True, exist_ok=True) 274 self._get_cache_path().parent.mkdir(parents=True, exist_ok=True) 475 snapshot_path.parent.mkdir(parents=True, exist_ok=True) 577 file_path.parent.mkdir(parents=True, exist_ok=True) 581 file_path.parent.mkdir(parents=True, exist_ok=True) 594 file_path.parent.mkdir(parents=True, exist_ok=True)
|
/tools/dexter/slicer/export/slicer/ |
D | dex_ir_builder.h | 60 FieldDecl* GetFieldDecl(String* name, Type* type, Type* parent); 61 MethodDecl* GetMethodDecl(String* name, Proto* proto, Type* parent);
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | SdkFileWriter.kt | 291 val parent = clazz.superClass() in checkInheritance() constant 292 if (parent != null) { in checkInheritance() 293 checkInheritance(parent) in checkInheritance()
|
/tools/dexter/dexter/ |
D | experimental.cc | 92 param_types.push_back(orig_method->parent); in StressWrapInvoke() 152 param_types.push_back(ir_method->decl->parent); in StressEntryHook() 366 if (std::strcmp(ir_method->decl->parent->descriptor->c_str(), kTracerClass) == 0) { in CodeCoverage() 386 ir_method->decl->parent->Decl().c_str(), in CodeCoverage() 450 auto class_descriptor = decl->parent->descriptor; in StressFindMethod()
|