/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/ |
D | MobileContextProviderTest.kt | 64 val ctx = provider.getMobileContextForSub(SUB_1_ID, context) in test_oneSubscription_contextHasMccMnc() 78 val ctx1 = provider.getMobileContextForSub(SUB_1_ID, context) in test_twoSubscriptions_eachContextReflectsMccMnc() 97 val ctx = provider.getMobileContextForSub(SUB_1_ID, context) in test_requestingContextForNonexistentSubscription_returnsGivenContext() 103 private val SUB_1_ID = 1 constant 108 whenever(it.subscriptionId).thenReturn(SUB_1_ID) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconsInteractorTest.kt | 93 SUB_1_ID to CONNECTION_1, in setUp() 99 connectionsRepository.setActiveMobileDataSubscriptionId(SUB_1_ID) in setUp() 160 subscriptionIds = Pair(SUB_1_ID, SUB_2_ID), in filteredSubscriptions_opportunistic_nonGrouped_doesNotFilter() 165 connectionsRepository.setActiveMobileDataSubscriptionId(SUB_1_ID) in filteredSubscriptions_opportunistic_nonGrouped_doesNotFilter() 217 subscriptionIds = Pair(SUB_1_ID, SUB_3_ID), in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_active_1() 222 connectionsRepository.setActiveMobileDataSubscriptionId(SUB_1_ID) in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_active_1() 238 subscriptionIds = Pair(SUB_1_ID, SUB_3_ID), in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_nonActive_1() 259 subscriptionIds = Pair(SUB_1_ID, SUB_3_ID), in filteredSubscriptions_vcnSubId_agreesWithActiveSubId_usesActiveAkaVcnSub() 279 subscriptionIds = Pair(SUB_1_ID, SUB_3_ID), in filteredSubscriptions_vcnSubId_disagreesWithActiveSubId_usesVcnSub() 285 connectivityRepository.vcnSubId.value = SUB_1_ID in filteredSubscriptions_vcnSubId_disagreesWithActiveSubId_usesVcnSub() [all …]
|
D | MobileIconInteractorTest.kt | 68 subscriptionId = SUB_1_ID, 74 private val connectionRepository = FakeMobileConnectionRepository(SUB_1_ID, mock()) 761 private const val SUB_1_ID = 1 in createInteractor() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionsRepositoryTest.kt | 506 val repo1 = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 507 val repo2 = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 541 val mobileRepo = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 558 var mobileRepo = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 569 mobileRepo = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 587 var mobileRepo = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 598 mobileRepo = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 659 val repo1 = underTest.getRepoForSubId(SUB_1_ID) in <lambda>() 663 .containsExactly(SUB_1_ID, repo1, SUB_2_ID, repo2) in <lambda>() 670 assertThat(underTest.getSubIdRepoCache()).containsExactly(SUB_1_ID, repo1) in <lambda>() [all …]
|
D | MobileConnectionTelephonySmokeTests.kt | 114 SUB_1_ID, in <lambda>() 124 whenever(telephonyManager.subscriptionId).thenReturn(SUB_1_ID) in <lambda>() 134 SUB_1_ID, in <lambda>() 354 private const val SUB_1_ID = 1 in <lambda>() constant
|
D | MobileConnectionRepositoryTest.kt | 133 SUB_1_ID, 143 subscriptionId = SUB_1_ID, 152 whenever(telephonyManager.subscriptionId).thenReturn(SUB_1_ID) in setUp() 158 SUB_1_ID, in setUp() 632 SUB_1_ID, in roaming_gsm_queriesDisplayInfo_viaDisplayInfo() 681 SUB_1_ID, in roaming_gsm_queriesDisplayInfo_viaServiceState() 762 subscriptionId = SUB_1_ID, in networkNameForSubId_updates() 772 subscriptionId = SUB_1_ID, in networkNameForSubId_updates() 1117 subId: Int = SUB_1_ID, in carrierIdIntent() 1126 subId: Int = SUB_1_ID, in spnIntent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | SystemUiCarrierConfigTest.kt | 39 underTest = SystemUiCarrierConfig(SUB_1_ID, createTestConfig()) in <lambda>() 82 SUB_1_ID, in <lambda>() 105 private const val SUB_1_ID = 1 in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileRepositorySwitcherTest.kt | 249 private const val SUB_1_ID = 1 constant 250 private const val SUB_1_NAME = "Carrier $SUB_1_ID" 253 whenever(it.subscriptionId).thenReturn(SUB_1_ID) in <lambda>() 259 subscriptionId = SUB_1_ID,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileIconViewModelTest.kt | 99 FakeMobileConnectionRepository(SUB_1_ID, tableLogBuffer).apply { in setUp() 144 SUB_1_ID, in setUp() 188 private const val SUB_1_ID = 1 constant
|
D | MobileIconViewModelTest.kt | 107 FakeMobileConnectionRepository(SUB_1_ID, tableLogBuffer).apply { in setUp() 868 SUB_1_ID, in createAndSetViewModel() 878 private const val SUB_1_ID = 1 constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModelTest.kt | 79 FakeMobileConnectionRepository(SUB_1_ID, tableLogBuffer) 99 activeMobileDataSubscriptionId.value = SUB_1_ID in setUp() 100 setMobileConnectionRepositoryMap(mapOf(SUB_1_ID to mobileConnectionRepository)) in setUp() 402 const val SUB_1_ID = 1 constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractorTest.kt | 95 FakeMobileConnectionRepository(SUB_1_ID, tableLogBuffer) in <lambda>() 115 activeMobileDataSubscriptionId.value = SUB_1_ID in <lambda>() 116 setMobileConnectionRepositoryMap(mapOf(SUB_1_ID to mobileConnectionRepository)) in <lambda>() 561 const val SUB_1_ID = 1 in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepositoryImplTest.kt | 667 val vcnInfo = VcnTransportInfo(SUB_1_ID) in vcnSubId_tracksVcnTransportInfo() 680 assertThat(latest).isEqualTo(SUB_1_ID) in vcnSubId_tracksVcnTransportInfo() 753 val sub1VcnInfo = VcnTransportInfo(SUB_1_ID) in vcnSubId_changingVcnInfoIsTracked() 773 assertThat(latest).isEqualTo(SUB_1_ID) in vcnSubId_changingVcnInfoIsTracked() 1102 private const val SUB_1_ID = 1 constant
|