Home
last modified time | relevance | path

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

123

/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.java121 Package matchersPackage = Matchers.class.getPackage(); in testInPackage()
126 assertFalse(inPackage(matchersPackage).equals(inPackage(Object.class.getPackage()))); in testInPackage()
130 String stringPackageName = String.class.getPackage().getName(); in testInSubpackage()
137 …assertFalse(inSubpackage(stringPackageName).equals(inSubpackage(Matchers.class.getPackage().getNam… in testInSubpackage()
158 assertEqualWhenReserialized(inPackage(String.class.getPackage())); in testSerialization()
159 assertEqualWhenReserialized(inSubpackage(String.class.getPackage().getName())); in testSerialization()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java126 …return type.getPackage() != null && "Java Runtime Environment".equalsIgnoreCase(type.getPackage().… in isComingFromJDK()
132 return type.getPackage() != null && type.getPackage().isSealed(); in isComingFromSealedPackage()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultRootKeySetCreator.java40 if (key.getTypeLiteral().getRawType().getPackage() != Guice.class.getPackage() in getRootKeys()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DPackageMatcher.java34 PackageDeclaration aPackage = cu.getPackage(); in matches()
59 PackageDeclaration packageDeclaration = compilationUnit.getPackage(); 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowIntent.java134 public String getPackage() { in getPackage() method in ShadowIntent
499 if (getPackage() != other.getPackage()) { in filterEquals()
500 if (getPackage() != null) { in filterEquals()
501 if (!getPackage().equals(other.getPackage())) { in filterEquals()
505 if (!other.getPackage().equals(getPackage())) { in filterEquals()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoadersTest.java89 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
106 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in isolated_class_loader_cannot_load_classes_if_prefix_excluded()
268 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in can_run_in_given_classloader()
309 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in cannot_load_runnable_in_given_classloader_if_some_type_cant_be_loaded()
/external/javassist/src/main/javassist/
DLoader.java367 if (getPackage(pname) == null) in findClass()
433 protected Package getPackage(String name) { in getPackage() method in Loader
434 return super.getPackage(name); in getPackage()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java105 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/
DMatchers.java304 return c.getPackage().equals(targetPackage); in matches()
321 return inPackage(Package.getPackage(packageName)); in readResolve()
345 String classPackageName = c.getPackage().getName(); in matches()
/external/conscrypt/common/src/main/java/org/conscrypt/
DCryptoUpcalls.java42 return p.getClass().getPackage().equals(CryptoUpcalls.class.getPackage()); in isOurProvider()
/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/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DClassName.java166 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/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
DSample30_ResHello.java24 … Sample30_ResHello.class.getPackage().getName().replace('.', '/')+"/data/reshello", in main()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java93 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/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DClassResourceLoader.java58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/'); in ClassResourceLoader()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DRenamePackage.java42 PackageDeclaration packageDeclaration = cu.getPackage(); in process()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/
DSl4aHostedInterpreter.java113 return new File(InterpreterConstants.SDCARD_ROOT + this.getClass().getPackage().getName() in getExtrasPath()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectorGenerator.java60 import static com.google.auto.common.MoreElements.getPackage;
242 return getPackage(element).equals(getPackage(binding.bindingElement()))
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/
DInstrumentingLoader.java47 this(new SystemPropertiesRuntime(), target.getPackage().getName(), in InstrumentingLoader()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllAllocationsRecorder.java54 AllAllocationsRecorder.class.getPackage().getName())) {
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/
DSearchWorkingInstantiator.java51 …dSet<String> classes = ClassEnumerator.getClassesForPackage(ObjectInstantiator.class.getPackage()); in searchForInstantiator()

123