Home
last modified time | relevance | path

Searched refs:FeatureConnector (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/net/ims/tests/src/com/android/ims/
DFeatureConnectorTest.java123 private FeatureConnector<TestManager> mFeatureConnector;
125 @Mock private FeatureConnector.Listener<TestManager> mListener;
179 FeatureConnector.UNAVAILABLE_REASON_IMS_UNSUPPORTED); in testConnectNotSupported()
199 verify(mListener).connectionUnavailable(FeatureConnector.UNAVAILABLE_REASON_NOT_READY); in testConnectReadyNotReady()
279 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in testCantConnectToServer()
281 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in testCantConnectToServer()
289 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in testCantConnectToServer()
293 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in testCantConnectToServer()
308 mTestManager.callback.imsFeatureRemoved(FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testConnectReadyRemovedReady()
312 verify(mListener).connectionUnavailable(FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testConnectReadyRemovedReady()
[all …]
DImsFeatureBinderRepositoryTest.java301 FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testListenNull()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java164 public static FeatureConnector<RcsFeatureManager> getConnector(Context context, int slotId, in getConnector()
165 FeatureConnector.Listener<RcsFeatureManager> listener, Executor executor, in getConnector()
169 return new FeatureConnector<>(context, slotId, RcsFeatureManager::new, logPrefix, filter, in getConnector()
528 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in registerFeatureCallback()
535 cb.imsFeatureRemoved(FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in registerFeatureCallback()
543 cb.imsFeatureRemoved(FeatureConnector.UNAVAILABLE_REASON_IMS_UNSUPPORTED); in registerFeatureCallback()
547 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in registerFeatureCallback()
553 cb.imsFeatureRemoved(FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in registerFeatureCallback()
DFeatureConnector.java40 public class FeatureConnector<U extends FeatureUpdates> { class
226 public FeatureConnector(Context context, int phoneId, ManagerFactory<U> factory, in FeatureConnector() method in FeatureConnector
DImsManager.java357 private static class InstanceManager implements FeatureConnector.Listener<ImsManager> {
362 private final FeatureConnector<ImsManager> mConnector;
380 mConnector = new FeatureConnector<>(manager.mContext, manager.mPhoneId, in InstanceManager()
426 if (reason == FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE) { in connectionUnavailable()
506 public static FeatureConnector<ImsManager> getConnector(Context context, in getConnector()
507 int phoneId, String logPrefix, FeatureConnector.Listener<ImsManager> listener, in getConnector()
512 return new FeatureConnector<>(context, phoneId, ImsManager::new, logPrefix, readyFilter, in getConnector()
3091 FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in registerFeatureCallback()
3098 cb.imsFeatureRemoved(FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE); in registerFeatureCallback()
3104 cb.imsFeatureRemoved(FeatureConnector.UNAVAILABLE_REASON_IMS_UNSUPPORTED); in registerFeatureCallback()
[all …]
DImsFeatureBinderRepository.java67 FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in notifyFeatureCreatedOrRemoved()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java46 import com.android.ims.FeatureConnector;
66 private FeatureConnector<ImsManager> mMockConnector;
68 private FeatureConnector.Listener<ImsManager> mImsManagerListener;
81 mMockConnector = mock(FeatureConnector.class); in setUp()
82 doAnswer((Answer<FeatureConnector<ImsManager>>) invocation -> { in setUp()
84 (FeatureConnector.Listener<ImsManager>) invocation.getArguments()[3]; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java37 import com.android.ims.FeatureConnector;
77 FeatureConnector<ImsManager> create(Context context, int phoneId, String logPrefix, in create()
78 FeatureConnector.Listener<ImsManager> listener, Executor executor); in create()
90 private final FeatureConnector<ImsManager> mImsManagerConnector;
370 new FeatureConnector.Listener<ImsManager>() { in ImsSmsDispatcher()
386 if (reason == FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE) { in ImsSmsDispatcher()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java112 import com.android.ims.FeatureConnector;
153 private FeatureConnector.Listener<ImsManager> mConnectorListener;
167 private FeatureConnector<ImsManager> mMockConnector;
226 mMockConnector = mock(FeatureConnector.class); in setUp()
275 doAnswer((Answer<FeatureConnector<ImsManager>>) invocation -> { in setUp()
277 (FeatureConnector.Listener<ImsManager>) invocation.getArguments()[3]; in setUp()
406 mConnectorListener.connectionUnavailable(FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testCarrierConfigLoadSubscription()
423 mConnectorListener.connectionUnavailable(FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testCarrierConfigSentLocked()
454 mConnectorListener.connectionUnavailable(FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testCarrierConfigSentAfterReady()
468 mConnectorListener.connectionUnavailable(FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testCarrierConfigSentBeforeReady()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java119 import com.android.ims.FeatureConnector;
1181 FeatureConnector<ImsManager> create(Context context, int phoneId, in create()
1182 String logPrefix, FeatureConnector.Listener<ImsManager> listener, in create()
1186 private final FeatureConnector<ImsManager> mImsManagerConnector;
1323 LOG_TAG, new FeatureConnector.Listener<ImsManager>() { in ImsPhoneCallTracker()
1333 if (reason == FeatureConnector.UNAVAILABLE_REASON_SERVER_UNAVAILABLE) { in ImsPhoneCallTracker()
/frameworks/base/boot/
Dpreloaded-classes10583 com.android.ims.FeatureConnector$$ExternalSyntheticLambda0
10584 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda0
10585 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda1
10586 com.android.ims.FeatureConnector$1
10587 com.android.ims.FeatureConnector$Listener
10588 com.android.ims.FeatureConnector$ManagerFactory
10589 com.android.ims.FeatureConnector$UnavailableReason
10590 com.android.ims.FeatureConnector
Dboot-image-profile.txt33006 Lcom/android/ims/FeatureConnector$$ExternalSyntheticLambda0;
33007 Lcom/android/ims/FeatureConnector$1$$ExternalSyntheticLambda0;
33008 Lcom/android/ims/FeatureConnector$1$$ExternalSyntheticLambda1;
33009 Lcom/android/ims/FeatureConnector$1;
33010 Lcom/android/ims/FeatureConnector$Listener;
33011 Lcom/android/ims/FeatureConnector$ManagerFactory;
33012 Lcom/android/ims/FeatureConnector$UnavailableReason;
33013 Lcom/android/ims/FeatureConnector;
/frameworks/base/config/
Dpreloaded-classes10614 com.android.ims.FeatureConnector$$ExternalSyntheticLambda0
10615 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda0
10616 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda1
10617 com.android.ims.FeatureConnector$1
10618 com.android.ims.FeatureConnector$Listener
10619 com.android.ims.FeatureConnector$ManagerFactory
10620 com.android.ims.FeatureConnector$UnavailableReason
10621 com.android.ims.FeatureConnector
Ddirty-image-objects956 Lcom/android/ims/FeatureConnector$1; 251
Dboot-image-profile.txt43167 Lcom/android/ims/FeatureConnector$$ExternalSyntheticLambda0;
43168 Lcom/android/ims/FeatureConnector$1$$ExternalSyntheticLambda0;
43169 Lcom/android/ims/FeatureConnector$1$$ExternalSyntheticLambda1;
43170 Lcom/android/ims/FeatureConnector$1;
43171 Lcom/android/ims/FeatureConnector$Listener;
43172 Lcom/android/ims/FeatureConnector$ManagerFactory;
43173 Lcom/android/ims/FeatureConnector$UnavailableReason;
43174 Lcom/android/ims/FeatureConnector;