Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DApnCarrierIdTest.java200 int carrierId = mTelephonyManager.getSimSpecificCarrierId(); in validateDataConnectionWithCarrierIdApn() local
201 ContentValues apnWithCarrierId = getApnWithCarrierId(currentApn, carrierId); in validateDataConnectionWithCarrierIdApn()
214 mInsertedApnSelectionArgs = generateSelectionArgs(currentApn, String.valueOf(carrierId)); in validateDataConnectionWithCarrierIdApn()
218 assertThat(mPreciseDataConnectionState.getApnSetting().getCarrierId()).isEqualTo(carrierId); in validateDataConnectionWithCarrierIdApn()
265 private ContentValues getApnWithCarrierId(ApnSetting apnSetting, int carrierId) { in getApnWithCarrierId() argument
278 apnWithCarrierId.put(Carriers.CARRIER_ID, carrierId); in getApnWithCarrierId()
DApnSettingTest.java105 int carrierId = 123; in testBuilderGet() local
129 .setCarrierId(carrierId) in testBuilderGet()
151 assertEquals(carrierId, apnSettingUT.getCarrierId()); in testBuilderGet()
178 int carrierId = 123; in testBuilderGetWithFlagEnabled() local
203 .setCarrierId(carrierId) in testBuilderGetWithFlagEnabled()
226 assertEquals(carrierId, apnSettingUT.getCarrierId()); in testBuilderGetWithFlagEnabled()
DSmsManagerTest.java284 int carrierId = mTelephonyManager.getSimCarrierId(); in testSmsRetriever() local
285 assertFalse("[RERUN] Carrier [carrier-id: " + carrierId + "] does not support " in testSmsRetriever()
287 CarrierCapability.UNSUPPORT_LOOP_BACK_MESSAGES.contains(carrierId)); in testSmsRetriever()
410 int carrierId = mTelephonyManager.getSimCarrierId(); in testSendAndReceiveMessages() local
411 assertFalse("[RERUN] Carrier [carrier-id: " + carrierId + "] does not support " in testSendAndReceiveMessages()
413 CarrierCapability.UNSUPPORT_LOOP_BACK_MESSAGES.contains(carrierId)); in testSendAndReceiveMessages()
DCarrierConfigManagerTest.java685 (slotIndex, subId, carrierId, preciseCarrierId) -> queue.offer( in testCarrierConfigChangeListener()
686 new CarrierConfigChangeParams(slotIndex, subId, carrierId, in testCarrierConfigChangeListener()
787 CarrierConfigChangeParams(int slotIndex, int subId, int carrierId, int preciseCarrierId) { in CarrierConfigChangeParams() argument
790 mCarrierId = carrierId; in CarrierConfigChangeParams()
DMmsTest.java405 int carrierId = mTelephonyManager.getSimCarrierId(); in sendMmsMessage() local
406 assertFalse("[RERUN] Carrier [carrier-id: " + carrierId + "] does not support " in sendMmsMessage()
408 CarrierCapability.UNSUPPORT_LOOP_BACK_MESSAGES.contains(carrierId)); in sendMmsMessage()
DVisualVoicemailServiceTest.java468 int carrierId = mTelephonyManager.getSimCarrierId(); in getSmsFromText() local
469 assertFalse("[RERUN] Carrier [carrier-id: " + carrierId + "] does not support " in getSmsFromText()
471 CarrierCapability.UNSUPPORT_LOOP_BACK_MESSAGES.contains(carrierId)); in getSmsFromText()
DSubscriptionManagerTest.java967 int carrierId = info.getCarrierId(); in testSubscriptionInfoCarrierId() local
968 assertTrue(carrierId >= TelephonyManager.UNKNOWN_CARRIER_ID); in testSubscriptionInfoCarrierId()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemManager.java428 public boolean changeNetworkService(int slotId, int carrierId, boolean registration) in changeNetworkService() argument
435 + carrierId in changeNetworkService()
443 .changeNetworkService(carrierId, registration); in changeNetworkService()
459 int slotId, int carrierId, in changeNetworkService() argument
462 slotId, carrierId, registration, domainBitmask, 0 /* regFailCause */); in changeNetworkService()
476 int slotId, int carrierId, in changeNetworkService() argument
484 + carrierId in changeNetworkService()
497 carrierId, registration, domainBitmask, regFailCause); in changeNetworkService()
DIRadioNetworkImpl.java223 public boolean changeNetworkService(int carrierId, boolean registration) { in changeNetworkService() argument
224 Log.d(mTag, "changeNetworkService: carrier id(" + carrierId + "): " + registration); in changeNetworkService()
225 return changeNetworkService(carrierId, registration, Domain.CS | Domain.PS); in changeNetworkService()
230 int carrierId, in changeNetworkService() argument
233 return changeNetworkService(carrierId, registration, domainBitmask, 0 /* regFailCause */); in changeNetworkService()
238 int carrierId, in changeNetworkService() argument
245 + carrierId in changeNetworkService()
DMockNetworkService.java620 public MockModemCell getCarrierStatus(int carrierId) { in getCarrierStatus() argument
622 if (mmc.getCarrierId() == carrierId) return mmc; in getCarrierStatus()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DTelephonyUtils.java402 String packageName, int carrierId, String shaId) throws Exception { in addCarrierRestrictionStatusAllowList() argument
407 String allowList = "package:" + packageName + "," + "carrierIds:" + carrierId + "," in addCarrierRestrictionStatusAllowList()