Home
last modified time | relevance | path

Searched refs:getPackage (Results 1 – 25 of 158) sorted by relevance

1234567

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerClassLoaderConfigTest.java24 assertThat(DummyClass.class.getPackage()).isNotNull(); in testGetPackage()
25 assertThat(DummyClass.class.getName()).startsWith(DummyClass.class.getPackage().getName()); in testGetPackage()
29 assertThat(Test.class.getPackage()).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
30 assertThat(Package.getPackage("org.junit")).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
31 assertThat(Package.getPackage("org.junit")).isEqualTo(Test.class.getPackage()); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DTypeUtils.java55 public static String getPackage(@Nonnull String type) { in getPackage() method in TypeUtils
70 return getPackage(accesseeClassDef.getType()).equals(getPackage(accessorType)); in canAccessClass()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DBigDecimalBeanConstructorTest.java32 String className = this.getClass().getPackage().getName(); in testRepresentor()
38 String className = "!!" + this.getClass().getPackage().getName() in testConstructor()
48 String className = "!!" + this.getClass().getPackage().getName()
DIncompleteBeanConstructorTest.java32 String className = this.getClass().getPackage().getName(); in testRepresentor()
37 String className = "!!" + this.getClass().getPackage().getName() in testConstructor()
47 String className = "!!" + this.getClass().getPackage().getName() in testConstructor2()
/external/guice/core/test/com/google/inject/matcher/
DMatcherTest.java116 Package matchersPackage = Matchers.class.getPackage(); in testInPackage()
121 assertFalse(inPackage(matchersPackage).equals(inPackage(Object.class.getPackage()))); in testInPackage()
125 String stringPackageName = String.class.getPackage().getName(); in testInSubpackage()
134 .equals(inSubpackage(Matchers.class.getPackage().getName()))); in testInSubpackage()
153 assertEqualWhenReserialized(inPackage(String.class.getPackage())); in testSerialization()
154 assertEqualWhenReserialized(inSubpackage(String.class.getPackage().getName())); in testSerialization()
/external/protobuf/php/src/Google/Protobuf/Internal/
DFileDescriptor.php47 public function getPackage() function in Google\\Protobuf\\Internal\\FileDescriptor
75 $file->setPackage($proto->getPackage());
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultRootKeySetCreator.java40 if (key.getTypeLiteral().getRawType().getPackage() != Guice.class.getPackage() in getRootKeys()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt8 Line 85) clazz.getPackage() ==> java.lang.Class.getPackage()
9 Line 86) clazz.getPackage().getName() ==> java.lang.Package.getName()
10 Line 86) clazz.getPackage() ==> java.lang.Class.getPackage()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionInterfaceDeclaration.txt3 Line 76) clazz.getPackage() ==> java.lang.Class.getPackage()
4 Line 77) clazz.getPackage().getName() ==> java.lang.Package.getName()
5 Line 77) clazz.getPackage() ==> java.lang.Class.getPackage()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestCreator.java29 protected static final String TEST_PACKAGE = TestCreator.class.getPackage().getName();
48 return getClass().getPackage().getName().replace('.', '/'); in getPackageName()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedMethodUtil.java47 String otherPackage = TypeUtils.getPackage(virtualMethod.getDefiningClass()); in canAccess()
48 String thisPackage = TypeUtils.getPackage(type.getType()); in canAccess()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java152 …return type.getPackage() != null && "Java Runtime Environment".equalsIgnoreCase(type.getPackage().… in isComingFromJDK()
158 return type.getPackage() != null && type.getPackage().isSealed(); in isComingFromSealedPackage()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DPackageMatcher.java35 PackageDeclaration aPackage = cu.getPackage(); in matches()
60 PackageDeclaration packageDeclaration = compilationUnit.getPackage(); in getPackageName()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoadersTest.java93 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
110 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in isolated_class_loader_cannot_load_classes_if_prefix_excluded()
272 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in can_run_in_given_classloader()
313 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in cannot_load_runnable_in_given_classloader_if_some_type_cant_be_loaded()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java149 protected Package getPackage(String name) { in getPackage() method in SandboxClassLoader
150 Package aPackage = super.getPackage(name); in getPackage()
176 Package pckg = getPackage(pckgName); in ensurePackage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionAnnotationDeclaration.java63 if (clazz.getPackage() != null) { in getPackageName()
64 return clazz.getPackage().getName(); in getPackageName()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DAccessibility.java19 import static com.google.auto.common.MoreElements.getPackage;
175 element, MoreElements.getPackage(element).getQualifiedName().toString()); in isElementAccessibleFromOwnPackage()
226 && getPackage(element).getQualifiedName().contentEquals(packageName.get())) { in accessibleModifiers()
/external/conscrypt/android/src/main/java/org/conscrypt/
DNativeCryptoJni.java25 … if ("com.google.android.gms.org.conscrypt".equals(NativeCrypto.class.getPackage().getName())) { in init()
/external/javassist/src/test/test1/
DPac.java11 Package p = c.getPackage(); in run()
/external/guice/core/src/com/google/inject/matcher/
DMatchers.java307 return c.getPackage().equals(targetPackage); in matches()
326 return inPackage(Package.getPackage(packageName)); in readResolve()
351 String classPackageName = c.getPackage().getName(); in matches()
/external/cldr/tools/java/org/unicode/cldr/util/
DTestShimUtils.java10 final String packageName = clazz.getPackage().getName(); in getArgs()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
DSample30_ResHello.java24 … Sample30_ResHello.class.getPackage().getName().replace('.', '/')+"/data/reshello", in main()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItemInflater.java30 setDefaultPackage(Item.class.getPackage().getName() + "."); in ItemInflater()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DViewGenerator.java191 return MoreElements.getPackage(constructorElement) in isInOurPackage()
192 .equals(MoreElements.getPackage(metadata.element())); in isInOurPackage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionEnumDeclaration.java85 if (clazz.getPackage() != null) { in getPackageName()
86 return clazz.getPackage().getName(); in getPackageName()

1234567