Home
last modified time | relevance | path

Searched refs:carrierConfigManager (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DImsStatusPreferenceControllerTest.java64 CarrierConfigManager carrierConfigManager = mock(CarrierConfigManager.class); in testIsAvailable() local
65 doReturn(carrierConfigManager).when(mContext).getSystemService(CarrierConfigManager.class); in testIsAvailable()
69 doReturn(config).when(carrierConfigManager).getConfigForSubId(anyInt()); in testIsAvailable()
82 doReturn(null).when(carrierConfigManager).getConfigForSubId(anyInt()); in testIsAvailable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java357 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testCarrierConfigChangedWithUserUnlocked() local
360 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId); in testCarrierConfigChangedWithUserUnlocked()
379 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testCarrierConfigChangedWithUserLocked() local
382 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId); in testCarrierConfigChangedWithUserLocked()
402 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testUserLockedAfterCarrierConfigChanged() local
405 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId); in testUserLockedAfterCarrierConfigChanged()
435 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testCarrierConfigChangedEmptyKey() local
438 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId); in testCarrierConfigChangedEmptyKey()
458 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in testAlarmRenewal() local
461 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotIndex); in testAlarmRenewal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DCarrierConfigRepository.kt58 private val carrierConfigManager: CarrierConfigManager?, in <lambda>() constant
90 val config = carrierConfigManager?.getConfigForSubId(subId) in <lambda>()
114 val carrierConfig = carrierConfigManager?.getConfigForSubId(subId) in <lambda>()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCustomConfigLoader.java67 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) context.getSystemService( in loadCarrierActionList() local
71 if (carrierConfigManager == null) { in loadCarrierActionList()
75 PersistableBundle b = carrierConfigManager.getConfig(); in loadCarrierActionList()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DCarrierConfigRepositoryTest.kt57 @Mock private lateinit var carrierConfigManager: CarrierConfigManager in <lambda>() variable in com.android.systemui.statusbar.pipeline.mobile.data.repository.CarrierConfigRepositoryTest
72 whenever(carrierConfigManager.getConfigForSubId(anyInt())).thenAnswer { invocation -> in <lambda>()
83 carrierConfigManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DCarrierConfigTracker.java76 @Nullable CarrierConfigManager carrierConfigManager, in CarrierConfigTracker()
78 mCarrierConfigManager = carrierConfigManager; in CarrierConfigTracker()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabBulkCapabilityUpdaterTest.java209 CarrierConfigManager carrierConfigManager = in mockBulkCapabilityCarrierConfig() local
211 doReturn(persistableBundle).when(carrierConfigManager).getConfigForSubId(anyInt()); in mockBulkCapabilityCarrierConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java105 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in getCarrierInfoForImsiEncryption() local
107 if (carrierConfigManager == null) { in getCarrierInfoForImsiEncryption()
115 PersistableBundle b = carrierConfigManager.getConfigForSubId(subId); in getCarrierInfoForImsiEncryption()
DCarrierKeyDownloadManager.java152 CarrierConfigManager carrierConfigManager = mContext.getSystemService( in CarrierKeyDownloadManager() local
155 carrierConfigManager.registerCarrierConfigChangeListener(this::post, in CarrierKeyDownloadManager()
550 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in carrierUsesKeys() local
552 if (carrierConfigManager == null) { in carrierUsesKeys()
558 b = carrierConfigManager.getConfigForSubId(subId, in carrierUsesKeys()
DCarrierSignalAgent.java130 CarrierConfigManager carrierConfigManager = mPhone.getContext().getSystemService( in CarrierSignalAgent() local
133 carrierConfigManager.registerCarrierConfigChangeListener( in CarrierSignalAgent()
DCellularNetworkService.java761 CarrierConfigManager carrierConfigManager = phone.getContext() in isMmsEnabled() local
763 if (carrierConfigManager != null) { in isMmsEnabled()
764 PersistableBundle config = carrierConfigManager.getConfigForSubId( in isMmsEnabled()
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/
DEmergencyNumberUtils.java254 CarrierConfigManager carrierConfigManager, int subId) { in getCarrierEmergencyNumberPrefixes() argument
255 PersistableBundle b = carrierConfigManager.getConfigForSubId(subId); in getCarrierEmergencyNumberPrefixes()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DCellularNetworkValidatorTest.java493 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in setCacheTtlInCarrierConfig() local
495 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(anyInt()); in setCacheTtlInCarrierConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataServiceManager.java372 CarrierConfigManager carrierConfigManager = phone.getContext().getSystemService( in DataServiceManager() local
382 if (carrierConfigManager != null) { in DataServiceManager()
383 carrierConfigManager.registerCarrierConfigChangeListener(this::post, in DataServiceManager()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java966 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in isBusinessCallSupported() local
968 if (carrierConfigManager == null) { in isBusinessCallSupported()
974 b = carrierConfigManager.getConfigForSubId(subId, in isBusinessCallSupported()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java697 CarrierConfigManager carrierConfigManager = in isImsiPrivacyProtectionProvided() local
699 if (carrierConfigManager == null) { in isImsiPrivacyProtectionProvided()
702 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(subId); in isImsiPrivacyProtectionProvided()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2935 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) mContext in isAllowNonGlobalNumberFormat() local
2937 if (carrierConfigManager != null) { in isAllowNonGlobalNumberFormat()
2938 persistableBundle = carrierConfigManager.getConfigForSubId(getSubId(), in isAllowNonGlobalNumberFormat()
DImsPhoneCallTracker.java5398 CarrierConfigManager carrierConfigManager = (CarrierConfigManager) in getCarrierConfigBundle() local
5400 if (carrierConfigManager == null) { in getCarrierConfigBundle()
5404 PersistableBundle carrierConfig = carrierConfigManager.getConfigForSubId(subId); in getCarrierConfigBundle()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java2977 CarrierConfigManager carrierConfigManager = mContext in getCarrierConfig() local
2979 return carrierConfigManager.getConfigForSubId(getSubId()); in getCarrierConfig()