Home
last modified time | relevance | path

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

1234

/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/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/robolectric/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/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/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/robolectric/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/clang/lib/StaticAnalyzer/Core/
DCheckerRegistry.cpp28 StringRef packageName) { in isInPackage() argument
30 if (!checker.FullName.startswith(packageName)) in isInPackage()
34 if (checker.FullName.size() == packageName.size()) in isInPackage()
38 if (checker.FullName[packageName.size()] == PackageSeparator) in isInPackage()
86 StringRef packageName, leafName; in addChecker() local
87 std::tie(packageName, leafName) = name.rsplit(PackageSeparator); in addChecker()
89 Packages[packageName] += 1; in addChecker()
90 std::tie(packageName, leafName) = packageName.rsplit(PackageSeparator); in addChecker()
/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/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/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()
DShadowRemoteViews.java24 private String packageName; field in ShadowRemoteViews
28 public void __constructor__(String packageName, int layoutId) { in __constructor__() argument
29 this.packageName = packageName; in __constructor__()
35 return packageName; in getPackage()
DShadowIntent.java36 private String packageName; field in ShadowIntent
62 packageName = other.packageName; in __constructor__()
128 public Intent setPackage(String packageName) { in setPackage() argument
129 this.packageName = packageName; in setPackage()
135 return packageName; in getPackage()
150 public Intent setClassName(String packageName, String className) { in setClassName() argument
151 componentName = new ComponentName(packageName, className); in setClassName()
446 if (other.packageName != null in fillIn()
447 && (packageName == null || (flags & FILL_IN_PACKAGE) != 0)) { in fillIn()
448 packageName = other.packageName; in fillIn()
[all …]
/external/robolectric/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/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/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()
DApplicationResolver.java22 String packageName = config.getPackageName(); in resolveApplication() local
26 application = newApplicationInstance(packageName, applicationName); in resolveApplication()
32 shadowApplication.setPackageName(packageName); in resolveApplication()
68 private Application newApplicationInstance(String packageName, String applicationName) { in newApplicationInstance() argument
72 new ClassNameResolver<Application>(packageName, applicationName).resolve(); in newApplicationInstance()
/external/vogar/src/vogar/android/
DAndroidProfiler.java38 String packageName = "dalvik.system.profiler"; in AndroidProfiler() local
39 Class<?> ThreadSet = Class.forName(packageName + ".SamplingProfiler$ThreadSet"); in AndroidProfiler()
40 Class<?> SamplingProfiler = Class.forName(packageName + ".SamplingProfiler"); in AndroidProfiler()
41 Class<?> HprofData = Class.forName(packageName + ".HprofData"); in AndroidProfiler()
42 Class<?> Writer = Class.forName(packageName + ".AsciiHprofWriter"); in AndroidProfiler()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java120 public ImmutableSet<ClassInfo> getTopLevelClasses(String packageName) { in getTopLevelClasses() argument
121 checkNotNull(packageName); in getTopLevelClasses()
124 if (classInfo.getPackageName().equals(packageName)) { in getTopLevelClasses()
135 public ImmutableSet<ClassInfo> getTopLevelClassesRecursive(String packageName) { in getTopLevelClassesRecursive() argument
136 checkNotNull(packageName); in getTopLevelClassesRecursive()
137 String packagePrefix = packageName + '.'; in getTopLevelClassesRecursive()
239 String packageName = getPackageName(); in getSimpleName() local
240 if (packageName.length() == 0) { in getSimpleName()
245 return className.substring(packageName.length() + 1); in getSimpleName()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.c26 const char *packageName, UBool omitBinaryCollation, UErrorCode *status);
28 const char *packageName, UErrorCode *status);
453 …ar *filename, const char *cp, const char *inputDir, const char *outputDir, const char *packageName, in processFile() argument
596 rbname = make_res_filename(filename, outputDir, packageName, status); in processFile()
608 bundle_write(data, outputDir, packageName, outputFileName, sizeof(outputFileName), status); in processFile()
638 const char *packageName, in make_res_filename() argument
651 if(packageName != NULL) in make_res_filename()
653 pkgLen = (int32_t)(1 + uprv_strlen(packageName)); in make_res_filename()
689 if(packageName != NULL) in make_res_filename()
691 uprv_strcat(resName, packageName); in make_res_filename()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java69 String packageName = className; in findProviderClass() local
70 if (lastDot != -1) packageName = className.substring(0, lastDot); in findProviderClass()
71 security.checkPackageAccess(packageName); in findProviderClass()
/external/android-mock/livetests/com/google/android/testing/mocking/test/
DMockingTest.java41 String packageName = mockContext.getClass().getPackage().getName(); in testFrameworkMock() local
43 packageName.substring(0, packageName.indexOf('.') + 1)); in testFrameworkMock()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java24 String packageName = context.getPackageName(); in obtain() local
25 Key result = PACKAGE_NAME_TO_KEY.get(packageName); in obtain()
28 result = PACKAGE_NAME_TO_KEY.putIfAbsent(packageName, toAdd); in obtain()

1234