Home
last modified time | relevance | path

Searched refs:TEST_CARRIER_ID (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java126 private static final int TEST_CARRIER_ID = 1191; field in UtilsTest
174 when(mTelephonyManager.createForSubscriptionId(TEST_CARRIER_ID)).thenReturn(mSpecifiedTm); in setUp()
350 assertFalse(isSimPresent(mMockContext, TEST_CARRIER_ID)); in testCheckSimPresentWithNoSubscription()
357 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID + 1); in testCheckSimPresentWithNoMatchingSubscription()
360 assertFalse(isSimPresent(mMockContext, TEST_CARRIER_ID)); in testCheckSimPresentWithNoMatchingSubscription()
367 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithMatchingSubscription()
370 assertTrue(isSimPresent(mMockContext, TEST_CARRIER_ID)); in testCheckSimPresentWithMatchingSubscription()
377 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithUnknownCarrierId()
386 assertEquals(TEST_CARRIER_NAME, getCarrierNameForSubId(mMockContext, TEST_CARRIER_ID)); in testGetCarrierName()
413 config.carrierId = TEST_CARRIER_ID; in testGetSubIdForWifiConfigurationWithNoSubscription()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextManagerTest.java95 private static final int TEST_CARRIER_ID = 1; field in CarrierTextManagerTest
99 TEST_CARRIER_ID, 0);
DKeyguardUpdateMonitorTest.java186 private static final int TEST_CARRIER_ID = 1; field in KeyguardUpdateMonitorTest
191 TEST_CARRIER_ID, 0);
195 TEST_CARRIER_ID, 0);
200 TEST_CARRIER_ID, PROFILE_CLASS_PROVISIONING);