Home
last modified time | relevance | path

Searched refs:mockConfigManager (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierDisplayNameResolverTest.java84 CarrierConfigManager mockConfigManager = Mockito.mock(CarrierConfigManager.class); in setUp() local
85 doReturn(mockConfigManager).when(mContext).getSystemService(Context.CARRIER_CONFIG_SERVICE); in setUp()
86 doReturn(mConfig).when(mockConfigManager).getConfigForSubId(anyInt()); in setUp()
DServiceStateTrackerTest.java698 CarrierConfigManager mockConfigManager = Mockito.mock(CarrierConfigManager.class); in sendCarrierConfigUpdate() local
700 .thenReturn(mockConfigManager); in sendCarrierConfigUpdate()
701 when(mockConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in sendCarrierConfigUpdate()