Home
last modified time | relevance | path

Searched refs:targetPackage (Results 1 – 2 of 2) sorted by relevance

/external/guice/core/src/com/google/inject/matcher/
DMatchers.java292 public static Matcher<Class> inPackage(final Package targetPackage) { in inPackage() argument
293 return new InPackage(targetPackage); in inPackage()
297 private final transient Package targetPackage; field in Matchers.InPackage
300 public InPackage(Package targetPackage) { in InPackage() argument
301 this.targetPackage = checkNotNull(targetPackage, "package"); in InPackage()
302 this.packageName = targetPackage.getName(); in InPackage()
307 return c.getPackage().equals(targetPackage); in matches()
312 return other instanceof InPackage && ((InPackage) other).targetPackage.equals(targetPackage); in equals()
317 return 37 * targetPackage.hashCode(); in hashCode()
322 return "inPackage(" + targetPackage.getName() + ")"; in toString()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java886 protected void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
887 packageInstallerMap.put(targetPackage, installerPackageName); in setInstallerPackageName()
1359 protected List<InstrumentationInfo> queryInstrumentation(String targetPackage, int flags) { in queryInstrumentation() argument