OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isMethodAvailable
(Results
1 - 5
of
5
) sorted by null
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/
CompatUtilsTest.java
40
assertFalse(CompatUtils.
isMethodAvailable
(null, "methodName"));
44
assertFalse(CompatUtils.
isMethodAvailable
("", "methodName"));
48
assertFalse(CompatUtils.
isMethodAvailable
("className", null));
52
assertFalse(CompatUtils.
isMethodAvailable
("className", ""));
56
assertFalse(CompatUtils.
isMethodAvailable
("com.android.contacts.common.NonexistentClass",
61
assertFalse(CompatUtils.
isMethodAvailable
(BaseClass.class.getName(), "derivedMethod"));
65
assertTrue(CompatUtils.
isMethodAvailable
(BaseClass.class.getName(), "baseMethod"));
69
assertTrue(CompatUtils.
isMethodAvailable
(DerivedClass.class.getName(), "baseMethod"));
73
assertTrue(CompatUtils.
isMethodAvailable
(DerivedClass.class.getName(), "overloadedMethod"));
74
assertTrue(CompatUtils.
isMethodAvailable
(DerivedClass.class.getName(), "overloadedMethod"
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
TelephonyManagerCompat.java
49
|| CompatUtils.
isMethodAvailable
(TELEPHONY_MANAGER_CLASS, "isVoiceCapable")) {
72
.
isMethodAvailable
(TELEPHONY_MANAGER_CLASS, "getPhoneCount")) {
93
|| CompatUtils.
isMethodAvailable
(TELEPHONY_MANAGER_CLASS,
112
|| CompatUtils.
isMethodAvailable
(TELEPHONY_MANAGER_CLASS, "isTtyModeSupported")) {
131
|| CompatUtils.
isMethodAvailable
(TELEPHONY_MANAGER_CLASS,
CompatUtils.java
210
public static boolean
isMethodAvailable
(@Nullable String className, @Nullable String methodName,
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/telecom/
TelecomManagerCompat.java
73
|| CompatUtils.
isMethodAvailable
(TELECOM_MANAGER_CLASS, "getAdnUriForPhoneAccount",
91
|| CompatUtils.
isMethodAvailable
(TELECOM_MANAGER_CLASS,
134
|| CompatUtils.
isMethodAvailable
(TELECOM_MANAGER_CLASS,
175
|| CompatUtils.
isMethodAvailable
(TELECOM_MANAGER_CLASS, "isVoiceMailNumber",
193
if (telecomManager != null && (CompatUtils.
isMethodAvailable
(
215
if (telecomManager != null && (CompatUtils.
isMethodAvailable
(
262
.
isMethodAvailable
(TELECOM_MANAGER_CLASS, "silenceRinger"))) {
277
.
isMethodAvailable
(TELECOM_MANAGER_CLASS, "getSimCallManager"))) {
/packages/apps/Dialer/src/com/android/dialer/
SpecialCharSequenceMgr.java
335
CompatUtils.
isMethodAvailable
(TelephonyManagerCompat.TELEPHONY_MANAGER_CLASS,
Completed in 580 milliseconds