/external/proguard/src/proguard/ |
D | GPL.java | 111 String packageName = (String)iterator.next(); in uniquePackageNames() local 112 if (!containsPrefix(packageNames, packageName)) in uniquePackageNames() 114 buffer.append(packageName).append(", "); in uniquePackageNames() 160 private static boolean isKnown(String packageName) in isKnown() argument 162 return packageName.startsWith("java") || in isKnown() 163 packageName.startsWith("sun.reflect") || in isKnown() 164 packageName.startsWith("proguard") || in isKnown() 165 packageName.startsWith("org.apache.tools.ant") || in isKnown() 166 packageName.startsWith("org.apache.tools.maven") || in isKnown() 167 packageName.startsWith("org.gradle") || in isKnown() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | ResName.java | 16 public final @Nonnull String packageName; field in ResName 22 public ResName(@Nonnull String packageName, @Nonnull String type, @Nonnull String name) { in ResName() argument 23 this.packageName = packageName; in ResName() 35 packageName = matcher.group(NAMESPACE); in ResName() 41 …if (packageName.equals("xmlns")) throw new IllegalStateException("\"" + fullyQualifiedName + "\" u… in ResName() 53 return qualifyResName(possiblyQualifiedResourceName, defaults.packageName, defaults.type); in qualifyResName() 60 String packageName = null; in qualifyResName() local 66 packageName = possiblyQualifiedResourceName.substring(indexOfSlash + 1, indexOfColon); in qualifyResName() 70 packageName = possiblyQualifiedResourceName.substring(0, indexOfColon); in qualifyResName() 76 …if ((type == null && defaultType == null) || (packageName == null && defaultPackageName == null)) { in qualifyResName() [all …]
|
D | StyleData.java | 11 private final String packageName; field in StyleData 16 …public StyleData(String packageName, String name, String parent, List<AttributeResource> attribute… in StyleData() argument 17 this.packageName = packageName; in StyleData() 46 …ttributeResource == null && !"android".equals(resName.packageName) && !"android".equals(packageNam… in getAttrValue() 47 attributeResource = items.get(resName.withPackageName(packageName)); in getAttrValue() 49 … attributeResource = new AttributeResource(resName, attributeResource.value, resName.packageName); in getAttrValue() 82 return Objects.equals(packageName, other.packageName) in equals() 91 hashCode = 31 * hashCode + Strings.nullToEmpty(packageName).hashCode(); in hashCode() 99 return "Style " + packageName + ":" + name; in toString() 103 return packageName; in getPackageName()
|
D | XmlContext.java | 6 private final String packageName; field in XmlContext 10 public XmlContext(String packageName, FsFile xmlFile, Qualifiers qualifiers) { in XmlContext() argument 11 this.packageName = packageName; in XmlContext() 17 return packageName; in getPackageName() 33 return '{' + packageName + ':' + xmlFile + '}'; in toString()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 79 if (applicationEnabledSettingMap.get(packageInfo.packageName) in getInstalledPackages() 93 String packageName = component.getPackageName(); in getActivityInfo() local 94 PackageInfo packageInfo = packageInfos.get(packageName); in getActivityInfo() 113 result.packageName = packageName; in getActivityInfo() 122 result.packageName = packageName; in getActivityInfo() 124 result.applicationInfo.packageName = packageName; in getActivityInfo() 154 results.add(packageInfo.packageName); in getPackagesForUid() 164 public int getApplicationEnabledSetting(String packageName) { in getApplicationEnabledSetting() argument 166 getPackageInfo(packageName, -1); in getApplicationEnabledSetting() 171 return applicationEnabledSettingMap.get(packageName); in getApplicationEnabledSetting() [all …]
|
D | ShadowDevicePolicyManager.java | 58 public boolean isDeviceOwnerApp(String packageName) { in isDeviceOwnerApp() argument 59 return deviceOwner != null && deviceOwner.getPackageName().equals(packageName); in isDeviceOwnerApp() 63 public boolean isProfileOwnerApp(String packageName) { in isProfileOwnerApp() argument 64 return profileOwner != null && profileOwner.getPackageName().equals(packageName); in isProfileOwnerApp() 90 public void setApplicationHidden(ComponentName admin, String packageName, boolean hidden) { in setApplicationHidden() argument 93 hiddenPackages.add(packageName); in setApplicationHidden() 94 wasHiddenPackages.add(packageName); in setApplicationHidden() 96 hiddenPackages.remove(packageName); in setApplicationHidden() 101 public boolean isApplicationHidden(ComponentName admin, String packageName) { in isApplicationHidden() argument 103 return hiddenPackages.contains(packageName); in isApplicationHidden() [all …]
|
D | ShadowPackageManager.java | 134 static String resolvePackageName(String packageName, ComponentName componentName) { in resolvePackageName() argument 138 classString = packageName + "." + classString; in resolvePackageName() 140 classString = packageName + classString; in resolvePackageName() 151 info.activityInfo.packageName = activity.info.packageName; in getResolveInfo() 163 info.serviceInfo.packageName = service.info.packageName; in getResolveInfo() 175 .createIfNotExists(applicationInfo.packageName + "-sourceDir") in setUpPackageStorage() 182 .createIfNotExists(applicationInfo.packageName + "-dataDir") in setUpPackageStorage() 208 public void removeResolveInfosForIntent(Intent intent, String packageName) { in removeResolveInfosForIntent() argument 217 if (resolveInfo.activityInfo.packageName.equals(packageName)) { in removeResolveInfosForIntent() 239 public void setApplicationIcon(String packageName, Drawable drawable) { in setApplicationIcon() argument [all …]
|
D | ShadowResolveInfo.java | 22 public static ResolveInfo newResolveInfo(String displayName, String packageName) { in newResolveInfo() argument 23 return newResolveInfo(displayName, packageName, null); in newResolveInfo() 34 …public static ResolveInfo newResolveInfo(String displayName, String packageName, String activityNa… in newResolveInfo() argument 38 actInfo.packageName = packageName; in newResolveInfo() 39 actInfo.applicationInfo.packageName = packageName; in newResolveInfo()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
D | ManifestIdentifier.java | 14 private final String packageName; field in ManifestIdentifier 17 public ManifestIdentifier(String packageName, in ManifestIdentifier() argument 23 this.packageName = packageName; in ManifestIdentifier() 31 public ManifestIdentifier(FsFile manifestFile, FsFile resDir, FsFile assetDir, String packageName, in ManifestIdentifier() argument 36 this.packageName = packageName; in ManifestIdentifier() 65 return packageName; in getPackageName() 83 …if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) return… in equals() 93 result = 31 * result + (packageName != null ? packageName.hashCode() : 0); in hashCode() 104 ", packageName='" + packageName + '\'' + in toString()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/ |
D | TypeName.java | 24 private final String packageName; field in TypeName 28 public TypeName(String packageName, String className) { in TypeName() argument 29 this.packageName = packageName; in TypeName() 33 public String packageName() { in packageName() method in TypeName 34 return packageName; in packageName() 43 String packageName; in fromFullyQualifiedClassName() local 46 packageName = ""; in fromFullyQualifiedClassName() 49 packageName = fullyQualifiedClassName.substring(0, packageSeparatorIndex); in fromFullyQualifiedClassName() 52 return new TypeName(packageName, className); in fromFullyQualifiedClassName()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | JavaWriter.java | 52 public static JavaWriter inPackage(String packageName) { in inPackage() argument 53 return new JavaWriter(packageName); in inPackage() 64 private final String packageName; field in JavaWriter 69 private JavaWriter(String packageName) { in JavaWriter() argument 70 this.packageName = packageName; in JavaWriter() 86 ClassWriter classWriter = new ClassWriter(ClassName.create(packageName, simpleName)); in addClass() 93 EnumWriter writer = new EnumWriter(ClassName.create(packageName, simpleName)); in addEnum() 99 InterfaceWriter writer = new InterfaceWriter(ClassName.create(packageName, simpleName)); in addInterface() 105 if (!packageName.isEmpty()) { in write() 106 appendable.append("package ").append(packageName).append(";\n\n"); in write() [all …]
|
D | ClassName.java | 52 private final String packageName; field in ClassName 57 private ClassName(String packageName, ImmutableList<String> enclosingSimpleNames, in ClassName() argument 59 this.packageName = packageName; in ClassName() 64 public String packageName() { in packageName() method in ClassName 65 return packageName; in packageName() 75 : Optional.of(new ClassName(packageName, in enclosingClassName() 86 StringBuilder builder = new StringBuilder(packageName()); in canonicalName() 122 ? new ClassName(packageName(), ImmutableList.<String>of(), in topLevelClassName() 130 return new ClassName(packageName(), in nestedClassNamed() 141 return new ClassName(packageName(), enclosingSimpleNames(), peerClassName); in peerNamed() [all …]
|
/external/vogar/src/vogar/ |
D | DotJavaFile.java | 36 private final String packageName; field in DotJavaFile 40 private DotJavaFile(String simpleName, String packageName, String actionName, boolean isJtreg) { in DotJavaFile() argument 42 this.packageName = packageName; in DotJavaFile() 61 return packageName != null ? packageName + "." + simpleName : simpleName; in getClassName() 75 String packageName; in parse() local 79 packageName = packageMatcher.group(1); in parse() 80 actionName = packageName + "." + simpleName; in parse() 82 packageName = null; in parse() 90 return new DotJavaFile(simpleName, packageName, actionName, isjtreg); in parse()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cTestPackages.cpp | 106 GL40TestPackage::GL40TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL40TestPackage() argument 108 : GL33TestPackage(testCtx, packageName, packageName, renderContextType) in GL40TestPackage() 145 GL41TestPackage::GL41TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL41TestPackage() argument 147 : GL40TestPackage(testCtx, packageName, packageName, renderContextType) in GL41TestPackage() 177 GL42TestPackage::GL42TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL42TestPackage() argument 179 : GL41TestPackage(testCtx, packageName, packageName, renderContextType) in GL42TestPackage() 211 GL43TestPackage::GL43TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL43TestPackage() argument 213 : GL42TestPackage(testCtx, packageName, packageName, renderContextType) in GL43TestPackage() 273 GL44TestPackage::GL44TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL44TestPackage() argument 275 : GL43TestPackage(testCtx, packageName, packageName, renderContextType) in GL44TestPackage() [all …]
|
D | gl3cTestPackages.cpp | 123 GL30TestPackage::GL30TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL30TestPackage() argument 125 : TestPackage(testCtx, packageName, packageName, renderContextType, "gl_cts/data/") in GL30TestPackage() 162 GL31TestPackage::GL31TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL31TestPackage() argument 164 : GL30TestPackage(testCtx, packageName, packageName, renderContextType) in GL31TestPackage() 193 GL32TestPackage::GL32TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL32TestPackage() argument 195 : GL31TestPackage(testCtx, packageName, packageName, renderContextType) in GL32TestPackage() 249 GL33TestPackage::GL33TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* de… in GL33TestPackage() argument 251 : GL32TestPackage(testCtx, packageName, packageName, renderContextType) in GL33TestPackage()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/ |
D | InterpreterConfiguration.java | 83 addInterpreter(info.activityInfo.packageName); in discoverForType() 100 addInterpreter(info.activityInfo.packageName); in discoverAll() 114 private void addInterpreter(final String packageName) { in addInterpreter() argument 115 if (mmDiscoveredInterpreters.containsKey(packageName)) { in addInterpreter() 118 Interpreter discoveredInterpreter = buildInterpreter(packageName); in addInterpreter() 122 mmDiscoveredInterpreters.put(packageName, discoveredInterpreter); in addInterpreter() 124 Log.v("Interpreter discovered: " + packageName + "\nBinary: " in addInterpreter() 128 private void remove(final String packageName) { in remove() argument 129 if (!mmDiscoveredInterpreters.containsKey(packageName)) { in remove() 135 Interpreter interpreter = mmDiscoveredInterpreters.get(packageName); in remove() [all …]
|
/external/vogar/src/vogar/target/ |
D | ClassPathScanner.java | 89 public Package scan(String packageName) throws IOException { in scan() argument 93 findClasses(packageName, classNames, subpackageNames); in scan() 109 private void findClasses(String packageName, Set<String> classNames, in findClasses() argument 111 String packagePrefix = packageName + '.'; in findClasses() 116 classFinder.find(entryFile, pathPrefix, packageName, classNames, subpackageNames); in findClasses() 122 void find(File classPathEntry, String pathPrefix, String packageName, in find() argument 131 public void find(File classPathEntry, String pathPrefix, String packageName, in find() argument 188 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries() local 189 entryNames.add(packageName); in getJarEntries() 203 public void find(File classPathEntry, String pathPrefix, String packageName, in find() argument [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/ |
D | PackageDotExpressions.java | 4 com.packageName.ClassInPackage.staticMethod(); in main() 7 com.packageName.InnerClassContainer.InnerClass.methodCall(); in main() 8 com.packageName.InnerClassContainer.InnerClass.InnerInnerClass.innerMethodCall(); in main() 9 …com.packageName.InnerClassContainer.InnerClass.InnerInnerClass.InnerInnerInnerClass.innerInnerMeth… in main() 12 …com.packageName.InnerClassFieldContainer.outerField.containerField.containerField.firstContainerMe… in main() 13 …com.packageName.InnerClassFieldContainer.InnerClass.innerField.containerField.containerField.secon… in main() 14 …com.packageName.InnerClassFieldContainer.InnerClass.InnerInnerClass.InnerInnerInnerClass.innerInne… in main()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManager.java | 39 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 40 if (packageList.containsKey(packageName)) { in getPackageInfo() 41 return packageList.get(packageName); in getPackageInfo() 48 …public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundExcept… in getApplicationInfo() argument 50 if (config.getPackageName().equals(packageName)) { in getApplicationInfo() 55 applicationInfo.packageName = config.getPackageName(); in getApplicationInfo() 63 if ((info = packageList.get(packageName)) != null) { in getApplicationInfo() 133 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() argument 135 i.setComponent( new ComponentName(packageName, "") ); in getLaunchIntentForPackage() 167 packageList.put(packageInfo.packageName, packageInfo); in addPackage() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/ |
D | ClassNameResolver.java | 4 private String packageName; field in ClassNameResolver 7 public ClassNameResolver(String packageName, String className) { in ClassNameResolver() argument 8 this.packageName = packageName; in ClassNameResolver() 17 aClass = safeClassForName(packageName + "." + className); in resolve() 19 aClass = safeClassForName(packageName + className); in resolve() 25 + packageName + " and class name: " + className); in resolve()
|
/external/testng/src/main/java/org/testng/internal/ |
D | PackageUtils.java | 46 public static String[] findClassesInPackage(String packageName, in findClassesInPackage() argument 50 String packageOnly = packageName; in findClassesInPackage() 52 if (packageName.endsWith(".*")) { in findClassesInPackage() 53 packageOnly = packageName.substring(0, packageName.lastIndexOf(".*")); in findClassesInPackage() 111 packageName = name.substring(0, idx).replace('/', '.'); in findClassesInPackage() 114 if (recursive || packageName.equals(packageOnly)) { in findClassesInPackage() 116 Utils.log("PackageUtils", 4, "Package name is " + packageName); in findClassesInPackage() 118 String className = name.substring(packageName.length() + 1, name.length() - 6); in findClassesInPackage() 120 includeOrExcludeClass(packageName, className, included, excluded, vResult); in findClassesInPackage() 210 private static void findClassesInDirPackage(String packageName, in findClassesInDirPackage() argument [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | ConfigMerger.java | 41 for (String packageName : reverse(packageHierarchyOf(testClass))) { in getConfig() 42 Config packageConfig = cachedPackageConfig(packageName); in getConfig() 72 private Config buildPackageConfig(String packageName) { in buildPackageConfig() argument 73 return Config.Implementation.fromProperties(getConfigProperties(packageName)); in buildPackageConfig() 81 protected Properties getConfigProperties(String packageName) { in getConfigProperties() argument 82 List<String> packageParts = new ArrayList<>(Arrays.asList(packageName.split("\\."))); in getConfigProperties() 124 private Config cachedPackageConfig(String packageName) { in cachedPackageConfig() argument 126 Config config = packageConfigCache.get(packageName); in cachedPackageConfig() 127 if (config == null && !packageConfigCache.containsKey(packageName)) { in cachedPackageConfig() 128 config = buildPackageConfig(packageName); in cachedPackageConfig() [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | PackageMatcher.java | 27 protected final String packageName; field in PackageMatcher 29 public PackageMatcher(String packageName) { in PackageMatcher() argument 30 this.packageName = packageName; in PackageMatcher() 40 return cuPackageName.equals(packageName); in matches() 46 "packageName='" + packageName + '\'' + in toString() 51 return packageName; in toStringForm()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
D | StubPackageManager.java | 25 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 37 @Override public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() argument 41 @Override public int[] getPackageGids(String packageName) throws NameNotFoundException { in getPackageGids() argument 65 …public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundExcept… in getApplicationInfo() argument 182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() argument 202 @Override public Drawable getApplicationIcon(String packageName) throws NameNotFoundException { in getApplicationIcon() argument 222 @Override public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() argument 226 …@Override public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { in getXml() argument 249 @Override public String getInstallerPackageName(String packageName) { in getInstallerPackageName() argument 253 @Override public void addPackageToPreferred(String packageName) { in addPackageToPreferred() argument [all …]
|
/external/deqp/scripts/android/ |
D | install_apk.py | 119 def uninstall (adbPath, packageName, extraArgs = [], printPrefix=""): argument 120 print printPrefix + "Removing existing %s...\n" % packageName, 123 packageName 135 def installToDevice (device, adbPath, packageName, apkPath, printPrefix=""): argument 141 uninstall(adbPath, packageName, ['-s', device.serial], printPrefix) 144 def installToDevices (devices, doParallel, adbPath, packageName, apkPath): argument 147 …parallelApply(installToDevice, [(device, adbPath, packageName, apkPath, ("(%s):%s" % (device.model… 149 serialApply(installToDevice, [(device, adbPath, packageName, apkPath) for device in devices]); 151 def installToAllDevices (doParallel, adbPath, packageName, apkPath): argument 153 installToDevices(devices, doParallel, adbPath, packageName, apkPath) [all …]
|