/external/proguard/src/proguard/ |
D | GPL.java | 110 String packageName = (String)iterator.next(); in uniquePackageNames() local 111 if (!containsPrefix(packageNames, packageName)) in uniquePackageNames() 113 buffer.append(packageName).append(", "); in uniquePackageNames() 159 private static boolean isKnown(String packageName) in isKnown() argument 161 return packageName.startsWith("java") || in isKnown() 162 packageName.startsWith("sun.reflect") || in isKnown() 163 packageName.startsWith("proguard") || in isKnown() 164 packageName.startsWith("org.apache.tools.ant") || in isKnown() 165 packageName.startsWith("org.apache.tools.maven") || in isKnown() 166 packageName.startsWith("org.eclipse") || in isKnown() [all …]
|
/external/robolectric/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/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManager.java | 38 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 39 if (packageList.containsKey(packageName)) { in getPackageInfo() 40 return packageList.get(packageName); in getPackageInfo() 47 …public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundExcept… in getApplicationInfo() argument 49 if (config.getPackageName().equals(packageName)) { in getApplicationInfo() 54 applicationInfo.packageName = config.getPackageName(); in getApplicationInfo() 62 if ((info = packageList.get(packageName)) != null) { in getApplicationInfo() 123 public Intent getLaunchIntentForPackage(String packageName) { in getLaunchIntentForPackage() argument 125 i.setComponent( new ComponentName(packageName, "") ); in getLaunchIntentForPackage() 157 packageList.put(packageInfo.packageName, packageInfo); in addPackage() [all …]
|
/external/robolectric/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/webkit/Source/WebCore/platform/android/ |
D | PackageNotifier.cpp | 57 void PackageNotifier::addPackageName(const String& packageName) in addPackageName() argument 60 m_packageNames.add(packageName); in addPackageName() 63 void PackageNotifier::removePackageName(const String& packageName) in removePackageName() argument 66 m_packageNames.remove(packageName); in removePackageName() 84 bool PackageNotifier::isPackageInstalled(const String& packageName) in isPackageInstalled() argument 86 return m_packageNames.contains(packageName); in isPackageInstalled()
|
D | PackageNotifier.h | 49 void addPackageName(const String& packageName); 50 void removePackageName(const String& packageName); 53 bool isPackageInstalled(const String& packageName);
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerRegistry.cpp | 28 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 llvm::tie(packageName, leafName) = name.rsplit(PackageSeparator); in addChecker() 89 Packages[packageName] += 1; in addChecker() 90 llvm::tie(packageName, leafName) = packageName.rsplit(PackageSeparator); in addChecker()
|
/external/emma/core/java12/com/vladium/util/ |
D | Descriptors.java | 27 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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowResolveInfo.java | 30 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()
|
D | ShadowContextWrapper.java | 39 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()
|
D | ShadowRemoteViews.java | 24 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()
|
D | ShadowIntent.java | 34 private String packageName; field in ShadowIntent 61 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() 451 if (other.packageName != null in fillIn() 452 && (packageName == null || (flags & FILL_IN_PACKAGE) != 0)) { in fillIn() 453 packageName = other.packageName; in fillIn() [all …]
|
D | ShadowActivityManager.java | 37 public void killBackgroundProcesses(String packageName) { in killBackgroundProcesses() argument 38 backgroundPackage = packageName; in killBackgroundProcesses()
|
/external/javassist/src/main/javassist/ |
D | URLClassPath.java | 32 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/matchers/ |
D | StartedMatcher.java | 22 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()
|
D | StartedServiceMatcher.java | 25 … 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/robolectric/src/main/java/com/xtremelabs/robolectric/ |
D | ApplicationResolver.java | 22 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()
|
D | RobolectricConfig.java | 23 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()
|
/external/icu4c/tools/genrb/ |
D | genrb.c | 26 const char *packageName, UBool omitBinaryCollation, UErrorCode *status); 28 const char *packageName, UErrorCode *status); 451 …ar *filename, const char *cp, const char *inputDir, const char *outputDir, const char *packageName, in processFile() argument 593 rbname = make_res_filename(filename, outputDir, packageName, status); in processFile() 605 bundle_write(data, outputDir, packageName, outputFileName, sizeof(outputFileName), status); in processFile() 635 const char *packageName, in make_res_filename() argument 648 if(packageName != NULL) in make_res_filename() 650 pkgLen = (int32_t)(1 + uprv_strlen(packageName)); in make_res_filename() 686 if(packageName != NULL) in make_res_filename() 688 uprv_strcat(resName, packageName); in make_res_filename() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ObjectFactory.java | 69 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/ |
D | MockingTest.java | 41 String packageName = mockContext.getClass().getPackage().getName(); in testFrameworkMock() local 43 packageName.substring(0, packageName.indexOf('.') + 1)); in testFrameworkMock()
|
/external/icu4c/common/unicode/ |
D | ures.h | 161 ures_open(const char* packageName, 184 ures_openDirect(const char* packageName, 207 ures_openU(const UChar* packageName, 346 const char* packageName, 882 ures_openAvailableLocales(const char *packageName, UErrorCode *status);
|
D | resbund.h | 106 ResourceBundle(const UnicodeString& packageName, 121 ResourceBundle(const UnicodeString& packageName, 146 ResourceBundle(const char* packageName,
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManagerTest.java | 45 assertThat(info.packageName, equalTo(Robolectric.application.getPackageName())); in getApplicationInfo__ThisApplication() 51 packageInfo.packageName = TEST_PACKAGE_NAME; in getApplicationInfo__OtherApplication() 53 packageInfo.applicationInfo.packageName = TEST_PACKAGE_NAME; in getApplicationInfo__OtherApplication() 59 assertThat(info.packageName, equalTo(TEST_PACKAGE_NAME)); in getApplicationInfo__OtherApplication()
|
/external/android-mock/src/com/google/android/testing/mocking/ |
D | AndroidMock.java | 2797 String packageName = clazz.getPackage().getName(); in isAndroidClass() local 2798 return packageName.startsWith("android.") || packageName.startsWith("dalvik.") in isAndroidClass() 2799 || packageName.startsWith("java.") || packageName.startsWith("javax.") in isAndroidClass() 2800 || packageName.startsWith("org.xml.sax") || packageName.startsWith("org.xmlpull.v1") in isAndroidClass() 2801 || packageName.startsWith("org.w3c.dom") || packageName.startsWith("org.apache.http") in isAndroidClass() 2802 || packageName.startsWith("junit."); in isAndroidClass()
|