Home
last modified time | relevance | path

Searched refs:packageName (Results 1 – 25 of 26) sorted by relevance

12

/tools/platform-compat/java/com/android/class2nonsdklist/
DPackageAndClassName.java22 public String packageName; field in PackageAndClassName
25 private PackageAndClassName(String packageName, String className) { in PackageAndClassName() argument
26 this.packageName = packageName; in PackageAndClassName()
43 String packageName = fullyQualifiedClassName.substring(0, lastDotIdx); in splitClassName() local
45 return new PackageAndClassName(packageName, className); in splitClassName()
54 return Objects.equals(packageName, other.packageName) && Objects.equals(className, in equals()
60 return packageName + "." + className; in toString()
65 return Objects.hash(packageName, className); in hashCode()
DApiComponents.java45 .append(mPackageAndClassName.packageName) in toString()
263 if (packageAndClassName.packageName.isEmpty()) { in fromLinkTag()
264 packageAndClassName.packageName = contextAlternative.getPackageAndClassName() in fromLinkTag()
265 .packageName; in fromLinkTag()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt205 val packageName = packageStatement.packageName in <lambda>() constant
208 this.hiddenPackages[packageName] = true in <lambda>()
210 if (packageDocs[packageName] != null) { in <lambda>()
218 packageDocs[packageName] = text in <lambda>()
396 val packageName = qualifiedName.removeSuffix(".package-info") in <lambda>() constant
397 var list = packageToClasses[packageName] in <lambda>()
400 packageToClasses[packageName] = list in <lambda>()
409 val packageName = getPackageName(psiClass) in <lambda>() constant
410 var list = packageToClasses[packageName] in <lambda>()
413 packageToClasses[packageName] = list in <lambda>()
[all …]
DPsiSourceFileItem.kt220 uFile != null -> codebase.findPackage(uFile.packageName) in containingPackage()
221 file is PsiJavaFile -> codebase.findPackage(file.packageName) in containingPackage()
DJavadoc.kt1001 val pkg = packageName(owner) ?: return false in samePackage()
1005 private fun packageName(owner: PsiItem): String? { in packageName() method
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationPackageInfo.java28 private final String packageName; field in AttestationPackageInfo
31 public AttestationPackageInfo(String packageName, int version) { in AttestationPackageInfo() argument
32 this.packageName = packageName; in AttestationPackageInfo()
45 packageName = Asn1Utils.getStringFromAsn1OctetStreamAssumingUTF8( in AttestationPackageInfo()
56 return packageName; in getPackageName()
71 int res = packageName.compareTo(other.packageName); in compareTo()
DAttestationApplicationId.java49 for (String packageName : packageNames) { in AttestationApplicationId()
52 PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in AttestationApplicationId()
53 packageInfos.add(new AttestationPackageInfo(packageName, packageInfo.versionCode)); in AttestationApplicationId()
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DApiComponentsTest.java34 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testGetApiComponentsPackageFromSignature()
89 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testGetApiComponentsFromFieldLink()
98 assertThat(packageAndClassName.packageName).isEqualTo("b.c"); in testGetApiComponentsLinkOnlyClass()
107 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testGetApiComponentsFromLinkOnlyClassDeducePackage()
125 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testDeduceApiComponentsPackageFromLinkUsingContext()
134 assertThat(packageAndClassName.packageName).isEqualTo("a.b"); in testDeduceApiComponentsPackageAndClassFromLinkUsingContext()
/tools/loganalysis/src/com/android/loganalysis/parser/
DDumpsysPackageStatsParser.java45 String packageName = null; in parse() local
52 packageName = m.group(1); in parse()
65 if (packageName != null && versionCode != null) { in parse()
67 packageName, in parse()
70 packageName = null; in parse()
/tools/loganalysis/src/com/android/loganalysis/item/
DLocationDumpsItem.java67 public LocationInfoItem(String packageName, int effective, int min, int max, in LocationInfoItem() argument
70 setAttribute(PACKAGE, packageName); in LocationInfoItem()
132 public void addLocationClient(String packageName, int effective, int min, int max, in addLocationClient() argument
134 mLocationClients.add(new LocationInfoItem(packageName, effective, min, max, priority, in addLocationClient()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DApkInfo.java75 String packageName, in ApkInfo() argument
86 checkNotNull(packageName, Field.PACKAGE_NAME.getTag()); in ApkInfo()
91 this.mPackageName = packageName; in ApkInfo()
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/
DClassName.kt33 val packageName: String? constant
38 packageName = getPackage(withoutComments)
42 fun packageNameWithDefault() = packageName ?: "" in packageNameWithDefault()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java108 String packageName, String className) throws DeviceNotAvailableException, in runDeviceTests() argument
117 final RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests()
138 device.uninstallPackage(packageName); in runDeviceTests()
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java173 private Change createChange(String packageName, String enclosingElementName, Element element) { in createChange() argument
218 .javaPackage(packageName) in createChange()
219 .qualifiedClass(packageName + "." + enclosingElementName) in createChange()
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/
DPrefabPackageBuilder.kt73 private val packageName = "com.android.ndk.thirdparty.${packageData.name}" constant in com.android.ndkports.PrefabPackageBuilder
139 "package" to packageName, in createAndroidManifest()
DPackageBuilderTask.kt54 val packageName: Property<String> = constant
120 packageName.get(), in run()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt656 val packageName = field.containingClass().containingPackage().qualifiedName() in <lambda>() constant
659 else -> "$packageName.extra" in <lambda>()
1815 fun packageContainsSegment(packageName: String?, segment: String): Boolean { in <lambda>()
1816 packageName ?: return false in <lambda>()
1818 packageName.contains(segment) && in <lambda>()
1819 (packageName.contains(".$segment.") || packageName.endsWith(".$segment")) in <lambda>()
1823 fun skipPackage(packageName: String?): Boolean { in <lambda>()
1824 packageName ?: return false in <lambda>()
1826 if (packageContainsSegment(packageName, segment)) { in <lambda>()
DDriver.kt1020 return ClassName(source).packageName in findPackage()
/tools/platform-compat/java/android/processor/compat/
DSingleAnnotationProcessor.java192 String packageName = elements.getPackageOf(element).toString(); in getEnclosingElementName() local
193 return fullQualifiedName.substring(packageName.length() + 1); in getEnclosingElementName()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt531 val pkg = cls.packageName in <lambda>()
543 val pkg = cls.packageName in <lambda>()
/tools/dexter/testdata/expected/
Dmedium.rewrite12110 .params "info", "packageName"
12517 .params "info", "packageName"
13431 .params "packageName"
13531 43| const-string/jumbo v4, "; packageName: "
14087 .params "info", "packageName"
49507 .local v14, "packageName", java.lang.String
63440 .local v4, "packageName", java.lang.String
68779 44| iget-object v3, v3, android.content.pm.ApplicationInfo.packageName
122538 19| iget-object v5, v1, android.accounts.AuthenticatorDescription.packageName
133332 38| const-string/jumbo v1, "packageName"
[all …]
Dmedium.wrap_invoke12110 .params "info", "packageName"
12517 .params "info", "packageName"
13431 .params "packageName"
13531 43| const-string/jumbo v4, "; packageName: "
14087 .params "info", "packageName"
49507 .local v14, "packageName", java.lang.String
63440 .local v4, "packageName", java.lang.String
68779 44| iget-object v3, v3, android.content.pm.ApplicationInfo.packageName
122538 19| iget-object v5, v1, android.accounts.AuthenticatorDescription.packageName
133332 38| const-string/jumbo v1, "packageName"
[all …]
Dmedium.scratch_regs15723 .params "info", "packageName"
16382 .params "info", "packageName"
17549 .params "packageName"
17685 52| const-string/jumbo v11, "; packageName: "
18358 .params "info", "packageName"
58975 .local v14, "packageName", java.lang.String
74890 .local v4, "packageName", java.lang.String
81031 53| iget-object v12, v12, android.content.pm.ApplicationInfo.packageName
141794 37| iget-object v10, v6, android.accounts.AuthenticatorDescription.packageName
154157 38| const-string/jumbo v1, "packageName"
[all …]
Dmedium.compact_cfg14532 .params "info", "packageName"
15009 .params "info", "packageName"
16137 .params "packageName"
16247 43| const-string/jumbo v4, "; packageName: "
16873 .params "info", "packageName"
59442 .local v14, "packageName", java.lang.String
76099 .local v4, "packageName", java.lang.String
82562 44| iget-object v3, v3, android.content.pm.ApplicationInfo.packageName
146644 19| iget-object v5, v1, android.accounts.AuthenticatorDescription.packageName
159751 38| const-string/jumbo v1, "packageName"
[all …]
Dmedium.entry_hook12737 .params "info", "packageName"
13179 .params "info", "packageName"
14148 .params "packageName"
14254 46| const-string/jumbo v4, "; packageName: "
14840 .params "info", "packageName"
51040 .local v14, "packageName", java.lang.String
65300 .local v4, "packageName", java.lang.String
70766 47| iget-object v3, v3, android.content.pm.ApplicationInfo.packageName
125580 22| iget-object v5, v1, android.accounts.AuthenticatorDescription.packageName
136623 41| const-string/jumbo v1, "packageName"
[all …]

12