Home
last modified time | relevance | path

Searched refs:mSubId (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java104 private int mSubId; field in SubscriptionManagerTest
158 mSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in setUp()
182 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in testCorrectness()
199 (sm) -> sm.getActiveSubscriptionInfo(mSubId)); in testGetActiveSubscriptionInfoForIcc()
207 assertTrue(mSm.isActiveSubscriptionId(mSubId)); in testIsActiveSubscriptionId()
213 int slotId = SubscriptionManager.getSlotIndex(mSubId); in testGetSubscriptionIds()
216 assertTrue(ArrayUtils.contains(subIds, mSubId)); in testGetSubscriptionIds()
223 (sm) -> sm.getResourcesForSubId(InstrumentationRegistry.getContext(), mSubId)); in testGetResourcesForSubId()
226 assertEquals(mSm.getActiveSubscriptionInfo(mSubId).getMcc(), r.getConfiguration().mcc); in testGetResourcesForSubId()
227 assertEquals(mSm.getActiveSubscriptionInfo(mSubId).getMnc(), r.getConfiguration().mnc); in testGetResourcesForSubId()
[all …]
DTelephonyManagerTest.java304 private final int mSubId; field in TelephonyManagerTest.CarrierConfigReceiver
307 mSubId = subId; in CarrierConfigReceiver()
315 if (mSubId == subId) { in onReceive()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DCarrierPrivilegeUtils.java61 private final int mSubId; field in CarrierPrivilegeUtils.CarrierPrivilegeReceiver
74 mSubId = subId; in CarrierPrivilegeReceiver()
95 if (mSubId != subId) { in onReceive()
100 c.getSystemService(CarrierConfigManager.class).getConfigForSubId(mSubId); in onReceive()
106 if (hasCarrierPrivileges(c, mSubId) == mGain) { in onReceive()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_ContentNotificationsTest.java82 private int mSubId; field in SimPhonebookContract_ContentNotificationsTest
100 mSubId = new RemovableSims(context).getDefaultSubscriptionId(); in setUp()
103 () -> subscriptionManager.getActiveSubscriptionInfo(mSubId), in setUp()
116 mResolver.insert(SimPhonebookContract.SimRecords.getContentUri(mSubId, EF_ADN), values); in insert_notifiesObserver()
128 SimPhonebookContract.SimRecords.getContentUri(mSubId, EF_ADN), values); in update_notifiesObserver()
146 SimPhonebookContract.SimRecords.getContentUri(mSubId, EF_ADN), values); in delete_notifiesObserver()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DServiceStateTest.java74 private int mSubId; field in ServiceStateTest
84 mSubId = SubscriptionManager.getDefaultSubscriptionId(); in setUp()
355 Telephony.ServiceStateTable.getUriForSubscriptionIdAndField(mSubId, field); in verifyNotificationObservedWhenFieldChanged()
393 Telephony.ServiceStateTable.getUriForSubscriptionId(mSubId), values), in insertServiceState()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsMmTelManagerTest.java75 private final int mSubId; field in ImsMmTelManagerTest.CarrierConfigReceiver
78 mSubId = subId; in CarrierConfigReceiver()
85 if (mSubId == subId) { in onReceive()
DEabControllerTest.java117 private final int mSubId; field in EabControllerTest.CarrierConfigReceiver
120 mSubId = subId; in CarrierConfigReceiver()
127 if (mSubId == subId) { in onReceive()
DEabBulkCapabilityUpdaterTest.java109 private final int mSubId; field in EabBulkCapabilityUpdaterTest.CarrierConfigReceiver
112 mSubId = subId; in CarrierConfigReceiver()
119 if (mSubId == subId) { in onReceive()
DSipDelegateManagerTest.java94 private final int mSubId; field in SipDelegateManagerTest.CarrierConfigReceiver
97 mSubId = subId; in CarrierConfigReceiver()
104 if (mSubId == subId) { in onReceive()
DImsServiceTest.java220 private final int mSubId; field in ImsServiceTest.CarrierConfigReceiver
223 mSubId = subId; in CarrierConfigReceiver()
230 if (mSubId == subId) { in onReceive()
DRcsUceAdapterTest.java136 private final int mSubId; field in RcsUceAdapterTest.CarrierConfigReceiver
139 mSubId = subId; in CarrierConfigReceiver()
146 if (mSubId == subId) { in onReceive()