Home
last modified time | relevance | path

Searched refs:SUB_2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconsViewModelTest.kt96 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in setUp()
165 interactor.filteredSubscriptions.value = listOf(SUB_2) in caching_invalidViewModelsAreRemovedFromCacheWhenSubDisappears()
186 interactor.filteredSubscriptions.value = listOf(SUB_2) in caching_invalidatedViewModelsAreCanceled()
273 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubNotShowingRat_false()
291 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubShowingRat_true()
308 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in firstMobileSubShowingNetworkTypeIcon_subListUpdates_valAlsoUpdates()
318 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2, SUB_3) in firstMobileSubShowingNetworkTypeIcon_subListUpdates_valAlsoUpdates()
335 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in firstMobileSubShowingNetworkTypeIcon_subListReorders_valAlsoUpdates()
337 interactor.filteredSubscriptions.value = listOf(SUB_2, SUB_1) in firstMobileSubShowingNetworkTypeIcon_subListReorders_valAlsoUpdates()
341 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in firstMobileSubShowingNetworkTypeIcon_subListReorders_valAlsoUpdates()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java79 private static final int SUB_2 = 2; field in ImsServiceControllerTest
200 slotIdToSubIdMap.put(SLOT_0, SUB_2); in testBindService()
221 slotIdToSubIdMap.put(SLOT_0, SUB_2); in testBindFailureWhenBound()
244 slotIdToSubIdMap.put(SLOT_0, SUB_2); in testBindServiceAndConnected()
247 verify(mMockServiceControllerBinder).createMmTelFeature(SLOT_0, SUB_2); in testBindServiceAndConnected()
250 verify(mMockServiceControllerBinder).createRcsFeature(SLOT_0, SUB_2); in testBindServiceAndConnected()
276 slotIdToSubIdMap.put(SLOT_0, SUB_2); in testCallChangeWithNoNewFeaturesWithSubIdChanged()
279 verify(mMockServiceControllerBinder).createMmTelFeature(SLOT_0, SUB_2); in testCallChangeWithNoNewFeaturesWithSubIdChanged()
282 verify(mMockServiceControllerBinder).createRcsFeature(SLOT_0, SUB_2); in testCallChangeWithNoNewFeaturesWithSubIdChanged()
338 slotIdToSubIdMap.put(SLOT_0, SUB_2); in testCallChangeWithNoNewFeaturesWithAllSubIdChanged()
[all …]
DImsEnablementTrackerTest.java62 private static final int SUB_2 = 22; field in ImsEnablementTrackerTest
689 mTracker.enableIms(SLOT_2, SUB_2); in testEnableCommandWithDifferentSlotId()
692 verify(mMockServiceControllerBinder).enableIms(eq(SLOT_2), eq(SUB_2)); in testEnableCommandWithDifferentSlotId()
707 mTracker.disableIms(SLOT_2, SUB_2); in testEnableCommandWithDifferentSlotId()
710 verify(mMockServiceControllerBinder).disableIms(eq(SLOT_2), eq(SUB_2)); in testEnableCommandWithDifferentSlotId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/
DMobileContextProviderTest.kt75 signalCallback.setSubs(listOf(SUB_1, SUB_2)) in test_twoSubscriptions_eachContextReflectsMccMnc()
116 private val SUB_2 = constant
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAutoDataSwitchControllerTest.java82 private static final int SUB_2 = 2; field in AutoDataSwitchControllerTest
115 doReturn(SUB_2).when(mPhone2).getSubId(); in setUp()
118 doReturn(SUB_2).when(mSubscriptionManagerService).getSubId(PHONE_2); in setUp()
144 doReturn(new int[]{SUB_1, SUB_2}).when(mSubscriptionManagerService) in setUp()
639 verify(mSubscriptionManagerService, never()).getSubscriptionInfo(SUB_2); in testSetNotification()
644 verify(mSubscriptionManagerService).getSubscriptionInfo(SUB_2); in testSetNotification()
676 doReturn(new int[]{SUB_2}).when(mSubscriptionManagerService) in testSubscriptionChangedUnregister()
690 doReturn(new int[]{SUB_1, SUB_2}).when(mSubscriptionManagerService) in testSubscriptionChangedUnregister()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DShadeHeaderViewModelTest.kt65 mobileIconsInteractor.filteredSubscriptions.value = listOf(SUB_1, SUB_2) in mobileSubIds_update()
128 private val SUB_2 = constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileRepositorySwitcherTest.kt194 .thenReturn(listOf(SUB_1, SUB_2)) in subscriptionListUpdatesWhenDemoModeChanges()
201 .thenReturn(listOf(SUB_1, SUB_2)) in subscriptionListUpdatesWhenDemoModeChanges()
266 private val SUB_2 = constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt172 2 -> SUB_2 in <lambda>()
277 .thenReturn(listOf(SUB_1, SUB_2)) in <lambda>()
290 .thenReturn(listOf(SUB_1, SUB_2)) in <lambda>()
295 .thenReturn(listOf(SUB_2)) in <lambda>()
366 .thenReturn(listOf(SUB_1, SUB_2, SUB_CM)) in <lambda>()
487 .thenReturn(listOf(SUB_2)) in <lambda>()
655 .thenReturn(listOf(SUB_1, SUB_2)) in <lambda>()
682 .thenReturn(listOf(SUB_1, SUB_2, SUB_CM)) in <lambda>()
709 .thenReturn(listOf(SUB_1, SUB_2)) in <lambda>()
787 .thenReturn(listOf(SUB_1, SUB_2)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt137 connectionsRepository.setSubscriptions(listOf(SUB_1, SUB_2)) in filteredSubscriptions_nonOpportunistic_updatesWithMultipleSubs()
141 assertThat(latest).isEqualTo(listOf(SUB_1, SUB_2)) in filteredSubscriptions_nonOpportunistic_updatesWithMultipleSubs()
696 connectionsRepository.setSubscriptions(listOf(SUB_1, SUB_2)) in isSingleCarrier_twoSubscriptions_false()
709 connectionsRepository.setSubscriptions(listOf(SUB_1, SUB_2)) in isSingleCarrier_updates()
951 private val SUB_2 = constant