Home
last modified time | relevance | path

Searched refs:mMockCarrierConfigManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java72 private CarrierConfigManager mMockCarrierConfigManager; field in Enhanced4gLteSliceHelperTest
142 when(mMockCarrierConfigManager.getConfigForSubId(1)).thenReturn(null); in createEnhanced4gLteSlice_success()
155 when(mMockCarrierConfigManager.getConfigForSubId(1)).thenReturn(null); in sttingSliceProvider_enhanced4gLteHelper_getsRightSlice()
277 return mMockCarrierConfigManager; in getCarrierConfigManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java78 private CarrierConfigManager mMockCarrierConfigManager; field in WifiCallingSliceHelperTest
155 when(mMockCarrierConfigManager.getConfigForSubId(1)).thenReturn(null); in test_CreateWifiCallingSlice_needsActivation()
172 when(mMockCarrierConfigManager.getConfigForSubId(1)).thenReturn(null); in test_CreateWifiCallingSlice_success()
186 when(mMockCarrierConfigManager.getConfigForSubId(1)).thenReturn(null); in test_SettingSliceProvider_getsRightSliceWifiCalling()
440 return mMockCarrierConfigManager; in getCarrierConfigManager()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java54 @Mock CarrierConfigManager mMockCarrierConfigManager; field in TestContext
74 }).when(mMockCarrierConfigManager).getConfigForSubId(anyInt()); in TestContext()
129 return mMockCarrierConfigManager; in getSystemService()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java112 @Mock private CarrierConfigManager mMockCarrierConfigManager; field in CoexManagerTest
139 mMockDefaultTelephonyManager, mMockSubscriptionManager, mMockCarrierConfigManager, in createCoexManager()
690 when(mMockCarrierConfigManager.getConfigForSubId(0)) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
692 when(mMockCarrierConfigManager.getConfigForSubId(1)) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
744 when(mMockCarrierConfigManager.getConfigForSubId(0)).thenReturn(mUnrestrictedBundle); in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
763 when(mMockCarrierConfigManager.getConfigForSubId(0)).thenReturn(mRestrictedBundle); in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java80 @Mock private CarrierConfigManager mMockCarrierConfigManager; field in EpdgSelectorTest
120 .thenReturn(mMockCarrierConfigManager); in setUp()
121 when(mMockCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mTestBundle); in setUp()
DEpdgTunnelManagerTest.java100 @Mock CarrierConfigManager mMockCarrierConfigManager; field in EpdgTunnelManagerTest
775 .thenReturn(mMockCarrierConfigManager); in setupMockForGetConfig()
786 when(mMockCarrierConfigManager.getConfigForSubId(DEFAULT_SLOT_INDEX)).thenReturn(bundle); in setupMockForGetConfig()
/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java64 @Mock CarrierConfigManager mMockCarrierConfigManager; field in ErrorPolicyManagerTest
728 doReturn(mMockCarrierConfigManager) in setupMockForCarrierConfig()
744 doReturn(bundle).when(mMockCarrierConfigManager).getConfigForSubId(DEFAULT_SLOT_INDEX); in setupMockForCarrierConfig()