Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 67) sorted by relevance

123

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectoryEntry.java45 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/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java115 int minSdkVersion, SignerConfig parent, SignerCapabilities parentCapabilities, in createSigningLineage() argument
122 signingCertificateLineage.spawnFirstDescendant(parent, parentCapabilities); in createSigningLineage()
123 return signingCertificateLineage.spawnDescendant(parent, child, childCapabilities); in createSigningLineage()
308 public SigningCertificateLineage spawnDescendant(SignerConfig parent, SignerConfig child) in spawnDescendant() argument
311 if (parent == null || child == null) { in spawnDescendant()
315 return spawnDescendant(parent, child, signerCapabilities); in spawnDescendant()
327 SignerConfig parent, SignerConfig child, SignerCapabilities childCapabilities) in spawnDescendant() argument
330 if (parent == null) { in spawnDescendant()
347 parent.getCertificate().getEncoded())) { in spawnDescendant()
354 SignatureAlgorithm signatureAlgorithm = getSignatureAlgorithm(parent); in spawnDescendant()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt252 val parent = if (index != -1) { in <lambda>() constant
257 if (packageMap.containsKey(parent)) { in <lambda>()
261 parent in <lambda>()
287 val parent = findPackage(name) ?: continue in <lambda>() constant
288 pkg.containingPackageField = parent in <lambda>()
594 fun getComment(string: String, parent: PsiElement? = null): PsiDocComment = in <lambda>()
595 getFactory().createDocCommentFromText(string, parent) in <lambda>()
685 … fun createReferenceFromText(s: String, parent: PsiElement? = null): PsiJavaCodeReferenceElement = in <lambda>()
686 getFactory().createReferenceFromText(s, parent) in <lambda>()
688 fun createPsiMethod(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>()
[all …]
DPsiTypePrinter.kt570 val parent = aClass.parent in <lambda>() constant
571 if (parent is PsiClass && parent !is PsiAnonymousClass) { in <lambda>()
572 enclosingClass = parent in <lambda>()
/tools/dexter/slicer/
Ddex_ir_builder.cc25 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()
Ddex_ir.cc59 method_key.class_descriptor = method->decl->parent->descriptor; in GetKey()
72 return method_key.class_descriptor == method->decl->parent->descriptor && in Compare()
230 return (a->parent->index != b->parent->index) in Normalize()
231 ? a->parent->index < b->parent->index in Normalize()
241 return (a->parent->index != b->parent->index) in Normalize()
242 ? a->parent->index < b->parent->index in Normalize()
Dinstrumentation.cc126 this_argument_type = ir_method->decl->parent; in Apply()
168 param_types.push_back(ir_method->decl->parent); in GenerateShiftParamsCode()
264 types.push_back(ir_method->decl->parent); in InjectArrayParamsHook()
463 param_types.push_back(orig_method->parent); in Apply()
/tools/asuite/aidegen/lib/
Dnative_util_unittest.py96 parent = 'a/b'
97 mock_find_parent.return_value = parent
99 expected = (parent, targets)
115 parent = 'a/b'
117 mock_get_related.return_value = rel_path, os.path.join(parent, rel_path)
118 mock_find_parent.return_value = parent
123 expected = (parent, result_targets)
/tools/asuite/aidegen/project/
Dsource_splitter.py156 for parent in self._projects:
157 is_root = not parent.project_relative_path
158 if parent is child:
162 parent.project_relative_path) or is_root):
164 parent.source_path[key] -= child.source_path[key]
166 child, parent.source_path[key], root)
167 parent.source_path[key] -= rm_paths
/tools/metalava/src/main/java/com/android/tools/metalava/
DFileReadSandbox.kt156 var parent = file.parentFile in <lambda>() variable
158 if (parent == null) { in <lambda>()
162 val path = parent.absolutePath in <lambda>()
169 parent = parent.parentFile in <lambda>()
DDriver.kt1227 val parent = file.parentFile ?: continue in extractRoots() constant
1228 val found = dirToRootCache[parent.path] in extractRoots()
1234 dirToRootCache[parent.path] = root in extractRoots()
1252 val parent = file.parentFile ?: return null in findRoot() constant
1253 val endIndex = parent.path.length - pkg.length in findRoot()
DAnnotationsDiffer.kt72 val parent = item.parent() ?: return false in <lambda>() constant
73 return test(parent) in <lambda>()
DSdkFileWriter.kt291 val parent = clazz.superClass() in checkInheritance() constant
292 if (parent != null) { in checkInheritance()
293 checkInheritance(parent) in checkInheritance()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTarUtil.java104 final File parent = outputFile.getParentFile(); in unTar() local
105 if (parent != null && !parent.exists()) { in unTar()
106 if (!parent.mkdirs()) { in unTar()
110 parent.getAbsolutePath())); in unTar()
/tools/dexter/dexter/
Dexperimental.cc91 param_types.push_back(orig_method->parent); in StressWrapInvoke()
151 param_types.push_back(ir_method->decl->parent); in StressEntryHook()
365 if (std::strcmp(ir_method->decl->parent->descriptor->c_str(), kTracerClass) == 0) { in CodeCoverage()
385 ir_method->decl->parent->Decl().c_str(), in CodeCoverage()
449 auto class_descriptor = decl->parent->descriptor; in StressFindMethod()
Ddissasembler.cc207 printf("%s.%s", ir_field->parent->Decl().c_str(), ir_field->name->c_str()); in Visit()
215 ir_method->parent->Decl().c_str(), in Visit()
319 ir_method->decl->parent->Decl().c_str(), in DumpMethod()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java128 File parent = file.getParentFile(); in mkdirsRWX() local
130 if (parent != null && !parent.isDirectory()) { in mkdirsRWX()
132 if (!mkdirsRWX(parent)) { in mkdirsRWX()
134 Log.w(LOG_TAG, String.format("Failed to mkdir parent dir %s.", parent)); in mkdirsRWX()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java276 TestRecord.Builder parent = mLatestChild.peek(); in testRunStarted() local
277 runBuilder.setParentTestRecordId(parent.getTestRecordId()); in testRunStarted()
374 TestRecord.Builder parent = mLatestChild.peek(); in testStarted() local
375 testBuilder.setParentTestRecordId(parent.getTestRecordId()); in testStarted()
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaToolsDeviceBuildInfo.java34 public OtaToolsDeviceBuildInfo(OtaDeviceBuildInfo parent) { in OtaToolsDeviceBuildInfo() argument
35 setBaselineBuild(parent.mBaselineBuild); in OtaToolsDeviceBuildInfo()
36 setOtaBuild(parent.mOtaBuild); in OtaToolsDeviceBuildInfo()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResourceDownloader.java48 final File parent = dest.getParentFile(); in download() local
49 if (!parent.exists()) { in download()
50 parent.mkdirs(); in download()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt54 fun parent(): Item? in parent() method
58 return hidden || parent()?.hidden() ?: false in parent()
198 curr = curr.parent() in compilationUnit()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java244 for (ApiElement parent : Iterables.concat(mSuperClasses, mInterfaces)) { in isOverrideOfInherited()
246 if (parent.introducedNotLaterThan(method)) { in isOverrideOfInherited()
247 ApiClass cls = allClasses.get(parent.getName()); in isOverrideOfInherited()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationXmlParserTest.java208 ConfigurationDef parent = new ConfigurationDef("name"); in testParse_includeMissing() local
211 parent, in testParse_includeMissing()
221 xmlParser.parse(parent, "name", getStringAsStream(config), null); in testParse_includeMissing()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java329 File parent = file.getParentFile(); in scanFile() local
330 toScan = new File(parent, lArgs.get(1)); in scanFile()
332 "for parent dir", lArgs.get(1), parent); in scanFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java308 private void createEmptyFiles(File parent, String... names) throws IOException { in createEmptyFiles() argument
309 parent.mkdirs(); in createEmptyFiles()
311 Assert.assertTrue(new File(parent, name).createNewFile()); in createEmptyFiles()

123