Home
last modified time | relevance | path

Searched refs:ImsUtils (Results 1 – 6 of 6) sorted by relevance

/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DImsUtils.java37 public class ImsUtils { class
67 private static SparseArray<ImsUtils> sInstances = new SparseArray<ImsUtils>();
69 private ImsUtils(Context context, int subId) { in ImsUtils() method in ImsUtils
77 ImsUtils( in ImsUtils() method in ImsUtils
87 public static synchronized ImsUtils getInstance(Context context, int subId) { in getInstance()
88 ImsUtils instance = sInstances.get(subId); in getInstance()
93 instance = new ImsUtils(context, subId); in getInstance()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/utils/
DImsUtilsTest.java53 ImsUtils imsUtils = in isWfcEnabledByUser_invalidSubId_defaultValues()
54 ImsUtils.getInstance(mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in isWfcEnabledByUser_invalidSubId_defaultValues()
64 ImsUtils imsUtils = in disableAndResetVoWiFiImsSettings_hasCarrierConfig()
65 new ImsUtils(carrierConfig, mMockImsMmTelManager, mMockProvisioningManager); in disableAndResetVoWiFiImsSettings_hasCarrierConfig()
76 ImsUtils imsUtils = new ImsUtils( in disableWfc()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationController.java44 import com.android.imsserviceentitlement.utils.ImsUtils;
69 private final ImsUtils mImsUtils;
87 this.mImsUtils = ImsUtils.getInstance(context, getSubId()); in WfcActivationController()
97 ImsUtils imsUtils, in WfcActivationController()
DImsEntitlementPollingService.java49 import com.android.imsserviceentitlement.utils.ImsUtils;
149 private final ImsUtils mImsUtils;
167 this.mImsUtils = ImsUtils.getInstance(ImsEntitlementPollingService.this, subId); in EntitlementPollingTask()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DImsEntitlementPollingServiceTest.java55 import com.android.imsserviceentitlement.utils.ImsUtils;
75 @Mock private ImsUtils mImsUtils;
330 SparseArray<ImsUtils> imsUtilsInstances = new SparseArray<>(); in setupImsUtils()
332 Field field = ImsUtils.class.getDeclaredField("sInstances"); in setupImsUtils()
DWfcActivationControllerTest.java49 import com.android.imsserviceentitlement.utils.ImsUtils;
71 @Mock private ImsUtils mMockImsUtils;