Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/
DCompatUtilsTest.java24 assertFalse(CompatUtils.isClassAvailable(null)); in testIsClassAvailable_NullClassName()
28 assertFalse(CompatUtils.isClassAvailable("")); in testIsClassAvailable_EmptyClassName()
32 assertFalse(CompatUtils.isClassAvailable("com.android.contacts.common.NonexistentClass")); in testIsClassAvailable_NonexistentClass()
36 assertTrue(CompatUtils.isClassAvailable(BaseClass.class.getName())); in testIsClassAvailable()
/packages/apps/Dialer/src/com/android/dialer/calllog/calllogcache/
DCallLogCache.java52 if (CompatUtils.isClassAvailable("android.telecom.PhoneAccountHandle")) { in getCallLogCache()
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
DCompatUtils.java186 public static boolean isClassAvailable(@Nullable String className) { in isClassAvailable() method in CompatUtils