Home
last modified time | relevance | path

Searched refs:mMockSubscriptionInfo (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSubscriptionControllerTest.java100 private SubscriptionInfo mMockSubscriptionInfo; field in SubscriptionControllerTest
439 when(mMockSubscriptionInfo.getNameSource()) in testIsExistingNameSourceStillValid_pnnIsNotNull_returnTrue()
449 when(mMockSubscriptionInfo.getNameSource()) in testIsExistingNameSourceStillValid_spnIsNotNull_returnTrue()
459 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(true); in testIsExistingNameSourceStillValid_simIsEmbedded_returnTrue()
461 when(mMockSubscriptionInfo.getNameSource()) in testIsExistingNameSourceStillValid_simIsEmbedded_returnTrue()
469 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(false); in testIsExistingNameSourceStillValid_carrierConfigIsNull_returnTrue()
471 when(mMockSubscriptionInfo.getNameSource()) in testIsExistingNameSourceStillValid_carrierConfigIsNull_returnTrue()
480 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(false); in testIsExistingNameSourceStillValid_carrierNameOverrideIsTrue_returnTrue()
482 when(mMockSubscriptionInfo.getNameSource()) in testIsExistingNameSourceStillValid_carrierNameOverrideIsTrue_returnTrue()
491 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(false); in testIsExistingNameSourceStillValid_spnIsNullAndCarrierNameIsNotNull_returnTrue()
[all …]
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
H A DCellBroadcastServiceTestCase.java64 protected SubscriptionInfo mMockSubscriptionInfo; field in CellBroadcastServiceTestCase
162 doReturn(1).when(mMockSubscriptionInfo).getSubscriptionId(); in setUp()
163 doReturn(Arrays.asList(mMockSubscriptionInfo)).when(mMockedSubscriptionManager) in setUp()
/aosp12/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
H A DEpdgSelectorTest.java79 @Mock private SubscriptionInfo mMockSubscriptionInfo; field in EpdgSelectorTest
102 .thenReturn(mMockSubscriptionInfo); in setUp()
104 when(mMockSubscriptionInfo.getMccString()).thenReturn("311"); in setUp()
106 when(mMockSubscriptionInfo.getMncString()).thenReturn("120"); in setUp()
H A DEpdgTunnelManagerTest.java102 @Mock SubscriptionInfo mMockSubscriptionInfo; field in EpdgTunnelManagerTest
781 .thenReturn(mMockSubscriptionInfo); in setupMockForGetConfig()
782 when(mMockSubscriptionInfo.getSubscriptionId()).thenReturn(DEFAULT_SUBID); in setupMockForGetConfig()
783 when(mMockSubscriptionInfo.getMncString()).thenReturn("344"); in setupMockForGetConfig()
/aosp12/packages/services/Iwlan/test/com/google/android/iwlan/
H A DIwlanEventListenerTest.java58 @Mock private SubscriptionInfo mMockSubscriptionInfo; field in IwlanEventListenerTest
94 .thenReturn(mMockSubscriptionInfo); in setUp()
H A DIwlanNetworkServiceTest.java53 @Mock private SubscriptionInfo mMockSubscriptionInfo; field in IwlanNetworkServiceTest
79 .thenReturn(mMockSubscriptionInfo); in setUp()
H A DIwlanDataServiceTest.java92 @Mock private SubscriptionInfo mMockSubscriptionInfo; field in IwlanDataServiceTest
187 .thenReturn(mMockSubscriptionInfo); in setUp()
189 when(mMockSubscriptionInfo.getSubscriptionId()).thenReturn(DEFAULT_SUB_INDEX); in setUp()
H A DErrorPolicyManagerTest.java67 @Mock SubscriptionInfo mMockSubscriptionInfo; field in ErrorPolicyManagerTest