Home
last modified time | relevance | path

Searched refs:EntitlementConfiguration (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DImsEntitlementReceiverTest.java45 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration;
127 new EntitlementConfiguration(mContext, LAST_SUB_ID) in setUp()
129 new EntitlementConfiguration(mContext, SUB_ID).reset(); in setUp()
148 assertThat(new EntitlementConfiguration(mContext, LAST_SUB_ID).getRawXml()).isEqualTo(null); in onReceive_simChanged_dataReset()
160 assertThat(new EntitlementConfiguration(mContext, LAST_SUB_ID).getRawXml()) in onReceive_simChanged_simPinLockedThenLoaded()
170 assertThat(new EntitlementConfiguration(mContext, LAST_SUB_ID).getRawXml()).isEqualTo(null); in onReceive_simChanged_simPinLockedThenLoaded()
179 assertThat(new EntitlementConfiguration(mContext, LAST_SUB_ID).getRawXml()) in onReceive_theSameSim_dataNotReset()
191 assertThat(new EntitlementConfiguration(mContext, LAST_SUB_ID).getRawXml()) in onReceive_differentSlot_dataNotReset()
202 assertThat(new EntitlementConfiguration(mContext, LAST_SUB_ID).getRawXml()).isEqualTo(null); in onReceive_simChangedAndDifferentSlotId_dataReset()
226 new EntitlementConfiguration(mContext, LAST_SUB_ID) in onReceive_deviceBootUp_jobScheduled()
[all …]
DImsEntitlementApiTest.java19 import static com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior…
20 import static com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior…
39 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration;
74 @Mock private EntitlementConfiguration mMockEntitlementConfiguration;
183 private final EntitlementConfiguration mEntitlementConfiguration =
184 new EntitlementConfiguration(ApplicationProvider.getApplicationContext(), SUB_ID);
260 .isEqualTo(EntitlementConfiguration.RAW_XML_VERS_MINUS_ONE); in checkEntitlementStatus_responseWithVersMinusOne_resetConfiguration()
278 .isEqualTo(EntitlementConfiguration.RAW_XML_VERS_MINUS_TWO); in checkEntitlementStatus_responseWithVersMinusTwo_resetConfiguration()
317 .isEqualTo(EntitlementConfiguration.RAW_XML_VERS_MINUS_ONE); in checkEntitlementStatus_defaultEnabledAndResponseWithVersMinusOne_resetConfiguration()
337 .isEqualTo(EntitlementConfiguration.RAW_XML_VERS_MINUS_TWO); in checkEntitlementStatus_defaultEnabledAndResponseWithVersMinusTwo_resetConfiguration()
[all …]
DEntitlementUtilsTest.java28 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration;
52 @Mock private EntitlementConfiguration mEntitlementConfiguration;
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementReceiver.java21 import static com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior…
22 import static com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior…
23 import static com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior…
41 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration;
42 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior;
107 new EntitlementConfiguration(context, lastSubId).reset(); in handleCarrierConfigChanged()
114 EntitlementConfiguration entitlementConfiguration = in handleCarrierConfigChanged()
115 new EntitlementConfiguration(context, currentSubId); in handleCarrierConfigChanged()
DImsEntitlementApi.java30 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration;
31 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior;
66 private final EntitlementConfiguration mLastEntitlementConfiguration;
86 this.mLastEntitlementConfiguration = new EntitlementConfiguration(context, subId); in ImsEntitlementApi()
95 EntitlementConfiguration lastEntitlementConfiguration) { in ImsEntitlementApi()
DImsEntitlementPollingService.java45 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration;
46 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior;
315 EntitlementConfiguration lastEntitlementConfiguration = in checkVersValidity()
316 new EntitlementConfiguration(ImsEntitlementPollingService.this, mSubid); in checkVersValidity()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfigurationTest.java26 import com.android.imsserviceentitlement.entitlement.EntitlementConfiguration.ClientBehavior;
94 private EntitlementConfiguration mConfiguration;
99 mConfiguration = new EntitlementConfiguration(mContext, SUB_ID); in setUp()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfiguration.java32 public class EntitlementConfiguration { class
69 public EntitlementConfiguration(Context context, int subId) { in EntitlementConfiguration() method in EntitlementConfiguration