Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/lib/
DDataUsageLibTest.java49 private static final String SUBSCRIBER_ID = "Test Subscriber"; field in DataUsageLibTest
72 when(mTelephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID); in setUp()
84 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_infoNull_returnMobileAll()
94 .thenReturn(new String[] {SUBSCRIBER_ID}); in getMobileTemplate_groupUuidNull_returnMobileAll()
97 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_groupUuidNull_returnMobileAll()
107 .thenReturn(new String[] {SUBSCRIBER_ID, SUBSCRIBER_ID_2}); in getMobileTemplate_groupUuidExist_returnMobileMerged()
110 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_groupUuidExist_returnMobileMerged()
/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.java37 public static final long SUBSCRIBER_ID = 1; field in StatsManagerConfig
DBatteryTipUtils.java127 StatsManagerConfig.ANOMALY_CONFIG_KEY, StatsManagerConfig.SUBSCRIBER_ID); in uploadAnomalyPendingIntent()