Home
last modified time | relevance | path

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

12345

/external/proguard/src/proguard/
DGPL.java111 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/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/
DTypeName.java24 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/vogar/src/vogar/
DDotJavaFile.java36 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/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java52 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 …]
DClassName.java52 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/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreterConfiguration.java85 addInterpreter(info.activityInfo.packageName); in discoverForType()
102 addInterpreter(info.activityInfo.packageName); in discoverAll()
116 private void addInterpreter(final String packageName) { in addInterpreter() argument
117 if (mmDiscoveredInterpreters.containsKey(packageName)) { in addInterpreter()
120 Interpreter discoveredInterpreter = buildInterpreter(packageName); in addInterpreter()
124 mmDiscoveredInterpreters.put(packageName, discoveredInterpreter); in addInterpreter()
126 Log.v("Interpreter discovered: " + packageName + "\nBinary: " in addInterpreter()
130 private void remove(final String packageName) { in remove() argument
131 if (!mmDiscoveredInterpreters.containsKey(packageName)) { in remove()
137 Interpreter interpreter = mmDiscoveredInterpreters.get(packageName); in remove()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/
DClassNameResolver.java4 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/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DPackageMatcher.java27 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/vogar/src/vogar/target/
DClassPathScanner.java61 public Package scan(String packageName) throws IOException { in scan() argument
65 findClasses(packageName, classNames, subpackageNames); in scan()
81 private void findClasses(String packageName, Set<String> classNames, in findClasses() argument
83 String packagePrefix = packageName + '.'; in findClasses()
88 classFinder.find(entryFile, pathPrefix, packageName, classNames, subpackageNames); in findClasses()
94 void find(File classPathEntry, String pathPrefix, String packageName, in find() argument
103 public void find(File classPathEntry, String pathPrefix, String packageName, in find() argument
156 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries() local
157 entryNames.add(packageName); in getJarEntries()
174 public void find(File classPathEntry, String pathPrefix, String packageName, in find() argument
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java39 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/testng/src/main/java/org/testng/internal/
DPackageUtils.java46 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/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java25 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/snakeyaml/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/
DPackageCompactConstructor.java19 private String packageName; field in PackageCompactConstructor
21 public PackageCompactConstructor(String packageName) { in PackageCompactConstructor() argument
22 this.packageName = packageName; in PackageCompactConstructor()
29 Class<?> clazz = Class.forName(packageName + "." + name); in getClassForName()
/external/deqp/scripts/
Dconvert_case_list_to_xml.py66 packageName = sys.argv[1] variable
68 rootCase = TestCase(packageName, packageName, "TestPackage" )
69 caseNameHash = { packageName:rootCase }
72 lines = open(packageName + ".cases").readlines()
76 if line.startswith(packageName + "."):
95 open(packageName + "-cases.xml", "wt").write(xml)
/external/emma/core/java12/com/vladium/util/
DDescriptors.java27 public static String combine (final String packageName, final String name, final char separator) in combine() argument
32 if ((packageName == null) || (packageName.length () == 0)) in combine()
35 return new StringBuffer (packageName).append (separator).append (name).toString (); in combine()
38 public static String combineJavaName (final String packageName, final String name) in combineJavaName() argument
40 return combine (packageName, name, JAVA_NAME_SEPARATOR); in combineJavaName()
43 public static String combineVMName (final String packageName, final String name) in combineVMName() argument
45 return combine (packageName, name, VM_NAME_SEPARATOR); in combineVMName()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerRegistry.cpp31 StringRef packageName) { in isInPackage() argument
33 if (!checker.FullName.startswith(packageName)) in isInPackage()
37 if (checker.FullName.size() == packageName.size()) in isInPackage()
41 if (checker.FullName[packageName.size()] == PackageSeparator) in isInPackage()
89 StringRef packageName, leafName; in addChecker() local
90 std::tie(packageName, leafName) = name.rsplit(PackageSeparator); in addChecker()
92 Packages[packageName] += 1; in addChecker()
93 std::tie(packageName, leafName) = packageName.rsplit(PackageSeparator); in addChecker()
/external/javassist/src/main/javassist/
DURLClassPath.java32 protected String packageName; field in URLClassPath
60 String directory, String packageName) { in URLClassPath() argument
64 this.packageName = packageName; in URLClassPath()
87 if (packageName == null || classname.startsWith(packageName)) { in openClassfile0()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResolveInfo.java30 public static ResolveInfo newResolveInfo( String displayName, String packageName ) { in newResolveInfo() argument
31 return newResolveInfo( displayName, packageName, null); in newResolveInfo()
40 …public static ResolveInfo newResolveInfo( String displayName, String packageName, String activityN… in newResolveInfo() argument
44 actInfo.packageName = packageName; in newResolveInfo()
DShadowContextWrapper.java39 private String packageName; field in ShadowContextWrapper
97 …return realContextWrapper == getApplicationContext() ? packageName : getApplicationContext().getPa… in getPackageName()
104 appInfo.packageName = packageName; in getApplicationInfo()
105 appInfo.processName = packageName; in getApplicationInfo()
215 public void setPackageName(String packageName) { in setPackageName() argument
216 this.packageName = packageName; in setPackageName()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
DStartedMatcher.java22 public StartedMatcher(String packageName, Class<? extends Activity> expectedActivityClass) { in StartedMatcher() argument
23 this(createIntent(packageName, expectedActivityClass)); in StartedMatcher()
80 String packageName = activityClass.getPackage().getName(); in createIntent() local
81 return createIntent(packageName, activityClass); in createIntent()
84 public static Intent createIntent(String packageName, Class<? extends Activity> activityClass) { in createIntent() argument
86 intent.setClassName(packageName, activityClass.getName()); in createIntent()
DStartedServiceMatcher.java25 … public StartedServiceMatcher(String packageName, Class<? extends Service> expectedServiceClass) { in StartedServiceMatcher() argument
26 this(createIntent(packageName, expectedServiceClass)); in StartedServiceMatcher()
101 String packageName = "android.service"; in createIntent() local
106 return createIntent(packageName, serviceClass); in createIntent()
109 public static Intent createIntent(String packageName, Class<? extends Service> serviceClass) { in createIntent() argument
111 intent.setClassName(packageName, serviceClass.getName()); in createIntent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodDefaultDebuggee.java60 String packageName = "org.apache.harmony.jpda.tests.jdwp."; in run() local
63 packageName + "ObjectReference.InvokeMethodDefaultDebuggee$TestClass"); in run()
70 packageName + "ObjectReference.InvokeMethodDefaultDebuggee(#1)"); in run()
73 packageName + "ObjectReference.InvokeMethodDefaultDebuggee(#2)"); in run()
DInvokeMethodDefault002Debuggee.java68 String packageName = "org.apache.harmony.jpda.tests.jdwp."; in run() local
71 packageName + "ObjectReference.InvokeMethodDefault002Debuggee$TestClass"); in run()
78 packageName + "ObjectReference.InvokeMethodDefault002Debuggee(#1)"); in run()
81 packageName + "ObjectReference.InvokeMethodDefault002Debuggee(#2)"); in run()
/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp36 void load(const char *packageName, const char *name, UErrorCode &errorCode);
74 LoadedNormalizer2Impl::load(const char *packageName, const char *name, UErrorCode &errorCode) { in load() argument
78 memory=udata_openChoice(packageName, "nrm", name, isAcceptable, this, &errorCode); in load()
113 Norm2AllModes::createInstance(const char *packageName, in createInstance() argument
124 impl->load(packageName, name, errorCode); in createInstance()
204 Normalizer2::getInstance(const char *packageName, in getInstance() argument
216 if(packageName==NULL) { in getInstance()
234 Norm2AllModes::createInstance(packageName, name, errorCode)); in getInstance()
335 unorm2_getInstance(const char *packageName, in unorm2_getInstance() argument
339 return (const UNormalizer2 *)Normalizer2::getInstance(packageName, name, mode, *pErrorCode); in unorm2_getInstance()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectricConfig.java23 private String packageName; field in RobolectricConfig
89 packageName = getTagAttributeText(manifestDocument, "manifest", "package"); in parseAndroidManifest()
90 rClassName = packageName + ".R"; in parseAndroidManifest()
109 processName = packageName; in parseAndroidManifest()
113 parseReceivers(manifestDocument, packageName); in parseAndroidManifest()
119 private void parseReceivers(final Document manifestDocument, String packageName) { in parseReceivers() argument
131 receiverName = packageName + receiverName; in parseReceivers()
199 return packageName; in getPackageName()
278 …private static Application newApplicationInstance(final String packageName, final String applicati… in newApplicationInstance() argument
282 new ClassNameResolver<Application>(packageName, applicationName).resolve(); in newApplicationInstance()

12345