Home
last modified time | relevance | path

Searched refs:getPackageName (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java528 String thisPackage = getClass().getPackageName(); in test_getPackageName()
531 String stringPackage = String.class.getPackageName(); in test_getPackageName()
534 String stringArrayPackage = String[].class.getPackageName(); in test_getPackageName()
537 String stringArrayArrayPackage = String[][].class.getPackageName(); in test_getPackageName()
540 String intPackage = int.class.getPackageName(); in test_getPackageName()
543 String intArrayPackage = int[].class.getPackageName(); in test_getPackageName()
563 assertEquals("", clazz.getPackageName()); in test_getPackageName()
566 assertEquals("", clazz.getPackageName()); in test_getPackageName()
569 assertEquals("", clazz.getPackageName()); in test_getPackageName()
572 assertEquals("a.b", clazz.getPackageName()); in test_getPackageName()
[all …]
DPackageTest.java54 assertEquals("libcore.java.lang", getClass().getPackageName()); in testGetPackageName()
55 assertEquals(getClass().getPackageName(), libcoreJavaLang.getName()); in testGetPackageName()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java413 && class1.getPackageName() == class2.getPackageName(); in isSamePackage()
DAtomicIntegerFieldUpdater.java476 && class1.getPackageName() == class2.getPackageName(); in isSamePackage()
DAtomicLongFieldUpdater.java683 && class1.getPackageName() == class2.getPackageName(); in isSamePackage()
/libcore/ojluni/src/test/java/lang/StackWalker/
DBasic.java154 if (f.getClassName().startsWith(Basic.class.getPackageName()) in accept()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java96 String pkgName = serClass.getPackageName(); in getSUID()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java86 public java.lang.String getPackageName$() { throw new RuntimeException("Stub!"); } in getPackageName$()
/libcore/ojluni/src/main/java/java/lang/
DClass.java1252 String packageName = getPackageName(); in getPackage()
1284 public String getPackageName() { in getPackageName() method in Class
3366 String baseName = getPackageName(); in resolveName()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java85 @libcore.util.NonNull public java.lang.String getPackageName() { throw new RuntimeException("Stub!"… in getPackageName() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java127 public java.lang.String getPackageName$() { in getPackageName$()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectStreamClass.java300 private static java.lang.String getPackageName(java.lang.Class<?> cl) { in getPackageName() method in ObjectStreamClass
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1579 getPackageName(cl1).equals(getPackageName(cl2))); in packageEquals()
1585 private static String getPackageName(Class<?> cl) { in getPackageName() method in ObjectStreamClass
/libcore/api/
Dcurrent.txt3118 method @NonNull public String getPackageName();