Home
last modified time | relevance | path

Searched refs:SUBSCRIBER_ID (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DDataUsageLibTest.kt61 whenever(telephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID) in setUp()
97 assertThat(mobileTemplate.subscriberIds).containsExactly(SUBSCRIBER_ID) in getMobileTemplate_mergedImsisFromGroupEmpty_returnRequestedSub()
110 assertThat(mobileTemplate.subscriberIds).containsExactly(SUBSCRIBER_ID) in getMobileTemplate_mergedImsisFromGroupNotContainSub_returnRequestedSub()
119 .thenReturn(arrayOf(DEFAULT_SUBSCRIBER_ID, SUBSCRIBER_ID)) in getMobileTemplate_mergedImsisFromGroupContainSub_returnRequestedSub()
125 .containsExactly(SUBSCRIBER_ID, DEFAULT_SUBSCRIBER_ID) in getMobileTemplate_mergedImsisFromGroupContainSub_returnRequestedSub()
131 whenever(telephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID) in getMobileTemplateForSubId_subscriberIdNotNull()
136 assertThat(mobileTemplate.subscriberIds).containsExactly(SUBSCRIBER_ID) in getMobileTemplateForSubId_subscriberIdNotNull()
155 const val SUBSCRIBER_ID = "Test Subscriber" constant
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTelephonyManager.java37 public static final String SUBSCRIBER_ID = "test_id"; field in ShadowTelephonyManager
88 return subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID ? null : SUBSCRIBER_ID; in getSubscriberId()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java73 private static final String SUBSCRIBER_ID = "test_id"; field in ResetNetworkConfirmFragmentTest
124 return subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID ? null : SUBSCRIBER_ID; in setUp()
230 verify(mMockNetworkPolicyManager).factoryReset(SUBSCRIBER_ID); in testResetButtonClick_validNetworkSubscriptionId_networkManagerReset()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DStatsManagerConfig.java33 public static final long SUBSCRIBER_ID = 1; field in StatsManagerConfig