Searched refs:FeatureConnector (Results 1 – 15 of 15) sorted by relevance
123 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 …]
301 FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in testListenNull()
164 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()
40 public class FeatureConnector<U extends FeatureUpdates> { class226 public FeatureConnector(Context context, int phoneId, ManagerFactory<U> factory, in FeatureConnector() method in FeatureConnector
357 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 …]
67 FeatureConnector.UNAVAILABLE_REASON_DISCONNECTED); in notifyFeatureCreatedOrRemoved()
46 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()
37 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()
112 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 …]
119 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()
10583 com.android.ims.FeatureConnector$$ExternalSyntheticLambda010584 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda010585 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda110586 com.android.ims.FeatureConnector$110587 com.android.ims.FeatureConnector$Listener10588 com.android.ims.FeatureConnector$ManagerFactory10589 com.android.ims.FeatureConnector$UnavailableReason10590 com.android.ims.FeatureConnector
33006 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;
10614 com.android.ims.FeatureConnector$$ExternalSyntheticLambda010615 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda010616 com.android.ims.FeatureConnector$1$$ExternalSyntheticLambda110617 com.android.ims.FeatureConnector$110618 com.android.ims.FeatureConnector$Listener10619 com.android.ims.FeatureConnector$ManagerFactory10620 com.android.ims.FeatureConnector$UnavailableReason10621 com.android.ims.FeatureConnector
956 Lcom/android/ims/FeatureConnector$1; 251
43167 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;