Home
last modified time | relevance | path

Searched refs:ImsFeature (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java41 import android.telephony.ims.feature.ImsFeature;
118 ImsFeature.FEATURE_MMTEL)); in testBindService()
120 ImsFeature.FEATURE_RCS)); in testBindService()
142 ImsFeature.FEATURE_MMTEL)); in testBindFailureWhenBound()
160 ImsFeature.FEATURE_MMTEL)); in testBindServiceAndConnected()
162 ImsFeature.FEATURE_RCS)); in testBindServiceAndConnected()
168 verify(mMockCallbacks).imsServiceFeatureCreated(eq(SLOT_0), eq(ImsFeature.FEATURE_MMTEL), in testBindServiceAndConnected()
170 verify(mMockCallbacks).imsServiceFeatureCreated(eq(SLOT_0), eq(ImsFeature.FEATURE_RCS), in testBindServiceAndConnected()
172 verify(mMockProxyCallbacks).imsFeatureCreated(eq(SLOT_0), eq(ImsFeature.FEATURE_MMTEL)); in testBindServiceAndConnected()
173 verify(mMockProxyCallbacks).imsFeatureCreated(eq(SLOT_0), eq(ImsFeature.FEATURE_RCS)); in testBindServiceAndConnected()
[all …]
DFeatureConnectionTest.java32 import android.telephony.ims.feature.ImsFeature;
58 private Integer mFeatureState = ImsFeature.STATE_READY;
62 public int mNewStatus = ImsFeature.STATE_UNAVAILABLE;
136 mTestFeatureConnection.setFeatureState(ImsFeature.STATE_READY); in testServiceIsReady()
163 mTestFeatureConnection.setFeatureState(ImsFeature.STATE_UNAVAILABLE); in testServiceIsNotReady()
210 featureCallback.imsStatusChanged(anyInt(), anyInt(), ImsFeature.STATE_READY); in testListenerCallback()
211 assertEquals(mTestFeatureConnection.mNewStatus, ImsFeature.STATE_READY); in testListenerCallback()
DImsResolverTest.java53 import android.telephony.ims.feature.ImsFeature;
204 features.add(new ImsFeatureConfiguration.FeatureSlotPair(0, ImsFeature.FEATURE_MMTEL)); in testCarrierPackageBind()
205 features.add(new ImsFeatureConfiguration.FeatureSlotPair(0, ImsFeature.FEATURE_RCS)); in testCarrierPackageBind()
232 featuresMmTel.add(new ImsFeatureConfiguration.FeatureSlotPair(0, ImsFeature.FEATURE_MMTEL)); in testDeviceCarrierPackageBindMultipleServices()
234 featuresRcs.add(new ImsFeatureConfiguration.FeatureSlotPair(0, ImsFeature.FEATURE_RCS)); in testDeviceCarrierPackageBindMultipleServices()
240 ImsFeature.FEATURE_MMTEL)); in testDeviceCarrierPackageBindMultipleServices()
241 featuresDevice.add(new ImsFeatureConfiguration.FeatureSlotPair(1, ImsFeature.FEATURE_RCS)); in testDeviceCarrierPackageBindMultipleServices()
288 featuresMmTel.add(new ImsFeatureConfiguration.FeatureSlotPair(0, ImsFeature.FEATURE_MMTEL)); in testCarrierPackageBindOneConfigTwoSupport()
290 featuresRcs.add(new ImsFeatureConfiguration.FeatureSlotPair(0, ImsFeature.FEATURE_RCS)); in testCarrierPackageBindOneConfigTwoSupport()
291 featuresRcs.add(new ImsFeatureConfiguration.FeatureSlotPair(1, ImsFeature.FEATURE_RCS)); in testCarrierPackageBindOneConfigTwoSupport()
[all …]
DFeatureConnectorTest.java31 import android.telephony.ims.feature.ImsFeature;
125 when(mImsManager.getImsServiceState()).thenReturn(ImsFeature.STATE_READY); in testNotifyStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsFeatureTest.java31 import android.telephony.ims.feature.ImsFeature;
102 verify(mTestStatusCallback).notifyImsFeatureStatus(eq(ImsFeature.STATE_UNAVAILABLE)); in testSetCallbackAndNotify()
103 verify(mTestStatusCallback2).notifyImsFeatureStatus(eq(ImsFeature.STATE_UNAVAILABLE)); in testSetCallbackAndNotify()
112 mTestImsFeature.testSetFeatureState(ImsFeature.STATE_READY); in testSetFeatureAndCheckCallback()
114 verify(mTestStatusCallback).notifyImsFeatureStatus(eq(ImsFeature.STATE_READY)); in testSetFeatureAndCheckCallback()
115 verify(mTestStatusCallback2).notifyImsFeatureStatus(eq(ImsFeature.STATE_READY)); in testSetFeatureAndCheckCallback()
116 assertEquals(ImsFeature.STATE_READY, mTestImsFeature.getFeatureState()); in testSetFeatureAndCheckCallback()
122 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigAdd()
131 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigAddMultiple()
141 ImsFeature.Capabilities c = new ImsFeature.Capabilities(); in testCapabilityConfigHasMultiple()
[all …]
DImsServiceTest.java35 import android.telephony.ims.feature.ImsFeature;
89 mTestImsService.mTestMmTelFeature.sendSetFeatureState(ImsFeature.STATE_READY); in testCreateMMTelFeature()
91 SparseArray<ImsFeature> features = mTestImsService.getFeatures(TEST_SLOT_0); in testCreateMMTelFeature()
92 ImsFeature featureToVerify = features.get(ImsFeature.FEATURE_MMTEL); in testCreateMMTelFeature()
103 assertEquals(ImsFeature.STATE_READY, f.getFeatureState()); in testCreateMMTelFeature()
111 mTestImsServiceBinder.removeImsFeature(TEST_SLOT_0, ImsFeature.FEATURE_MMTEL, in testRemoveMMTelFeature()
116 SparseArray<ImsFeature> features = mTestImsService.getFeatures(TEST_SLOT_0); in testRemoveMMTelFeature()
117 assertNull(features.get(ImsFeature.FEATURE_MMTEL)); in testRemoveMMTelFeature()
137 .addFeature(0, ImsFeature.FEATURE_MMTEL) in testQuerySupportedImsFeatures()
138 .addFeature(0, ImsFeature.FEATURE_RCS) in testQuerySupportedImsFeatures()
DTestImsFeature.java21 import android.telephony.ims.feature.ImsFeature;
23 public class TestImsFeature extends ImsFeature {
29 public int setCapabilitiesResult = ImsFeature.CAPABILITY_SUCCESS;
51 if (setCapabilitiesResult != ImsFeature.CAPABILITY_SUCCESS) { in changeEnabledCapabilities()
56 ImsFeature.CAPABILITY_ERROR_GENERIC); in changeEnabledCapabilities()
DImsRegistrationTests.java32 import android.telephony.ims.feature.ImsFeature;
73 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_MMTEL) in testRegistrationConfigParcel()
74 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_RCS) in testRegistrationConfigParcel()
90 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_MMTEL) in testRegistrationConfigPermutationEqual()
91 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_RCS) in testRegistrationConfigPermutationEqual()
96 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_RCS) in testRegistrationConfigPermutationEqual()
97 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_MMTEL) in testRegistrationConfigPermutationEqual()
108 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_MMTEL) in testRegistrationConfigConstructorsEqual()
109 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_RCS) in testRegistrationConfigConstructorsEqual()
114 .addFeature(/*slotId*/ 0, ImsFeature.FEATURE_RCS) in testRegistrationConfigConstructorsEqual()
[all …]
DTestMmTelFeature.java23 import android.telephony.ims.feature.ImsFeature;
34 public int setCapabilitiesResult = ImsFeature.CAPABILITY_SUCCESS;
105 if (setCapabilitiesResult != ImsFeature.CAPABILITY_SUCCESS) { in changeEnabledCapabilities()
110 ImsFeature.CAPABILITY_ERROR_GENERIC); in changeEnabledCapabilities()
/frameworks/base/telephony/java/android/telephony/ims/compat/
DImsService.java26 import android.telephony.ims.compat.feature.ImsFeature;
85 private final SparseArray<SparseArray<ImsFeature>> mFeaturesBySlot = new SparseArray<>();
136 public SparseArray<ImsFeature> getFeatures(int slotId) { in getFeatures()
144 setupFeature(f, slotId, ImsFeature.EMERGENCY_MMTEL, c); in createEmergencyMMTelFeatureInternal()
155 setupFeature(f, slotId, ImsFeature.MMTEL, c); in createMMTelFeatureInternal()
166 setupFeature(f, slotId, ImsFeature.RCS, c); in createRcsFeatureInternal()
173 private void setupFeature(ImsFeature f, int slotId, int featureType, in setupFeature()
183 private void addImsFeature(int slotId, int featureType, ImsFeature f) { in addImsFeature()
186 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature()
200 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeature()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java32 import android.telephony.ims.feature.ImsFeature;
110 private final SparseArray<SparseArray<ImsFeature>> mFeaturesBySlot = new SparseArray<>();
203 public SparseArray<ImsFeature> getFeatures(int slotId) { in getFeatures()
211 setupFeature(f, slotId, ImsFeature.FEATURE_MMTEL, c); in createMmTelFeatureInternal()
223 setupFeature(f, slotId, ImsFeature.FEATURE_RCS, c); in createRcsFeatureInternal()
231 private void setupFeature(ImsFeature f, int slotId, int featureType, in setupFeature()
238 private void addImsFeature(int slotId, int featureType, ImsFeature f) { in addImsFeature()
241 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature()
255 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeature()
261 ImsFeature f = features.get(featureType); in removeImsFeature()
DImsRcsManager.java36 import android.telephony.ims.feature.ImsFeature;
119 @ImsFeature.ImsCapabilityError int reason) { in onChangeCapabilityConfigurationError()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java46 import android.telephony.ims.feature.ImsFeature;
532 setDeviceConfiguration(defaultMmTelPackageName, ImsFeature.FEATURE_EMERGENCY_MMTEL); in ImsResolver()
533 setDeviceConfiguration(defaultMmTelPackageName, ImsFeature.FEATURE_MMTEL); in ImsResolver()
534 setDeviceConfiguration(defaultRcsPackageName, ImsFeature.FEATURE_RCS); in ImsResolver()
624 for (int f = ImsFeature.FEATURE_EMERGENCY_MMTEL; f < ImsFeature.FEATURE_MAX; f++) { in bindCarrierServicesIfAvailable()
685 ImsFeature.FEATURE_MMTEL, callback); in getMmTelFeatureAndListen()
701 ImsFeature.FEATURE_RCS, callback); in getRcsFeatureAndListen()
801 private String getDeviceConfiguration(@ImsFeature.FeatureType int featureType) { in getDeviceConfiguration()
806 private void setDeviceConfiguration(String name, @ImsFeature.FeatureType int featureType) { in setDeviceConfiguration()
812 @ImsFeature.FeatureType int featureType) { in setCarrierConfiguredPackageName()
[all …]
DImsServiceController.java37 import android.telephony.ims.feature.ImsFeature;
288 + ImsFeature.FEATURE_LOG_MAP.get(mFeatureType) + ", status="
289 + ImsFeature.STATE_LOG_MAP.get(featureStatus));
414 .filter(feature -> feature.featureType == ImsFeature.FEATURE_EMERGENCY_MMTEL) in sanitizeFeatureConfig()
418 ImsFeature.FEATURE_MMTEL))) { in sanitizeFeatureConfig()
557 ImsFeatureContainer f = getImsFeatureContainer(slotId, ImsFeature.FEATURE_MMTEL); in getMmTelFeature()
571 ImsFeatureContainer f = getImsFeatureContainer(slotId, ImsFeature.FEATURE_RCS); in getRcsFeature()
726 if (featurePair.featureType != ImsFeature.FEATURE_EMERGENCY_MMTEL) { in addImsServiceFeature()
752 if (featurePair.featureType != ImsFeature.FEATURE_EMERGENCY_MMTEL) { in removeImsServiceFeature()
768 + ImsFeature.FEATURE_LOG_MAP.get(featurePair.featureType) in removeImsServiceFeature()
[all …]
DImsServiceControllerCompat.java29 import android.telephony.ims.compat.feature.ImsFeature;
140 case ImsFeature.MMTEL: { in createImsFeature()
143 case ImsFeature.RCS: { in createImsFeature()
154 if (featureType == ImsFeature.MMTEL) { in removeImsFeature()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsFeatureConfiguration.java25 import android.telephony.ims.feature.ImsFeature;
52 public final @ImsFeature.FeatureType int featureType;
61 public FeatureSlotPair(int slotId, @ImsFeature.FeatureType int featureType) { in FeatureSlotPair()
87 return "{s=" + slotId + ", f=" + ImsFeature.FEATURE_LOG_MAP.get(featureType) + "}"; in toString()
113 public Builder addFeature(int slotId, @ImsFeature.FeatureType int featureType) { in addFeature()
DRcsCapabilityExchange.java23 import android.telephony.ims.feature.ImsFeature;
DRcsSipOptionsImplBase.java26 import android.telephony.ims.feature.ImsFeature;
DRcsPresenceExchangeImplBase.java25 import android.telephony.ims.feature.ImsFeature;
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java34 import android.telephony.ims.feature.ImsFeature;
255 tm.unregisterImsFeatureCallback(mSlotId, ImsFeature.FEATURE_MMTEL, getListener()); in removeImsFeatureCallback()
268 ? tm.getImsConfig(mSlotId, ImsFeature.FEATURE_MMTEL) : null; in getConfig()
287 case ImsFeature.FEATURE_MMTEL: { in handleImsFeatureCreatedCallback()
294 case ImsFeature.FEATURE_EMERGENCY_MMTEL: { in handleImsFeatureCreatedCallback()
310 case ImsFeature.FEATURE_MMTEL: { in handleImsFeatureRemovedCallback()
315 case ImsFeature.FEATURE_EMERGENCY_MMTEL: { in handleImsFeatureRemovedCallback()
328 + ImsFeature.FEATURE_LOG_MAP.get(feature) + in handleImsStatusChangedCallback()
329 " status: " + ImsFeature.STATE_LOG_MAP.get(status)); in handleImsStatusChangedCallback()
330 if (mSlotId == slotId && feature == ImsFeature.FEATURE_MMTEL) { in handleImsStatusChangedCallback()
[all …]
DFeatureConnector.java24 import android.telephony.ims.feature.ImsFeature;
219 int status = ImsFeature.STATE_UNAVAILABLE;
226 case ImsFeature.STATE_READY: {
230 case ImsFeature.STATE_INITIALIZING:
232 case ImsFeature.STATE_UNAVAILABLE: {
DFeatureConnection.java27 import android.telephony.ims.feature.ImsFeature;
231 return isBinderAlive() && getFeatureState() == ImsFeature.STATE_READY; in isBinderReady()
255 return ImsFeature.STATE_UNAVAILABLE; in getFeatureState()
261 + ImsFeature.STATE_LOG_MAP.get(state)); in getFeatureState()
DRcsFeatureConnection.java32 import android.telephony.ims.feature.ImsFeature;
174 tm.unregisterImsFeatureCallback(mSlotId, ImsFeature.FEATURE_RCS, getListener()); in removeImsFeatureCallback()
220 if (mSlotId == slotId && feature == ImsFeature.FEATURE_RCS) { in isUpdateForThisFeatureAndSlot()
335 return tm != null ? tm.getImsRegistration(mSlotId, ImsFeature.FEATURE_RCS) : null; in getRegistrationBinder()
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/
DRcsFeature.java28 public class RcsFeature extends ImsFeature {
DImsFeature.java40 public abstract class ImsFeature { class

12