/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/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/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/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/javaparser/javaparser-symbol-solver-testing/src/test/resources/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()
|
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassDeclaration.txt | 13 Line 113) clazz.getPackage() ==> java.lang.Class.getPackage() 14 Line 114) clazz.getPackage().getName() ==> java.lang.Package.getName() 15 Line 114) clazz.getPackage() ==> java.lang.Class.getPackage()
|
/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/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | DefaultRootKeySetCreator.java | 40 if (key.getTypeLiteral().getRawType().getPackage() != Guice.class.getPackage() in getRootKeys()
|
/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/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/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/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/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/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 105 public String getPackage() { return proto.getPackage(); } in getPackage() method in Descriptors.FileDescriptor 172 if (getPackage().length() > 0) { in findMessageTypeByName() 173 name = getPackage() + '.' + name; in findMessageTypeByName() 196 if (getPackage().length() > 0) { in findEnumTypeByName() 197 name = getPackage() + '.' + name; in findEnumTypeByName() 220 if (getPackage().length() > 0) { in findServiceByName() 221 name = getPackage() + '.' + name; in findServiceByName() 243 if (getPackage().length() > 0) { in findExtensionByName() 244 name = getPackage() + '.' + name; in findExtensionByName() 481 pool.addPackage(getPackage(), this); in FileDescriptor() [all …]
|
/external/guice/core/src/com/google/inject/matcher/ |
D | Matchers.java | 307 return c.getPackage().equals(targetPackage); in matches() 326 return inPackage(Package.getPackage(packageName)); in readResolve() 351 String classPackageName = c.getPackage().getName(); in matches()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | ClassName.java | 166 PackageElement packageElement = getPackage(current); in fromTypeElement() 181 return create(clazz.getPackage().getName(), enclosingNames, clazz.getSimpleName()); in fromClass() 184 private static PackageElement getPackage(Element type) { in getPackage() method in ClassName
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 93 if (!classInfo.getPackageName().equals(ClassPathTest.class.getPackage().getName())) { in testGetAllClasses() 110 assertThat(packageNames).has().exactly(ClassPath.class.getPackage().getName()); in testGetAllClasses() 122 : classpath.getTopLevelClasses(ClassPathTest.class.getPackage().getName())) { in testGetTopLevelClasses() 132 assertThat(packageNames).has().item(ClassPath.class.getPackage().getName()); in testGetTopLevelClasses() 141 : classpath.getTopLevelClassesRecursive(ClassPathTest.class.getPackage().getName())) { in testGetTopLevelClassesRecursive()
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | NativeCryptoJni.java | 25 … if ("com.google.android.gms.org.conscrypt".equals(NativeCrypto.class.getPackage().getName())) { in init()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionEnumDeclaration.java | 87 if (clazz.getPackage() != null) { in getPackageName() 88 return clazz.getPackage().getName(); in getPackageName()
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | ItemInflater.java | 30 setDefaultPackage(Item.class.getPackage().getName() + "."); in ItemInflater()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/ |
D | Sample30_ResHello.java | 24 … Sample30_ResHello.class.getPackage().getName().replace('.', '/')+"/data/reshello", in main()
|
/external/brotli/java/org/brotli/dec/ |
D | Dictionary.java | 29 Class.forName(Dictionary.class.getPackage().getName() + ".DictionaryData");
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
D | ClassResourceLoader.java | 58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/'); in ClassResourceLoader()
|