Home
last modified time | relevance | path

Searched refs:isCapable (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/ims/src/java/com/android/ims/
DImsConnectionStateListener.java84 if (c.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE)) { in onFeatureCapabilityChangedAdapter()
89 if (c.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO)) { in onFeatureCapabilityChangedAdapter()
93 if (c.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT)) { in onFeatureCapabilityChangedAdapter()
100 if (c.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE)) { in onFeatureCapabilityChangedAdapter()
104 if (c.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO)) { in onFeatureCapabilityChangedAdapter()
108 if (c.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT)) { in onFeatureCapabilityChangedAdapter()
/frameworks/base/telephony/java/android/telephony/ims/feature/
DMmTelFeature.java295 public final boolean isCapable(@MmTelCapability int capabilities) { in isCapable() method in MmTelFeature.MmTelCapabilities
296 return super.isCapable(capabilities); in isCapable()
303 builder.append(isCapable(CAPABILITY_TYPE_VOICE)); in toString()
305 builder.append(isCapable(CAPABILITY_TYPE_VIDEO)); in toString()
307 builder.append(isCapable(CAPABILITY_TYPE_UT)); in toString()
309 builder.append(isCapable(CAPABILITY_TYPE_SMS)); in toString()
DImsFeature.java253 public boolean isCapable(int capabilities) { in isCapable() method in ImsFeature.Capabilities
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsFeatureTest.java116 assertTrue(c.isCapable(TestImsFeature.CAPABILITY_TEST_1)); in testCapabilityConfigAdd()
126 assertTrue(c.isCapable(TestImsFeature.CAPABILITY_TEST_2)); in testCapabilityConfigAddMultiple()
136 assertTrue(c.isCapable( in testCapabilityConfigHasMultiple()
148 assertTrue(c.isCapable(TestImsFeature.CAPABILITY_TEST_2)); in testCapabilityConfigRemove()
/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java562 public boolean isCapable(@MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in isCapable() method in ImsMmTelManager
565 return getITelephony().isCapable(mSubId, capability, imsRegTech); in isCapable()
697 public void setVoWiFiNonPersistent(boolean isCapable, int mode) { in setVoWiFiNonPersistent() argument
699 getITelephony().setVoWiFiNonPersistent(mSubId, isCapable, mode); in setVoWiFiNonPersistent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java773 assertEquals(caps1.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE), in testWriteOnImsCapabilities()
775 assertEquals(caps1.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO), in testWriteOnImsCapabilities()
777 assertEquals(caps1.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT), in testWriteOnImsCapabilities()
786 assertEquals(caps2.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE), in testWriteOnImsCapabilities()
788 assertEquals(caps2.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO), in testWriteOnImsCapabilities()
790 assertEquals(caps2.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT), in testWriteOnImsCapabilities()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1776 boolean isCapable(int subId, int capability, int regTech); in isCapable() method
1827 void setVoWiFiNonPersistent(int subId, boolean isCapable, int mode); in setVoWiFiNonPersistent() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1273 cap.voiceOverLte = capabilities.isCapable( in writeOnImsCapabilities()
1275 cap.videoOverLte = capabilities.isCapable( in writeOnImsCapabilities()
1277 cap.utOverLte = capabilities.isCapable( in writeOnImsCapabilities()
1281 cap.voiceOverWifi = capabilities.isCapable( in writeOnImsCapabilities()
1283 cap.videoOverWifi = capabilities.isCapable( in writeOnImsCapabilities()
1285 cap.utOverWifi = capabilities.isCapable( in writeOnImsCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java108 mIsSmsCapable = capabilities.isCapable(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java3619 return (getImsRegistrationTech() == regTech) && mMmTelCapabilities.isCapable(capability); in isImsCapabilityAvailable()
3625 return isRadioTechLte && mMmTelCapabilities.isCapable( in isVolteEnabled()
3632 return isRadioTechIwlan && mMmTelCapabilities.isCapable( in isVowifiEnabled()
3637 return mMmTelCapabilities.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO); in isVideoCallEnabled()
3683 return mMmTelCapabilities.isCapable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT); in isUtEnabled()
/frameworks/base/api/
Dsystem-current.txt8597 …android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isCapable(@android.telepho…
9132 …method public final boolean isCapable(@android.telephony.ims.feature.MmTelFeature.MmTelCapabilitie…