Home
last modified time | relevance | path

Searched refs:isClassAvailable (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/compat/
DCompatUtilsTest.java26 assertFalse(CompatUtils.isClassAvailable(null)); in testIsClassAvailable_NullClassName()
30 assertFalse(CompatUtils.isClassAvailable("")); in testIsClassAvailable_EmptyClassName()
34 assertFalse(CompatUtils.isClassAvailable("com.android.contacts.common.NonexistentClass")); in testIsClassAvailable_NonexistentClass()
38 assertTrue(CompatUtils.isClassAvailable(BaseClass.class.getName())); in testIsClassAvailable()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java194 public static boolean isClassAvailable(@Nullable String className) { in isClassAvailable() method in CompatUtils