Home
last modified time | relevance | path

Searched refs:getSimOperator (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/
DRequestFactoryTest.java84 when(mTelephonyManager.getSimOperator()).thenReturn(MCC + MNC); in createAuthRequestSuccess()
103 when(mTelephonyManager.getSimOperator()).thenReturn(SIM_OPERATOR_INVALID); in createAuthRequestFailureWrongSimOperator()
120 when(mTelephonyManager.getSimOperator()).thenReturn(MCC + MNC); in createAuthRequestFailureNullImsi()
137 when(mTelephonyManager.getSimOperator()).thenReturn(MCC + MNC); in createAuthRequestFailureNullImei()
147 when(mTelephonyManager.getSimOperator()).thenReturn(MCC + MNC); in createGetImsiPseudonymRequestSuccess()
170 when(mTelephonyManager.getSimOperator()).thenReturn(MCC + MNC); in createGetImsiPseudonymRequestWithEmptyData()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java291 when(mDataTelephonyManager.getSimOperator()).thenReturn(DATA_OPERATOR_NUMERIC); in setUp()
294 when(mNonDataTelephonyManager.getSimOperator()) in setUp()
664 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in getSimIdentityEapSim()
688 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in getSimIdentityEapAka()
712 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in getSimIdentityEapAkaPrime()
755 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in getEncryptedIdentity_WithRfc4648()
813 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in getEncryptedIdentityFailed()
839 when(mDataTelephonyManager.getSimOperator()).thenReturn("32156"); in getSimIdentity2DigitMnc()
855 when(mDataTelephonyManager.getSimOperator()).thenReturn(null); in getSimIdentityUnknownMccMnc()
868 when(mDataTelephonyManager.getSimOperator()).thenReturn("32156"); in getSimIdentityNonTelephonyConfig()
[all …]
DWifiConfigManagerTest.java5207 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in testResetSimNetworks()
5264 when(mDataTelephonyManager.getSimOperator()).thenReturn(""); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()
5324 when(mDataTelephonyManager.getSimOperator()).thenReturn("321456"); in testLoadFromStoreResetsSimIdentity()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DCarrierIdentifier.java76 builder().setMccMnc(telephonyManager.getSimOperator()).setGid1(gid1).build()); in forHandle()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastReceiverTest.java589 doReturn("654321").when(mMockTelephonyManager).getSimOperator(); in testOnNetworkRoamingChange()
610 doReturn("654321").when(mMockTelephonyManager).getSimOperator(); in testOnNetworkRoamingChange()
664 doReturn("310260").when(mMockTelephonyManager).getSimOperator(); in testOnNetworkRoamingChange()
685 doReturn("").when(mMockTelephonyManager).getSimOperator(); in testOnSimlessChange()
699 doReturn("123456").when(mMockTelephonyManager).getSimOperator(); in testOnSimlessChange()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorker.java66 mContext.getSystemService(TelephonyManager.class)).getSimOperator(); in startWork()
DDeviceCheckInHelper.java153 return mTelephonyManager.getSimOperator(); in getCarrierInfo()
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java114 final String mccMncString = telephonyManager.getSimOperator(); in getMccMnc()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java273 && !networkOperator.equals(tm.getSimOperator())) { in onServiceStateChanged()
287 if (tm.getSimOperator() != null) { in onServiceStateChanged()
290 if (!tm.getSimOperator().startsWith(networkMcc)) { in onServiceStateChanged()
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/
DCellBroadcastBaseTest.java130 String mccmnc = tm.getSimOperator(SubscriptionManager.getDefaultSubscriptionId()); in onGsmBroadcastActivated()
188 String mccMncOfIntent = tm.getSimOperator(); in beforeAllTests()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DRequestFactory.java151 String mccmnc = mTelephonyManager.getSimOperator(); // MCCMNC is 5 or 6 decimal digits in getImsiEap()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt346 doReturn("000000").`when`(telephonyManager).getSimOperator() in testGetResourcesForSubId()
359 doReturn("20404").`when`(telephonyManager).getSimOperator() in testGetResourcesForSubId()
/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java126 String operator = telephony.getSimOperator(info.getSubscriptionId()); in findConfig()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java303 final String mccmnc = mTelephonyManager.getSimOperator(); in getMccMnc()
317 return mTelephonyManager.getSimOperator(); in getSimOperatorNumeric()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java348 switch (context.getSystemService(TelephonyManager.class).getSimOperator()) { in isVerizon()
/packages/modules/DeviceLock/DeviceLockController/proto/
Dcheckin_service.proto59 // would fetch it from TelephonyManager#getSimOperator().
159 // would fetch it from TelephonyManager#getSimOperator().
/packages/services/Telephony/src/com/android/phone/slice/
DSlicePurchaseController.java793 String carrier = getSimOperator(); in onStartSlicePurchaseApplication()
880 @Nullable public String getSimOperator() { in getSimOperator() method in SlicePurchaseController
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java202 final String mccmnc = tm.getSimOperator(); in getResourcesForSubId()
/packages/services/Telephony/tests/src/com/android/phone/slice/
DSlicePurchaseControllerTest.java162 doReturn(CARRIER).when(mSlicePurchaseController).getSimOperator(); in setUp()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java304 doReturn(TEST_OPERATOR).when(mTelephonyManager).getSimOperator(anyInt()); in MockContextWithProvider()
308 doReturn(TEST_OPERATOR).when(mTelephonyManager).getSimOperator(); in MockContextWithProvider()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java2239 String mccMnc = specifiedTm.getSimOperator(); in getSimInfo()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java4599 String mccmnc = tm.getSimOperator(); in getSubscriptionMatchingAPNListSynchronized()
5579 String simOperator = telephonyManager.getSimOperator(); in getWhereClauseForRestoreDefaultApn()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1370 mTelephonyManager.getSimOperator(), in buildDataStallDetectionStats()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java623 doReturn(TEST_MCCMNC).when(mTelephony).getSimOperator(); in setUp()