/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconsViewModelTest.kt | 96 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/ |
D | ImsServiceControllerTest.java | 79 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 …]
|
D | ImsEnablementTrackerTest.java | 62 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/ |
D | MobileContextProviderTest.kt | 75 signalCallback.setSubs(listOf(SUB_1, SUB_2)) in test_twoSubscriptions_eachContextReflectsMccMnc() 116 private val SUB_2 = constant in com.android.systemui.statusbar.connectivity.ui.MobileContextProviderTest
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | AutoDataSwitchControllerTest.java | 82 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/ |
D | ShadeHeaderViewModelTest.kt | 65 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/ |
D | MobileRepositorySwitcherTest.kt | 194 .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/ |
D | MobileConnectionsRepositoryTest.kt | 172 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/ |
D | MobileIconsInteractorTest.kt | 137 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
|