/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTestRunnerClassLoaderConfigTest.java | 24 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/robolectric/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTestRunnerClassLoaderConfigTest.java | 25 assertThat(DummyClass.class.getPackage()).isNotNull(); in testGetPackage() 26 assertThat(DummyClass.class.getName()).startsWith(DummyClass.class.getPackage().getName()); in testGetPackage() 30 assertThat(Test.class.getPackage()).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName() 31 assertThat(Package.getPackage("org.junit")).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName() 32 assertThat(Package.getPackage("org.junit")).isEqualTo(Test.class.getPackage()); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | TypeUtils.java | 55 public static String getPackage(@Nonnull String type) { in getPackage() method in TypeUtils 70 return getPackage(accesseeClassDef.getType()).equals(getPackage(accessorType)); in canAccessClass()
|
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/util/ |
D | TypeUtils.java | 54 public static String getPackage(@Nonnull String type) { in getPackage() method in TypeUtils 69 return getPackage(accesseeClassDef.getType()).equals(getPackage(accessorType)); in canAccessClass()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | BigDecimalBeanConstructorTest.java | 32 String className = this.getClass().getPackage().getName(); in testRepresentor() 38 String className = "!!" + this.getClass().getPackage().getName() in testConstructor() 48 String className = "!!" + this.getClass().getPackage().getName()
|
D | IncompleteBeanConstructorTest.java | 32 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/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | ClassPathUtilsTest.java | 86 () -> ClassPathUtils.toFullyQualifiedName(ClassPathUtils.class.getPackage(), null)); in testToFullyQualifiedNamePackageNull() 92 …final String actual = ClassPathUtils.toFullyQualifiedName(ClassPathUtils.class.getPackage(), "Test… in testToFullyQualifiedNamePackageString() 125 () -> ClassPathUtils.toFullyQualifiedPath(ClassPathUtils.class.getPackage(), null)); in testToFullyQualifiedPathPackageNull() 131 …final String actual = ClassPathUtils.toFullyQualifiedPath(ClassPathUtils.class.getPackage(), "Test… in testToFullyQualifiedPathPackage()
|
/external/guice/core/test/com/google/inject/matcher/ |
D | MatcherTest.java | 116 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/ |
D | FileDescriptor.php | 47 public function getPackage() function in Google\\Protobuf\\Internal\\FileDescriptor 75 $file->setPackage($proto->getPackage());
|
/external/cronet/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | FileDescriptor.php | 47 public function getPackage() function in Google\\Protobuf\\Internal\\FileDescriptor 75 $file->setPackage($proto->getPackage());
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt | 8 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()
|
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionInterfaceDeclaration.txt | 3 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/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | DefaultRootKeySetCreator.java | 40 if (key.getTypeLiteral().getRawType().getPackage() != Guice.class.getPackage() in getRootKeys()
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | SubclassBytecodeGenerator.java | 152 …return type.getPackage() != null && "Java Runtime Environment".equalsIgnoreCase(type.getPackage().… in isComingFromJDK() 158 return type.getPackage() != null && type.getPackage().isSealed(); in isComingFromSealedPackage()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/ |
D | TestCreator.java | 29 protected static final String TEST_PACKAGE = TestCreator.class.getPackage().getName(); 48 return getClass().getPackage().getName().replace('.', '/'); in getPackageName()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/toprettystring/processor/ |
D | ExtensionClassTypeSpecBuilder.java | 21 import static com.google.auto.common.MoreElements.getPackage; 191 return getPackage(annotationElement).equals(getPackage(from)) in annotationVisibleFrom() 194 return getPackage(annotationElement).equals(getPackage(from)); in annotationVisibleFrom()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | ClassPathUtils.java | 74 return toFullyQualifiedName(context.getPackage(), resourceName); in toFullyQualifiedName() 118 return toFullyQualifiedPath(context.getPackage(), resourceName); in toFullyQualifiedPath()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | AnalyzedMethodUtil.java | 47 String otherPackage = TypeUtils.getPackage(virtualMethod.getDefiningClass()); in canAccess() 48 String thisPackage = TypeUtils.getPackage(type.getType()); in canAccess()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | PackageMatcher.java | 35 PackageDeclaration aPackage = cu.getPackage(); in matches() 60 PackageDeclaration packageDeclaration = compilationUnit.getPackage(); in getPackageName()
|
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/analysis/ |
D | AnalyzedMethodUtil.java | 46 String otherPackage = TypeUtils.getPackage(virtualMethod.getDefiningClass()); in canAccess() 47 String thisPackage = TypeUtils.getPackage(type.getType()); in canAccess()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | ClassLoadersTest.java | 93 .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/ |
D | SandboxClassLoader.java | 149 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/ |
D | ReflectionAnnotationDeclaration.java | 63 if (clazz.getPackage() != null) { in getPackageName() 64 return clazz.getPackage().getName(); in getPackageName()
|
/external/turbine/java/com/google/turbine/binder/ |
D | FileManagerClassBinder.java | 57 return packageLookup.getPackage(this, sym.packageName()).get(sym); in adapt() 127 private Map<ClassSymbol, BytecodeBoundClass> getPackage( 207 Map<ClassSymbol, BytecodeBoundClass> pkg = packageLookup.getPackage(env, packageName);
|
/external/dagger2/java/dagger/internal/codegen/langmodel/ |
D | Accessibility.java | 20 import static com.google.auto.common.MoreElements.getPackage; 203 return isElementAccessibleFrom(element, getPackage(element).getQualifiedName().toString()); in isElementAccessibleFromOwnPackage() 244 && getPackage(element).getQualifiedName().contentEquals(packageName.get()); in accessibleModifiers()
|